/* ==========================================================================
   Neeta's Home Bakery — main stylesheet
   Mobile-first: base rules target narrow viewports, min-width queries layer
   on tablet/desktop enhancements. Light cream brand palette only — the page
   commits to it explicitly (color-scheme: light) rather than half-supporting
   prefers-color-scheme: dark, per SPEC §11 / build brief requirement 2.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand palette — SPEC §11, mirrored from content/site.json colors */
  --cream: #EDE7DA;
  --cream-deep: #E2DAC9;
  --brown: #3A2318;
  --brown-soft: #5C4436;
  --accent: #8B5E34;
  --rose: #C97B84;
  --ok: #4A7C59;
  --warn: #B3541E;

  /* Derived surface / text tokens */
  --surface: #FFFDF9;
  --surface-alt: var(--cream);
  --surface-card: #FFFFFF;
  --border: #D8CDB8;
  --border-soft: #E7DFCE;
  --text: var(--brown);
  --text-soft: var(--brown-soft);
  --text-on-dark: var(--cream);
  --link: var(--accent);
  --danger: #A6341B;
  --danger-bg: #FBE7E1;
  --ok-bg: #E3EEE6;
  --warn-bg: #FBEBDC;

  /* Typography */
  --font-display: 'Playfair Display', Prata, Georgia, serif;
  --font-body: 'Inter', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.4rem);
  --lh-tight: 1.2;
  --lh-normal: 1.6;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(58, 35, 24, 0.08);
  --shadow-md: 0 6px 20px rgba(58, 35, 24, 0.12);
  --shadow-lg: 0 12px 40px rgba(58, 35, 24, 0.18);

  --container-w: 1180px;
  --header-h: 64px;
  --cartbar-h: 60px;
  --z-header: 40;
  --z-cartbar: 30;
  --z-skip: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  padding-bottom: var(--cartbar-h);
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: var(--lh-tight); margin: 0 0 var(--sp-3); color: var(--brown); font-weight: 700; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }
ul, ol { padding-left: 1.25em; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--brown); }
button { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--border-soft); }
th { font-family: var(--font-display); color: var(--brown); }
code { background: var(--cream-deep); padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.9em; }
hr { border: none; border-top: 1px solid var(--border-soft); margin: var(--sp-6) 0; }

