/* Layout: one 480px phone column. Light hero with a swipe slider, then a short
   4-week plan, one offer card and a three-field order form. A sticky bottom bar keeps
   the order button in reach until the form is on screen. */
:root {
  --outer: #FFFFFF;
  --bg: #FFFFFF;
  --surface: #F6F9F5;
  --fg: #0F2A1E;
  --muted: #526B5D;
  --line: #DCE6DA;
  --brand: #0F4A33;
  --leaf: #2C7C4E;
  --amber: #F2A31B;
  --amber-ink: #2B1A00;
  --red: #C2182B;
  --hero-bg: #FFFFFF;
  --hero-fg: #0F2A1E;
  --hero-muted: #526B5D;
  --field: #FFFFFF;
  --ok: #1F8A4C;
  --shadow: 0 8px 24px rgba(10, 47, 33, .08);
  color-scheme: light;
  --font-display: "Anek Bangla", "Hind Siliguri", "Noto Sans Bengali", "Kalpurush", system-ui, sans-serif;
  --font-body: "Hind Siliguri", "Noto Sans Bengali", "Kalpurush", system-ui, sans-serif;
  --img-pouch: url("../images/offer.jpg");
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--outer);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; line-height: 1.25; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.col { max-width: 480px; margin: 0 auto; background: var(--bg); min-height: 100%; box-shadow: 0 0 0 1px var(--line); }
.in { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-fg); padding-block: 14px 24px; display: grid; gap: 16px; border-bottom: 1px solid var(--line); }
.topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.brand svg { width: 22px; height: 22px; }
.cod-chip { font-size: 13px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--hero-muted); white-space: nowrap; }
.hero-text { display: grid; gap: 8px; }
.hero h1 { font-weight: 800; font-size: clamp(32px, 9.4vw, 42px); line-height: 1.18; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero .sub { color: var(--hero-muted); font-size: 16px; max-width: 34ch; }

.slider { position: relative; border-radius: 22px; overflow: hidden; background: #EEF3EC; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; aspect-ratio: 1 / 1; max-width: 100%; position: relative; background-size: cover; background-position: center; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(8, 36, 26, .78); color: #F2F8F1; font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); }
.tag.amber { background: var(--amber); color: var(--amber-ink); border-color: transparent; font-weight: 600; }
.cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 16px; background: linear-gradient(to top, rgba(6, 28, 19, .92), transparent); font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: #F2F8F1; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.45); transition: width .25s, background .25s; }
.dots i.on { width: 22px; background: var(--amber); }

.not-med { display: inline-flex; align-items: center; gap: 8px; align-self: start; justify-self: start; font-size: 14px; font-weight: 500; background: color-mix(in srgb, var(--leaf) 9%, #fff); border: 1px solid color-mix(in srgb, var(--leaf) 30%, #fff); color: var(--brand); padding: 5px 14px; border-radius: 99px; }
.not-med svg { width: 16px; height: 16px; flex: none; color: var(--amber); }

.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 10px 18px; border: 0; border-radius: 16px; background: var(--amber); color: var(--amber-ink); font-family: var(--font-display); font-weight: 800; font-size: 19px; cursor: pointer; text-decoration: none; box-shadow: 0 6px 0 rgba(0,0,0,.18); transition: transform .1s, box-shadow .1s; }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0,0,0,.18); }
.btn[disabled] { opacity: .7; cursor: progress; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-line small { color: var(--hero-muted); font-size: 14px; }
.price-line b { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--hero-fg); }
.cod-note { text-align: center; color: var(--hero-muted); font-size: 14px; }

/* Sections */
section { padding-block: 32px; }
.sec-head { display: grid; gap: 6px; margin-bottom: 18px; }
.sec-head .k { color: var(--leaf); font-weight: 600; font-size: 14px; }
.sec-head h2 { font-size: 26px; font-weight: 800; color: var(--fg); }
.sec-head p { color: var(--muted); }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; margin: 0; list-style: none; }
.checks li { min-width: 0; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-weight: 500; font-size: 15px; line-height: 1.35; }
.checks svg { flex: none; width: 26px; height: 26px; color: var(--ok); }

