:root {
  --paper: #f3eee4;
  --paper-deep: #e7dfd0;
  --white: #fffdf8;
  --ink: #1c1915;
  --muted: #5e584e;
  --green: #1b4332;
  --green-2: #2d6a4f;
  --gold: #a68440;
  --line: #e0d5c4;
  --chili: #8c3a2f;
  --shadow: 0 18px 40px rgba(28, 25, 21, 0.08);
  --serif: "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", Calibri, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: #ead9b4; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--green);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

.preview-strip {
  background: var(--green);
  color: #f3eee4;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.8rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 6vw;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
}
.brand strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--green);
}
.brand span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav {
  display: flex;
  gap: 1.15rem;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.bag {
  text-decoration: none;
  background: var(--green);
  color: white;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.bag b {
  background: #f3eee4;
  color: var(--green);
  min-width: 1.3rem;
  text-align: center;
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.05rem 0.3rem;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: none; }

.notice {
  margin: 0.8rem 6vw 0;
  background: white;
  border-left: 3px solid var(--gold);
  padding: 0.7rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.notice a { color: var(--green); }

main { padding: 0 6vw 4rem; }
.wrap { max-width: var(--max); margin: 0 auto; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.2rem 0 1.5rem;
}
.kicker {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 0.7rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 0.98; margin: 0; color: var(--green); }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 38rem; }
.hero-actions, .row-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }
.trust { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; color: var(--muted); font-size: 0.92rem; margin-top: 1.4rem; }
.still {
  background: var(--green);
  border-radius: 28px;
  min-height: 340px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  color: #f3eee4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.still svg { width: 100%; height: auto; margin-bottom: 0.6rem; }
.still p { margin: 0.2rem 0; }
.still strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }

.btn, button.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--green);
  color: white;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  line-height: 1;
}
.btn.light { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.btn.gold { background: var(--gold); color: #1c1915; }
.btn.quiet { background: transparent; color: var(--muted); padding-inline: 0.4rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.band {
  max-width: var(--max);
  margin: 1.5rem auto;
  background: var(--green);
  color: #f6f1e6;
  border-radius: 28px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.band h2 { margin: 0.2rem 0 0.5rem; font-size: clamp(2rem, 3vw, 2.8rem); }
.band p { color: #e4dccb; }
.meal-pair { display: grid; gap: 0.8rem; }
.meal-link {
  display: block;
  text-decoration: none;
  background: rgba(255, 253, 248, 0.08);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.meal-link span { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.meal-link strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }

.section-head {
  max-width: var(--max);
  margin: 2.2rem auto 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}
.section-head h2 { margin: 0; font-size: 2rem; color: var(--green); }
.section-head a { color: var(--green); }

.grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.swatch {
  border-radius: 14px;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  text-decoration: none;
}
.swatch span { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.card h3 { margin: 0.8rem 0.3rem 0.25rem; font-size: 1.35rem; }
.card h3 a { text-decoration: none; }
.card p { margin: 0 0.3rem 0.8rem; color: var(--muted); font-size: 0.95rem; }
.card form, .card .card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.2rem 0.3rem 0.3rem; }
.tax-note { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); font-weight: 400; }

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.6rem 0 1rem; }
.filters a, .search {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9rem;
}
.filters a[aria-current="true"] { background: var(--green); color: white; }
.search-form { display: flex; gap: 0.5rem; }
.search-form input, .field input, .field textarea, .field select {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
}
.search-form input { min-width: 220px; }

.page-intro { max-width: var(--max); margin: 1.6rem auto 0.4rem; }
.page-intro h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }

.product {
  max-width: var(--max);
  margin: 1.5rem auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.product-swatch { border-radius: 28px; min-height: 420px; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1rem; }
.choice {
  display: grid;
  gap: 0.1rem;
  border-radius: 14px;
  padding: 0.55rem 0.75rem;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  background: white;
}
.choice input { position: absolute; opacity: 0; }
.choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--green); }
.choice:has(input:focus-visible) { outline: 2px solid var(--green); }
.crumb { color: var(--muted); font-size: 0.9rem; }
.crumb a { color: var(--green); }

.story {
  max-width: 740px;
  margin: 1.5rem auto 2rem;
}
.story h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.podi-list { display: grid; gap: 1rem; }
.podi {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: white;
  border-radius: 18px;
  padding: 0.8rem;
  text-decoration: none;
}
.dot { width: 92px; height: 72px; border-radius: 12px; }

.cart-layout, .split {
  max-width: var(--max);
  margin: 1.2rem auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}
.panel {
  background: white;
  border-radius: 20px;
  padding: 1rem 1.1rem;
}
.line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.line:last-child { border-bottom: 0; }
.qty { display: flex; align-items: center; gap: 0.35rem; }
.qty button, .icon-btn {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}
.summary-row, .total-row { display: flex; justify-content: space-between; gap: 1rem; margin: 0.35rem 0; }
.total-row { font-family: var(--serif); font-size: 1.35rem; margin-top: 0.8rem; }
.alert {
  background: #f8efe4;
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  color: var(--chili);
}
.steps { display: flex; gap: 0.8rem; list-style: none; padding: 0; color: var(--muted); font-size: 0.85rem; }
.steps .now { color: var(--green); font-weight: 650; }
.fields { display: grid; gap: 0.75rem; }
.field label { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pay-options { display: grid; gap: 0.55rem; }
.pay-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
  background: var(--paper);
}
.pay-option:has(input:checked) { box-shadow: inset 0 0 0 2px var(--green); background: white; }
.otp {
  letter-spacing: 0.4em;
  font-size: 1.4rem;
  text-align: center;
}
.timeline { list-style: none; padding: 0; margin: 1rem 0; }
.timeline li { padding: 0.45rem 0 0.45rem 1rem; border-left: 2px solid var(--line); }
.timeline li.done { border-color: var(--green); color: var(--green); }
.receipt { max-width: 720px; margin: 1.4rem auto; }
.support-grid, .account-grid {
  max-width: var(--max);
  margin: 1rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.8rem;
}
.site-footer {
  background: var(--green);
  color: #f3eee4;
  padding: 2.2rem 6vw 1.4rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.2rem;
}
.site-footer a { color: #f3eee4; }
.site-footer h2 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.site-footer p, .site-footer li { color: #e4dccb; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.legal { max-width: var(--max); margin: 1.2rem auto 0; border-top: 1px solid rgba(243, 238, 228, 0.2); padding-top: 0.7rem; font-size: 0.8rem; color: #e4dccb; }

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding-inline: 1rem;
  }
  .brand { margin-right: 0; min-width: 0; }
  .preview-strip { white-space: normal; }
  main, .site-footer { padding-inline: 1rem; }
  .hero, .band, .product, .cart-layout, .split, .support-grid, .footer-grid, .still { grid-template-columns: 1fr; min-width: 0; }
  .grid { grid-template-columns: 1fr 1fr; min-width: 0; }
  .nav-button {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    box-shadow: inset 0 0 0 1px var(--line);
  }
  .bag-label { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem 1rem;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .podi { grid-template-columns: 72px 1fr; }
  .podi .btn { display: none; }
}
@media (max-width: 640px) {
  .grid, .two { grid-template-columns: 1fr; }
  h1 { font-size: 2.4rem; }
  .line { grid-template-columns: 56px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.swatch-turmeric-powder { background: #e2a52b; color: #1a1814; }
.swatch-chilli-powder { background: #9e342c; color: #f6f3ec; }
.swatch-sambar-powder { background: #c46a32; color: #1a1814; }
.swatch-rasam-powder { background: #c9893a; color: #1a1814; }
.swatch-kora-powder { background: #8a5a38; color: #f6f3ec; }
.swatch-kobbara-podi { background: #f3e2c4; color: #1a1814; }
.swatch-nuvula-podi { background: #c8b48a; color: #1a1814; }
.swatch-peanut-powder { background: #c4843e; color: #1a1814; }
.swatch-dhaniya-powder { background: #c9a36a; color: #1a1814; }
.swatch-jeera-powder { background: #a48455; color: #f6f3ec; }
.swatch-kandi-podi { background: #e6d3a3; color: #1a1814; }
.swatch-elaichi-powder { background: #7e8f5e; color: #f6f3ec; }
.swatch-besan { background: #e6c45a; color: #1a1814; }
.swatch-rice-flour { background: #f4efe4; color: #1a1814; }
.swatch-wheat-flour { background: #d7c09a; color: #1a1814; }
.swatch-andhra-thali { background: #1b4332; color: #f6f3ec; }
.swatch-rice-dal { background: #c46a32; color: #f6f3ec; }
.swatch-curry-duo { background: #8c3a2f; color: #f6f3ec; }
.swatch-sambar-trio { background: #a68440; color: #1a1814; }
.swatch-grand-tiffin { background: #243c32; color: #f6f3ec; }
.swatch-idly { background: #e7d7b8; color: #1a1814; }
.swatch-dosa { background: #c45c28; color: #f6f3ec; }
.swatch-chapathi { background: #8c6a3e; color: #f6f3ec; }