/* Visible, non-removed focus states everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: var(--z-skip);
  background: var(--brown);
  color: var(--cream);
  padding: var(--sp-3) var(--sp-4);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 var(--sp-4); }
.section { padding: var(--sp-7) 0; }
.section--alt { background: var(--surface-alt); background-image: var(--paper-texture); }
.section-head { max-width: 640px; margin: 0 auto var(--sp-6); text-align: center; }
.section-head p { color: var(--text-soft); }

/* subtle paper texture, generated in CSS, no image request */
:root { --paper-texture: radial-gradient(rgba(58,35,24,0.035) 1px, transparent 1px); }
.section--alt { background-size: 14px 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--sp-4);
}
.brand { display: flex; align-items: center; gap: var(--sp-2); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--brown); text-decoration: none; }
.brand:hover { color: var(--brown); }
.brand__mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--rose));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700;
  flex: none;
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--brown);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
}
.site-nav.is-open { display: block; }
.site-nav__list { list-style: none; margin: 0; padding: var(--sp-3) var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-1); }
.site-nav__list a { display: block; padding: var(--sp-3) var(--sp-2); color: var(--text); text-decoration: none; border-radius: var(--radius-sm); font-weight: 600; }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { background: var(--cream); color: var(--brown); }
.site-nav__cta { margin-top: var(--sp-2); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; border: none; box-shadow: none; background: transparent; }
  .site-nav__list { flex-direction: row; align-items: center; padding: 0; }
  .site-nav__list a { padding: var(--sp-2) var(--sp-3); }
  .site-nav__cta { margin-top: 0; margin-left: var(--sp-2); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 44px; padding: 0.65em 1.3em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: var(--fs-base); text-decoration: none;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.btn-primary:hover { background: #2a1810; color: var(--cream); }
.btn-secondary { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-secondary:hover { background: var(--brown); color: var(--cream); }
.btn-rose { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-rose:hover { background: #b8646f; color: #fff; }
.btn-ghost { background: transparent; color: var(--brown); border-color: transparent; text-decoration: underline; }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0.4em 0.9em; font-size: var(--fs-sm); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: var(--sp-7) 0; }
.hero__grid { display: grid; gap: var(--sp-6); align-items: center; }
.hero__eyebrow { display: inline-block; background: var(--cream-deep); color: var(--brown-soft); font-weight: 700; font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35em 0.9em; border-radius: 999px; margin-bottom: var(--sp-4); }
.hero h1 { margin-bottom: var(--sp-4); }
.hero p.lead { font-size: var(--fs-md); color: var(--text-soft); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.hero__art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}

.trust-strip { display: flex; flex-wrap: wrap; gap: var(--sp-5); padding: var(--sp-5) 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.trust-strip__item { display: flex; align-items: center; gap: var(--sp-2); font-weight: 600; color: var(--text-soft); font-size: var(--fs-sm); }
.trust-strip__item svg { flex: none; color: var(--accent); }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
.grid--areas { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}

/* Product card + CSS-only fallback photo tile */
.product-card { position: relative; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tile {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: #fff;
}
.tile svg { width: 42%; height: 42%; opacity: 0.92; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); }
.tile::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 14px);
}
.tile-cakes { background: linear-gradient(135deg, #C97B84, #8B5E34); }
.tile-pastries { background: linear-gradient(135deg, #D69A6C, #8B5E34); }
.tile-tea-cakes { background: linear-gradient(135deg, #B48A5A, #5C4436); }
.tile-cookies { background: linear-gradient(135deg, #A9744F, #3A2318); }
.tile-muffins { background: linear-gradient(135deg, #C9A05A, #8B5E34); }
.tile-brownies { background: linear-gradient(135deg, #6B4530, #3A2318); }
.tile-cupcakes { background: linear-gradient(135deg, #E0A6B0, #C97B84); }
.tile-hampers { background: linear-gradient(135deg, #4A7C59, #3A2318); }
.tile-addons { background: linear-gradient(135deg, #8B5E34, #5C4436); }

.product-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.product-card__cat { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); font-weight: 700; }
.product-card__name { margin: 0; font-size: var(--fs-md); }
.product-card__name a { color: var(--brown); text-decoration: none; }
.product-card__name a:hover { text-decoration: underline; }
.product-card__desc { color: var(--text-soft); font-size: var(--fs-sm); flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: auto; }
.price { font-weight: 800; font-size: var(--fs-md); color: var(--brown); }
.price small { font-weight: 600; font-size: var(--fs-xs); color: var(--text-soft); }
.price--variable { font-size: var(--fs-sm); color: var(--text-soft); font-weight: 600; }

/* Allergen badge — a safety feature, always visually prominent, never fine print */
.allergen-badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  background: var(--danger-bg); color: var(--danger);
  border: 1.5px solid var(--danger);
  font-weight: 800; font-size: var(--fs-xs);
  padding: 0.35em 0.7em; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.allergen-badge svg { width: 1em; height: 1em; flex: none; }
.product-card__badges { position: absolute; top: var(--sp-2); left: var(--sp-2); z-index: 2; display: flex; gap: var(--sp-1); flex-wrap: wrap; }
.allergen-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-2) 0 var(--sp-4); }
.chip { display: inline-flex; align-items: center; background: var(--cream-deep); color: var(--brown-soft); font-size: var(--fs-xs); font-weight: 700; padding: 0.3em 0.7em; border-radius: 999px; }

.qty-stepper { display: inline-flex; align-items: center; border: 2px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 36px; height: 36px; border: none; background: var(--cream); color: var(--brown); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.qty-stepper button:hover { background: var(--cream-deep); }
.qty-stepper input { width: 2.6em; text-align: center; border: none; background: transparent; font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Notices / Alerts ---------- */
.notice { border-radius: var(--radius-md); padding: var(--sp-4) var(--sp-5); border: 1.5px solid; margin-bottom: var(--sp-5); }
.notice h3, .notice p:last-child { margin-bottom: 0; }
.notice--info { background: var(--cream); border-color: var(--border); color: var(--brown-soft); }
.notice--ok { background: var(--ok-bg); border-color: var(--ok); color: #234a30; }
.notice--warn { background: var(--warn-bg); border-color: var(--warn); color: #6e320f; }
.notice--danger { background: var(--danger-bg); border-color: var(--danger); color: #6e2210; }

/* ---------- Forms ---------- */
.field { margin-bottom: var(--sp-4); }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: var(--sp-2); color: var(--brown); }
.field .hint { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--text-soft); margin-top: var(--sp-1); }
.field .error { display: block; font-weight: 600; font-size: var(--fs-xs); color: var(--danger); margin-top: var(--sp-1); }
.input, textarea.input, select.input {
  width: 100%; min-height: 46px; padding: 0.6em 0.9em;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font-size: var(--fs-base); font-family: inherit;
}
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { border-color: var(--accent); }
.field--row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.field--row > * { flex: 1 1 200px; }
fieldset { border: 1.5px solid var(--border-soft); border-radius: var(--radius-md); padding: var(--sp-4); margin: 0 0 var(--sp-5); }
.radio-row { display: flex; align-items: center; gap: var(--sp-2); font-weight: 600; margin-bottom: var(--sp-2); }
.radio-row input { width: 20px; height: 20px; }

/* ---------- Cart bar ---------- */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-cartbar);
  background: var(--brown); color: var(--cream);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform .2s ease;
}
.cart-bar.is-visible { transform: translateY(0); }
.cart-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); min-height: var(--cartbar-h); }
.cart-bar__info { display: flex; flex-direction: column; line-height: 1.3; }
.cart-bar__count { font-weight: 700; }
.cart-bar__sub { font-size: var(--fs-xs); color: #d9c9b6; }
.cart-bar .btn-primary { background: var(--rose); border-color: var(--rose); color: #fff; }
.cart-bar .btn-primary:hover { background: #b8646f; }

/* ---------- Checkout ---------- */
.steps { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-6); list-style: none; padding: 0; }
.steps li { display: flex; align-items: center; gap: var(--sp-2); font-weight: 700; font-size: var(--fs-sm); color: var(--text-soft); background: var(--cream); border-radius: 999px; padding: 0.4em 0.9em 0.4em 0.5em; }
.steps li .num { width: 22px; height: 22px; border-radius: 50%; background: var(--border); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.steps li[data-state="active"] { background: var(--brown); color: var(--cream); }
.steps li[data-state="active"] .num { background: var(--rose); }
.steps li[data-state="done"] .num { background: var(--ok); }

.checkout-step { display: none; }
.checkout-step.is-active { display: block; }

.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
@media (min-width: 640px) { .slot-grid { grid-template-columns: repeat(4, 1fr); } }
.slot-btn { border: 2px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: var(--sp-2); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; min-height: 44px; }
.slot-btn:hover:not([disabled]) { border-color: var(--accent); }
.slot-btn[aria-pressed="true"] { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.slot-btn[disabled] { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.date-scroller { display: flex; gap: var(--sp-2); overflow-x: auto; padding-bottom: var(--sp-2); -webkit-overflow-scrolling: touch; }
.date-chip { flex: none; border: 2px solid var(--border); background: var(--surface); border-radius: var(--radius-md); padding: var(--sp-2) var(--sp-3); text-align: center; cursor: pointer; min-width: 74px; }
.date-chip[aria-pressed="true"] { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.date-chip[disabled] { opacity: 0.35; cursor: not-allowed; }
.date-chip .dow { display: block; font-size: var(--fs-xs); text-transform: uppercase; opacity: 0.8; }
.date-chip .dom { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }

.order-summary { background: var(--cream); border-radius: var(--radius-md); padding: var(--sp-5); }
.order-summary dl { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-2) var(--sp-3); margin: 0; }
.order-summary dt { color: var(--text-soft); }
.order-summary dd { margin: 0; font-weight: 700; text-align: right; }
.order-summary .total-row dt, .order-summary .total-row dd { font-size: var(--fs-md); color: var(--brown); border-top: 1.5px solid var(--border); padding-top: var(--sp-2); margin-top: var(--sp-2); }

.line-item { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border-soft); }
.line-item__media { width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; flex: none; }
.line-item__name { font-weight: 700; }
.line-item__meta { font-size: var(--fs-xs); color: var(--text-soft); }
.line-item__price { margin-left: auto; font-weight: 700; white-space: nowrap; }

.upi-panel { display: grid; gap: var(--sp-6); }
@media (min-width: 720px) { .upi-panel { grid-template-columns: 1fr 1fr; align-items: start; } }
.qr-box { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: var(--sp-4); display: flex; align-items: center; justify-content: center; }
.qr-box canvas, .qr-box svg { width: 100%; max-width: 260px; height: auto; }

/* ---------- Order timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 var(--sp-6) var(--sp-6); border-left: 3px solid var(--border); }
.timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -9px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--border); border: 3px solid var(--surface); }
.timeline li[data-state="done"] { border-color: var(--ok); }
.timeline li[data-state="done"]::before { background: var(--ok); }
.timeline li[data-state="current"]::before { background: var(--rose); box-shadow: 0 0 0 4px rgba(201,123,132,0.25); }
.timeline li[data-state="current"] .timeline__label { color: var(--brown); }
.timeline__label { font-weight: 700; }
.timeline__time { font-size: var(--fs-xs); color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border-soft); padding: var(--sp-3) 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); font-size: var(--fs-md); color: var(--brown); padding: var(--sp-2) 0; list-style: none; display: flex; justify-content: space-between; gap: var(--sp-3); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--accent); flex: none; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { color: var(--text-soft); padding-top: var(--sp-2); }

/* ---------- Area page ---------- */
.area-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin: var(--sp-5) 0; }
@media (min-width: 640px) { .area-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: var(--surface-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: var(--sp-4); text-align: center; }
.stat-card .num { display: block; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--brown); font-weight: 700; }
.stat-card .lbl { font-size: var(--fs-xs); color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: var(--cream); margin-top: var(--sp-8); }
.site-footer__top { padding: var(--sp-7) 0 var(--sp-5); display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer__top { grid-template-columns: 1.2fr repeat(3, 1fr); } }
.site-footer h2, .site-footer h3 { color: var(--cream); font-size: var(--fs-base); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--sp-3); }
.site-footer a { color: #E7DCC9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.site-footer__brand p { color: #cfc0a8; max-width: 34ch; }
.site-footer__bottom { border-top: 1px solid rgba(237,231,218,0.15); padding: var(--sp-4) 0; display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: var(--fs-xs); color: #cfc0a8; }
.fssai-flag { color: #f2c9a0; font-weight: 700; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: var(--sp-8) 0; }
.error-page .code { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem); color: var(--accent); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: var(--sp-6); }
.prose h3 { margin-top: var(--sp-5); }
.table-scroll { overflow-x: auto; margin: var(--sp-4) 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
