/* ==========================================================================
   SHUBHSHRI FOODS
   Paan-leaf green and sand from the business card, terracotta for actions,
   ghee gold on dark surfaces. Rozha One + Mukta cover Latin and Devanagari.
   ========================================================================== */
:root {
  --leaf: #12301A;
  --emerald: #1A3F21;
  --emerald-2: #24532D;
  --sand: #EAE6DA;
  --paper: #F6F4ED;
  --terracotta: #C14931;
  --terracotta-deep: #A53924;
  --ghee: #EDBE55;
  --slate: #7E858B;
  --ink: #1C231F;
  --muted: #56605A;
  --line: #CFC9B8;
  --line-dark: rgba(234, 230, 218, .2);
  --on-dark: #EAE6DA;
  --on-dark-muted: #B9C2B5;

  --display: 'Rozha One', 'Tiro Devanagari Marathi', Georgia, serif;
  --body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Used by the preloader */
  --font-serif: var(--body);
  --text-main: var(--ink);
  --text-muted: var(--muted);
  --terracotta-rgb: 193, 73, 49;

  --gutter: clamp(16px, 4vw, 48px);
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  font: 400 17px/1.55 var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--ghee); }
.icon { flex: none; fill: currentColor; }
.icon-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, .display { font-family: var(--display); font-weight: 400; line-height: 1.06; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.5; max-width: 34em; }

.wrap { width: min(100%, 1280px); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(56px, 8vw, 112px); }
.band-sand { background: var(--sand); }
.band-leaf { background: var(--leaf); color: var(--on-dark); }
.band-leaf .lede, .band-leaf .soft { color: var(--on-dark-muted); }
.band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.band-head p { max-width: 30em; color: var(--muted); }
.band-leaf .band-head p { color: var(--on-dark-muted); }

/* The fret ribbon from the business card, in any colour */
.fret {
  display: block; height: 20px; background: var(--terracotta);
  -webkit-mask: url(../img/fret.webp) left center / auto 100% repeat-x;
          mask: url(../img/fret.webp) left center / auto 100% repeat-x;
}
.fret-ghee { background: var(--ghee); opacity: .75; }

.brand-mark {
  display: block; aspect-ratio: 191 / 187; background: currentColor;
  -webkit-mask: url(../brand_emblem_duotone.png) center / contain no-repeat;
          mask: url(../brand_emblem_duotone.png) center / contain no-repeat;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: 3px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-green { background: var(--emerald); color: var(--paper); }
.btn-green:hover { background: var(--emerald-2); }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: var(--emerald); border-color: var(--emerald); color: var(--paper); }
.on-dark .btn-ghost:hover, .band-leaf .btn-ghost:hover { background: var(--sand); border-color: var(--sand); color: var(--leaf); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--terracotta-deep); font-weight: 600; text-underline-offset: 3px; }
.band-leaf .text-link { color: var(--ghee); }

/* Announcement ticker */
.ticker { background: var(--leaf); color: var(--on-dark); font-size: .875rem; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 44s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { padding: 7px 28px; position: relative; }
.ticker span::after { content: ''; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--ghee); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: auto; }
.brand-name { display: block; font-weight: 700; font-size: 1.28rem; line-height: 1.05; letter-spacing: -.005em; white-space: nowrap; }
.brand-name .a { color: var(--emerald); } .brand-name .b { color: var(--terracotta); } .brand-name .c { color: var(--slate); font-weight: 500; }
.brand-tag { display: block; font-size: .75rem; line-height: 1.2; color: var(--muted); white-space: nowrap; }
.main-nav { display: none; align-items: stretch; gap: 26px; height: 100%; }
.main-nav > a, .nav-menu > a { display: flex; align-items: center; height: 100%; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; border-top: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--terracotta-deep); }
.main-nav > a[aria-current], .nav-menu > a[aria-current] { border-bottom-color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--emerald); text-decoration: none; }
.cart-badge, .bnav-badge {
  position: absolute; display: none; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--terracotta); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1;
}
.cart-badge { top: 3px; right: 1px; }
.header-wa { display: none; min-height: 42px; padding: 6px 16px; margin-left: 8px; }

