/* ============================================================
   lp.css — เซลเพจ BETA LIV PRO PLUS
   ออกแบบมือถือเป็นหลัก (ลูกค้าเกือบทั้งหมดเข้าผ่านมือถือ)
   จอใหญ่จะบีบเนื้อหาไว้กลางจอกว้าง 460px เหมือน ClickSalepage
   ============================================================ */

:root {
  --green:      #0f6b4f;
  --green-dark: #0a5039;
  --orange:     #f7941d;
  --orange-dk:  #e07f06;
  --red:        #d92121;
  --line:       #06c755;
  --tel:        #b81621;
  --ink:        #23282d;
  --ink-soft:   #6b7280;
  --hair:       #e3e6ea;
  --bg:         #f4f4f4;
  --card:       #ffffff;
  --shadow:     0 1px 3px rgba(16, 24, 40, .08);
  --radius:     10px;
  --wrap:       460px;
  --bar:        56px;
}

* { box-sizing: border-box; }

/* ต้องมาก่อนทุกกฎ: กฎที่ตั้ง display เอง (เช่น .done { display: grid })
   จะทับ attribute hidden ของเบราว์เซอร์ ทำให้กล่องที่ควรซ่อนโผล่ขึ้นมา */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #dcdcdc;
  color: var(--ink);
  font-family: Kanit, "Noto Sans Thai", system-ui, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  /* กันเนื้อหาโดนแถบล่างทับ + เผื่อขอบจอ iPhone */
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- แถบด่วนบนสุด ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  max-width: var(--wrap); margin: 0 auto;
  background: var(--green); color: #fff;
  font-size: 12.5px; font-weight: 400; letter-spacing: .2px;
  padding: 7px 12px;
  display: flex; align-items: center; gap: 8px; justify-content: center;
}
.topbar-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #7bf5a8; flex: none;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- กล่องหลัก ---------- */
.lp {
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
}

/* ---------- รูปเนื้อหาเรียงต่อกัน ---------- */
.story { display: block; background: #fff; font-size: 0; }
.story img {
  width: 100%; height: auto;
  /* สำคัญ: ปิดช่องว่างระหว่างรูปให้ต่อกันสนิทเหมือน ClickSalepage */
  display: block; margin: 0; border: 0;
}
.story a { display: block; }
.story a:active { opacity: .85; }

/* ---------- ช่วงข้อความคั่นระหว่างรูป ----------
   ตัวใหญ่เหมือนที่ labfarm ทำ เพราะคนอ่านกำลังเลื่อนเร็วๆ ผ่านรูป
   ถ้าตัวเล็กจะถูกข้ามไปเลย และลูกค้ากลุ่มนี้อายุ 45 ปีขึ้นไป */
.say {
  padding: 32px 22px 36px;
  font-size: 17px;
  text-align: center;
  position: relative;
}
.say-lead {
  margin: 0 0 12px;
  font-size: 27px; font-weight: 600; line-height: 1.35;
}
.say-body { margin: 0; font-size: 18px; line-height: 1.85; }
.say-list {
  margin: 16px 0 0; padding: 0; list-style: none;
  text-align: left; display: grid; gap: 11px;
}
.say-list li {
  position: relative; padding-left: 31px;
  font-size: 17px; line-height: 1.7;
}
.say-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  font-weight: 700; font-size: 18px;
}
.say-note {
  margin: 18px 0 0; padding: 13px 15px;
  border-radius: 10px;
  font-size: 15px; line-height: 1.7; text-align: left;
}
/* คำที่ครอบด้วย [[ ]] ใน copy.json */
.say .hl { font-style: normal; font-weight: 600; }

/* ---------- คลิปรีวิว ---------- */
.vids { margin: 20px 0 0; display: grid; gap: 18px; }
.vid { text-align: left; }

