@charset "UTF-8";
/* =========================================================
   Rixie ริกซี่ — สไตล์หลักของเว็บไซต์
   โทนสีดึงมาจากซองสินค้าจริง: ชมพูบานเย็น ชมพูอ่อน และทองบนแถบกลางซอง
   ========================================================= */

:root {
  /* สีแบรนด์: ชมพูจากซองสินค้า ใช้กับปุ่มและราคา
     เขียวเข้มเป็นสีโครงสร้าง ใช้กับแถบความมั่นใจ ป้ายกำกับ และแถบปิดท้าย */
  --crimson: #D6407F;
  --crimson-dark: #B72E68;
  --crimson-light: #E86AA0;
  --crimson-wash: #FDEFF5;

  /* ตัวแปรชื่อ gold เดิม ตอนนี้ถือสีเขียวเข้มของธีมนี้ (ไม่เปลี่ยนชื่อ เพราะมีที่เรียกใช้หลายจุด) */
  --gold: #0E5D55;
  --gold-light: #A9CFC9;
  --gold-wash: #E7F2F0;
  --teal: #0E5D55;
  --teal-dark: #0A433D;
  --teal-wash: #E7F2F0;

  --ink: #19241F;
  --ink-2: #4C5B55;
  --ink-3: #7E8C86;
  --paper: #FFFFFF;
  --surface: #F7FAF9;
  --surface-2: #EDF4F2;
  --line: #DFE7E4;
  --line-soft: #EDF2F0;

  --green: #0E5D55;
  --green-wash: #E7F2F0;
  --amber: #9A6516;
  --amber-wash: #FAF0DE;

  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(25, 36, 31, .05);
  --shadow: 0 1px 2px rgba(25, 36, 31, .05), 0 14px 32px -24px rgba(25, 36, 31, .55);
  --shadow-lg: 0 18px 44px -26px rgba(14, 93, 85, .55);

  --wrap: 1180px;
  --gutter: 20px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans Thai", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "IBM Plex Sans Thai", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(28px, 4.6vw, 44px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--crimson-light);
  outline-offset: 2px;
  border-radius: 4px;
}
strong { font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-surface { background: var(--surface); }
.section-ink { background: #2A1D1E; color: #F6EFEC; }
.section-ink h2, .section-ink h3 { color: #FFF; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--crimson);
  background: var(--crimson-wash);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-head { margin-bottom: 30px; }
.section-head p {
  color: var(--ink-2); max-width: 58ch; margin-top: 10px;
  text-wrap: balance;              /* เกลี่ยให้ทุกบรรทัดยาวใกล้กัน ไม่เหลือคำโดดบรรทัดสุดท้าย */
}
.center { text-align: center; }
/* ต้องมีทั้งสองตัวเลือก เพราะโค้ดเขียนคลาส center ไว้บนตัว section-head เอง
   ถ้ามีแค่แบบลูกหลาน ย่อหน้าจะถูกดันไปชิดซ้ายทั้งเว็บ (เคยพลาดมาแล้ว) */
.center .section-head p,
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 100px;
  font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--crimson); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--crimson-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--crimson); border-color: var(--crimson); }
.btn-outline:hover { background: var(--crimson-wash); color: var(--crimson-dark); }
.btn-line { background: #06C755; color: #fff; }
.btn-line:hover { background: #05A948; color: #fff; }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: var(--line); color: var(--ink); }
.btn-lg { min-height: 60px; font-size: 20px; padding: 14px 34px; }
.btn-sm { min-height: 44px; font-size: 16px; padding: 8px 18px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- แถบประกาศ + เฮดเดอร์ ---------- */
.topbar {
  background: var(--crimson-dark); color: #FBE9EB;
  font-size: 14.5px; text-align: center; padding: 7px 16px;
}
.topbar a { color: #fff; text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  object-fit: cover;
  border: 1.5px solid var(--line);
  background: var(--crimson-wash);
}
.logo-text { line-height: 1.2; }
.logo-text b {
  display: block; font-family: inherit; font-size: 19px;
  color: var(--ink); font-weight: 700; letter-spacing: .01em;
}
.logo-text span { display: block; font-size: 12.5px; color: var(--ink-3); }

.main-nav { display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 9px; border-radius: 8px;
  color: var(--ink-2); font-size: 16.5px; font-weight: 500; text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--crimson); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  background: var(--surface-2); border: 0; border-radius: 50%;
  color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--line); }
.cart-count {
  position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px;
  padding: 0 6px; border-radius: 100px; background: var(--crimson); color: #fff;
  font-size: 12.5px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid #fff;
}
.cart-count[hidden] { display: none; }
.nav-toggle { display: none; }

/* เมนู 10 ปุ่ม (มีวิดีโอรีวิว) ต้องการพื้นที่ ~1,140px ต่ำกว่านั้นใช้ปุ่ม ☰ แทน ไม่ให้โลโก้ถูกบีบ */
@media (max-width: 1140px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 8px; border-bottom: 1px solid var(--line-soft); font-size: 18px; }
  .nav-toggle { display: grid; }
}

/* ---------- ฮีโร่ ---------- */
.hero { background: linear-gradient(170deg, #FFF 0%, var(--gold-wash) 48%, var(--crimson-wash) 100%); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  /* ต้องใส่ระยะขอบซ้ายขวาเอง เพราะ padding ย่อนี้เขียนทับของ .wrap ทั้งชุด */
  padding: 52px var(--gutter) 56px;
}
.hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.28; }
.hero h1 em { font-style: normal; color: var(--crimson); }
.hero-lede { margin-top: 18px; font-size: 19.5px; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.hero .btn-row { margin-top: 26px; }
.hero-figure { position: relative; }
/* รูปหน้าปกต้องเต็มความกว้างของคอลัมน์ ไม่งั้นจะเล็กกว่าช่องที่จองไว้ */
.hero-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero h1 .nowrap { white-space: nowrap; }
.hero-price {
  position: absolute; right: 14px; bottom: -18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; box-shadow: var(--shadow); text-align: center;
}
.hero-price span { display: block; font-size: 13.5px; color: var(--ink-3); }
.hero-price b { font-size: 26px; color: var(--crimson); font-family: inherit; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.hero-points li { font-size: 16.5px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 700; }

@media (max-width: 900px) {
  /* จอแคบเหลือคอลัมน์เดียว จัดตัวหนังสือกลางให้ดูเป็นระเบียบ */
  .hero-inner {
    grid-template-columns: 1fr; gap: 28px;
    padding: 32px var(--gutter) 44px; text-align: center;
  }
  .hero-figure { order: -1; }
  .hero-price { right: 8px; bottom: -14px; }
  .hero-lede { margin-left: auto; margin-right: auto; max-width: 54ch; text-wrap: balance; }
  .hero-points { justify-content: center; }
  .hero .btn-row { justify-content: center; }
}

/* ---------- แถบความมั่นใจ ---------- */
.trustbar { background: #2A1D1E; color: #F6EFEC; }
.trustbar ul {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .1);
}
.trustbar li { background: #2A1D1E; padding: 18px 20px; }
.trustbar b { display: block; font-size: 16.5px; color: #fff; }
.trustbar span { font-size: 14.5px; color: #CBB9B6; }
@media (max-width: 820px) { .trustbar ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- การ์ดทั่วไป ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(266px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(216px, 100%), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.grid > *, .set-grid > *, .chat-grid > *, .split > *, .product-layout > * { min-width: 0; }
.card-pad { padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 16.5px; text-wrap: pretty; }
.card-link { color: inherit; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.card-link:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.card figure { margin: 0; background: var(--surface-2); }
.card figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
/* รูปวัตถุดิบเป็นวงกลมจัตุรัส ถ้าใช้ cover แบบการ์ดอื่นหัวกับท้ายวงกลมจะถูกตัด
   จึงให้ contain แล้ววางบนพื้นสีเดียวกับพื้นในรูป รอยต่อจึงมองไม่เห็น */
.card figure.ing-thumb { background: var(--surface); }
.card figure.ing-thumb img { aspect-ratio: 16 / 10; object-fit: contain; padding: 16px;
                             background: var(--surface); }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.feature .num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--crimson-wash); color: var(--crimson); font-weight: 700; font-size: 17px;
  margin-bottom: 12px;
}
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: 16.5px; text-wrap: pretty; }

/* ---------- รายการติ๊กถูก ---------- */
.checklist li {
  position: relative; padding-left: 34px; margin-bottom: 12px;
  font-size: 17.5px; color: var(--ink-2); text-wrap: pretty;
}
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-wash); color: var(--green);
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.warnlist li::before { content: "!"; background: var(--amber-wash); color: var(--amber); }
.dotlist li {
  position: relative; padding-left: 20px; margin-bottom: 9px; color: var(--ink-2); font-size: 17px;
}
.dotlist li::before {
  content: ""; position: absolute; left: 2px; top: .78em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}

/* ---------- ชุดสินค้า ---------- */
.set-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(208px, 100%), 1fr)); gap: 18px; }
.set-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.set-card:hover { border-color: var(--gold-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.set-card.is-featured { border-color: var(--crimson); }
/* กันเบราว์เซอร์ตัดบรรทัดกลางคำไทย — ดูฟังก์ชัน nb() ใน build.py */
.nb { white-space: nowrap; }

/* รูปผู้ดูแลแบรนด์ — ให้เต็มคอลัมน์เสมอ ไม่ใช่ขนาดจริงของไฟล์
   ไม่งั้นบนจอกว้างจะเหลือพื้นที่ว่างข้างรูป และรูปสูงเกินไป */
.expert-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
/* รูปสินค้าในบล็อกสองคอลัมน์ — จำกัดขนาดไม่ให้สูงจนกินทั้งจอตอนคอลัมน์ยุบเป็นแถวเดียว */
.product-photo { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; display: block; }
@media (max-width: 860px) { .product-photo { max-width: 320px; } }
/* จอแคบ .split จะเรียงลงมาเป็นคอลัมน์เดียว ถ้าปล่อยเต็มความกว้างรูปจะสูงจนกินทั้งจอ */
@media (max-width: 860px) {
  .expert-photo { max-width: 320px; margin-left: auto; margin-right: auto; display: block; }
}

/* คลิปรีวิว YouTube — แสดงรูปปกก่อน คลิปโหลดตอนกดเล่นเท่านั้น */
.vid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .vid-grid { grid-template-columns: 1fr; gap: 16px; } }
.vid { margin: 0; }
.vid-play { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line);
            border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2);
            cursor: pointer; box-shadow: var(--shadow-sm); }