/* Menu dropdown with arched category tiles */
.nav-menu { position: static; height: 100%; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -22px rgba(18, 48, 26, .5); visibility: hidden; opacity: 0; transition: opacity .15s; }
.nav-menu:hover .mega, .nav-menu:focus-within .mega { visibility: visible; opacity: 1; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); justify-content: center; gap: 36px; padding-block: 26px; }

/* Arched tiles echo the wada doorway and the modak's outline */
.arch { display: block; text-decoration: none; }
.arch-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 3px 3px / 40% 40% 3px 3px; background: var(--emerald); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.arch:hover img { transform: scale(1.05); }
.arch-name { display: block; margin-top: 12px; font: 400 clamp(1.35rem, 2.3vw, 1.9rem)/1.1 var(--display); text-align: center; }
.arch-sub { display: block; text-align: center; color: var(--muted); font-size: .95rem; }
.mega .arch-name { font-size: 1.2rem; }
.arch-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px clamp(10px, 3vw, 44px); }

/* Hero: the thali, labelled */
.hero { background: var(--leaf); color: var(--on-dark); overflow: hidden; }
.hero-grid { display: grid; }
.hero-thali { position: relative; order: -1; }
.hero-thali img { width: 100%; aspect-ratio: 1 / .8; object-fit: cover; }
.hero-thali::after { content: ''; position: absolute; inset: auto 0 0; height: 16%; background: linear-gradient(to top, var(--leaf), transparent); pointer-events: none; }
.hero-copy { padding: 8px var(--gutter) 48px; position: relative; z-index: 2; }
.hero-copy h1 { color: var(--paper); }
.hero-copy .lede { margin: 12px 0 18px; color: var(--on-dark); }
.spot { position: absolute; z-index: 2; left: var(--x); top: calc((var(--y) - 10%) / .8); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; text-decoration: none; opacity: 0; }
.is-loaded .spot { animation: spot .45s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--n) * 90ms + 150ms); }
.spot b { display: block; padding: 3px 9px 2px; background: var(--paper); color: var(--ink); border-radius: 2px; font-size: .8rem; font-weight: 600; line-height: 1.3; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); transition: background-color .15s, color .15s; }
.spot i { font-style: normal; font-weight: 400; display: none; }
.spot:hover b, .spot:focus-visible b { background: var(--terracotta); color: #fff; }
@keyframes spot { from { opacity: 0; transform: translate(-50%, calc(-50% + 8px)); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* Products */
.tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 8px 0; min-height: 44px; font-weight: 500; font-size: 1.05rem; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-color: var(--terracotta); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
.product { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 90px; }
.product.is-target .product-media { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: var(--emerald); margin-bottom: 12px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
@media (hover: hover) { .product-media:hover .product-alt { opacity: 1; } }
.product-badge { position: absolute; left: 0; bottom: 10px; padding: 2px 9px 1px; background: var(--paper); color: var(--ink); font-size: .76rem; font-weight: 600; border-radius: 0 2px 2px 0; }
.brand-tile { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 14px; color: var(--sand); text-align: center; background: var(--emerald); }
.brand-tile .brand-mark { width: 30%; color: var(--ghee); }
.brand-tile-name { font: 400 clamp(1.05rem, 2.2vw, 1.5rem)/1.3 var(--display); }
.product-name { font-size: 1.06rem; }
.product-marathi { font-size: .88rem; color: var(--muted); line-height: 1.35; }
.product-desc { display: none; margin-top: 6px; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.chip { min-height: 34px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 2px; font-size: .86rem; font-weight: 500; background: transparent; }
.chip:hover { border-color: var(--emerald); }
.chip[aria-pressed="true"] { background: var(--emerald); border-color: var(--emerald); color: var(--paper); }
.product-price { margin-top: auto; padding-top: 10px; font-size: 1.28rem; font-weight: 700; line-height: 1.2; }
.product-price small { font-size: .86rem; font-weight: 400; color: var(--muted); }
.product-actions { display: flex; gap: 6px; margin-top: 8px; }
.btn-add { flex: 1; min-width: 0; min-height: 44px; padding: 6px 8px; background: var(--emerald); color: var(--paper); font-size: .95rem; }
.btn-add:hover { background: var(--emerald-2); }
.btn-wa { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 3px; color: var(--emerald); }
.btn-wa:hover { background: var(--sand); border-color: var(--emerald); }
.stepper { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; min-height: 44px; border: 1.5px solid var(--emerald); border-radius: 3px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.stepper button { width: 36px; height: 41px; font-size: 1.2rem; line-height: 1; color: var(--emerald); }
.stepper-sm { display: inline-flex; flex: none; min-height: 34px; margin-top: 6px; border-width: 1px; gap: 6px; }
.stepper-sm button { width: 32px; height: 32px; }

/* Ghee feature */
.feature { display: grid; background: var(--emerald); color: var(--on-dark); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.feature-copy { padding: clamp(36px, 6vw, 88px) var(--gutter); align-self: center; }
.feature-copy h2 { color: var(--paper); margin-bottom: 16px; }
.feature-copy p { max-width: 32em; }
.facts { margin: 24px 0 28px; border-top: 1px solid var(--line-dark); }
.facts li { padding: 11px 0; border-bottom: 1px solid var(--line-dark); }
.facts b { color: var(--ghee); font-weight: 600; }

/* Numbered steps: ordering is a real sequence */
.steps { display: grid; gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; }
.steps li::before { content: counter(s); grid-row: span 2; font: 400 3rem/1 var(--display); color: var(--terracotta); min-width: 1.1em; }
.steps p { color: var(--muted); }

/* Rate card */
.rates { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rates th, .rates td { padding: 12px 6px; text-align: right; border-bottom: 1px solid var(--line); }
.rates th { font-size: .88rem; font-weight: 500; color: var(--muted); }
.rates th:first-child, .rates td:first-child { text-align: left; padding-left: 0; }
.rates td:last-child, .rates th:last-child { padding-right: 0; }
.rates td { font-weight: 600; font-size: 1.05rem; }
.rates td:first-child { font-weight: 600; line-height: 1.25; }
.rates td small { display: block; font-size: .86rem; font-weight: 400; color: var(--muted); }
.band-leaf .rates th, .band-leaf .rates td { border-color: var(--line-dark); }
.band-leaf .rates th, .band-leaf .rates td small { color: var(--on-dark-muted); }
.band-leaf .rates td:not(:first-child) { color: var(--ghee); }
.split { display: grid; gap: 36px; align-items: center; }
.split-img img { width: 100%; border-radius: 3px; aspect-ratio: 3 / 2; object-fit: cover; }
.note { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.band-leaf .note { color: var(--on-dark-muted); }

/* Photo-backed gifting band */
.photo-band { position: relative; color: var(--paper); background: var(--leaf); isolation: isolate; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 36, 20, .94) 45%, rgba(14, 36, 20, .3)); }
.photo-band .wrap { padding-block: clamp(190px, 26vw, 150px) clamp(48px, 7vw, 96px); }
.photo-band h2 { max-width: 13em; margin-bottom: 14px; }
.photo-band p { max-width: 34em; margin-bottom: 24px; }

/* Reviews */
.reviews { display: grid; gap: 32px; }
.review blockquote { margin: 0 0 12px; font-size: 1.12rem; line-height: 1.5; }
.review cite { font-style: normal; font-weight: 600; display: block; }
.review span { color: var(--muted); font-size: .95rem; }
.stars { color: var(--terracotta); letter-spacing: 2px; margin-bottom: 8px; }

/* Inner page header */
.page-head { display: grid; background: var(--leaf); color: var(--on-dark); }
.page-head-img { order: -1; }
.page-head-img img { width: 100%; height: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.page-head-copy { padding: 26px var(--gutter) 36px; align-self: center; }
.page-head h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); color: var(--paper); margin-bottom: 12px; }
.page-head p { max-width: 32em; font-size: 1.08rem; }

/* Menu tools */
.menu-tools { position: sticky; top: var(--header); z-index: 20; background: var(--paper); padding-block: 12px; border-bottom: 1px solid var(--line); }
.menu-tools .wrap { display: flex; flex-direction: column; gap: 10px; }
.search { position: relative; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; height: 44px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.pills::-webkit-scrollbar { display: none; }
.pills .chip { flex: none; min-height: 38px; padding-inline: 14px; font-size: .95rem; }
.menu-group + .menu-group { margin-top: clamp(48px, 7vw, 80px); }
.menu-group h2 { margin-bottom: 22px; }
.empty { padding: 40px 12px; text-align: center; color: var(--muted); }
.empty p { margin-bottom: 16px; }

/* Forms and order page */
.checkout { display: grid; gap: 40px; align-items: start; }
.checkout h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.checkout-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-thumb { width: 64px; height: 64px; border-radius: 3px; overflow: hidden; background: var(--emerald); color: var(--ghee); display: grid; place-items: center; }
.line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-thumb .brand-mark { width: 30px; }
.line-name { font-weight: 600; line-height: 1.25; }
.line-unit { font-size: .9rem; color: var(--muted); }
.line-end { display: flex; flex-direction: column; align-items: end; justify-content: space-between; }
.line-remove { font-size: .86rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; min-height: 32px; }
.link-btn { color: var(--terracotta-deep); font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.form-panel { background: var(--sand); padding: clamp(20px, 3vw, 36px); border-radius: 3px; }
.field { margin-top: 18px; }
.field label, .field-label { display: block; margin-bottom: 5px; font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #BDB7A5; border-radius: 3px; background: var(--paper); font-size: 1rem; }
.field textarea { resize: vertical; }
.hint { margin-top: 4px; font-size: .88rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.segmented button { min-height: 46px; border: 1px solid #BDB7A5; border-radius: 3px; font-weight: 500; }
.segmented button[aria-pressed="true"] { background: var(--emerald); border-color: var(--emerald); color: var(--paper); }
.check { display: flex; gap: 10px; align-items: start; margin-top: 18px; font-size: .97rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--emerald); }
.summary { margin: 22px 0 16px; padding-top: 6px; border-top: 1px solid #BDB7A5; }
.summary div { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .total { font-size: 1.3rem; font-weight: 700; border-top: 1px solid #BDB7A5; margin-top: 6px; padding-top: 10px; }
.form-error { margin-bottom: 10px; color: var(--terracotta-deep); font-weight: 600; }
.warn { margin-top: 6px; color: var(--terracotta-deep); font-weight: 500; font-size: .92rem; }
.quote-total { margin-top: 22px; }
.quote-total strong { display: block; font-size: 2.4rem; font-weight: 700; line-height: 1.15; color: var(--emerald); }

/* Corporate tiers */
.tiers { display: grid; gap: 40px; }
.tier { display: flex; flex-direction: column; }
.tier-img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; margin-bottom: 14px; }
.tier-img img { width: 100%; height: 100%; object-fit: cover; }
.tier h3 { font: 400 1.8rem/1.1 var(--display); }
.tier-price { margin: 6px 0 2px; font-size: 1.5rem; font-weight: 700; }
.tier-price small { font-size: .95rem; font-weight: 400; color: var(--muted); }
.tier > p { color: var(--muted); }
.tier ul { margin: 12px 0 18px; border-top: 1px solid var(--line); }
.tier li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.tier .btn { margin-top: auto; }

/* Story and contact */
.prose { max-width: 36em; }
.prose p + p { margin-top: 14px; }
.prose h2 { margin-bottom: 18px; }
.pull { font: 400 clamp(1.7rem, 3.4vw, 2.7rem)/1.2 var(--display); max-width: 22em; color: var(--paper); }
.principles { display: grid; gap: 26px; }
.principles h3 { font-size: 1.25rem; margin-bottom: 4px; }
.principles p { color: var(--muted); }
.contact-list { border-top: 1px solid var(--line); }
.contact-row { display: grid; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-row h2 { font: 600 1.08rem/1.3 var(--body); }
.contact-row .value { font: 400 1.6rem/1.15 var(--display); overflow-wrap: anywhere; }
.contact-row p { color: var(--muted); }
.qr-box { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 40px; padding: 22px; background: var(--sand); border-radius: 3px; }
.qr-box img { width: 132px; height: 132px; background: #fff; padding: 8px; }
.qr-box > div { flex: 1 1 240px; }
.qr-box h2 { font-size: 1.7rem; margin-bottom: 6px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--terracotta); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 16px; color: var(--muted); max-width: 40em; }

/* Footer */
.site-footer { background: var(--leaf); color: var(--on-dark); padding-top: 22px; }
.footer-grid { display: grid; gap: 34px; padding-block: 40px; }
.footer-brand .brand-mark { width: 52px; color: var(--sand); margin-bottom: 12px; }
.footer-brand strong { display: block; font: 400 2rem/1.1 var(--display); color: var(--paper); }
.footer-brand p { margin-top: 8px; max-width: 26em; color: var(--on-dark-muted); }
.site-footer h2 { font: 600 1rem/1.3 var(--body); color: var(--ghee); margin-bottom: 10px; }
.site-footer li { padding: 3px 0; color: var(--on-dark-muted); }
.site-footer li a { color: var(--on-dark); text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copyright { padding-block: 16px; border-top: 1px solid var(--line-dark); font-size: .88rem; color: var(--on-dark-muted); }

.credits { padding-block: 18px; font-size: .88rem; color: var(--muted); }
.credits summary { cursor: pointer; }
.credits ul { margin-top: 8px; }
.credits a { overflow-wrap: anywhere; }

/* Slide-in panels */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(10, 26, 15, .55); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.scrim.open { opacity: 1; visibility: visible; }
.panel { position: fixed; z-index: 61; top: 0; bottom: 0; right: 0; width: min(420px, 92vw); display: flex; flex-direction: column; background: var(--paper); transform: translateX(100%); visibility: hidden; transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility .28s; }
.panel.open { transform: none; visibility: visible; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.7rem; }
.panel-close { width: 44px; height: 44px; margin-right: -10px; font-size: 1.7rem; line-height: 1; }
.panel-body { flex: 1; overflow-y: auto; padding: 4px 18px 18px; }
.panel-foot { padding: 14px 18px; border-top: 1px solid var(--line); }
.panel-total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.panel-foot .hint { margin: 0 0 10px; }
.drawer-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 1.6rem/1.2 var(--display); text-decoration: none; }
.drawer-links a[aria-current] { color: var(--terracotta); }
.drawer-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 0 6px; }
.drawer-cats .arch-name { font: 500 .9rem/1.2 var(--body); margin-top: 6px; }
.tray { top: auto; left: 0; right: 0; width: 100%; height: min(86vh, 860px); transform: translateY(100%); }
.tray .panel-body { padding-top: 12px; }
.tray .pills { margin: 0 0 16px; padding: 0; }
.product-grid-tray .product-desc { display: none; }

/* Phone navigation */
.bottom-nav { position: fixed; z-index: 30; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0 5px; font-size: .74rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.bottom-nav a[aria-current] { color: var(--terracotta-deep); font-weight: 600; }
.bnav-badge { top: 2px; left: calc(50% + 5px); }
body { padding-bottom: 56px; }
.float-wa { position: fixed; z-index: 29; right: 22px; bottom: 22px; display: none; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--emerald); color: #fff; box-shadow: 0 6px 16px rgba(18, 48, 26, .35); }
.float-wa:hover { background: var(--emerald-2); }
.toast-notice { position: fixed; z-index: 70; left: 50%; top: 78px; transform: translate(-50%, -10px); padding: 7px 16px; background: var(--leaf); color: var(--paper); border-radius: 3px; font-size: .92rem; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.toast-notice.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 379px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.16rem; }
  .btn-add { font-size: .88rem; }
  .btn-wa { width: 40px; }
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; }
  .product-desc { display: block; }
  .arch-row { max-width: 1040px; margin-inline: auto; }
  .spot b { font-size: .9rem; padding: 4px 11px 3px; }
  .steps, .reviews, .principles { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .tiers { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .contact-row { grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 24px; }
  .tray { left: auto; width: min(760px, 100vw); height: 100%; top: 0; transform: translateX(100%); }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, min(52vw, 80vh)); align-items: center; }
  .hero-thali { order: 0; }
  .hero-thali img { aspect-ratio: 1; }
  .spot { top: var(--y); }
  .hero-thali::after { inset: 0 auto 0 0; width: 22%; height: auto; background: linear-gradient(to right, var(--leaf), transparent); }
  .hero-copy { padding: 48px 24px 48px max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); }
  .spot i { display: inline; }
  .feature { grid-template-columns: 1.15fr 1fr; }
  .feature-img img { aspect-ratio: auto; min-height: 560px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .page-head { grid-template-columns: 1fr 1fr; min-height: 340px; }
  .page-head-img { order: 0; }
  .page-head-img img { aspect-ratio: auto; position: relative; }
  .page-head-copy { padding: 44px 40px 44px max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); }
  .checkout { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .checkout-side { position: sticky; top: calc(var(--header) + 18px); }
  .menu-tools .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
  .search { flex: 0 1 340px; order: 2; }
  .pills { margin: 0; padding: 0; }
  .photo-band::before { background: linear-gradient(to right, rgba(14, 36, 20, .94) 34%, rgba(14, 36, 20, .08) 72%); }
  .photo-band .wrap { padding-block: clamp(80px, 10vw, 140px); }
  .photo-band h2, .photo-band p { max-width: 44%; }
}

@media (min-width: 1060px) {
  .main-nav { display: flex; }
  .menu-btn { display: none; }
  .header-wa { display: inline-flex; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .float-wa { display: grid; }
  .product-grid-tray { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .spot { opacity: 1; }
}

/* ==========================================================================
   PAGE PRELOADER: AUTHENTIC INTERLOCKING LOGO FORMATION
   Exact logo separation & organic slide-in assembly with sacred pulse
   ========================================================================== */
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #F6F4ED;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 0%, rgba(234, 230, 218, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
}

.page-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.swastika-anim-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 22px;
}

/* Base parts for exact logo split */
.emblem-part {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.part-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Emerald Vertical Component slides down gracefully into position */
.emerald-part {
  opacity: 0;
  transform: translateY(-26px) scale(0.92);
  animation: slideEmeraldPart 0.75s 0.08s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Terracotta Horizontal Component slides from right gracefully into position */
.terracotta-part {
  opacity: 0;
  transform: translateX(26px) scale(0.92);
  animation: slideTerracottaPart 0.75s 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideEmeraldPart {
  0% {
    opacity: 0;
    transform: translateY(-28px) scale(0.9);
    filter: drop-shadow(0 0 16px rgba(45, 106, 79, 0.8));
  }
  70% {
    opacity: 1;
    transform: translateY(2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 4px rgba(45, 106, 79, 0.3));
  }
}

@keyframes slideTerracottaPart {
  0% {
    opacity: 0;
    transform: translateX(28px) scale(0.9);
    filter: drop-shadow(0 0 16px rgba(193, 73, 49, 0.8));
  }
  70% {
    opacity: 1;
    transform: translateX(-2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: drop-shadow(0 0 4px rgba(193, 73, 49, 0.3));
  }
}

/* Final seamless emblem unification with sacred golden aura bloom */
.formed-emblem-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 5;
  opacity: 0;
  transform: scale(0.96);
  animation: formEmblemSolid 0.55s 0.76s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes formEmblemSolid {
  0% {
    opacity: 0;
    transform: scale(0.96);
    filter: drop-shadow(0 0 4px rgba(193, 73, 49, 0.2));
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
    filter: drop-shadow(0 0 20px rgba(193, 73, 49, 0.75)) drop-shadow(0 0 12px rgba(45, 106, 79, 0.6));
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
  }
}

.preloader-brand-text {
  opacity: 0;
  transform: translateY(12px);
  animation: preloaderTextUp 0.45s 0.82s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloaderTextUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preloader-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.preloader-title span {
  color: var(--terracotta);
}

.preloader-tagline {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}
