/* =========================================================
   COCONUT OIL — Landing Page Theme
   ========================================================= */
:root {
  --green-900: #0f3d2e;
  --green-800: #14543d;
  --green-700: #1b6b4c;
  --green-500: #2e9e6b;
  --green-300: #7fd0a8;
  --gold: #d9a441;
  --gold-dark: #b8862d;
  --cream: #fdf9f0;
  --cream-2: #f6efdf;
  --white: #ffffff;
  --ink: #1d2622;
  --muted: #5f6d67;
  --line: #e6ded0;
  --danger: #c0392b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 61, 46, 0.12);
  --shadow-sm: 0 4px 14px rgba(15, 61, 46, 0.08);
  --font: "Sarabun", "Prompt", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 17px;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section { padding: 76px 0; }
.section-title {
  text-align: center;
  margin-bottom: 44px;
}
.section-title .eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title h2 {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--green-900);
  line-height: 1.3;
  font-weight: 800;
}
.section-title p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 640px;
  margin-inline: auto;
}

.alt-bg { background: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: var(--font);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 164, 65, .38);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(217, 164, 65, .5); }
.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,.2); }
.btn-green {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 8px 20px rgba(27, 107, 76, .3);
}
.btn-green:hover { background: var(--green-800); }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-900);
  color: #d9f2e6;
  font-size: 14px;
  text-align: center;
  padding: 8px 12px;
}
.topbar strong { color: var(--gold); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 249, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--green-900);
}
.brand .logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--green-500), var(--green-800));
  display: grid; place-items: center;
  color: #fff; font-size: 20px;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.brand small { display: block; font-size: 11px; color: var(--gold-dark); font-weight: 600; letter-spacing: 1px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 16px;
}
.nav-links a { color: var(--green-900); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px; height: 2.5px;
  background: var(--green-900);
  border-radius: 2px;
  transition: .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(217,164,65,.28), transparent 60%),
    linear-gradient(150deg, var(--green-900) 0%, var(--green-700) 60%, #237a55 100%);
  color: #fff;
  overflow: hidden;
  padding: 74px 0 96px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hero::before { width: 320px; height: 320px; top: -120px; left: -90px; }
.hero::after { width: 240px; height: 240px; bottom: -110px; right: -60px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 46px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero h1 .hl { color: var(--gold); }
.hero p.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: #e2f3ea;
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.hero-stats .stat b {
  display: block;
  font-size: 26px;
  color: var(--gold);
  font-weight: 800;
  line-height: 1.2;
}
.hero-stats .stat span { font-size: 14px; color: #cfe8dc; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 30px;
  padding: 34px;
  width: min(340px, 100%);
  backdrop-filter: blur(6px);
  text-align: center;
  box-shadow: var(--shadow);
}
.hero-card .bottle { font-size: 96px; line-height: 1; }
.hero-card h3 { margin-top: 10px; font-size: 20px; }
.hero-card .price {
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
  margin: 6px 0 4px;
}
.hero-card .price s { font-size: 16px; color: #bcd6c9; font-weight: 500; margin-left: 8px; }
.hero-card .tag {
  display: inline-block;
  background: var(--gold);
  color: var(--green-900);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  padding: 3px 14px;
  margin-top: 8px;
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--green-900);
}
.trust-item .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cream-2);
  display: grid; place-items: center;
  font-size: 22px;
  flex: 0 0 auto;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-card .ico {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cream-2), #eafaf1);
  display: grid; place-items: center;
  font-size: 28px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 19px; color: var(--green-900); margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 16px; }