.weeks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.weeks li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.weeks li::before { content: ""; position: absolute; left: 36px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.weeks li:last-child { padding-bottom: 0; }
.weeks li:last-child::before { display: none; }
.wk { align-self: start; text-align: center; background: var(--brand); color: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 14px; border-radius: 10px; padding: 3px 0; }
.weeks h3 { font-size: 18px; font-weight: 700; }
.weeks p { color: var(--muted); font-size: 15px; }

/* Offer */
.offer { background: var(--surface); border: 2px solid var(--leaf); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.offer-img { aspect-ratio: 1 / 1; background-image: var(--img-pouch); background-size: cover; background-position: center; position: relative; max-width: 100%; }
.offer-img .tag { background: var(--red); border-color: transparent; color: #fff; font-weight: 600; }
.offer-body { padding: 16px; display: grid; gap: 12px; }
.offer-body h3 { font-size: 22px; font-weight: 800; }
.offer-body .meta { color: var(--muted); font-size: 15px; }
.offer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.offer-price { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--red); line-height: 1.1; }
.offer-price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--field); }
.qty button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 24px; font-weight: 600; cursor: pointer; color: var(--fg); }
.qty button:active { background: var(--line); }
.qty output { min-width: 40px; text-align: center; font-weight: 700; font-size: 18px; }
.selected { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; font-size: 14px; }
.selected svg { width: 18px; height: 18px; }

/* Form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .legend { font-weight: 600; font-size: 15px; }
.field label span, .legend span { color: var(--red); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; font-size: 17px; background: var(--field); border: 1.5px solid var(--line); border-radius: 14px; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px color-mix(in srgb, var(--leaf) 28%, transparent); }
.field.bad input, .field.bad textarea { border-color: var(--red); }
.err { color: var(--red); font-size: 14px; min-height: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--field); cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt .t { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; font-size: 15px; line-height: 1.35; }
.opt .r { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--muted); display: grid; place-items: center; }
.opt .r::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); transform: scale(0); transition: transform .15s; }
.opt b { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--leaf); background: color-mix(in srgb, var(--leaf) 10%, var(--field)); }
.opt:has(input:checked) .r { border-color: var(--leaf); }
.opt:has(input:checked) .r::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }

.sum { display: grid; gap: 6px; border-top: 1px dashed var(--line); padding-top: 14px; font-size: 15px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .l { color: var(--muted); min-width: 0; }
.sum .tot { font-family: var(--font-display); font-weight: 800; font-size: 22px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.sum .tot span:last-child { color: var(--red); }
.cod-box { display: flex; gap: 12px; align-items: flex-start; background: color-mix(in srgb, var(--leaf) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--leaf) 40%, var(--line)); border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.cod-box svg { flex: none; width: 24px; height: 24px; color: var(--leaf); margin-top: 2px; }
.cod-box b { display: block; font-weight: 600; }
.cod-box span { color: var(--muted); }
.submit { box-shadow: 0 6px 0 color-mix(in srgb, var(--amber) 55%, #000); }
.form-msg { color: var(--red); font-size: 14px; text-align: center; }

.done { display: grid; gap: 14px; text-align: center; justify-items: center; }
.done svg.big { width: 56px; height: 56px; color: var(--ok); }
.done h3 { font-size: 24px; font-weight: 800; }
.done p { color: var(--muted); }
.done .copy-box { width: 100%; text-align: left; background: var(--field); border: 1px dashed var(--line); border-radius: 14px; padding: 12px; font-size: 14px; white-space: pre-wrap; word-break: break-word; user-select: all; }
.done .row { display: grid; gap: 10px; width: 100%; }
.btn.ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--line); box-shadow: none; font-size: 17px; }
.btn.wa { background: #1FA855; color: #fff; box-shadow: 0 6px 0 rgba(0,0,0,.2); }

/* Footer */
footer { padding-block: 26px 120px; display: grid; gap: 14px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .disc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; line-height: 1.6; }
footer .disc b { color: var(--fg); }
.contact { display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 500; color: var(--fg); }
.contact span { white-space: nowrap; }

