/* GKR Ghar Ka Riwaz storefront. Palette and motifs follow the pack design:
   forest green, gold trim, cream panels, pointed arches. */

:root {
  --forest: #0e3b22;
  --forest-deep: #0a2d1a;
  --forest-soft: #1d5a36;
  --gold: #b5822a;
  --gold-bright: #c99a3c;
  --gold-deep: #8a5a12;
  --gold-light: #d9ae52;
  --cream: #fbf3dc;
  --cream-deep: #f1e6c6;
  --paper: #fffdf6;
  --ink: #23301f;
  --ink-soft: #55604f;
  --line: rgba(14, 59, 34, 0.16);
  --danger: #a3321f;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Karla", system-ui, -apple-system, sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; }
a { color: var(--forest); }
h1, h2, h3 { font-family: var(--display); color: var(--forest); line-height: 1.15; margin: 0 0 0.6rem; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* ---- Header ---- */
.site-header { background: var(--paper); border-bottom: 2px solid var(--gold-bright); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); }
.brand-tag { font-family: var(--display); font-style: italic; font-size: 0.92rem; color: var(--forest); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 26px); font-weight: 600; font-size: 0.95rem; }
.site-nav a, .site-nav .link-button { color: var(--forest); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav .link-button:hover { color: var(--gold-deep); }
.site-nav a.nav-wide { font: 600 1.15rem var(--display); letter-spacing: 0.03em; padding-block: 6px; border-bottom: 2px solid transparent; }
.site-nav a.nav-wide.is-current { border-bottom-color: var(--gold-bright); }
.icon-link { position: relative; display: inline-flex; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--forest); }
.icon-link svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-link:hover { color: var(--gold-deep); }
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--gold); color: #fff; border-radius: 999px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 0.7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 720px) {
  .nav-wide, .brand-tag { display: none; }
  .brand-name { font-size: 1.05rem; }
  .brand img { height: 38px; }
}
@media (max-width: 420px) { .brand-text { display: none; } }