/* ---------- About / story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 46px;
  align-items: center;
}
.story-visual {
  background: linear-gradient(140deg, var(--green-700), var(--green-900));
  border-radius: 26px;
  color: #fff;
  padding: 40px 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.story-visual::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  background: rgba(217,164,65,.25);
  border-radius: 50%;
  top: -70px; right: -60px;
}
.story-visual .emoji { font-size: 74px; }
.story-visual h3 { font-size: 26px; margin: 12px 0 8px; }
.story-visual ul { margin-top: 16px; display: grid; gap: 10px; }
.story-visual li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: #e6f5ee; }
.story-visual li::before { content: "✔"; color: var(--gold); font-weight: 700; }

.story-text h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--green-900); margin-bottom: 14px; line-height: 1.3; }
.story-text p { color: var(--muted); margin-bottom: 14px; }
.story-text .highlight {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  color: var(--green-900);
  font-weight: 600;
}

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .thumb {
  height: 190px;
  display: grid;
  place-items: center;
  font-size: 76px;
  background:
    radial-gradient(circle at 70% 20%, rgba(217,164,65,.35), transparent 55%),
    linear-gradient(140deg, #eafaf1, var(--cream-2));
  position: relative;
}
.product-card .ribbon {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--danger);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.product-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h3 { font-size: 19px; color: var(--green-900); }
.product-card .desc { color: var(--muted); font-size: 15px; flex: 1; }
.product-card .price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.product-card .price { font-size: 27px; font-weight: 800; color: var(--green-700); }
.product-card .old { color: #a4aca8; text-decoration: line-through; font-size: 15px; }
.product-card .unit { font-size: 14px; color: var(--muted); }
.product-card .btn { margin-top: 12px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 14px;
  box-shadow: 0 6px 16px rgba(27,107,76,.3);
}
.step h4 { color: var(--green-900); font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.testi .stars { color: var(--gold); font-size: 17px; letter-spacing: 2px; margin-bottom: 10px; }
.testi p { color: var(--ink); font-size: 16px; margin-bottom: 16px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.testi .who b { display: block; color: var(--green-900); font-size: 16px; }
.testi .who span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--green-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--gold-dark);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(217,164,65,.3), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  border-radius: 28px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 10px; }
.cta-band p { color: #d7ede2; max-width: 620px; margin: 0 auto 24px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: #cfe4da;
  padding: 56px 0 26px;
  margin-top: 76px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer ul { display: grid; gap: 9px; }
.footer a:hover { color: var(--gold); }
.footer .contact li { display: flex; gap: 10px; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: #9dbcae;
}

/* ---------- Floating order button ---------- */
.float-order {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  background: var(--gold);
  color: var(--green-900);
  font-weight: 800;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s;
}
.float-order:hover { transform: translateY(-3px) scale(1.03); }

/* =========================================================
   ORDER PAGE
   ========================================================= */
.order-wrap {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 28px;
  align-items: start;
  padding: 40px 0 70px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.panel h2 { color: var(--green-900); font-size: 22px; margin-bottom: 4px; }
.panel .sub { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.panel + .panel { margin-top: 24px; }
.panel-title {
  display: flex; align-items: center; gap: 10px;
  color: var(--green-900); font-size: 19px; font-weight: 800;
  margin-bottom: 18px;
}
.panel-title .num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  display: grid; place-items: center; font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; color: var(--green-900); }
.field label .req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(46,158,107,.15);
  background: #fff;
}
.field .err { color: var(--danger); font-size: 13px; display: none; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--danger); background: #fdf2f1; }
.field.invalid .err { display: block; }

/* item rows */
.item-row {
  display: grid;
  grid-template-columns: 1.6fr .7fr .9fr auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--cream);
  margin-bottom: 12px;
}
.item-row .line-total {
  font-weight: 800;
  color: var(--green-700);
  padding-bottom: 12px;
  white-space: nowrap;
}
.qty-control { display: flex; align-items: center; gap: 6px; }
.qty-control button {
  width: 38px; height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  color: var(--green-800);
  font-weight: 700;
}
.qty-control button:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.qty-control input { text-align: center; }
.remove-item {
  border: none;
  background: #fdecea;
  color: var(--danger);
  width: 44px; height: 44px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
}
.remove-item:hover { background: var(--danger); color: #fff; }

/* options */
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  background: var(--cream);
  transition: .15s;
}
.opt:hover { border-color: var(--green-300); }
.opt input { margin-top: 5px; accent-color: var(--green-700); width: 18px; height: 18px; }
.opt b { display: block; color: var(--green-900); font-size: 15px; }
.opt span { font-size: 13px; color: var(--muted); }
.opt.selected { border-color: var(--green-500); background: #eafaf1; box-shadow: 0 0 0 3px rgba(46,158,107,.12); }

/* summary */
.summary { position: sticky; top: 90px; }
.sum-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  padding: 7px 0;
  color: var(--muted);
}
.sum-line b { color: var(--ink); font-weight: 600; text-align: right; }
.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px dashed var(--line);
  margin-top: 12px;
  padding-top: 14px;
  font-size: 18px;
  color: var(--green-900);
  font-weight: 700;
}
.sum-total .amt { font-size: 30px; color: var(--gold-dark); font-weight: 800; }
.note-box {
  background: var(--cream-2);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0;
}
.summary .btn { margin-top: 10px; }
.btn-ghost {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--green-900);
}
.btn-ghost:hover { border-color: var(--green-500); }