.vid-play img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vid-play:hover { border-color: var(--crimson-light); box-shadow: var(--shadow); }
.vid-btn { position: absolute; inset: 0; margin: auto; width: 74px; height: 52px; border-radius: 14px;
           background: rgba(214, 64, 127, .92); box-shadow: 0 4px 18px rgba(0, 0, 0, .3); }
.vid-btn::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
                  border-style: solid; border-width: 11px 0 11px 18px;
                  border-color: transparent transparent transparent #fff; }
.vid-play:hover .vid-btn { background: var(--crimson); }
.vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
              border-radius: var(--radius-lg); background: #000; }
.vid figcaption { margin-top: 10px; font-size: 16.5px; line-height: 1.55; }
.vid figcaption b { display: block; color: var(--ink); }
.vid figcaption span { color: var(--ink-3); font-size: 15px; }
/* ปกที่ทำเอง: ซ้ายเป็นพื้นชมพูแบรนด์ ชื่อผู้รีวิวพิมพ์เป็น HTML (ไม่ฝังตัวอักษรไทยลงรูป) ขวาเป็นหน้าลูกค้า */
.vid-name { position: absolute; left: 6%; top: 34%; width: 42%; text-align: left; color: #fff;
            font-family: inherit; font-weight: 700; line-height: 1.2;
            font-size: clamp(19px, 3.1vw, 30px); text-shadow: 0 2px 10px rgba(120, 20, 60, .35); }
.vid-name small { display: block; margin-bottom: 4px; font-family: inherit; font-weight: 600;
                  font-size: clamp(12px, 1.3vw, 14px); letter-spacing: .04em; opacity: .92; }
.vid-play.has-cover .vid-btn { inset: auto; left: 6%; bottom: 14%; margin: 0; width: 62px; height: 44px;
                               background: rgba(255, 255, 255, .95); }
.vid-play.has-cover .vid-btn::after { border-color: transparent transparent transparent var(--crimson); }
.vid-play.has-cover:hover .vid-btn { background: #fff; transform: scale(1.06); }
@media (max-width: 420px) { .vid-play.has-cover .vid-btn { width: 50px; height: 36px; bottom: 11%; } }
/* คลิปที่ฝังในหน้าไม่ได้ (YouTube จำกัดอายุผู้ชม) — การ์ดเป็นลิงก์เปิด YouTube ปุ่มมีคำว่า ดูบน YouTube */
.vid-play.is-link, .vid-play.is-link:hover { text-decoration: none; color: inherit; }
.vid-play .vid-btn.vid-btn-text { width: auto; display: flex; align-items: center; padding: 0 16px 0 40px;
                                  font-size: 15.5px; font-weight: 600; color: #fff; white-space: nowrap; }
.vid-play .vid-btn.vid-btn-text::after { inset: 0 auto 0 17px; border-width: 8px 0 8px 13px; }
.vid-play.has-cover .vid-btn.vid-btn-text { color: var(--crimson); }
@media (max-width: 420px) {
  .vid-play .vid-btn.vid-btn-text { padding: 0 12px 0 31px; font-size: 13.5px; }
  .vid-play .vid-btn.vid-btn-text::after { left: 13px; border-width: 6px 0 6px 10px; }
}
.vid figcaption span { color: var(--ink-3); font-size: 15px; }

/* ตารางภาพหน้าจอรีวิวจากร้านค้าออนไลน์ */
/* แถวละ 2 ภาพ ให้ตัวหนังสือในภาพหน้าจออ่านออก · จอมือถือเหลือแถวละ 1 ภาพ */
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
        background: #fff; box-shadow: var(--shadow-sm); }
.shot img { display: block; width: 100%; height: auto; }
@media (max-width: 560px) { .shot-grid { grid-template-columns: 1fr; gap: 14px; } }

.set-card figure { margin: 0; background: var(--surface-2); }
.set-card figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
/* ป้ายต้องอยู่หน้ากระปุกเสมอ กระปุกใบแรกใช้ z-index 4 ป้ายจึงต้องสูงกว่านั้น */
.set-badge {
  position: absolute; top: 12px; left: 12px; z-index: 5;
  background: var(--crimson); color: #fff; font-size: 14px; font-weight: 600;
  padding: 5px 13px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.set-badge.gold { background: var(--gold); color: #2A1D1E; }
.set-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.set-body h3 { font-size: 22px; }
.set-meta { font-size: 15.5px; color: var(--ink-3); }
.set-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.set-price .now {
  font-family: inherit; font-size: 30px; font-weight: 700; color: var(--crimson);
  font-variant-numeric: tabular-nums;
}
.set-price .was { font-size: 17px; color: var(--ink-3); text-decoration: line-through; }
.set-save {
  display: inline-block; font-size: 14.5px; font-weight: 600;
  color: var(--green); background: var(--green-wash); padding: 2px 10px; border-radius: 100px;
}

/* ---------- ตารางเปรียบเทียบ ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
thead th { background: var(--surface); font-size: 15px; font-weight: 600; color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.is-highlight { background: var(--gold-wash); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .save { color: var(--green); font-weight: 600; }

/* ---------- หน้าสินค้า ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; min-width: 0; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 26px; } }

.gallery-main {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
}
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  flex: 1; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #fff; cursor: pointer;
}
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--crimson); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.buybox { display: flex; flex-direction: column; gap: 18px; }
.buybox .fda { font-size: 15.5px; color: var(--ink-3); }
.buybox h1 { font-size: clamp(26px, 3.6vw, 38px); }
.buybox .sub { color: var(--ink-2); font-size: 18px; }
.price-now {
  font-family: inherit; font-size: 40px; font-weight: 700;
  color: var(--crimson); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.option-list { display: grid; gap: 10px; }
.option {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center;
  border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  cursor: pointer; background: #fff;
}
.option:hover { border-color: var(--gold-light); }
.option input { width: 20px; height: 20px; accent-color: var(--crimson); }
.option.selected { border-color: var(--crimson); background: var(--crimson-wash); }
.option b { display: block; font-size: 18px; font-weight: 600; }
.option small { display: block; font-size: 14.5px; color: var(--ink-3); }
.option .op-price { font-weight: 700; font-size: 20px; color: var(--crimson); font-variant-numeric: tabular-nums; }
.option .op-tag {
  display: inline-block; font-size: 13px; font-weight: 600; color: #fff; background: var(--gold);
  padding: 1px 9px; border-radius: 100px; margin-left: 8px; vertical-align: 2px;
}

.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 100px; }
.qty button {
  width: 44px; height: 44px; border: 0; background: transparent; font-size: 22px;
  cursor: pointer; color: var(--ink); border-radius: 50%;
}
.qty button:hover { background: var(--surface-2); }
.qty input {
  width: 50px; text-align: center; border: 0; font-size: 18px; font-family: inherit;
  font-variant-numeric: tabular-nums; background: transparent; color: var(--ink);
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input[type=number] { -moz-appearance: textfield; }

.assure { display: grid; gap: 8px; padding-top: 4px; }
.assure li { font-size: 16px; color: var(--ink-2); display: flex; gap: 9px; align-items: flex-start; }
.assure li::before { content: "•"; color: var(--gold); font-weight: 700; }

/* ---------- ส่วนประกอบ ---------- */
.ing-card { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.ing-card img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.ing-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.ing-head h3 { font-size: 20px; }
.ing-en { font-size: 15px; color: var(--ink-3); }
.ing-amount {
  font-size: 15px; font-weight: 600; color: var(--crimson);
  background: var(--crimson-wash); padding: 2px 10px; border-radius: 100px; white-space: nowrap;
}
.ing-card p { font-size: 16.5px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 560px) {
  .ing-card { grid-template-columns: 68px 1fr; gap: 14px; }
  .ing-card img { width: 68px; height: 68px; }
}

/* ---------- รีวิว ---------- */
.review-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.review-top { display: flex; align-items: center; gap: 14px; }
.review-top img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex: none; }
.review-top b { display: block; font-size: 19px; font-family: inherit; }
.review-top span { font-size: 15px; color: var(--ink-3); }
.review-quote { font-size: 17.5px; color: var(--ink-2); text-wrap: pretty; }
.review-quote::before { content: "“"; color: var(--gold); font-size: 30px; line-height: 0; vertical-align: -6px; margin-right: 2px; }
.review-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 14.5px; padding: 3px 12px; border-radius: 100px;
  background: var(--surface-2); color: var(--ink-2);
}
.review-figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.disclaimer {
  font-size: 15px; color: var(--ink-3); background: var(--surface);
  border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 8px 8px 0;
}

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 34px; }
.faq-group > h3 { margin-bottom: 12px; color: var(--crimson); }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px;
}
.faq details[open] { border-color: var(--gold-light); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative;
  font-size: 18.5px; font-weight: 600; font-family: inherit; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--crimson); font-family: inherit; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 20px 18px; color: var(--ink-2); font-size: 17px; }