.vid-btn {
  display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  position: relative; border-radius: 12px; overflow: hidden;
  background: #000; line-height: 0;
  /* กันที่ไว้ตามสัดส่วนคลิป หน้าจึงไม่กระโดดตอนรูปปกโหลดเสร็จ */
  aspect-ratio: 16 / 9;
}
.vid-thumb { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.vid-btn:active .vid-thumb { opacity: 1; }

.vid-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 48px; border-radius: 12px;
  background: rgba(214, 17, 23, .94);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .4);
}
.vid-play::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-42%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.vid-btn:active .vid-play { background: #d61117; }

.vid-time {
  position: absolute; right: 9px; bottom: 9px;
  background: rgba(0, 0, 0, .78); color: #fff;
  font-size: 13px; line-height: 1; padding: 4px 7px; border-radius: 5px;
}

.vid-frame {
  width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: 12px; display: block; background: #000;
}
.vid-title { margin: 10px 2px 0; font-size: 16px; line-height: 1.6; }

/* ---- โทนที่ 1 ขาวสะอาด ใช้ตอนให้ข้อมูล ---- */
.say-plain { background: #fff; }
.say-plain .say-lead { color: #16202a; }
.say-plain .say-body, .say-plain .say-list li { color: #3b444c; }
.say-plain .say-list li::before { color: var(--green); }
.say-plain .hl { color: var(--red); }
.say-plain .say-note { background: #fff6e5; border: 1px solid #ffe0a8; color: #7a4f00; }

/* ---- โทนที่ 2 แดงเข้มตัวขาว ใช้ตอนขยี้ปัญหา ----
   เอาสีมาจากอาร์ตเวิร์กชุดเดียวกับรูป เวลาเลื่อนผ่านจึงไม่รู้สึกว่าคนละเว็บ */
.say-alert {
  background: linear-gradient(160deg, #b4111c 0%, #8a0f18 100%);
  color: #fff;
}
.say-alert .say-lead { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.say-alert .say-body, .say-alert .say-list li { color: #ffe8e8; }
.say-alert .say-list li::before { color: #ffd34d; }
.say-alert .hl {
  color: #ffd34d;                 /* เหลืองทองบนแดง คือคู่สีที่อ่านง่ายที่สุดของชุดนี้ */
}
.say-alert .say-note { background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .25); color: #ffeaea; }

/* ---- โทนที่ 3 ไวน์เข้มหัวข้อทอง ใช้ตอนพูดถึงตัวสินค้าและรางวัล ---- */
.say-gold {
  background: linear-gradient(160deg, #3b0a10 0%, #6d1119 100%);
  color: #fff;
}
.say-gold .say-lead {
  background: linear-gradient(95deg, #f6d271 0%, #e0a83c 55%, #f6d271 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #e0a83c;
}
.say-gold .say-body, .say-gold .say-list li { color: #f3dfe0; }
.say-gold .say-list li::before { color: #e0a83c; }
.say-gold .hl { color: #f6d271; }
.say-gold .say-note { background: rgba(0, 0, 0, .28); border: 1px solid rgba(224, 168, 60, .4); color: #f3dfe0; }

/* ---- โทนที่ 4 เขียวอ่อน ใช้ตอนให้ความมั่นใจ ---- */
.say-calm { background: #eef8f3; }
.say-calm .say-lead { color: var(--green-dark); }
.say-calm .say-body, .say-calm .say-list li { color: #2f4a3f; }
.say-calm .say-list li::before { color: var(--green); }
.say-calm .hl { color: var(--green-dark); }
.say-calm .say-note { background: #fff; border: 1px solid #bfe3d4; color: #4a5a52; }

.story-empty {
  padding: 40px 20px; text-align: center;
  font-size: 14px; color: var(--ink-soft);
  border: 2px dashed #cfd4da; margin: 16px; border-radius: var(--radius);
  background: #fafbfc;
}
.story-empty-t { font-weight: 600; color: var(--ink); font-size: 16px; margin: 0 0 10px; }
.story-empty-d { margin: 8px 0; line-height: 1.9; }
.story-empty code {
  background: #eceff2; padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; color: #b1310f;
}

/* ซ่อนจากสายตาแต่ยังให้ Google และโปรแกรมอ่านหน้าจออ่านได้
   ใช้กับหัวข้อที่ข้อความจริงอยู่ในรูปแทน */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- หัวข้อ ---------- */
.sec { padding: 22px 12px 8px; }

/* แบนเนอร์หัวตะกร้า เต็มความกว้างเหมือนรูปในเนื้อเรื่อง
   ต้องชิดกริดแพ็กเพราะลูกศรในรูปชี้ลงไปที่กริด */
.sec-order { padding-top: 0; }
.order-head {
  /* ต้องปลด max-width ที่ตั้งไว้กับ img ทุกตัว ไม่งั้นรูปจะโดนบีบอยู่ในขอบของ .sec */
  width: calc(100% + 24px); max-width: none;
  margin: 0 -12px 14px; height: auto;
}
.sec-title {
  margin: 0 0 14px; text-align: center;
  font-size: 21px; font-weight: 600; color: var(--red);
  line-height: 1.35;
}
.sec-title span { font-size: 16px; font-weight: 400; display: block; color: var(--ink); }

/* คำถามที่พบบ่อย — ใช้ details/summary ของเบราว์เซอร์ ไม่ต้องเขียน JavaScript เพิ่ม
   คำตอบอยู่ใน HTML ตั้งแต่แรกแม้ยังไม่กาง บอตจึงอ่านได้ครบ */
.faq-item {
  border: 1px solid #dfe4e8; border-radius: 10px;
  background: #fff; margin-bottom: 10px;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 16px 44px 16px 16px; position: relative;
  font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--ink);
  min-height: 54px;                 /* นิ้วโป้งกดง่าย เท่ากับช่องกรอกในฟอร์ม */
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--green); line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--green); }
.faq-item p {
  margin: 0; padding: 0 16px 16px;
  font-size: 16px; line-height: 1.75; color: #454e56;
}
.sub-title {
  display: flex; align-items: center; gap: 9px;
  margin: 26px 0 12px; font-size: 19px; font-weight: 500;
}

/* ---------- กริดแพ็ก 2 คอลัมน์ ---------- */
.pack-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.pack {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  border: 2px solid transparent; transition: border-color .15s, box-shadow .15s;
}
.pack.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247, 148, 29, .18); }
.pack-img { position: relative; background: #fffdf5; }
.pack-img img { width: 100%; aspect-ratio: 800 / 835; object-fit: cover; }
.pack-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--red); color: #fff;
  font-size: 10.5px; font-weight: 500; padding: 2px 7px; border-radius: 20px;
}
.pack-badge.hot { background: var(--orange); }

.pack-body { padding: 8px 9px 10px; display: flex; flex-direction: column; flex: 1; }
.pack-sold { font-size: 11px; color: var(--ink-soft); text-align: right; margin: 0 0 3px; }
.pack-title {
  margin: 0 0 4px; font-size: 13px; font-weight: 500; line-height: 1.4;
  /* ตัด 2 บรรทัดให้การ์ดสูงเท่ากันทุกใบ */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pack-desc {
  margin: 0 0 6px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pack-price { margin: auto 0 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pack-was { font-size: 12px; color: #9aa2ab; text-decoration: line-through; }
.pack-now { font-size: 19px; font-weight: 600; color: var(--red); }

.stepper { display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 7px; }
.stepper button {
  /* 36px ขึ้นไป นิ้วโป้งกดติดแน่ ปุ่มเล็กกว่านี้ลูกค้ากดพลาดแล้วเลิกซื้อ */
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--hair); background: #fff; color: var(--ink);
  font-size: 19px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  touch-action: manipulation;   /* ตัดดีเลย์รอ double-tap zoom */
}
.stepper button:active { background: #f0f1f3; }
.stepper input {
  width: 44px; height: 36px; text-align: center;
  border: 1px solid var(--hair); border-radius: 6px;
  /* ต้อง 15px ขึ้นไป ไม่งั้น iOS ซูมหน้าเองตอนกดช่องนี้ */
  font: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
.pack-add {
  width: 100%; border: 0; border-radius: 7px;
  background: var(--orange); color: #fff;
  font: inherit; font-weight: 500; font-size: 14px;
  padding: 9px 4px; cursor: pointer;
}
.pack-add:active { background: var(--orange-dk); }
.pack.on .pack-add { background: var(--green); }

/* ---------- สรุปตะกร้า ---------- */
.cart {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px; margin-bottom: 14px;
}
.cart-line {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 0; border-bottom: 1px dashed var(--hair); font-size: 13.5px;
}
.cart-line span { flex: 1; }
.cart-line b { white-space: nowrap; font-weight: 500; }
.cart-del {
  border: 0; background: none; color: #c0c5cb; cursor: pointer;
  font-size: 17px; line-height: 1; padding: 0 2px;
}
.cart-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 9px; font-size: 14px;
}
.cart-total { font-size: 16px; border-top: 1px solid var(--hair); margin-top: 4px; }
.cart-total b { font-size: 22px; color: var(--red); font-weight: 600; }
.cart-empty {
  background: #fff6e5; border: 1px solid #ffe0a8; color: #8a5a00;
  padding: 11px 12px; border-radius: var(--radius); font-size: 13.5px;
  margin: 0 0 14px; text-align: center;
}

/* ==========================================================
   ฟอร์ม — ออกแบบให้ผู้สูงอายุกรอกง่าย
   ลูกค้าหลักของสินค้าตับคือวัย 45 ปีขึ้นไป สายตาเริ่มยาว
   จึงใช้ตัวใหญ่ ขอบหนาเข้ม ช่องสูง และบอกวิธีกรอกไว้ตลอด
   ไม่ซ่อนคำอธิบายไว้ใน placeholder ที่หายไปตอนเริ่มพิมพ์
   ========================================================== */
.reassure {
  background: #eef8f3; border: 1px solid #bfe3d4; border-radius: var(--radius);
  color: #0a5039; padding: 12px 14px; margin: 0 0 16px;
  font-size: 15px; line-height: 1.65; text-align: center;
}

.field { margin-bottom: 18px; }
.field label {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 500;
  margin-bottom: 6px; color: #1d2328;
}
.field label small { color: #5a636b; font-weight: 300; font-size: 14px; }

/* ตัวเลขขั้นตอน ช่วยให้ไม่หลงว่ากรอกถึงไหนแล้ว */
.step {
  flex: none; width: 27px; height: 27px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-style: normal; font-size: 15px; font-weight: 500;
  display: grid; place-items: center;
}

.hint {
  margin: 0 0 7px; font-size: 14px; line-height: 1.6;
  color: #5a636b; padding-left: 36px;
}

.field input, .field select, .field textarea {
  width: 100%; padding: 14px 14px; min-height: 54px;
  border: 2px solid #b9c1c9; border-radius: 10px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 19px;   /* ใหญ่พอให้อ่านง่าย และกัน iOS ซูมตอนโฟกัส */
  line-height: 1.4;
  appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa2ab; }
.field textarea { resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23384047' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(15, 107, 79, .18);
}
.field.bad input, .field.bad select, .field.bad textarea {
  border-color: var(--red); background: #fff6f6;
}

/* รายการแขวง/ตำบล — ปุ่มเต็มแถว สูงกว่าช่องกรอกปกติ เพราะเป็นจุดที่กดพลาดบ่อยที่สุด
   เรียงลงมาทีละแถวแทนที่จะจับคู่กัน ชื่อตำบลไทยยาวไม่เท่ากัน ถ้าบีบสองคอลัมน์จะตัดคำ */
.sub-list { display: grid; gap: 10px; }
.sub-opt {
  width: 100%; min-height: 60px; padding: 14px 16px 14px 52px;
  border: 2px solid #b9c1c9; border-radius: 10px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 19px; line-height: 1.35;
  text-align: left; cursor: pointer; position: relative;
  -webkit-tap-highlight-color: transparent;
}
/* วงกลมนำหน้าแบบปุ่มตัวเลือก บอกให้รู้ว่าเลือกได้อันเดียว */
.sub-opt::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #b9c1c9; background: #fff;
}
.sub-opt.on {
  border-color: var(--green); background: #f1f8f5; font-weight: 600;
  box-shadow: 0 0 0 3px rgba(15, 107, 79, .14);
}
.sub-opt.on::before {
  border-color: var(--green); background: var(--green);
  box-shadow: inset 0 0 0 4px #fff;
}
.field.bad .sub-opt { border-color: var(--red); background: #fff6f6; }
.sub-opt:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.err { margin: 7px 0 0; font-size: 15px; font-weight: 400; color: var(--red); }
.err:not(:empty)::before { content: "⚠ "; }

/* การ์ดยืนยันตำบล/อำเภอ/จังหวัดที่ระบบเติมให้ */
.confirm-area {
  background: #eef8f3; border: 2px solid var(--green); border-radius: var(--radius);
  padding: 13px 15px; margin: 0 0 18px;
}
.confirm-t { margin: 0 0 8px; font-size: 15px; font-weight: 500; color: var(--green-dark); }
.confirm-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 5px 0; font-size: 16px;
}
.confirm-line span { color: #4a545c; }
.confirm-line b { font-size: 18px; font-weight: 500; text-align: right; }

/* ---------- ช่องทางชำระเงิน ---------- */
.pay { display: grid; gap: 11px; }
.pay-opt {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 14px; min-height: 68px;
  border: 2px solid #b9c1c9; border-radius: var(--radius);
  background: #fff; cursor: pointer;
}
.pay-opt.on { border-color: var(--green); background: #eef8f3; box-shadow: 0 0 0 4px rgba(15, 107, 79, .14); }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-mark {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  border: 2px solid #9aa4ad; display: grid; place-items: center;
}
.pay-opt.on .pay-mark { border-color: var(--green); }
.pay-opt.on .pay-mark::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }
.pay-txt b { display: block; font-weight: 500; font-size: 18px; }
.pay-txt small { color: #5a636b; font-size: 14px; line-height: 1.5; }

/* ---------- กล่องบัญชีธนาคาร ---------- */
.bank {
  margin-top: 14px; padding: 16px;
  background: #f2fbf7; border: 2px solid var(--green); border-radius: var(--radius);
}
.bank-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bank-logo { width: 52px; height: 52px; flex: none; border-radius: 10px; background: #fff; }
.bank-t { margin: 0 0 2px; font-size: 14px; color: #4a545c; }
.bank-line { margin: 0; font-size: 17px; font-weight: 500; }

.bank-no {
  margin: 0 0 10px; padding: 12px 14px;
  background: #fff; border: 2px solid #bfe3d4; border-radius: 10px;
  font-size: 26px; font-weight: 600; letter-spacing: .5px;
  text-align: center; color: var(--green-dark);
}
.copy {
  display: block; width: 100%; min-height: 50px;
  border: 2px solid var(--green); background: #fff; color: var(--green-dark);
  font: inherit; font-size: 17px; font-weight: 500;
  padding: 12px; border-radius: 10px; cursor: pointer;
}
.copy:active { background: #e3f4ec; }

.slip {
  display: block; text-align: center; cursor: pointer;
  padding: 18px 12px; min-height: 64px;
  border: 2px dashed var(--green); border-radius: 10px;
  background: #fff; font-size: 17px; font-weight: 500; color: var(--green-dark);
}
.slip:active { background: #eef8f3; }
.field.bad .slip { border-color: var(--red); background: #fff6f6; color: var(--red); }
.slip-preview { margin-top: 11px; border-radius: 10px; max-height: 260px; width: auto; }
#slipField { margin: 16px 0 0; }
#slipField > label { margin-top: 0; }

/* ---------- ปุ่มยืนยัน ---------- */
.submit {
  width: 100%; margin-top: 22px; padding: 19px 15px; min-height: 64px;
  border: 0; border-radius: var(--radius);
  background: var(--orange); color: #fff;
  font: inherit; font-size: 22px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(247, 148, 29, .38);
}
.submit:active { background: var(--orange-dk); }
.submit[disabled] { background: #b9bfc5; box-shadow: none; cursor: progress; }
.form-note { margin: 14px 0 0; font-size: 13.5px; color: #5a636b; line-height: 1.75; text-align: center; }

/* ---------- รีวิว ---------- */
.rating {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  margin-bottom: 14px; font-size: 15px;
}
.rating b { font-size: 28px; font-weight: 600; color: var(--orange); line-height: 1; }
.stars { color: var(--orange); letter-spacing: 1px; font-size: 15px; }

.reviews { display: grid; gap: 10px; }
.rv {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px;
}
.rv-top { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.rv-ava {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 500;
}
.rv-name { font-size: 13.5px; font-weight: 400; }
.rv-text { margin: 0; font-size: 13.5px; line-height: 1.7; color: #3b434a; }
.rv-photo { margin-top: 9px; border-radius: 8px; max-height: 190px; width: auto; }

/* ---------- ท้ายหน้า ---------- */
.foot {
  padding: 20px 16px 26px; text-align: center;
  font-size: 11.5px; color: var(--ink-soft); line-height: 1.8;
  border-top: 1px solid var(--hair); margin-top: 18px; background: #eeeeee;
}
.foot p { margin: 4px 0; }

/* ---------- แถบติดล่างจอ ---------- */
.sticky {
  position: fixed; z-index: 40;
  left: 0; right: 0; bottom: 0;
  max-width: var(--wrap); margin: 0 auto;
  display: flex; gap: 4px;
  padding: 5px 5px calc(5px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  box-shadow: 0 -2px 10px rgba(16, 24, 40, .12);
}
.s-btn {
  display: grid; place-items: center;
  height: 46px; border-radius: 8px;
  color: #fff; text-decoration: none;
}
.s-btn svg { width: 21px; height: 21px; fill: currentColor; }
.s-line { background: var(--line); flex: 0 0 15%; }
.s-tel  { background: var(--tel);  flex: 0 0 15%; }
.s-buy  {
  background: var(--orange); flex: 1;
  grid-auto-flow: column; gap: 8px; font-size: 17px; font-weight: 500;
}
.s-btn:active { filter: brightness(.92); }

/* ---------- หน้าขอบคุณ ---------- */
.done {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(20, 26, 30, .62);
  display: grid; place-items: center; padding: 22px;
}
.done-card {
  background: #fff; border-radius: 16px; padding: 28px 22px;
  text-align: center; max-width: 340px; width: 100%;
}
/* โลโก้จริงของแบรนด์ ให้ลูกค้ามั่นใจว่าสั่งถูกเจ้า ก่อนปิดหน้าไป */
.done-logo { width: 150px; height: auto; margin: 0 auto 6px; }
.done-tick {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 33px;
}
.done-card h2 { margin: 0 0 8px; font-size: 21px; font-weight: 600; }
.done-d { margin: 0 0 18px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.done-line {
  display: block; padding: 13px; border-radius: 9px;
  background: var(--line); color: #fff; text-decoration: none;
  font-size: 15.5px; font-weight: 500;
}
.done-close {
  margin-top: 10px; border: 0; background: none;
  color: var(--ink-soft); font: inherit; font-size: 13px; cursor: pointer;
}

/* ---------- ข้อความแจ้งชั่วคราว ---------- */
.toast {
  position: fixed; z-index: 70;
  left: 50%; transform: translate(-50%, 18px);
  bottom: calc(var(--bar) + 16px + env(safe-area-inset-bottom));
  background: #23282d; color: #fff;
  padding: 10px 17px; border-radius: 22px; font-size: 13.5px;
  max-width: 88vw; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--red); }

/* ==========================================================
   จอใหญ่
   ClickSalepage บนคอมคือคอลัมน์เดียวกว้างราว 58% ของจอ พื้นขาวบนเทา
   วัดจาก betaoil ที่จอ 1440 ได้คอลัมน์ 831px แพ็ก 4 ใบต่อแถว
   ========================================================== */

/* แท็บเล็ต ยังคงความกว้างมือถือไว้ แค่ยกกรอบขึ้นจากพื้นหลัง */
@media (min-width: 560px) {
  body { background: #d3d7db; }
  .lp { box-shadow: 0 0 26px rgba(16, 24, 40, .14); min-height: 100vh; }
  .sticky { border-radius: 12px 12px 0 0; }
}

@media (min-width: 900px) {
  :root { --wrap: 860px; }
  body { background: #e6e9ec; }
  .lp { box-shadow: 0 0 44px rgba(16, 24, 40, .15); }
  .sticky { border-radius: 14px 14px 0 0; }
  .topbar { font-size: 14px; padding: 9px 12px; }

  .sec { padding: 30px 20px 10px; }
  .sec-order { padding-top: 0; }
  .order-head { width: calc(100% + 40px); margin: 0 -20px 20px; }
  .sec-title { font-size: 26px; }

  /* บรรทัดยาวเกิน 75 ตัวอักษรอ่านยาก ต่อให้คอลัมน์กว้าง 860px
     ก็ต้องบีบตัวข้อความไว้กลาง ไม่ปล่อยให้ลากเต็มความกว้าง */
  .say { padding: 46px 30px 50px; }
  .say > * { max-width: 640px; margin-inline: auto; }
  .say-lead { font-size: 32px; }
  .say-body { font-size: 19px; }

  /* betaoil วาง 4 ใบต่อแถว ของเรามี 5 แพ็กจึงเหลือใบเดียวโดดแถวล่าง
     ใช้ 3 ใบต่อแถวแทน ได้ 3+2 ซึ่งดูสมดุลกว่าและการ์ดกว้างขึ้นเป็นราว 270px */
  .pack-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pack-title { font-size: 15px; }
  .pack-desc { font-size: 13px; }
  .pack-now { font-size: 22px; }
  .pack-add { font-size: 15px; padding: 11px 6px; }

  /* betaoil ปล่อยช่องกรอกยาว 811px เต็มคอลัมน์ ซึ่งสายตาต้องกวาดไกลมาก
     และยิ่งแย่กับลูกค้าสูงอายุ จึงบีบฟอร์มไว้กลางแทน */
  .reassure, .cart, .cart-empty, #orderForm { max-width: 580px; margin-inline: auto; }
  .row2 { gap: 14px; }

  .vids { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .reviews { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .rv { padding: 15px; }
  .rv-name { font-size: 15px; }
  .rv-text { font-size: 15px; }
  .foot { font-size: 13px; padding: 26px 20px 32px; }
}

/* จอกว้างมาก ขยายคอลัมน์อีกนิดแต่ไม่เกินความกว้างจริงของรูป (1040px)
   ถ้าปล่อยให้กว้างกว่านั้นรูปจะถูกยืดจนเห็นความเบลอ */
@media (min-width: 1600px) {
  :root { --wrap: 1000px; }
  .pack-grid { grid-template-columns: repeat(5, 1fr); }
}

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

/* สีชื่อคลิปตามโทนของช่วงที่มันอยู่ */
.say-plain .vid-title { color: #3b444c; }
.say-alert .vid-title { color: #ffe8e8; }
.say-gold  .vid-title { color: #f3dfe0; }
.say-calm  .vid-title { color: #2f4a3f; }