.order-page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  padding: 40px 0;
}
.order-page-hero h1 { font-size: clamp(24px, 4vw, 34px); }
.order-page-hero p { color: #cfe8dc; margin-top: 6px; }
.breadcrumb { font-size: 14px; color: var(--gold); margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .features-grid, .products-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .order-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 5% 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links a:last-child { border-bottom: none; }
  .burger { display: flex; }
  .nav-cta .btn-outline-green { display: none; }

  .hero { padding: 52px 0 68px; }
  .hero-card { padding: 26px; }

  .features-grid, .products-grid, .testi-grid,
  .steps, .trust-grid, .footer-grid { grid-template-columns: 1fr; }

  .cta-band { padding: 36px 22px; border-radius: 22px; }
  .panel { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: 1fr; }

  .item-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .item-row .field:first-child { grid-column: 1 / -1; }
  .item-row .line-total { grid-column: 1 / -1; text-align: right; padding-bottom: 0; }

  .hero-stats { gap: 18px; }
  .hero-stats .stat b { font-size: 22px; }
  .float-order { right: 12px; bottom: 12px; padding: 12px 18px; font-size: 15px; }
}

/* ---------- Print (ใบสั่งซื้อ) ---------- */
.print-area { display: none; }

@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; font-size: 13px; color: #000; }
  .header, .topbar, .footer, .float-order, .order-page-hero,
  .no-print, .order-wrap { display: none !important; }

  .print-area {
    display: block !important;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .print-doc { font-size: 13px; color: #000; }
  .print-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 3px double #000;
    padding-bottom: 10px;
    margin-bottom: 14px;
  }
  .print-head h1 { font-size: 22px; color: #000; }
  .print-head .meta { text-align: right; font-size: 12px; line-height: 1.6; }
  .print-parties { display: flex; gap: 24px; margin-bottom: 14px; }
  .print-parties > div { flex: 1; border: 1px solid #000; padding: 10px 12px; }
  .print-parties h4 {
    font-size: 12px;
    background: #eee;
    margin: -10px -12px 8px;
    padding: 4px 12px;
    border-bottom: 1px solid #000;
  }
  .print-parties p { font-size: 12.5px; line-height: 1.7; white-space: pre-line; }
  table.print-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
  table.print-table th, table.print-table td {
    border: 1px solid #000;
    padding: 7px 9px;
    font-size: 12.5px;
    text-align: left;
  }
  table.print-table th { background: #eee; font-weight: 700; }
  table.print-table td.num, table.print-table th.num { text-align: right; white-space: nowrap; }
  .print-totals { width: 46%; margin-left: auto; }
  .print-totals .row {
    display: flex; justify-content: space-between;
    padding: 5px 10px; border: 1px solid #000; border-bottom: none;
    font-size: 12.5px;
  }
  .print-totals .row:last-child { border-bottom: 1px solid #000; font-weight: 800; font-size: 14px; background: #f4f4f4; }
  .print-sign {
    display: flex; justify-content: space-between;
    margin-top: 44px; gap: 40px;
    page-break-inside: avoid;
  }
  .print-sign div { text-align: center; width: 40%; font-size: 12.5px; }
  .print-sign .line { border-top: 1px solid #000; margin-top: 46px; padding-top: 5px; }
  .print-note { font-size: 11.5px; color: #333; margin-top: 14px; border-top: 1px dashed #999; padding-top: 8px; }
}