/* ---------- บทความ / เนื้อหายาว ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin: 38px 0 12px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); font-size: 18px; text-wrap: pretty; }
.prose ul { margin-bottom: 16px; }
.answer-box {
  background: var(--gold-wash); border: 1px solid var(--gold-light);
  border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 8px;
}
.answer-box b { display: block; font-size: 15px; color: var(--amber); margin-bottom: 6px; letter-spacing: .04em; }
.answer-box p { font-size: 18.5px; color: var(--ink); margin: 0; text-wrap: pretty; }
.toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin: 24px 0;
}
.toc b { display: block; margin-bottom: 8px; }
.toc a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 16.5px; }
.toc a:hover { color: var(--crimson); }
.meta-line { color: var(--ink-3); font-size: 15.5px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.breadcrumb { font-size: 15px; color: var(--ink-3); padding: 16px 0 0; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--crimson); }

.cta-inline {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center;
  background: var(--crimson-wash); border: 1px solid #F2D9DC; border-radius: var(--radius-lg);
  padding: 20px 24px; margin: 30px 0;
}
.cta-inline img { border-radius: 10px; }
.cta-inline h3 { font-size: 21px; margin-bottom: 6px; }
.cta-inline p { font-size: 16.5px; color: var(--ink-2); margin-bottom: 12px; }
@media (max-width: 620px) { .cta-inline { grid-template-columns: 1fr; } .cta-inline img { max-width: 120px; } }

/* ---------- ตะกร้า / เช็คเอาท์ ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.cart-item img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.cart-item h3 { font-size: 19px; }
.cart-item .ci-meta { font-size: 15px; color: var(--ink-3); }
.cart-item .ci-price { font-weight: 700; font-size: 20px; color: var(--crimson); font-variant-numeric: tabular-nums; }
/* พื้นที่นิ้วกดต้องไม่ต่ำกว่า 40px ตามเกณฑ์มือถือ ปุ่มลบเดิมสูงแค่ 28px */
.cart-item .link-remove { background: none; border: 0; color: var(--ink-3); font-size: 15px;
                          cursor: pointer; padding: 10px 0; min-height: 40px; font-family: inherit; }
.cart-item .link-remove:hover { color: var(--crimson); text-decoration: underline; }
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item img { width: 72px; height: 72px; }
  .cart-item .ci-right { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
}

.summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; position: sticky; top: calc(var(--header-h) + 16px);
}
.summary h3 { margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 17px; color: var(--ink-2); }
.sum-row.total {
  border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px;
  font-size: 21px; color: var(--ink); font-weight: 600;
}
.sum-row.total b { color: var(--crimson); font-family: inherit; font-size: 26px; font-variant-numeric: tabular-nums; }
.freeship-bar { height: 8px; background: var(--line); border-radius: 100px; overflow: hidden; margin: 6px 0 10px; }
.freeship-bar i { display: block; height: 100%; background: var(--green); border-radius: 100px; transition: width .3s ease; }
.freeship-note { font-size: 15.5px; color: var(--green); font-weight: 600; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state p { color: var(--ink-2); margin: 10px 0 22px; }

/* ---------- ฟอร์ม ---------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 16px; }
.form-row-zip { display: grid; grid-template-columns: .62fr 1.38fr; gap: 16px; }
@media (max-width: 760px) { .form-row-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .form-row, .form-row-3, .form-row-zip { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: 14.5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 17.5px;
  border: 2px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--crimson-light); }
.field textarea { min-height: 92px; resize: vertical; }
.field .error { color: var(--crimson); font-size: 15px; margin-top: 4px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--crimson); }
.field.has-error .error { display: block; }
.pay-option {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start;
  border: 2px solid var(--line); border-radius: var(--radius); padding: 15px 16px; cursor: pointer; background: #fff;
}
.pay-option.selected { border-color: var(--crimson); background: var(--crimson-wash); }
.pay-option input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--crimson); }
.pay-option b { font-size: 18px; }
.pay-option small { display: block; color: var(--ink-3); font-size: 15px; }
.pay-detail {
  margin-top: 12px; padding: 14px 16px; background: var(--surface);
  border-radius: var(--radius); font-size: 16px; color: var(--ink-2);
}
.zip-hint {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: -4px; padding: 10px 14px; border-radius: var(--radius);
  font-size: 15.5px; background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--line-soft);
}
.zip-hint.ok { background: var(--green-wash); border-color: #BFE0D0; color: #1F5E43; }
.zip-hint.warn { background: var(--amber-wash); border-color: #EDD8AE; color: #7A4E10; }
.zip-chip {
  font-family: inherit; font-size: 15.5px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 14px; color: var(--ink); min-height: 38px;
}
.zip-chip:hover { border-color: var(--crimson); color: var(--crimson); }

.bank-box { display: grid; gap: 6px; }
.bank-label { font-size: 15px; font-weight: 600; color: var(--ink); }
.bank-of { font-size: 17px; color: var(--ink); }
.bank-no {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: inherit; font-size: 26px; font-weight: 700;
  color: var(--crimson); font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.bank-name { font-size: 16.5px; color: var(--ink-2); }
.bank-note { font-size: 15px; color: var(--ink-3); margin-top: 4px; }

.pp-box {
  margin-top: 16px; padding: 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-align: center;
}
.pp-title { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.pp-box canvas { margin: 0 auto; border-radius: 6px; display: block; }
.pp-amount { margin-top: 12px; font-size: 16.5px; color: var(--ink-2); }
.pp-amount b { font-size: 22px; color: var(--crimson); font-variant-numeric: tabular-nums; }
.pp-note { margin-top: 6px; font-size: 14.5px; color: var(--ink-3); }

.checkbox-line { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); }
.checkbox-line input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--crimson); flex: none; }

.notice {
  border-radius: var(--radius); padding: 14px 18px; font-size: 16.5px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
}
.notice.ok { background: var(--green-wash); border-color: #BFE0D0; color: #1F5E43; }
.notice.warn { background: var(--amber-wash); border-color: #EDD8AE; color: #7A4E10; }
.notice.err { background: var(--crimson-wash); border-color: #F0CFD3; color: var(--crimson-dark); }

/* ---------- หน้าขอบคุณ ---------- */
.thanks-icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--green-wash); color: var(--green);
  display: grid; place-items: center; font-size: 42px; margin: 0 auto 18px;
}
.order-box {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 22px 24px;
  text-align: left;
}
.order-no {
  font-family: inherit; font-size: 27px; color: var(--crimson);
  font-variant-numeric: tabular-nums;
}
.steps {
  counter-reset: st;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.steps li {
  counter-increment: st;
  position: relative;              /* ไม่ใช้ grid เพราะจะทำให้ <b> กลายเป็นช่องแยกแล้วข้อความแตกบรรทัด */
  padding: 15px 22px 15px 64px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-2);
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(st);
  position: absolute; left: 20px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--crimson); color: #fff;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; font-family: inherit;
}
.steps li b { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .steps li { padding: 14px 16px 14px 54px; font-size: 17px; }
  .steps li::before { left: 14px; }
}