/* Sticky order bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; pointer-events: none; transform: translateY(110%); transition: transform .3s; }
.bar.show { transform: none; }
.bar-in { pointer-events: auto; max-width: 480px; margin: 0 auto; background: var(--hero-bg); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 47, 33, .08); padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; }
.bar-in .p { color: var(--hero-fg); line-height: 1.2; flex: none; }
.bar-in .p small { display: block; font-size: 12px; color: var(--hero-muted); }
.bar-in .p b { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.bar-in .btn { min-height: 50px; font-size: 18px; flex: 1; min-width: 0; box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .dots i, .btn, .opt .r::after { transition: none; }
}


/* ---------- Desktop (900px and up). Everything above is the phone layout and is untouched. ---------- */
@media (min-width: 900px) {
  body { background: var(--bg); }
  .col { max-width: none; box-shadow: none; }
  .in, .buy {
    padding-left: max(32px, calc((100% - 1120px) / 2));
    padding-right: max(32px, calc((100% - 1120px) / 2));
  }
  .bar { display: none; }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-rows: auto 1fr auto auto auto auto auto 1fr;
    grid-template-areas:
      "top top"
      ". sld"
      "txt sld"
      "med sld"
      "price sld"
      "cta sld"
      "note sld"
      ". sld";
    column-gap: 64px;
    row-gap: 18px;
    padding-block: 24px 64px;
    align-items: start;
  }
  .topline { grid-area: top; padding-bottom: 8px; }
  .hero-text { grid-area: txt; gap: 12px; }
  .not-med { grid-area: med; }
  .slider { grid-area: sld; align-self: center; justify-self: end; width: 100%; max-width: 560px; border-radius: 28px; box-shadow: 0 20px 50px rgba(10, 47, 33, .16); }
  .price-line { grid-area: price; justify-content: flex-start; align-items: baseline; gap: 16px; margin-top: 6px; }
  .price-line b { font-size: 38px; }
  .hero .btn { grid-area: cta; max-width: 380px; min-height: 60px; font-size: 21px; }
  .cod-note { grid-area: note; text-align: left; }
  .brand { font-size: 17px; }
  .cod-chip { font-size: 14px; padding: 4px 14px; }
  .hero h1 { font-size: clamp(44px, 4.6vw, 62px); line-height: 1.15; }
  .hero .sub { font-size: 19px; max-width: 40ch; }
  .not-med { font-size: 15px; }
  .cap { font-size: 24px; padding: 48px 24px 24px; }
  .tag { font-size: 14px; left: 16px; top: 16px; }
          
  section { padding-block: 56px; }
  .sec-head { margin-bottom: 28px; gap: 8px; }
  .sec-head h2 { font-size: 36px; }
  .sec-head p { font-size: 18px; max-width: 56ch; }
  .sec-head .k { font-size: 15px; }

  .checks { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .checks li { padding: 18px 16px; font-size: 17px; border-radius: 16px; }
  .checks svg { width: 32px; height: 32px; }

  .weeks { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .weeks li { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px; padding-bottom: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; align-content: start; }
  .weeks li::before { display: none; }
  .wk { justify-self: start; padding: 3px 14px; font-size: 15px; }
  .weeks h3 { font-size: 20px; }
  .weeks p { font-size: 16px; }

  .buy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 48px; align-items: start; }
  .buy > section { padding-inline: 0; padding-block: 8px 64px; }
  .buy > section:first-child { position: sticky; top: 24px; }
  .offer-img { aspect-ratio: 1 / 1; background-position: center; }
  .offer-body { padding: 22px; gap: 14px; }
  .offer-body h3 { font-size: 26px; }
  .offer-price { font-size: 38px; }
  .form-card { padding: 28px; gap: 18px; }

  footer { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 48px; row-gap: 14px; padding-block: 36px 48px; align-items: start; }
  footer .disc { grid-row: span 2; font-size: 15px; }
  footer .contact { font-size: 16px; }
}

@media (min-width: 1200px) {
  .hero { column-gap: 88px; }
}

.desc { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.desc li { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 500; font-size: 15px; line-height: 1.5; }
.desc svg { flex: none; width: 24px; height: 24px; margin-top: 1px; color: var(--ok); }
.recipe { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.recipe h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--brand); }
.recipe ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.ingr { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.ingr b { color: var(--fg); }
@media (min-width: 900px) {
  .desc { grid-template-columns: 1fr 1fr; gap: 14px; }
  .desc li { font-size: 17px; padding: 16px 18px; }
  .recipe { padding: 22px 26px; }
  .recipe h3 { font-size: 22px; }
  .recipe ol { font-size: 17px; }
  .ingr { font-size: 15px; }
}