/* ---- Buttons and form controls ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 0.98rem var(--body); letter-spacing: 0.02em;
  padding: 0.7rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover:not(:disabled) { background: var(--forest-soft); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover:not(:disabled) { background: rgba(14, 59, 34, 0.07); }
.btn-gold { background: var(--gold-bright); color: var(--forest-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-block { width: 100%; }
.btn-large { padding: 0.9rem 1.7rem; font-size: 1.05rem; }
.btn-caps { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.92rem; font-weight: 700; gap: 12px; }
.btn-small { padding: 0.35rem 0.9rem; font-size: 0.88rem; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--forest); text-decoration: underline; cursor: pointer; }
.link-button:disabled { color: var(--ink-soft); text-decoration: none; cursor: default; }
.text-link { font-weight: 600; text-decoration-color: var(--gold-bright); text-underline-offset: 3px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--forest); }
.field em { font-weight: 400; font-style: normal; color: var(--ink-soft); }
input, select {
  font: 400 1rem var(--body); color: var(--ink);
  padding: 0.65rem 0.8rem; border: 1px solid rgba(14, 59, 34, 0.35); border-radius: 8px; background: #fff; width: 100%; min-width: 0;
}
input:focus-visible, select:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 0; border-color: var(--gold); }
.form-error { color: var(--danger); font-weight: 600; font-size: 0.93rem; margin: 0.8rem 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

/* ---- Hero: deep green with the product photograph fading in from the right ---- */
.hero { position: relative; background: #14311c; color: var(--cream); overflow: hidden; border-bottom: 3px solid var(--gold-bright); }
.hero-photo {
  position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
  mask-image: linear-gradient(to right, transparent, #000 22%);
}
.hero .wrap { position: relative; }
.hero-copy { max-width: 520px; padding-block: clamp(48px, 8vw, 104px); }
.hero h1 { color: var(--paper); font-size: clamp(2.8rem, 6.4vw, 4.9rem); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; margin-bottom: 0.9rem; }
.hero-sub { font: italic 500 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--display); letter-spacing: 0.03em; color: var(--paper); margin-bottom: 1.4rem; }
.hero-lede { font: 500 1.25rem/1.55 var(--display); color: rgba(255, 253, 246, 0.9); max-width: 26em; margin-bottom: 2rem; }
.hero .lead-in { color: var(--gold-light); margin-bottom: 1.4rem; }
.hero .lead-in::before, .hero .lead-in::after { background: var(--gold-bright); }
.leaf-mark { width: 34px; height: 24px; fill: var(--gold-bright); }
.footer-band p { margin: 6px 0 0; }
@media (max-width: 980px) {
  /* Narrow screens: the photograph sits above the copy and fades into the green. */
  .hero-photo { position: static; display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
  .hero-copy { padding-block: 8px clamp(36px, 8vw, 56px); max-width: none; }
}

/* A small letter-spaced lead-in between thin rules, above a headline. */
.lead-in { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 0.7rem; }
.lead-in::before, .lead-in::after { content: ""; width: clamp(28px, 8vw, 64px); height: 1px; background: var(--gold); }
.lead-in-left { justify-content: flex-start; }
.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1rem; }
.eyebrow-dark { color: var(--gold-deep); }

/* ---- Pack photo ---- */
.pack { display: block; position: relative; container-type: inline-size; }
.pack img { display: block; width: 100%; height: auto; }
.pack-weight { position: absolute; left: 0; right: 0; bottom: 2.6%; text-align: center; font: 700 6.6cqw/1 var(--display); letter-spacing: 0.04em; color: var(--gold-light); }

/* ---- Sections ---- */
.section { padding-block: clamp(40px, 7vw, 80px); }
.section-top { padding-top: clamp(28px, 4vw, 48px); }
.section-tint { background: var(--cream-deep); }
.band { padding-block: 26px; }
.band-cream { background: var(--paper); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(24px, 4vw, 44px); }
.section-head p { color: var(--ink-soft); margin: 0; }
.page-title { margin-bottom: 1.4rem; }
/* A page title with an action beside it (Log out on "Your orders" and Admin). */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.page-head .page-title { margin-bottom: 0; }

.qualities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.qualities li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 12px; font: 600 1.3rem var(--display); letter-spacing: 0.02em; color: var(--forest); }
.qualities li + li { border-left: 1px solid rgba(181, 130, 42, 0.55); }
@media (max-width: 620px) {
  .qualities { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .qualities li { font-size: 1.1rem; }
  .qualities li:nth-child(odd) { border-left: 0; }
}

/* ---- Pack cards (home) ---- */
.pack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); max-width: 880px; margin: 0 auto; }
.pack-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.pack-card-art {
  display: block; padding: 28px 22% 0;
  background: linear-gradient(var(--cream-deep), var(--cream-deep)) bottom / 100% 46% no-repeat;
}
.pack-card-art .pack { filter: drop-shadow(0 10px 14px rgba(10, 45, 26, 0.28)); }
.pack-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pack-card-body h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.pack-card-body h3 span { color: var(--gold-deep); }
.pack-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 16px; }
.pack-card-actions .btn { flex: 1 1 130px; }
@media (max-width: 620px) { .pack-grid { grid-template-columns: 1fr; max-width: 400px; } }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.price-now { font-size: 1.6rem; font-weight: 700; color: var(--forest); font-variant-numeric: tabular-nums; }
.price-large .price-now { font-size: 2.1rem; }
.price-mrp { color: var(--ink-soft); font-size: 0.95rem; }
.price-off { color: var(--gold-deep); font-weight: 700; font-size: 0.95rem; }
.price-note { color: var(--ink-soft); font-size: 0.88rem; margin: 2px 0 0; }
.stock-out { color: var(--danger); font-weight: 600; margin: 12px 0 0; }