/* ---------- ฟุตเตอร์ + แถบล่างมือถือ ---------- */
.site-footer { background: #241A1B; color: #CFC0BD; padding: 48px 0 130px; margin-top: 60px; font-size: 16px; }
@media (min-width: 901px) { .footer-legal { padding-right: 260px; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; align-items: start; }
/* จอกลาง เหลือ 2 คอลัมน์ — สลับให้สองบล็อกที่ยาวเท่ากันอยู่แถวเดียวกัน
   ไม่งั้นบล็อกสั้นจะเหลือช่องว่างใต้ตัวเองเป็นร้อยพิกเซล */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-grid > :nth-child(1) { order: 3; }   /* แบรนด์ */
  .footer-grid > :nth-child(2) { order: 1; }   /* สินค้าและบริการ */
  .footer-grid > :nth-child(3) { order: 2; }   /* อาการที่ควรดูแล */
  .footer-grid > :nth-child(4) { order: 4; }   /* ติดต่อร้าน */
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid > :nth-child(1) { order: 0; }   /* จอแคบเรียงตามเดิม แบรนด์ขึ้นก่อน */
  .footer-grid > :nth-child(2) { order: 1; }
  .footer-grid > :nth-child(3) { order: 2; }
  .footer-grid > :nth-child(4) { order: 3; }
}
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.site-footer a { color: #CFC0BD; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 9px; }
.footer-legal {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14.5px; color: #A2908D; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
.legal-warning {
  background: rgba(255, 255, 255, .06); border-radius: var(--radius); padding: 14px 18px;
  font-size: 14.5px; color: #C3B2AF; margin-top: 26px;
}

/* ปุ่มติดต่อลอย สำหรับจอคอม (จอมือถือใช้แถบล่างแทน) */
.float-contact {
  position: fixed; right: 22px; bottom: 22px; z-index: 65;
  display: none; flex-direction: column; align-items: flex-end; gap: 10px;
}
.float-contact a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 100px;
  font-size: 16.5px; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 18px -4px rgba(46, 28, 38, .35);
  transition: transform .14s ease, box-shadow .14s ease;
}
.float-contact a:hover {
  text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(46, 28, 38, .45);
}
.float-contact .fc-line { background: #06C755; color: #fff; }
.float-contact .fc-line:hover { background: #05A948; color: #fff; }
.float-contact .fc-tel { background: #fff; color: var(--crimson); border: 1px solid var(--line); }
.float-contact .fc-tel:hover { background: var(--crimson-wash); color: var(--crimson-dark); }
@media (min-width: 901px) { .float-contact { display: flex; } }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -12px rgba(46, 28, 38, .4);
}
.mobile-bar .btn { min-height: 50px; font-size: 17px; padding: 10px 12px; }
@media (min-width: 901px) { .mobile-bar { display: none; } .site-footer { padding-bottom: 48px; } }

/* ---------- แถบขอความยินยอมใช้คุกกี้ ---------- */
.consent-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  max-width: 780px; margin: 0 auto;
  padding: 16px 20px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 40px -10px rgba(46, 28, 38, .35);
}
.consent-bar p { flex: 1; min-width: 260px; font-size: 15.5px; color: var(--ink-2); }
.consent-actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 900px) { .consent-bar { bottom: 82px; } }
@media (max-width: 560px) { .consent-actions { width: 100%; } .consent-actions .btn { flex: 1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%) translateY(12px);
  background: #241A1B; color: #fff; padding: 13px 22px; border-radius: 100px;
  font-size: 16.5px; box-shadow: var(--shadow-lg); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 901px) { .toast { bottom: 32px; } }

/* ---------- อื่น ๆ ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #fff; border-radius: 100px;
  padding: 8px 16px; font-size: 16.5px; color: var(--ink-2); text-decoration: none;
}
.pill:hover { border-color: var(--crimson); color: var(--crimson); text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.rounded { border-radius: var(--radius-lg); }
.video-wrap { border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.video-wrap video { width: 100%; display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.mb-2 { margin-bottom: 20px; }
.text-muted { color: var(--ink-3); font-size: 16px; }

@media (max-width: 560px) {
  .logo-text span { display: none; }
  .logo-text b { font-size: 18px; }
  .topbar { font-size: 13.5px; }
  .hero h1 { font-size: 28px; }
  body { font-size: 17.5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .mobile-bar, .float-contact, .site-footer, .topbar { display: none; }
  body { font-size: 12pt; }
}

/* ---------- รีวิวแชทจากลูกค้าจริง ---------- */
.chat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.chat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line-soft);
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #06C755; color: #fff; font-weight: 700; font-size: 17px;
}
.chat-head b { display: block; font-size: 17px; font-family: inherit; }
.chat-head span { display: block; font-size: 14px; color: var(--ink-3); }
.chat-head .chip { margin-left: auto; flex: none; }
.chat-body {
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
  background: #E9E4E0; flex: 1;
}
.chat-msg { display: flex; flex-direction: column; max-width: 82%; }
.chat-msg.customer { align-self: flex-end; align-items: flex-end; }
.chat-msg.shop { align-self: flex-start; align-items: flex-start; }
.chat-bubble {
  padding: 11px 15px; border-radius: 16px; font-size: 16.5px; line-height: 1.6;
  white-space: pre-wrap; word-break: break-word;
}
.chat-msg.customer .chat-bubble { background: #9BE38B; color: #1D2B18; border-bottom-right-radius: 5px; }
.chat-msg.shop .chat-bubble { background: #fff; color: var(--ink); border-bottom-left-radius: 5px; }
.chat-time { font-size: 12.5px; color: #7A736E; margin-top: 3px; }
.chat-foot {
  padding: 11px 18px; font-size: 14px; color: var(--ink-3);
  border-top: 1px solid var(--line-soft); background: #fff;
}
@media (max-width: 560px) { .chat-msg { max-width: 90%; } }

/* ---------- จอมือถือ: ตารางกลายเป็นการ์ด ไม่ต้องเลื่อนซ้ายขวา ---------- */
@media (max-width: 560px) {
  .tablewrap { overflow-x: visible; border: 0; background: transparent; border-radius: 0; }
  .tablewrap table { min-width: 0; border-collapse: separate; border-spacing: 0 10px; }
  .tablewrap thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
                     overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .tablewrap tbody tr { display: block; background: #fff; border: 1px solid var(--line);
                        border-radius: var(--radius); padding: 12px 14px; }
  .tablewrap tbody tr.is-highlight { border-color: var(--gold); background: var(--gold-wash); }
  .tablewrap tbody td { display: flex; align-items: baseline; justify-content: space-between;
                        flex-wrap: wrap; gap: 4px 16px; border: 0; padding: 6px 0; text-align: right;
                        min-width: 0; overflow-wrap: anywhere; }
  .tablewrap tbody td::before { content: attr(data-label); color: var(--ink-3); font-size: 15.5px;
                                text-align: left; flex: 0 1 auto; min-width: 0; }
  .tablewrap tbody td:first-child { display: block; text-align: left; padding: 0 0 9px;
                                    margin-bottom: 5px; border-bottom: 1px solid var(--line-soft); }
  .tablewrap tbody td:first-child::before { content: none; }
}

/* ---------- จอมือถือ: ขยายพื้นที่นิ้วกดของลิงก์เล็ก ๆ ---------- */
@media (max-width: 900px) {
  .site-footer li { margin-bottom: 2px; }
  .site-footer li a { display: inline-block; padding: 9px 0; }
  .breadcrumb { padding-top: 10px; }
  .breadcrumb a { display: inline-block; padding: 7px 2px; }
  .topbar a { display: inline-block; padding: 8px 4px; margin: -6px 0; }
  .site-header .logo-text span { font-size: 13px; }
}

/* ---------- วงกลมอักษรย่อ ใช้แทนรูปที่ยังไม่มี ---------- */
.ing-card .ing-initial {
  width: 96px; height: 96px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #fff; font-family: inherit; font-size: 40px; font-weight: 700;
}
.review-initial {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--crimson) 100%);
  color: #fff; font-family: inherit; font-size: 26px; font-weight: 700;
}
@media (max-width: 560px) {
  .ing-card .ing-initial { width: 68px; height: 68px; font-size: 30px; }
}

/* ---------- หัวข้อรีวิวพร้อมรูปลูกค้าแบบวงกลม (ใช้เมื่อไม่มีภาพใหญ่) ---------- */
.review-head { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.review-head h2 { margin: 0; }
.review-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
                 flex: 0 0 auto; box-shadow: var(--shadow-sm); }
@media (max-width: 560px) { .review-avatar { width: 76px; height: 76px; } }

/* ลิงก์นโยบายท้ายเว็บ — ต้องมีลิงก์เข้าถึงได้ ไม่งั้น Google ไม่เก็บหน้าเหล่านี้เข้าระบบ
   และผู้ให้บริการรับชำระเงินก็ขอดูหน้าเหล่านี้ตอนสมัคร */
.footer-policy { display: block; margin-top: 6px; }
.footer-policy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-policy a:hover { color: #fff; }

/* =========================================================
   ธีม "ที่ปรึกษาส่วนตัว" — ส่วนที่เขียนทับของเดิม
   วางไว้ท้ายไฟล์เพื่อให้ชนะกฎด้านบนที่ความจำเพาะเท่ากัน
   ========================================================= */

/* ---------- แถบบนสุด + เฮดเดอร์ ---------- */
.topbar { background: var(--teal); color: #DCEBE8; }
.topbar a { color: #fff; }
.site-header { border-bottom: 1px solid var(--line); box-shadow: none; }
.logo-mark { border-radius: 10px; }
.main-nav a[aria-current="page"] { color: var(--teal); }
.icon-btn { background: var(--teal-wash); color: var(--teal); }
.icon-btn:hover { background: var(--gold-light); }

/* ---------- ปุ่ม ---------- */
.btn { border-radius: 10px; }
.btn:hover { transform: none; }
.btn-outline { color: var(--teal); border-color: var(--line); }
.btn-outline:hover { background: var(--teal-wash); color: var(--teal-dark); border-color: var(--teal); }
.qty { border-radius: 10px; }

/* ---------- ป้ายกำกับหัวข้อ ---------- */
.eyebrow {
  color: var(--teal); background: var(--teal-wash);
  border-radius: 7px; letter-spacing: .02em; padding: 5px 13px;
}

/* ---------- รูปหน้าปก ---------- */
.cover {
  position: relative; overflow: hidden; display: flex; justify-content: center;
  background: #F7EAEF; border-bottom: 1px solid var(--line);
}
.cover::before {
  content: ""; position: absolute; inset: -6%;
  background: var(--cover-bg) center / cover no-repeat;
  filter: blur(38px) saturate(1.05); transform: scale(1.12);
}
.cover::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 64px;
  background: linear-gradient(transparent, rgba(255, 255, 255, .55));
}
.cover img {
  position: relative; z-index: 1;
  width: auto; max-width: 100%; max-height: 560px; object-fit: contain;
}

/* ---------- แถบความมั่นใจใต้หน้าปก ---------- */
.trustline { background: var(--teal); color: #DCEBE8; font-size: 15.5px; }
.trustline ul {
  display: flex; flex-wrap: wrap; gap: 8px 30px;
  justify-content: center; padding: 13px 0;
}
.trustline li { display: flex; gap: 8px; align-items: center; }
.trustline b { color: #fff; font-weight: 600; }

/* แถบความมั่นใจแบบเดิม (หน้ารอง) เปลี่ยนเป็นพื้นเขียว */
.trustbar { background: var(--teal); color: #DCEBE8; }
.trustbar li { background: var(--teal); }
.trustbar span { color: #BFD9D5; }

/* ---------- ฮีโร่แบบจัดกึ่งกลางใต้หน้าปก ---------- */
.hero { background: var(--paper); }
.hero-center { text-align: center; padding: 52px var(--gutter) 0; }
.hero-center h1 { max-width: 19ch; margin: 0 auto; }
.hero-center h1 em { font-style: normal; color: var(--crimson); }
.hero-center .hero-lede { max-width: 62ch; margin: 18px auto 0; }
.hero-center .checklist {
  max-width: 660px; margin: 26px auto 0; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px;
}
.hero-center .checklist li:last-child { grid-column: 1 / -1; }
.hero-center .btn-row { justify-content: center; margin-top: 28px; }
@media (max-width: 900px) {
  .hero-center { padding-top: 34px; }
  .hero-center .checklist { grid-template-columns: 1fr; }
  .cover img { max-height: none; width: 100%; }
  .cover::after { height: 48px; }
  .trustline { font-size: 14.5px; }
  .trustline ul { gap: 6px 18px; padding: 11px 0; }
}

/* ---------- แบบเลือกอาการ ---------- */
.quiz {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; box-shadow: var(--shadow-lg);
}
.quiz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quiz-item {
  display: flex; gap: 11px; align-items: center;
  border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 15px;
  font-size: 16.5px; cursor: pointer; background: #fff; user-select: none;
  transition: border-color .12s ease, background-color .12s ease;
}
.quiz-item:hover { border-color: var(--gold-light); }
.quiz-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.quiz-item .box {
  width: 21px; height: 21px; border-radius: 6px; border: 2px solid #C3D2CD;
  flex: none; display: grid; place-items: center; color: #fff; font-size: 13px; line-height: 1;
}
.quiz-item.on { border-color: var(--teal); background: var(--teal-wash); }
.quiz-item.on .box { background: var(--teal); border-color: var(--teal); }
.quiz-item.on .box::after { content: "✓"; }
.quiz-result {
  margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 22px;
  display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center;
}
.quiz-result img { width: 120px; border-radius: 10px; }
.quiz-result .r-label { font-size: 14.5px; color: var(--teal); font-weight: 600; }
.quiz-result h3 { margin: 2px 0 4px; }
.quiz-result p { color: var(--ink-2); font-size: 16.5px; }
.quiz-result .r-price { font-size: 27px; font-weight: 700; color: var(--crimson); margin-top: 6px; }
.quiz-result .r-price s { font-size: 16px; color: var(--ink-3); font-weight: 400; margin-left: 8px; }
.quiz-result .r-actions { display: grid; gap: 9px; }
@media (max-width: 900px) {
  .quiz { padding: 20px; }
  .quiz-grid { grid-template-columns: 1fr 1fr; }
  .quiz-item { font-size: 15.5px; padding: 11px 13px; }
  .quiz-result { grid-template-columns: 1fr; }
  .quiz-result img { width: 140px; }
}
@media (max-width: 520px) { .quiz-grid { grid-template-columns: 1fr; } }

/* ---------- ไทม์ไลน์แนวทางการทาน ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 19px;
  height: 2px; background: var(--line);
}
.timeline li { text-align: center; padding: 0 12px; position: relative; }
.timeline .step {
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  border: 2px solid var(--teal); color: var(--teal);
  display: grid; place-items: center; font-weight: 700;
  margin: 0 auto 12px; position: relative; z-index: 1;
}
.timeline b { display: block; margin-bottom: 3px; }
.timeline p { font-size: 15.5px; color: var(--ink-3); line-height: 1.65; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .timeline::before { display: none; }
}

/* ---------- ตารางส่วนประกอบ ---------- */
.ing-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.ing-table tbody tr:nth-child(even) td { background: #FCFDFD; }

/* ---------- การ์ดและตาราง ---------- */
.card { border: 1px solid var(--line); box-shadow: none; }
.card-link:hover { box-shadow: var(--shadow); transform: none; border-color: var(--gold-light); }
.set-card { border: 1.5px solid var(--line); box-shadow: none; }
.set-card:hover { transform: none; }
.set-card.is-featured { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.set-badge { background: var(--teal); color: #fff; }
.set-badge.gold { background: var(--crimson); color: #fff; }
.feature .num { background: var(--teal-wash); color: var(--teal); }
.assure li::before { color: var(--teal); }
.checklist li::before { background: var(--teal-wash); color: var(--teal); }
.option.selected { border-color: var(--teal); background: var(--teal-wash); }
.option input { accent-color: var(--teal); }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--teal); }
tbody tr.is-highlight { background: var(--teal-wash); }

/* ---------- แถบปิดท้าย ---------- */
.section-ink { background: var(--teal); color: #DCEBE8; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.section-ink .btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }

/* ---------- หน้าอาการ (ยกมาจากเว็บ rixiethailand 16 ก.ย. 2569) ----------
   ส่วนหัวแบรนด์ใช้ <p class="hero-title"> ในหน้าอาการ ให้หน้านั้นมี h1 เดียวคือชื่ออาการ
   VDO รีวิวและชุดสินค้าใต้บทความอยู่ในกรอบการ์ด ระยะห่างกระชับ */
.hero .hero-title { font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; line-height: 1.32;
                    color: var(--ink); max-width: 19ch; margin: 0 auto; text-wrap: balance; }
.hero .hero-title em { font-style: normal; color: var(--crimson); }
.sym-article { padding-bottom: 8px; }
.sym-after { padding: 14px 0; }
.sym-after > .wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
                     padding: 30px 28px 32px; }
.sym-after .section-head { margin-bottom: 22px; }
.sym-after + .section:not(.sym-after) { margin-top: 26px; }
@media (max-width: 700px) {
  .sym-after { padding: 10px 0; }
  .sym-after > .wrap { margin-left: 12px; margin-right: 12px; padding: 22px 14px 24px; }
}

/* ---------- ปุ่มและลิงก์ให้กดง่ายบนมือถือ (ตรวจก่อนยิงโฆษณา 18 ก.ย. 2569) ----------
   Google ถือว่าพื้นที่กดต่ำกว่า ~44px "เล็กเกินไป / ชิดกันเกินไป" บนมือถือ */
.footer-policy a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.notice a { display: inline-block; padding: 6px 2px; }
.qty input { height: 44px; }

/* กล่องชุดที่แนะนำในแบบติ๊กอาการ — บนมือถือจัดกึ่งกลางทั้งกล่อง (เจ้าของร้านขอ 18 ก.ย. 2569) */
@media (max-width: 900px) {
  .quiz-result { justify-items: center; text-align: center; }
  .quiz-result img { margin: 0 auto; }
  .quiz-result .r-actions { width: 100%; }
}

/* ระยะห่างระหว่างแต่ละส่วนบนมือถือ — เดิม 56px บน + 56px ล่าง รวมกันโล่งเกินไป (เจ้าของร้านขอ 18 ก.ย. 2569) */
@media (max-width: 700px) {
  .section { padding: 36px 0; }
  #quiz { padding-bottom: 24px; }
  #quiz .disclaimer { margin-top: 16px; }
}

/* การ์ดส่วนประกอบบนมือถือ — ชื่อสารสกัดและคำอธิบายจัดกึ่งกลาง (เจ้าของร้านขอ 18 ก.ย. 2569)
   กฎการ์ดตารางทั่วไปจัดคอลัมน์ที่สองชิดขวาไว้สำหรับตารางราคา ใช้กับส่วนประกอบแล้วอ่านยาก */
@media (max-width: 560px) {
  .tablewrap .ing-table tbody td,
  .tablewrap .ing-table tbody td:first-child { display: block; text-align: center; }
  .tablewrap .ing-table tbody tr:nth-child(even) td { background: transparent; }
}

/* แถบที่ต่อจากแถบก่อนหน้าโดยตรง (เช่น คลิปรีวิวต่อจากรีวิว) — ไม่ต้องมีช่องว่างด้านบนซ้ำ */
.section.section-flush { padding-top: 0; }

/* หน้าอาการ: รู้หรือไม่ + แผนดูแล 3 ขั้นกับริกซี่ (28 ก.ย. 2569) */
.fact-box {
  background: var(--crimson-wash); border-left: 4px solid var(--crimson);
  border-radius: var(--radius); padding: 18px 22px; margin: 26px 0 8px;
}
.fact-box b { display: block; color: var(--crimson-dark); font-size: 15px; letter-spacing: .04em; margin-bottom: 8px; }
.fact-box ul { margin: 0; padding-left: 20px; }
.fact-box li { color: var(--ink); font-size: 17px; margin-bottom: 6px; line-height: 1.7; }
.fact-box li:last-child { margin-bottom: 0; }
.plan-steps { list-style: none; padding: 0; margin: 16px 0 8px; counter-reset: plan; }
.plan-steps > li {
  position: relative; padding: 16px 18px 16px 64px; margin-bottom: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.plan-steps > li::before {
  counter-increment: plan; content: counter(plan);
  position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.plan-steps b { display: block; font-size: 18px; margin-bottom: 4px; color: var(--ink); }
.plan-steps p { margin: 0; font-size: 16.5px; }
.plan-steps ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.plan-steps ul li { color: var(--ink-2); font-size: 16.5px; margin-bottom: 4px; }
@media (max-width: 700px) {
  .plan-steps > li { padding: 14px 14px 14px 58px; }
  .plan-steps > li::before { left: 14px; }
}


/* ===== ระบบตะกร้าอัปเดตตามเว็บ rixiethailand (28 ก.ย. 2569): สั่งซื้อเลย / กล่องใส่ตะกร้าแล้ว / ปรับจำนวนในหน้าสั่งซื้อ / ปุ่มเลือกตำบล ===== */
/* ---------- สั่งซื้อเลย: ทางลัดสำหรับลูกค้าวัย 40–60+ (ทดลอง 28 ก.ย. 2569) ---------- */
/* ปุ่มรอง "ใส่ตะกร้า" ทำเป็นลิงก์ตัวหนังสือ ให้ปุ่มหลักสั่งซื้อเลยเด่นที่สุดอย่างเดียว */
.btn-link-add {
  display: block; width: 100%; margin-top: 8px; padding: 12px 8px; min-height: 44px;
  background: none; border: 0; cursor: pointer; font: inherit; font-size: 16px;
  color: var(--crimson); text-decoration: underline; text-underline-offset: 3px;
}
.btn-link-add:hover { color: var(--crimson-dark); }

/* กล่องยืนยันใส่ตะกร้า กลางจอ ตัวใหญ่ */
.added-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(30, 26, 43, .45);
  display: grid; place-items: center; padding: 20px;
}
.added-box {
  background: #fff; border-radius: 18px; padding: 28px 24px 22px; width: 100%; max-width: 400px;
  text-align: center; box-shadow: 0 20px 50px -12px rgba(30, 26, 43, .5);
}
.added-check {
  width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--green-wash); color: var(--green); font-size: 34px; line-height: 64px; font-weight: 700;
}
.added-box h3 { font-size: 24px; margin: 0 0 6px; }
.added-box p { color: var(--ink-2); font-size: 17px; margin: 0 0 18px; }

/* หน้าสั่งซื้อ: บนมือถือให้สรุปรายการขึ้นก่อนฟอร์ม จะได้เห็นว่าสั่งอะไรก่อนเริ่มกรอก */
@media (max-width: 900px) {
  [data-checkout-body] .cart-layout > aside { order: -1; }
}
.sum-edit { display: inline-block; margin-top: 10px; font-size: 15.5px; }

/* ตัวหนังสือและช่องกรอกในหน้าสั่งซื้อใหญ่ขึ้น อ่านง่ายสำหรับสายตาผู้สูงวัย */
[data-checkout-form] label { font-size: 17.5px; }
[data-checkout-form] input[type=text],
[data-checkout-form] input[type=tel],
[data-checkout-form] textarea { font-size: 18.5px; min-height: 54px; }

.checkout-help {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface-2); text-align: center; font-size: 16.5px;
}
.checkout-help .btn-row { justify-content: center; }

/* ---------- การ์ดชุด: ตัวหนังสือแนวเดียวกันทุกใบ (29 ก.ย. 2569) ---------- */
/* เดิมตั้ง margin-top: auto ไว้ที่ราคา ทำให้ราคา "ทานได้ 30 วัน" และคำอธิบายถูกดันลงไปชิดปุ่ม
   การ์ดไหนคำอธิบายยาวกว่า ราคาก็ลอยสูงกว่าใบข้าง ๆ ย้ายแรงดันไปไว้ที่ปุ่มแทน
   เนื้อหาจึงเรียงจากบนลงล่างเท่ากันทุกใบ ส่วนปุ่มยังอยู่ชิดล่างเสมอกันเหมือนเดิม */
.set-price { margin-top: 0; }
.set-body > [data-buy-now] { margin-top: auto; }
/* รายชื่อสินค้าในชุดบางใบยาว 2 บรรทัด บางใบบรรทัดเดียว จองที่ไว้ 2 บรรทัดเสมอ
   ราคาจึงเริ่มระดับเดียวกันทั้งแถว (จอมือถือเรียงใบเดียว ไม่ต้องจอง) */
@media (min-width: 560px) {
  .set-meta { line-height: 1.6; min-height: 3.2em; }
}

/* ---------- หน้าสั่งซื้อ: ปรับจำนวนชุดได้ในกล่องรายการ ---------- */
.ck-item { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ck-item-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ck-name { font-size: 17px; }
.ck-item-top b { font-size: 17px; white-space: nowrap; }
.ck-item-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.ck-unit { color: var(--ink-3); font-size: 15px; }
.ck-qty { background: #fff; }
.ck-qty .ck-n { min-width: 42px; text-align: center; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ck-qty button:disabled { opacity: .3; cursor: default; }

.ck-actions { display: flex; align-items: center; gap: 6px; }
.ck-remove {
  min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 100px;
  background: none; color: var(--ink-3); font: inherit; font-size: 15.5px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.ck-remove:hover { color: #C0392B; background: #FBEDEC; }

/* ปุ่มยืนยันลบ */
.btn-danger { background: #C0392B; color: #fff; }
.btn-danger:hover { background: #A93226; color: #fff; }
/* ck-summary-static: จอแคบที่เรียงคอลัมน์เดียว กล่องสรุปรายการต้องไม่ลอยตามจอ
   ไม่งั้นมันเลื่อนมาทับช่องกรอกที่อยู่ตอนลูกค้าเลื่อนลง (ลอยได้เฉพาะจอกว้างที่อยู่คอลัมน์ขวา) */
@media (max-width: 900px) { .cart-layout .summary { position: static; } }

/* ---------- ปุ่มเลือกตำบล (หน้าสั่งซื้อ) ---------- */
.zip-hint { display: block; padding: 12px 14px; }
.zip-msg { margin: 0; font-weight: 600; }
.zip-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.zip-chips:not(:empty) { margin-top: 10px; }
.zip-group { grid-column: 1 / -1; font-size: 15px; font-weight: 600; color: var(--ink-2); margin-top: 4px; }
.zip-chip {
  font-size: 17px; min-height: 48px; border-radius: 12px; border: 2px solid var(--line);
  padding: 8px 12px; text-align: center; line-height: 1.3; color: var(--ink); background: #fff;
}
.zip-chip.is-on { background: var(--crimson); border-color: var(--crimson); color: #fff; font-weight: 600; }
.zip-chip.is-on::before { content: "✓ "; }
@media (max-width: 620px) { .zip-chips { grid-template-columns: 1fr 1fr; } }
.zip-change {
  grid-column: 1 / -1; justify-self: start; font-family: inherit; font-size: 16.5px; font-weight: 600;
  min-height: 44px; padding: 8px 16px; border-radius: 100px; cursor: pointer;
  background: #fff; color: var(--crimson); border: 2px solid var(--crimson);
}

/* คลิปรีวิว Shorts แนวตั้ง (9 ต.ค. 2569) — ปกเป็นภาพแนวนอนตัดจากกลางคลิป พอกดเล่นจะเป็นกรอบแนวตั้ง 9:16 */
.vid-grid.is-shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .vid-grid.is-shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .vid-grid.is-shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.vid.is-short iframe { aspect-ratio: 9 / 16; max-height: 78vh; }
.vid.is-short .vid-btn { width: 58px; height: 40px; }
.vid.is-short .vid-btn::after { border-width: 9px 0 9px 15px; }
.vid.is-short figcaption { font-size: 15.5px; }
.vid.is-short figcaption span { font-size: 14px; }

/* =========================================================
   Rixie ริกซี่ — หน้าตาเว็บเซลล์เพจ (ต่อท้าย base.css)
   ออกแบบสำหรับมือถือก่อน: เนื้อหาอยู่ในคอลัมน์เดียวกว้างไม่เกิน 600px
   บนจอใหญ่คอลัมน์จะอยู่กลางจอ พื้นหลังสองข้างเป็นชมพูอ่อน
   โทนสีดึงจากซองสินค้าและอาร์ตเวิร์กของแบรนด์: ชมพูบานเย็น + ชมพูอ่อน + เบอร์รี่เข้ม
   ========================================================= */

:root {
  --crimson: #D6407F;
  --crimson-dark: #B72E68;
  --crimson-light: #EC7FAE;
  --crimson-wash: #FDEEF4;

  /* base.css เรียกสีโครงสร้างด้วยชื่อ gold/teal — เว็บนี้ใช้เบอร์รี่เข้มแทนเขียว */
  --berry: #6E1E48;
  --gold: #6E1E48;
  --gold-light: #EBB9CE;
  --gold-wash: #FBEDF3;
  --teal: #6E1E48;
  --teal-dark: #4E1332;
  --teal-wash: #FBEDF3;

  --ink: #2A1620;
  --ink-2: #5B4650;
  --ink-3: #8B7680;
  --surface: #FFF7FA;
  --surface-2: #FBEDF3;
  --line: #F0DAE4;
  --line-soft: #F7E9EF;
  --shadow-lg: 0 18px 44px -26px rgba(110, 30, 72, .55);

  --col: 600px;
  --pad: 20px;
  --bar-h: 72px;
}

html { scroll-padding-top: 46px; }
body { background: #FBE6EE; }
h1, h2, h3, h4, .btn { font-family: "Prompt", "IBM Plex Sans Thai", "Helvetica Neue", Arial, sans-serif; }
.btn { font-weight: 600; }
.btn-lg { min-height: 62px; font-size: 21px; border-radius: 14px; }

/* ---------- โครงหน้า ---------- */
.sp-top {
  position: sticky; top: 0; z-index: 60;
  background: var(--berry); color: #FCE3EE;
  text-align: center; font-size: 14px; line-height: 1.4; padding: 8px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-page {
  max-width: var(--col); margin: 0 auto; background: #fff; min-height: 100vh;
  box-shadow: 0 0 60px -20px rgba(110, 30, 72, .35);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
.sp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px 8px 18px; }
.sp-logo { display: flex; align-items: baseline; gap: 7px; text-decoration: none; }
.sp-logo:hover { text-decoration: none; }
.sp-logo b { font-family: "Prompt", sans-serif; font-weight: 700; font-size: 25px; letter-spacing: .01em; color: var(--crimson); line-height: 1; }
.sp-logo span { font-size: 15px; color: var(--ink-2); }
.sp-head nav { display: flex; align-items: center; gap: 2px; }
.sp-head nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 15.5px; color: var(--ink-2); }
.sp-head nav a.sp-head-cta { margin-left: 4px; padding: 0 16px; min-height: 40px; border-radius: 100px; background: var(--crimson-wash); color: var(--crimson-dark); font-weight: 600; }

/* ---------- เรื่องเล่า: รูปอาร์ตเวิร์ก + กล่องข้อความ ---------- */
.story picture, .story img, .ship-photos picture { display: block; }
.story img { width: 100%; height: auto; }
.say { padding: 32px var(--pad) 36px; text-align: center; background: #fff; }
.say::before { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; background: var(--crimson); margin: 0 auto 16px; }
.say h1, .say h2 { font-size: 25px; line-height: 1.38; font-weight: 600; color: var(--ink); }
.say h1 { font-size: 27px; font-weight: 700; }
.say p { margin-top: 12px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.say .say-note { font-size: 14.5px; color: var(--ink-3); }
.say-cream { background: var(--surface); }
.say-pink { background: linear-gradient(180deg, #E4619A 0%, #C93574 100%); }
.say-berry { background: var(--berry); }
.say-pink::before, .say-berry::before { background: #FFD3E4; }
.say-pink h1, .say-pink h2, .say-berry h2 { color: #fff; }
.say-pink p, .say-berry p { color: #FFE8F1; }
.say-pink .say-note, .say-berry .say-note { color: #FBD0E0; }
.say-cta { margin-top: 20px; }
.say-pink .say-cta { background: #fff; color: var(--crimson-dark); box-shadow: 0 10px 24px -12px rgba(80, 10, 45, .7); }
.say-pink .say-cta:hover { background: #FFF2F7; color: var(--crimson-dark); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.chips li { font-size: 14.5px; font-weight: 500; line-height: 1.3; padding: 7px 13px; border-radius: 100px; background: var(--crimson-wash); color: var(--crimson-dark); }
.say-pink .chips li { background: rgba(255, 255, 255, .2); color: #fff; }

.ticks { margin-top: 14px; text-align: left; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--crimson) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.say-links { display: grid; gap: 10px; margin-top: 18px; }
.say-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left;
  min-height: 52px; padding: 10px 16px; border: 2px solid var(--crimson-light); border-radius: 14px;
  background: #fff; color: var(--crimson-dark); font-weight: 600; font-size: 16.5px; line-height: 1.4;
}
.say-links a::after { content: "›"; font-size: 24px; line-height: 1; flex: none; }
.say-links a:hover { text-decoration: none; background: var(--crimson-wash); }

.ing { width: 100%; min-width: 0; margin-top: 16px; border-collapse: separate; border-spacing: 0; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ing th, .ing td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.ing tr:last-child th, .ing tr:last-child td { border-bottom: 0; }
.ing th { font-weight: 600; font-size: 16.5px; line-height: 1.4; color: var(--ink); }
.ing th small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.ing td { text-align: right; white-space: nowrap; font-family: "Prompt", sans-serif; font-weight: 600; font-size: 17px; color: var(--crimson-dark); }

.steps-n { counter-reset: st; margin-top: 18px; display: grid; gap: 12px; text-align: left; }
.steps-n li { counter-increment: st; position: relative; padding: 14px 16px 14px 66px; background: #fff; border: 1px solid var(--line); border-radius: 14px; min-height: 68px; }
.steps-n li::before {
  content: counter(st); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--crimson); color: #fff; font-family: "Prompt", sans-serif; font-weight: 700; font-size: 20px;
}
.steps-n b { display: block; font-family: "Prompt", sans-serif; font-size: 18.5px; line-height: 1.4; }
.steps-n span { display: block; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

.ship-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #fff; padding-top: 3px; }
.ship-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.subs { display: grid; gap: 12px; margin-top: 18px; text-align: left; }
.subs > div { padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.say-cream .subs > div { background: #fff; }
.say-white .subs > div { background: var(--surface); }
.subs h3 { font-size: 18.5px; line-height: 1.4; color: var(--crimson-dark); }
.subs p { margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.say-pink .subs h3, .say-berry .subs h3 { color: var(--crimson-dark); }
.say-pink .subs p, .say-berry .subs p { color: var(--ink-2); }

/* กล่องสรุปคำตอบบนหน้าแรก (AEO) */
.answer-box { padding: 26px var(--pad) 30px; background: #fff; border-top: 1px solid var(--line-soft); }
.answer-box h2 { font-size: 22px; line-height: 1.4; }
.answer-box > p { margin-top: 10px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.facts > div { padding: 12px 14px; border-radius: 12px; background: var(--crimson-wash); }
.facts dt { font-size: 13.5px; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-family: "Prompt", sans-serif; font-weight: 600; font-size: 16.5px; line-height: 1.35; color: var(--crimson-dark); }

/* พรีเซนเตอร์ */
.presenter { background: #fff; }
.presenter picture, .presenter img { display: block; width: 100%; height: auto; }
.presenter-body { padding: 28px var(--pad) 34px; }
.presenter-body .eyebrow { display: block; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--crimson); text-transform: uppercase; }
.presenter-body h2 { margin-top: 6px; font-size: 28px; }
.presenter-role { font-size: 15.5px; color: var(--ink-3); }
.presenter-body > p:not(.presenter-role) { margin-top: 12px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.presenter-body .btn { margin-top: 20px; }

/* ปัญหานำ (เป็นแบบนี้อยู่หรือเปล่า) — ตาราง 2 คอลัมน์ แตะแล้วกางเต็มแถว */
.sec-prob { background: var(--surface); }
.probs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.prob { border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.prob summary { list-style: none; cursor: pointer; padding: 0 12px 12px; }
.prob summary::-webkit-details-marker { display: none; }
.prob picture { display: block; margin: 0 -12px 10px; }
.prob-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.prob h3 { font-size: 16px; line-height: 1.35; color: var(--crimson-dark); }
.prob-why { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prob-more { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 99px; background: var(--crimson-wash); color: var(--crimson-dark); font-weight: 600; font-size: 13.5px; }
.prob[open] { grid-column: 1 / -1; border-color: var(--crimson-light); box-shadow: 0 14px 30px -20px rgba(183, 46, 104, .6); }
.prob[open] summary { padding: 0 16px 6px; }
.prob[open] picture { margin: 0 -16px 12px; }
.prob[open] .prob-img { aspect-ratio: 16 / 9; }
.prob[open] h3 { font-size: 21px; }
.prob[open] .prob-why { font-size: 16.5px; line-height: 1.65; -webkit-line-clamp: unset; display: block; }
.prob[open] .prob-more { display: none; }
.prob-body { padding: 0 16px 16px; }
.prob-help { padding: 12px 14px; border-radius: 12px; background: var(--crimson-wash); }
.prob-help b { display: block; font-family: "Prompt", sans-serif; font-size: 15px; color: var(--crimson-dark); }
.prob-help p { margin-top: 2px; font-size: 16px; line-height: 1.65; }
.prob-rv { display: flex; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.prob-rv img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.prob-rv b { font-family: "Prompt", sans-serif; font-size: 16px; }
.prob-rv span { display: block; font-size: 13.5px; color: var(--ink-3); }
.prob-rv p { margin-top: 4px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.prob-body > a { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 15.5px; color: var(--crimson); }
.sec-prob .btn { max-width: 420px; margin-left: auto; margin-right: auto; }

/* ตารางเทียบก่อนซื้อ */
.cmp { width: 100%; min-width: 0; margin-top: 20px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.cmp th, .cmp td { padding: 10px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; text-align: left; line-height: 1.5; font-size: 14.5px; }
.cmp thead th { background: var(--surface-2); font-family: "Prompt", sans-serif; font-weight: 600; font-size: 14px; }
.cmp thead th:nth-child(2) { background: var(--crimson); color: #fff; }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.cmp td.is-us { background: var(--crimson-wash); color: var(--crimson-dark); font-weight: 600; }
.cmp td:last-child { color: var(--ink-3); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* หัวข้อตามคำค้น */
.sec-hub { background: var(--surface); }
.hub { display: grid; gap: 12px; margin-top: 20px; }
.hub a { display: block; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.hub a:hover { text-decoration: none; border-color: var(--crimson-light); }
.hub h3 { font-size: 19px; line-height: 1.4; color: var(--crimson-dark); }
.hub p { margin-top: 4px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.hub span { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 15px; color: var(--crimson); }

/* วิธีเลือกอาหารเสริม */
.guide { display: grid; gap: 12px; margin-top: 20px; }
.guide > div { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.guide h3 { font-size: 19px; line-height: 1.4; }
.guide p { margin-top: 6px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

/* รูปหัวข้อของส่วน (ชุดดีไซเนอร์ sp-*) เต็มความกว้างชิดขอบบน · h2 ที่ตามมาซ่อนไว้ (ชื่ออยู่ในรูปแล้ว) */
.sec-img { display: block; margin: -36px -16px 16px; }
.sec-img picture, .sec-img img { display: block; width: 100%; height: auto; }
.sec-img + h2, .sec-img + h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.answer-box .sec-img { margin: -26px calc(-1 * var(--pad)) 14px; }
.say .sec-img { margin: -32px calc(-1 * var(--pad)) 14px; }
.say.has-img::before { display: none; }
.sec-img + h2 + .sec-lead, .sec-img + h2 + p { margin-top: 0; }

/* ---------- ส่วนเนื้อหาทั่วไป ---------- */
.sec { padding: 36px 16px; scroll-margin-top: 40px; }
.sec > h2, .sec > h1 { text-align: center; font-size: 25px; line-height: 1.38; }
.sec-lead { margin-top: 8px; text-align: center; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.sec-note { margin-top: 16px; text-align: center; font-size: 14px; color: var(--ink-3); }

/* รีวิว */
.sec-reviews { background: var(--surface); }
.sp-page .vid-grid.is-shorts { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.sp-page .vid figcaption { margin-top: 8px; font-size: 15.5px; }
.sp-page .vid figcaption span { display: block; font-size: 13.5px; line-height: 1.45; }
.rv-list { display: grid; gap: 12px; margin-top: 22px; }
.rv { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-top img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.rv-top b { display: block; font-family: "Prompt", sans-serif; font-size: 18px; line-height: 1.3; }
.rv-top span { display: block; font-size: 14.5px; line-height: 1.4; color: var(--crimson-dark); }
.rv p { margin-top: 10px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }

/* ชุดสินค้า */
.sec-packs { background: linear-gradient(180deg, #FDEEF4 0%, #fff 100%); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.pack {
  position: relative; display: flex; flex-direction: column; gap: 4px; text-align: center;
  padding: 10px 8px 10px; background: #fff; border: 2px solid var(--line); border-radius: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pack > picture { display: block; }
.pack img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; object-fit: cover; display: block; }
.pack-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pack > .btn { min-height: 44px; font-size: 15.5px; padding: 6px 4px; border-radius: 10px; margin-top: 4px; }
.pack.is-featured { border-color: var(--crimson-light); }
.pack.is-picked { border-color: var(--crimson); background: var(--crimson-wash); box-shadow: 0 12px 28px -18px rgba(183, 46, 104, .8); }
.pack.is-picked > .btn { background: #1F8A55; }
.pack-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 1; padding: 2px 11px; border-radius: 100px; white-space: nowrap;
  background: #1F8A55; color: #fff; font-family: "Prompt", sans-serif; font-weight: 600; font-size: 12.5px; line-height: 1.5;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .35);
}
.pack-badge.is-gold { background: #F5C21B; color: #4A3200; }
.pack h3 { font-size: 15.5px; line-height: 1.3; font-weight: 600; margin-top: 6px; min-height: 40px; }
.pack-meta { font-size: 12px; line-height: 1.4; color: var(--ink-3); }
.pack-note { display: none; }
.pack-price { margin-top: 2px; line-height: 1.2; }
.pack-price b { display: block; font-family: "Prompt", sans-serif; font-weight: 700; font-size: 20px; color: var(--crimson); font-variant-numeric: tabular-nums; }
.pack-price s { font-size: 12.5px; color: var(--ink-3); }
.pack-save { font-size: 12px; font-weight: 600; color: #1F7A4D; }

/* ชุดสุดท้ายที่เหลือเดี่ยวในแถว (7 ชุด = 3+3+1) ให้กว้างเต็มแถว วางรูปซ้าย ข้อความขวา */
.pack:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: 120px 1fr; gap: 6px 14px; text-align: left; align-items: center; padding: 12px; }
.pack:last-child:nth-child(3n+1) img { width: 120px; }
.pack:last-child:nth-child(3n+1) h3 { min-height: 0; margin-top: 0; font-size: 17px; }
.pack:last-child:nth-child(3n+1) .pack-note { display: block; font-size: 14px; color: var(--ink-2); }
.pack:last-child:nth-child(3n+1) .pack-price b { display: inline; font-size: 24px; }
.pack:last-child:nth-child(3n+1) > .btn { grid-column: 1 / -1; }
.pack:last-child:nth-child(3n+1) .pack-badge { left: 14px; transform: none; }

/* ฟอร์มสั่งซื้อในหน้า */
.sec-order { background: #fff; }
.sec-order .summary { position: static; margin: 20px 0 22px; }
.sp-empty { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 6px 0; }
.sp-empty b { font-family: "Prompt", sans-serif; font-size: 18.5px; }
.sp-empty span { font-size: 15.5px; color: var(--ink-2); }
.sp-empty .btn { margin-top: 6px; }
.sec-order .field label { font-size: 17px; }
.sec-order .field input, .sec-order .field textarea { font-size: 18px; min-height: 54px; }
.sec-order .form-row, .sec-order .form-row-zip { grid-template-columns: 1fr; }
.form-h { margin: 26px 0 12px; font-size: 20px; }
.pay-detail { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface); font-size: 16px; color: var(--ink-2); }
.order-warn { margin-top: 14px; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.order-help { margin-top: 20px; padding: 18px 16px; border-radius: 16px; background: var(--surface); text-align: center; font-size: 16.5px; }
.order-help .btn-row { justify-content: center; margin-top: 12px; }
.order-help .btn { flex: 1 1 150px; }

/* ถาม-ตอบ */
.sec-faq { background: var(--surface); }
.sec-faq .faq { margin-top: 20px; }
.sec-faq .faq details { background: #fff; }
.sec-faq .faq summary { font-family: "Prompt", sans-serif; font-weight: 500; font-size: 17.5px; line-height: 1.45; }

/* ลิงก์ไปหน้าอาการ */
.more-links { display: grid; gap: 10px; margin-top: 18px; }
.more-links a { display: block; padding: 14px 44px 14px 16px; position: relative; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.more-links a::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--crimson); }
.more-links a:hover { text-decoration: none; border-color: var(--crimson-light); }
.more-links b { display: block; font-family: "Prompt", sans-serif; font-weight: 600; font-size: 17.5px; line-height: 1.4; color: var(--crimson-dark); }
.more-links span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }

/* ---------- หน้าอาการ ---------- */
.crumb { padding: 4px var(--pad) 0; font-size: 14px; color: var(--ink-3); }
.crumb a { color: var(--ink-2); }
.art { padding: 10px var(--pad) 34px; }
.art h1 { font-size: 26px; line-height: 1.38; font-weight: 700; }
.art-date { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.answer { margin: 18px 0 4px; padding: 16px 18px; border-radius: 14px; background: var(--crimson-wash); border-left: 5px solid var(--crimson); }
.answer b { display: block; font-family: "Prompt", sans-serif; font-size: 16px; color: var(--crimson-dark); }
.answer p { margin-top: 6px; font-size: 17.5px; line-height: 1.75; color: var(--ink); }
.art picture { display: block; margin: 20px 0 4px; }
.art-img { width: 100%; height: auto; border-radius: 14px; }
.ptable th { font-size: 17px; }
.ptable td b { display: block; font-size: 21px; color: var(--crimson); }
.ptable td s { font-family: "IBM Plex Sans Thai", sans-serif; font-weight: 400; font-size: 14px; color: var(--ink-3); }
.art table + p { font-size: 15px; color: var(--ink-3); }
.art h2 { margin-top: 30px; font-size: 22px; line-height: 1.4; }
.art > p { margin-top: 12px; font-size: 17.5px; line-height: 1.8; color: var(--ink-2); }
.art .ticks { margin-top: 14px; }
.nums { counter-reset: n; margin-top: 14px; display: grid; gap: 12px; }
.nums li { counter-increment: n; position: relative; padding-left: 40px; font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
.nums li::before {
  content: counter(n); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--crimson-wash); color: var(--crimson-dark);
  font-family: "Prompt", sans-serif; font-weight: 700; font-size: 15.5px;
}

/* หน้าขอบคุณ / 404 */
.sec-thanks { text-align: center; padding-top: 30px; min-height: 60vh; }
.sec-thanks .order-box, .sec-thanks .steps, .sec-thanks .notice { text-align: left; }
.sec-thanks .btn-row { justify-content: center; }
.sec-thanks h1 { font-size: 25px; line-height: 1.4; }
.sec-thanks > .btn { margin-top: 20px; }

/* ---------- ท้ายเว็บ ---------- */
.sp-foot { padding: 30px var(--pad) 34px; background: #3B1228; color: #E8CDDA; font-size: 15px; line-height: 1.7; }
.sp-foot p { margin-top: 14px; }
.sp-foot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sp-foot-brand { margin-top: 0 !important; }
.sp-foot-brand b { display: block; font-family: "Prompt", sans-serif; font-size: 21px; color: #fff; }
.sp-foot nav { margin-top: 18px; }
.sp-foot nav h2 { font-size: 16px; font-weight: 600; color: #fff; }
.sp-foot nav ul { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sp-foot nav a { display: inline-flex; align-items: center; min-height: 40px; }
.sp-foot-warn { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 13.5px; }
.sp-foot-legal { font-size: 13.5px; color: #C9A9B9; }

/* ---------- แถบปุ่มล่าง ติดจอตลอด ---------- */
.sp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  max-width: var(--col); margin: 0 auto; display: flex; gap: 8px;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(110, 30, 72, .5);
}
.sp-bar a, .sp-bar button { min-height: 54px; border-radius: 13px; text-decoration: none; cursor: pointer; }
.sp-bar-line, .sp-bar-tel {
  flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-size: 12.5px; font-weight: 600; line-height: 1.2;
}
.sp-bar-line { background: #06C755; color: #fff; }
.sp-bar-line:hover { color: #fff; text-decoration: none; }
.sp-bar-tel { background: #fff; color: var(--crimson-dark); border: 2px solid var(--crimson-light); }
.sp-bar-tel:hover { text-decoration: none; }
.sp-bar-cta {
  flex: 1; display: flex; align-items: center; justify-content: center; border: 0;
  background: var(--crimson); color: #fff; font-family: "Prompt", sans-serif; font-weight: 600; font-size: 20px;
  box-shadow: 0 8px 20px -10px rgba(183, 46, 104, .9);
}
.sp-bar-cta:hover { background: var(--crimson-dark); color: #fff; text-decoration: none; }

.toast { bottom: calc(var(--bar-h) + 22px); }
.consent-bar { bottom: calc(var(--bar-h) + 10px); max-width: calc(var(--col) - 20px); margin-left: auto; margin-right: auto; }

@media (min-width: 640px) {
  .sp-top { font-size: 15px; }
  .say h1 { font-size: 30px; }
  .say h1, .say h2 { padding: 0 10px; }
  .pack h3 { font-size: 17px; }
  .pack-price b { font-size: 24px; }
  .pack > .btn { font-size: 17px; }
}
@media (max-width: 359px) {
  .sp-head nav a:not(.sp-head-cta) { display: none; }
  .packs { gap: 6px; }
  .pack { padding: 8px 5px; }
  .pack h3 { font-size: 14px; }
  .say h1, .say h2, .sec > h2 { font-size: 23px; }
}