/* ---- Brew steps ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); }
.steps li { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold-bright); border-radius: var(--radius); padding: 22px; }
.steps p { margin: 0; color: var(--ink-soft); }
.step-num { font: 700 2rem var(--display); color: var(--gold-deep); display: block; line-height: 1; margin-bottom: 8px; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }


/* ---- Product page ---- */
.product-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.product-art {
  background-color: var(--paper);
  background-image: radial-gradient(circle at 50% 45%, rgba(201, 154, 60, 0.2), transparent 65%);
  border: 3px solid var(--gold-bright);
  border-radius: 46% 46% 14px 14px / 22% 22% 14px 14px;
  padding: 16% 20% 10%;
}
.product-art .pack { filter: drop-shadow(0 14px 18px rgba(10, 45, 26, 0.32)); }
.product-tagline { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--ink-soft); }
.price-block { margin: 1.2rem 0; }
.size-picker { border: 0; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 10px; }
.size-picker legend, .qty-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); padding: 0; margin-bottom: 8px; }
.size-picker label { cursor: pointer; }
.size-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-picker span { display: block; padding: 0.6rem 1.5rem; border: 1.5px solid rgba(14, 59, 34, 0.4); border-radius: 999px; font-weight: 700; color: var(--forest); background: var(--paper); }
.size-picker input:checked + span { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.size-picker input:focus-visible + span { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.qty-row { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 1.4rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid rgba(14, 59, 34, 0.4); border-radius: 999px; background: var(--paper); overflow: hidden; }
.stepper button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.3rem; color: var(--forest); cursor: pointer; }
.stepper button:hover { background: rgba(14, 59, 34, 0.08); }
.stepper input { width: 46px; border: 0; padding: 0; text-align: center; font-weight: 700; background: none; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.8rem; }
.buy-actions .btn { flex: 1 1 170px; }
.product-desc { color: var(--ink-soft); padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
@media (max-width: 800px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-art { max-width: 340px; margin: 0 auto; width: 100%; }
}

.spec { display: grid; grid-template-columns: minmax(130px, auto) 1fr; gap: 0; margin: 1.4rem 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; }
.spec dt, .spec dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec dt { font-weight: 700; color: var(--gold-deep); font-size: 0.9rem; padding-right: 20px; }
.spec dt:last-of-type, .spec dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) {
  .spec { grid-template-columns: 1fr; }
  .spec dt { border-bottom: 0; padding-bottom: 0; }
  .spec dd { padding-top: 4px; }
}

/* ---- Cards, cart, checkout ---- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 28px); margin: 0 0 20px; min-width: 0; }
.card > :last-child { margin-bottom: 0; }
.card-narrow { max-width: 440px; margin-inline: auto; }
.card-title { font-size: 2rem; }
fieldset.card legend { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--forest); padding: 0 8px; margin-left: -8px; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(16px, 3vw, 32px); align-items: start; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } }
.summary { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold-bright); border-radius: 14px; padding: 22px; position: sticky; top: 90px; }
@media (max-width: 860px) { .summary { position: static; } }
.summary h2 { font-size: 1.5rem; }
.summary-lines { list-style: none; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.summary-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.totals { margin: 0 0 18px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals-grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px !important; font-weight: 700; font-size: 1.2rem; color: var(--forest); }
.summary-note { font-size: 0.85rem; color: var(--ink-soft); margin: 12px 0 0; }

.line-list { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.line-name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; text-decoration: none; }
.line-unit { color: var(--ink-soft); margin: 0 0 10px; font-size: 0.92rem; }
.line-controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.line-total { font-weight: 700; font-size: 1.1rem; margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .line { grid-template-columns: 60px minmax(0, 1fr); } .line-total { grid-column: 2; } }

.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--forest); background: rgba(14, 59, 34, 0.04); }
.pay-option input { width: auto; margin-top: 5px; accent-color: var(--forest); }
.pay-option small { display: block; color: var(--ink-soft); font-size: 0.88rem; }

/* ---- Login ---- */
.login-dialog { border: 0; border-top: 5px solid var(--gold-bright); border-radius: 14px; padding: 28px; width: min(420px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(10, 45, 26, 0.35); }
.login-dialog::backdrop { background: rgba(10, 45, 26, 0.55); }
.dialog-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.login-lede { color: var(--ink-soft); }
.login-form .field { margin-bottom: 16px; }
.dev-note { background: var(--cream-deep); border-left: 3px solid var(--gold-bright); padding: 8px 12px; font-size: 0.9rem; border-radius: 4px; }

/* ---- Orders ---- */
.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: var(--cream-deep); color: var(--forest); white-space: nowrap; }
.status-delivered { background: var(--forest); color: var(--cream); }
.status-shipped { background: #e3ecd6; }
.status-cancelled, .status-pending_payment { background: #f3ddd4; color: var(--danger); }
.order-list { list-style: none; margin: 0; padding: 0; }
.order-list a { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px 20px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; text-decoration: none; color: var(--ink); }
.order-list a:hover { border-color: var(--gold-bright); }
.order-num { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--forest); margin: 0; }
.order-date { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.order-total { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .order-list a { grid-template-columns: 1fr auto; } }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.order-meta h3 { font-size: 1.15rem; }
.order-meta p { margin: 0; }
@media (max-width: 560px) { .order-meta { grid-template-columns: 1fr; } }
.notice { border-radius: 12px; padding: 18px 22px; margin: 0 0 20px; }
.notice-ok { background: var(--forest); color: var(--cream); border-bottom: 4px solid var(--gold-bright); }
.notice-ok h1 { color: var(--cream); font-size: clamp(1.6rem, 4vw, 2.2rem); }
.notice-ok p { margin: 0; color: rgba(251, 245, 227, 0.86); }
.notice-warn { background: #f3ddd4; color: #6d2416; }
.tracking { background: var(--cream-deep); border-radius: 8px; padding: 12px 16px; }

/* ---- Prose (policies), manufacturers ---- */
.prose h1 { margin-bottom: 1.2rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.manu-block { margin-top: 2.4rem; }
.license { margin: 1.8rem 0 0; text-align: center; }
.license img { width: 100%; max-width: 560px; height: auto; border-radius: 6px; box-shadow: 0 10px 30px rgba(10, 45, 26, 0.16); }
.license figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.8rem; }

/* ---- Admin ---- */
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th { text-align: left; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table input { width: 110px; padding: 0.4rem 0.5rem; }
.admin-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; white-space: nowrap; }
.admin-error { color: var(--danger); }

/* ---- Footer, toast ---- */
.site-footer { background: var(--forest-deep); color: rgba(251, 245, 227, 0.82); border-top: 3px solid var(--gold-bright); padding-bottom: 44px; font-size: 0.93rem; }
.footer-band { background: var(--forest); border-bottom: 1px solid rgba(201, 154, 60, 0.45); text-align: center; color: var(--gold-light); padding: 22px 16px 20px; margin-bottom: 40px; }
.footer-band p { font-family: var(--display); font-style: italic; font-size: 1.2rem; font-weight: 500; letter-spacing: 0.02em; text-transform: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-grid a, .footer-grid .link-button { display: block; color: rgba(251, 245, 227, 0.82); text-decoration: none; padding: 3px 0; text-align: left; }
.footer-grid a:hover, .footer-grid .link-button:hover { color: var(--gold-bright); }
.footer-brand { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--cream); margin: 0; }
.footer-tag { font-family: var(--display); font-style: italic; color: var(--gold-bright); font-size: 1.05rem; }
.footer-small { font-size: 0.85rem; margin: 0 0 6px; }
.footer-head { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--forest-deep); color: var(--cream); padding: 12px 22px; border-radius: 999px; border: 1px solid var(--gold-bright); font-weight: 600; z-index: 50; max-width: calc(100vw - 32px); text-align: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.footer-head-gap { margin-top: 18px; }
.dispatch { display: grid; gap: 6px; min-width: 190px; }
.dispatch input, .dispatch select { width: 100%; padding: 0.4rem 0.5rem; font-size: 0.9rem; }
.tm { font: 700 0.45em/1 var(--body); letter-spacing: 0.04em; vertical-align: super; margin-left: 0.15em; }

/* ---- Why choose: cream ground with corner leaves and a tea garden along the base ---- */
.why {
  background:
    url("/assets/why-leaves-left.webp") left top / clamp(90px, 12vw, 200px) auto no-repeat,
    url("/assets/why-leaves-right.webp") right top / clamp(120px, 16vw, 270px) auto no-repeat,
    url("/assets/why-garden.webp") center bottom / max(100%, 1100px) auto no-repeat,
    linear-gradient(#fcf7eb, #f8f4e1);
  padding-block: clamp(36px, 5vw, 60px) clamp(110px, 13vw, 190px);
  border-bottom: 1px solid var(--line);
}
.why .section-head { margin-bottom: clamp(20px, 3vw, 36px); max-width: 760px; }
.why h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; margin-bottom: 0.5rem; }
.why .why-sub { font-size: 1.05rem; letter-spacing: 0.12em; color: var(--ink); margin-bottom: 1rem; }
.why .why-rule { margin: 0; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.why-grid li { position: relative; padding: 0 clamp(12px, 2.4vw, 34px); }
.why-grid li + li::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 8%; width: 1px; background: linear-gradient(var(--gold) 44%, transparent 44% 56%, var(--gold) 56%); }
.why-grid li + li::after { content: ""; position: absolute; left: -7px; top: 50%; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 13C2 10 1 5 2 1C5 2 7 5 7 13ZM7 13C12 10 13 5 12 1C9 2 7 5 7 13Z' fill='none' stroke='%23b5822a' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.why-grid h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); font-weight: 700; margin: 14px 0 0; }
.why-grid h3::after { content: ""; display: block; width: 30px; height: 2px; background: var(--gold); margin: 12px auto; }
.why-grid p { font: 500 1.15rem/1.4 var(--display); color: var(--ink); max-width: 13em; margin: 0 auto; }
@media (max-width: 760px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .why-grid li:nth-child(odd)::before, .why-grid li:nth-child(odd)::after { display: none; }
  .why .why-sub { letter-spacing: 0.04em; }
  /* No room for the corner leaves beside the heading on a phone. */
  .why { background: url("/assets/why-garden.webp") center bottom / max(100%, 1100px) auto no-repeat, linear-gradient(#fcf7eb, #f8f4e1); }
}
.why-grid img { display: block; margin: 0 auto; width: clamp(88px, 9.5vw, 124px); height: auto; }
.qualities img { display: block; width: 72px; height: auto; }
.google-button { display: flex; justify-content: center; min-height: 44px; }
.or-rule { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 0.9rem; margin: 16px 0; }
.or-rule::before, .or-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.auth-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 4px; font: 600 1.2rem var(--display); color: var(--ink-soft); cursor: pointer; }
.auth-tabs button[aria-selected="true"] { color: var(--forest); border-bottom-color: var(--gold-bright); }
.auth-alt { display: block; margin: 14px auto 0; font-size: 0.92rem; }
.code-input { letter-spacing: 0.5em; font-size: 1.3rem; font-weight: 700; text-align: center; }
.status-not_delivered { background: #f3ddd4; color: var(--danger); }
.notice-info { background: var(--cream-deep); border-left: 4px solid var(--gold-bright); }
.about-text { font: 500 1.3rem/1.6 var(--display); color: var(--ink); max-width: 34em; margin: 0 auto; }

/* WhatsApp chats with the team (admin) */
.chat-open { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.chat-open .field { flex: 1 1 220px; }
.chat-status { color: var(--ink-soft); font-size: 0.92rem; }
.chat-log { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 12px; margin: 0 0 16px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.chat-msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.chat-msg.chat-customer { align-self: flex-start; }
.chat-msg.chat-bot, .chat-msg.chat-team { align-self: flex-end; }
.chat-msg.chat-team { background: #e7f3e9; border-color: rgba(14, 59, 34, 0.3); }
.chat-meta { font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 2px; }
.chat-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-reply textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); resize: vertical; }
.notice-warn { background: #fdf0d8; border: 1px solid var(--gold-light); color: var(--ink); }
.labels-recent summary { cursor: pointer; font-weight: 600; color: var(--forest); margin: 8px 0; }

/* SEO content: hero extras, delivery points, FAQ, Telugu, breadcrumb, wholesale */
.hero-te { font-size: 1rem; color: var(--gold-light); margin: -1.2rem 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-ghost-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(251, 243, 220, 0.7); }
.btn-ghost-light:hover { background: rgba(251, 243, 220, 0.12); }
.section-slim { padding-block: 28px; }
.delivery-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--forest); font-weight: 600; }
.delivery-points li::before { content: "\2713"; color: var(--gold); margin-right: 8px; }
.delivery-points-compact { justify-content: flex-start; flex-direction: column; gap: 6px; font-size: 0.92rem; margin: 18px 0; }
.buy-alt { margin: 14px 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; list-style-position: outside; }
.faq summary h3 { display: inline; font-size: 1.15rem; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }
.te-block { margin-top: 1.5rem; }
.breadcrumb { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--forest); }
.h1-kind { display: block; font-size: 0.45em; letter-spacing: 0.04em; color: var(--gold-deep); font-weight: 600; }
.wholesale-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2rem 0 2rem; }
[lang="te"] .lead-in, .lead-in[lang="te"] { letter-spacing: normal; text-transform: none; }
