/* PanjRas — editorial food brand site.
   Layout: 12-column editorial grid, oversized lowercase display type, cream ground, burgundy ink, orange accents.
   The brand commits to one light look, so there is no dark palette. */
@font-face {
  font-family: 'Tall Man Display';
  src: url('../fonts/tall-man-display.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bigshot One';
  src: url('../fonts/bigshot-one-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bunko';
  src: url('../fonts/bunko.woff2') format('woff2'), url('../fonts/bunko.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  --cream: #FBF3EC;
  --card: #F6E3D3;
  --maroon: #6D2B32;
  --maroon-deep: #4A1E24;
  --orange: #D85930;
  --turmeric: #E9A23B;
  --orange-ink: #AE4119; /* brand orange darkened for small text and buttons: 5.4:1 on cream (WCAG AA) */
  --ink: var(--maroon);

  --f-display: 'Tall Man Display', 'Bigshot One', 'Bunko', Georgia, 'Arial Black', 'Helvetica Neue', sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-body: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', sans-serif;

  --pad: clamp(16px, 2.2vw, 40px);
  --gap: clamp(12px, 1.45vw, 30px);
  --radius: 15px;
  --t-hero: clamp(3.4rem, 1.6rem + 9vw, 12rem);
  --t-display: clamp(2.8rem, 1rem + 8vw, 10.5rem);
  --t-big: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  --t-med: clamp(1.05rem, 1rem + .2vw, 1.2rem);
  --space-l: clamp(56px, 7vw, 100px);
  --space-xl: clamp(96px, 13vw, 200px);

  --e-premium: cubic-bezier(.645, .045, .355, 1);
  --e-soft: cubic-bezier(.22, 1, .36, 1);
  --e-expo: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(251, 243, 236, .8); border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 2000; background: var(--maroon); color: var(--cream); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.display { font-family: var(--f-display); font-weight: 400; line-height: .9; letter-spacing: 0; text-transform: uppercase; text-wrap: balance; margin: 0; }
.label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.wrap { padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  padding: calc(env(safe-area-inset-top, 0px) + clamp(16px, 2.2vw, 30px)) var(--pad) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  pointer-events: none;
  transition: transform .8s var(--e-expo);
}
.site-header > * { pointer-events: auto; }
.site-header.is-hidden { transform: translateY(-140%); }
.brand { grid-column: 2; grid-row: 1; display: block; width: clamp(130px, 14vw, 200px); transition: width .78s var(--e-expo), opacity .5s var(--e-soft), transform .78s var(--e-expo); }
.brand img { width: 100%; height: auto; }
.is-compact .brand { width: clamp(110px, 10vw, 150px); }
.brand .logo-alt { display: none; }
.header-light .brand .logo-main, .menu-open .brand .logo-main { display: none; }
.header-light .brand .logo-cream { display: block; }
.menu-open .brand .logo-cream { display: none; }
.menu-open .brand .logo-orange { display: block; }

.header-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 8px; }
/* the cart sits on the left of the bar, the menu on the right (Sudhir, 2026-10-07) */
.site-header > .cart-btn { grid-column: 1; grid-row: 1; justify-self: start; }
.menu-btn { display: inline-flex; align-items: center; gap: 2px; }
.menu-btn .pill {
  height: 40px; padding: 0 20px; border: 1.5px solid currentColor; border-radius: 999px;
  display: inline-flex; align-items: center; font-weight: 700; font-size: .82rem; letter-spacing: .08em;
  overflow: hidden; background: var(--cream);
  transition: background .35s, color .35s;
}
.menu-btn .dot {
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); display: grid; place-items: center;
  transition: transform .6s var(--e-premium), background .35s;
}
.menu-btn .dot i { width: 8px; height: 8px; background: var(--cream); border-radius: 1.5px; transform: rotate(45deg); transition: transform .6s var(--e-premium), width .4s, height .4s; }
.menu-btn:hover .dot { transform: rotate(90deg); }
.menu-open .menu-btn .pill { background: transparent; color: var(--maroon); }
.menu-open .menu-btn .dot { background: var(--maroon); }
.menu-open .menu-btn .dot i { width: 14px; height: 2px; box-shadow: none; transform: rotate(45deg); position: relative; }
.menu-open .menu-btn .dot i::after { content: ''; position: absolute; inset: 0; background: inherit; transform: rotate(90deg); }
.header-light .menu-btn .pill { color: var(--cream); background: transparent; }

/* rolling letters */
.roll { display: inline-flex; overflow: hidden; line-height: 1.15; }
.roll span { display: inline-block; position: relative; transition: transform .35s cubic-bezier(.4, 0, .2, 1); transition-delay: calc(var(--i) * 18ms); }
.roll span::after { content: attr(data-c); position: absolute; left: 0; top: 100%; }
a:hover .roll span, button:hover .roll span, a:focus-visible .roll span { transform: translateY(-100%); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 850; background: var(--orange); color: var(--maroon);
  clip-path: inset(0 0 100% 0); transition: clip-path .975s var(--e-premium); visibility: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(env(safe-area-inset-top, 0px) + 140px) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 28px);
  overflow: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--e-premium); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu-primary li { position: relative; padding: 4px 0; }
.menu-primary li::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--e-soft); }
.menu.is-open .menu-primary li::after { transform: scaleX(1); transition-delay: calc(.35s + var(--i) * .08s); }
.menu-primary li:last-child::after { display: none; }
.menu-primary a {
  display: inline-flex; align-items: center; gap: .3em; text-decoration: none;
  font-family: var(--f-display); font-size: min(clamp(2.6rem, 1rem + 6.6vw, 7.6rem), 10.5vh); line-height: 1.02; text-transform: uppercase;
  transform: translateY(110%); opacity: 0; transition: transform .7s var(--e-expo), opacity .4s;
}
.menu-primary li:nth-child(1) a { margin-left: 0; }
.menu-primary li:nth-child(2) a { margin-left: 12%; }
.menu-primary li:nth-child(3) a { margin-left: 24%; }
.menu-primary li:nth-child(4) a { margin-left: 36%; }
.menu-primary li:nth-child(5) a { margin-left: 48%; }
.menu-primary li { overflow: hidden; }
.menu.is-open .menu-primary a { transform: none; opacity: 1; transition-delay: calc(.45s + var(--i) * .08s); }
.menu a[aria-current="page"] { color: var(--cream); }
.menu a[aria-current="page"]::after { content: ''; width: .14em; height: .14em; background: var(--cream); border-radius: 2px; transform: rotate(45deg); margin-left: .15em; }
.menu-secondary { display: flex; gap: clamp(20px, 4vw, 60px); margin-top: 26px; font-weight: 700; }
.menu-secondary a { text-decoration: none; opacity: 0; transition: opacity .5s; display: inline-flex; gap: .35em; align-items: center; }
.menu.is-open .menu-secondary a { opacity: 1; transition-delay: calc(.7s + var(--i) * .06s); }
.menu-secondary a[aria-current="page"]::after { width: .4em; height: .4em; }

/* ---------- Route cover ---------- */
.route-cover {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: var(--maroon);
  transform: translateY(100%);
}
.route-cover::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(251, 243, 236, .35); transform: scaleX(0); transform-origin: left; }
.route-cover.is-covering { transform: translateY(0); transition: transform .9s var(--e-premium); }
.route-cover.is-covering::after { transform: scaleX(1); transition: transform .9s var(--e-premium) .1s; }
.route-cover.is-covered { transform: translateY(0); }
.route-cover.is-lifting { transform: translateY(-100%); transition: transform .975s var(--e-premium); }

/* ---------- Loader (home, first visit) ---------- */
.loader { position: fixed; inset: 0; z-index: 9998; background: var(--cream); overflow: hidden; }
.loader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader-count { position: absolute; left: var(--pad); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--pad)); font-family: var(--f-display); font-size: clamp(5rem, 18vw, 16rem); color: var(--orange); line-height: .8; font-variant-numeric: tabular-nums; }
.loader-sweep { position: absolute; inset: 0; background: var(--orange); transform: translateY(100%); }
.loader.is-closing .loader-sweep { transform: translateY(-100%); transition: transform 1.4s var(--e-premium); }
.loader.is-closing { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--e-premium) .7s; }

/* ---------- Cursor label ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 1200; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px;
  background: var(--cream); color: var(--maroon); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(74, 30, 36, .16); opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: opacity .25s, scale .25s;
}
.cursor i { width: 7px; height: 7px; background: var(--orange); border-radius: 1.5px; transform: rotate(45deg); }
.cursor.is-on { opacity: 1; scale: 1.6; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reveals ---------- */
.js [data-reveal="lines"] .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-reveal="lines"] .ln > span { display: block; transform: translateY(112%); transition: transform .55s var(--e-expo); transition-delay: calc(var(--i) * 80ms); }
.js [data-reveal="chars"] .ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-reveal="chars"] .ch > span { display: inline-block; transform: translateY(108%); transition: transform .95s var(--e-expo); transition-delay: calc(var(--i) * 20ms); }
.js [data-reveal="fade"] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--e-soft), transform 1s var(--e-expo); }
/* until site.js has split it, text that will rise in stays hidden */
.js [data-reveal="chars"]:not([data-split]), .js [data-reveal="lines"]:not([data-split]) { visibility: hidden; }
.js .is-in[data-reveal] .ln > span, .js .is-in[data-reveal] .ch > span, .js .is-in[data-reveal="fade"] { transform: none; opacity: 1; }

/* ---------- Editorial hero ---------- */
.hero { padding-top: clamp(150px, 15vw, 210px); }
.hero-title { text-align: center; font-size: var(--t-hero); color: var(--orange); }
.cover-wrap { position: relative; height: 130vh; margin-top: clamp(24px, 3vw, 48px); }
.cover {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  clip-path: inset(0 var(--inset, 40px) 0 var(--inset, 40px) round var(--r, 15px));
}
.cover .media { position: absolute; inset: -14% 0; transform: translateY(var(--py, 0%)) scale(var(--sc, 1.18)); transition: scale 1.5s var(--e-expo); }
.cover .media .scene { width: 100%; height: 100%; }
.cover.is-settled .media { --sc: 1; }
.cover::after { content: ''; position: absolute; inset: 0; background: rgba(74, 30, 36, .22); }
.cover-headline {
  position: absolute; left: 0; right: 0; top: 50vh; transform: translateY(-50%); z-index: 2; margin: 0; text-align: center;
  padding-inline: 10vw; color: var(--cream);
  font-family: var(--f-display); font-size: clamp(2rem, 1rem + 4vw, 5.6rem); line-height: 1.02; text-transform: uppercase; text-wrap: balance;
}
.intro { padding-block: var(--space-xl); }
.intro-inner { grid-column: 2 / span 10; max-width: 1200px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: clamp(40px, 4vw, 60px); }
.intro p.big { font-size: var(--t-big); line-height: 1.25; margin: 0; text-wrap: pretty; }
.intro p.med { font-size: var(--t-med); max-width: 46ch; margin: 0; }
.diamond { width: 13px; height: 13px; background: var(--maroon); border-radius: 2px; transform: rotate(45deg); }

/* ---------- Pantry sections ---------- */
.section { padding-block: var(--space-l); }
.section-title { text-align: center; font-size: var(--t-display); color: var(--orange); margin-bottom: clamp(40px, 5vw, 80px); }
.split { align-items: end; row-gap: 40px; }
.split .photo { grid-column: 1 / span 7; border-radius: var(--radius); overflow: hidden; aspect-ratio: 752 / 694; }
.split .photo .scene, .photo .scene { width: 100%; height: 100%; }
.split .copy { grid-column: 9 / span 4; display: grid; gap: 28px; align-content: space-between; height: 100%; padding-block: 8px; }
.copy p { margin: 0; font-size: var(--t-med); line-height: 1.45; max-width: 40ch; }
.weights { display: grid; gap: 10px; }
.weights ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.weights li { min-width: 50px; height: 50px; padding: 0 8px; border: 1.2px solid var(--maroon); border-radius: 999px; display: grid; place-items: center; font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.split.reverse .tiles-left { grid-column: 1 / span 7; }
.split.reverse .copy { grid-column: 9 / span 4; align-content: start; }

/* product tiles */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 15px) / 4); gap: 15px; margin-top: clamp(40px, 5vw, 70px); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; }
.track.is-dragging a { pointer-events: none; }
.track.two { grid-auto-columns: calc((100% - 15px) / 2); margin-top: 0; }
.tile {
  position: relative; display: block; aspect-ratio: 367 / 481; border-radius: var(--radius); background: var(--card);
  overflow: hidden; text-decoration: none; isolation: isolate;
  transition: transform .6s var(--e-soft), background .6s var(--e-soft);
}
.tile .deco { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; }
.tile .deco svg { position: absolute; width: 34%; height: auto; transition: transform 1s var(--e-soft); }
.tile .jar { position: absolute; left: 50%; bottom: 13%; width: 60%; height: auto; transform: translateX(-50%); transform-origin: 50% 72%; transition: transform 1s var(--e-soft); }
.tile .tile-name { position: absolute; left: 16px; right: 16px; bottom: 14px; font-weight: 700; font-size: .9rem; display: flex; justify-content: space-between; gap: 8px; }
.tile .tile-name span:last-child { opacity: .82; font-weight: 500; white-space: nowrap; }
.tile:hover, .tile:focus-visible { background: var(--theme); transform: scale(.96) rotate(2deg); }
.tile:hover .deco, .tile:focus-visible .deco { opacity: 1; }
.tile:hover .jar, .tile:focus-visible .jar { transform: translateX(-50%) scale(1.1) rotate(4deg); }
.tile:hover .deco svg { transform: translateY(8px) rotate(25deg); }

/* full-bleed savoury-style stage */
.stage {
  position: relative; margin-inline: var(--pad); border-radius: var(--radius); overflow: hidden; height: min(110vh, 1000px);
  display: grid; place-items: start center; color: var(--cream);
}
.stage .bg { position: absolute; inset: 0; }
.stage .bg .scene { width: 100%; height: 100%; }
.stage .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(42, 20, 30, .65), rgba(42, 20, 30, .15) 60%); }
.stage h2 { position: relative; z-index: 2; font-size: clamp(3.4rem, 1rem + 11vw, 14rem); margin-top: 5%; text-align: center; color: var(--cream); }
.stage .fg { position: absolute; z-index: 3; left: 50%; bottom: -12%; width: clamp(240px, 32vw, 460px); transform: translate(-50%, var(--py, 0%)); }

/* tables */
.table-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.spec th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); padding: 0 0 12px; border-bottom: 1px solid var(--maroon); }
.spec td { padding: 14px 0; border-bottom: 1px solid rgba(109, 43, 50, .2); font-variant-numeric: tabular-nums; }
.spec td:not(:first-child), .spec th:not(:first-child) { text-align: right; }

.centered-copy { max-width: 62ch; margin: 0 auto; text-align: center; font-size: var(--t-med); }
.box-row { margin-top: clamp(40px, 5vw, 80px); align-items: start; row-gap: 40px; }
.box-row .photo { grid-column: 1 / span 7; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.box-row .table-wrap { grid-column: 9 / span 4; }
.box-row .spec { min-width: 0; }
/* The pantry's ladoo list: name and what is in it, then the price of each jar (how many it holds under the size) */
.spec-menu { min-width: 0; }
.spec-menu td:first-child { padding-right: 20px; }
.spec-menu b { font-weight: 700; }
.spec-menu a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.spec-note { display: block; margin-top: 3px; font-size: .88rem; line-height: 1.4; opacity: .85; }
.spec .th-sub { display: block; margin-top: 4px; font-size: .78rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--maroon); opacity: .8; white-space: nowrap; }
.spec-menu th { vertical-align: bottom; }
.spec-menu td + td, .spec-menu th + th { padding-left: 14px; white-space: nowrap; }

.outro { padding: var(--space-l) var(--pad) var(--space-xl); }
.outro .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; max-width: 1200px; margin: 0 auto; }

/* floating category nav */
.catnav {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(20px, 3vw, 40px)); z-index: 800;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: opacity .6s, transform .6s var(--e-soft);
  background: rgba(251, 243, 236, .78); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  border-radius: 999px; padding: 6px; box-shadow: 0 10px 40px rgba(74, 30, 36, .18);
}
.catnav.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.catnav ul { display: flex; list-style: none; margin: 0; padding: 0; position: relative; }
.catnav button { position: relative; z-index: 1; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .86rem; white-space: nowrap; transition: color .4s; }
.catnav button[aria-current="true"] { color: var(--cream); }
.catnav .pillbg { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--orange); transition: left .5s var(--e-expo), width .5s var(--e-expo); }
.catnav .cur { display: none; }

/* ---------- Product detail ---------- */
/* The hero, from the owner's reference (2026-10-07): the name as big as it will go on the
   faded leaf pattern, the jar rising over it as the page scrolls. site.js sets the sizes and
   moves the title and jar; the 3D stage (canvas) draws the same scene over them when it can. */
.p-hero { position: relative; height: 200vh; }
.p-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  background: var(--cream) url('../img/pattern/leaves.webp') left bottom / var(--pt, 286px) repeat; }
.p-title { position: absolute; left: 0; right: 0; top: 0; text-align: center; font-size: clamp(3rem, 1rem + 12vw, 20rem); line-height: .9; color: #E94E1B; white-space: nowrap; text-wrap: nowrap; }
html:not(.js) .p-title { top: 14vh; white-space: normal; }
.js .p-title[data-split] { display: flex; flex-direction: column; align-items: center; }
.p-title .pl { flex: none; display: flex; justify-content: center; align-items: flex-start; column-gap: .205em; height: .75em; }
.p-title .pw { display: flex; align-items: flex-start; }
.js .p-title .ch, .js .p-title .ch > span { display: block; line-height: .9; }
.p-meta { position: absolute; z-index: 3; left: 10vw; right: 10vw; top: 78%; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-family: var(--f-serif); font-size: clamp(1.35rem, .9rem + 1.15vw, 2.5rem); line-height: 1.05; color: var(--maroon); }
.p-meta a { text-decoration: none; }
.p-meta a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.p-meta .origin { max-width: 6.6em; text-align: right; }
.p-jar { position: absolute; left: 0; top: 0; width: 300px; will-change: transform; }
.js .p-stage.is-waiting .p-jar { opacity: 0; }
/* the home page's picture of the jar, standing in until the 3D jar is up (site.js) */
.p-snap { position: absolute; z-index: 1; pointer-events: none; max-width: none; }
.p-stage.has-snap .p-jar { visibility: hidden; }
html:not(.js) .p-jar { left: 50%; top: 58vh; transform: translateX(-50%); }
.p-jar .jar { width: 100%; height: auto; }
.p-jar .jar-turn { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; }
.p-jar.is-turning .jar-turn { opacity: 1; }
.p-jar.is-turning img.jar { visibility: hidden; }
.p-stage .stage3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; transition: opacity .35s var(--e-soft); pointer-events: none; }
.p-stage.is-3d .stage3d { opacity: 1; }
.p-cue { position: absolute; z-index: 3; left: 50%; bottom: 3.4vh; width: 10px; height: 10px; margin-left: -5px; background: var(--maroon); border-radius: 1.5px; transform: rotate(45deg); opacity: 0; pointer-events: none; }
/* on the product hero the logo slides away but Cart and Menu stay, as on the reference */
.pd-hero .site-header.is-hidden { transform: none; }
.pd-hero .site-header.is-compact .brand { opacity: 0; transform: translateY(-160%); pointer-events: none; }
.p-body { padding: 0 var(--pad) var(--space-l); }
.p-desc { grid-column: 3 / span 8; display: grid; gap: 28px; }
.p-desc .lede { font-size: var(--t-big); line-height: 1.25; margin: 0; }
.p-desc p { margin: 0; font-size: var(--t-med); line-height: 1.5; }
.p-desc .ingr b { color: var(--orange); }
/* The owner's product copy: a numbered kicker, the headline, then short paragraphs read as one story */
.p-desc .p-kicker { margin: 0 0 -12px; font-size: .8rem; line-height: 1.3; }
.p-story { display: grid; gap: .9em; }
.p-story p { max-width: 60ch; }
/* Their second section (Why we made it...) and the highlights under it */
.p-aside { margin-top: var(--space-l); gap: 20px; }
.p-aside-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); line-height: .95; text-transform: uppercase; color: var(--orange); text-wrap: balance; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.badges li { padding: 9px 15px; border: 1.2px solid var(--maroon); border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; }
.p-facts { grid-column: 3 / span 8; display: grid; grid-template-columns: 4fr 2fr 1.2fr; margin-top: var(--space-l); border-top: 1px solid var(--maroon); }
.p-facts > div { padding: 22px 22px 0 0; display: grid; gap: 12px; align-content: start; }
.p-facts > div + div { border-left: 1px solid var(--maroon); padding-left: 22px; }
.p-facts p { margin: 0; }
.p-facts .shelf { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }

/* gallery */
.gallery { padding-block: var(--space-l); overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; }
.gallery:active { cursor: grabbing; }
.gallery-track { display: flex; gap: 40px; will-change: transform; }
.gallery-frame { flex: 0 0 61vw; aspect-ratio: 980 / 702; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-frame .scene { position: absolute; top: 0; height: 100%; left: -16%; width: 132%; transform: translateX(var(--gx, 0%)); }
/* Photo frames are square, as tall as the illustration frames; the photo drifts half as far */
/* photos use the same frames (the owner's recording of the reference gallery, 2026-10-07); a
   little wider than the frame, so they can drift inside it, and cropped round data focus */
.gallery-frame.is-photo { background: #EBD9C6; }
.gallery-frame.is-photo .scene { left: -6%; width: 112%; max-width: none; object-fit: cover; transform: translateX(calc(var(--gx, 0%) * .4)); pointer-events: none; }
.related { padding: var(--space-l) var(--pad) var(--space-l); }
.related h2 { font-size: clamp(3.4rem, 10.3vw, 10rem); line-height: .75; color: #E94E1B; text-align: center; margin-bottom: clamp(32px, 6vw, 100px); }
.related h2 span { display: block; }
.related .track { margin-top: 0; }

/* ---------- Elements (experience) ---------- */
.yellow { background: var(--turmeric); color: var(--maroon); }
.el-intro { position: relative; padding: var(--space-xl) var(--pad) var(--space-l); text-align: center; }
.el-intro h2 { font-size: clamp(3rem, 1rem + 8vw, 10rem); }
.el-note { position: absolute; top: 74%; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); text-align: right; transform: translateY(var(--ny, 0px)); }
.el-note.l { left: 12%; }
.el-note.r { right: 12%; text-align: left; }
.stack { position: relative; height: calc(var(--n, 5) * 100vh); perspective: 1400px; }
.stack-stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.el-card {
  position: absolute; width: min(1100px, calc(100% - 2 * var(--pad))); aspect-ratio: 16 / 8.2; max-height: 76vh;
  background: var(--cream); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 36% 1fr; gap: 32px;
  transform-origin: 50% 0; will-change: transform; box-shadow: 0 30px 60px rgba(74, 30, 36, .12);
}
.el-card .ph { border-radius: 10px; overflow: hidden; position: relative; }
.el-card .ph .scene { position: absolute; inset: -10% 0; width: 100%; height: 120%; transform: translateY(var(--iy, 0%)); }
.el-card .shade { position: absolute; inset: 0; background: #2A141E; opacity: var(--shade, 0); border-radius: var(--radius); pointer-events: none; }
.el-card .txt { display: grid; grid-template-rows: auto 1fr auto; gap: 20px; min-width: 0; }
.el-card .num { font-family: var(--f-display); font-size: clamp(3rem, 2rem + 4vw, 6.4rem); color: var(--orange); line-height: .9; }
.el-card .head { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; align-items: end; }
.el-card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.4rem); line-height: 1; color: var(--orange); text-transform: uppercase; margin: 0; }
.el-card .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: .92rem; }
.el-card .cols p { margin: 6px 0 0; }

/* ---------- About ---------- */
.pause { position: relative; height: 250vh; }
.pause-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.pause-stage .fruit { position: absolute; left: 50%; top: 50%; width: clamp(160px, 26vw, 380px); transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) scale(var(--s, 1)) rotate(var(--r, 0deg)); }
.pause-stage .fruit svg { width: 100%; height: auto; }
.pause-tag { position: relative; z-index: 2; text-align: center; font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.8vw, 2.8rem); line-height: 1.05; color: var(--orange); text-transform: uppercase; max-width: 18ch; opacity: var(--o, 0); }
.vision { position: relative; margin: 0 var(--pad); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1517 / 1230; max-height: 140vh; width: calc(100% - 2 * var(--pad)); }
.vision .bg, .vision .bg .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.vision h2 { position: absolute; top: 2%; left: 0; right: 0; text-align: center; color: var(--cream); font-size: 21vw; line-height: .8; }
.vision .fg { position: absolute; right: 8%; bottom: -6%; width: 34%; transform: translateY(var(--py, 0%)); }
.vision .sub { position: absolute; left: 12%; top: 42%; max-width: 22ch; color: var(--maroon-deep); font-size: var(--t-big); font-weight: 600; line-height: 1.2; }
.about-copy { padding-block: var(--space-l); }
.about-copy .cols2 { grid-column: 2 / span 10; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); font-size: var(--t-med); line-height: 1.5; }
.about-copy p { margin: 0 0 1em; }
.about-copy h2 { grid-column: 2 / span 10; font-size: clamp(2.4rem, 1rem + 5vw, 6rem); color: var(--orange); margin-bottom: 40px; }
/* Our Story: Sudhir's story as one reading column */
.story { padding-block: var(--space-l); }
.intro + .story { padding-top: 0; }
.story-col { grid-column: 4 / span 6; display: grid; gap: .85em; font-size: var(--t-med); line-height: 1.55; }
.story-col p { margin: 0; max-width: 62ch; }
.story-col .story-lead { font-size: var(--t-big); line-height: 1.25; }
.story-col h2 { font-size: clamp(2.2rem, 1rem + 3.4vw, 4.4rem); color: var(--orange); margin: 1.1em 0 .25em; }
.story-col a { color: var(--orange-ink); }
.story-list { list-style: none; margin: .2em 0; padding: 0; display: grid; gap: .2em; font-family: var(--f-display); font-size: clamp(1.6rem, 1rem + 1.6vw, 2.6rem); line-height: 1.05; text-transform: uppercase; }
.story-list a { color: var(--maroon); text-decoration: none; }
.story-list a:hover, .story-list a:focus-visible { color: var(--orange-ink); }
.craft-chips { justify-content: center; max-width: 960px; margin: 0 auto clamp(20px, 3vw, 40px); }
@media (max-width: 1024px) { .story-col { grid-column: 2 / span 10; } }
@media (max-width: 640px) { .story-col { grid-column: 1 / -1; } .vision .sub { max-width: 13ch; } }

/* ---------- Contact ---------- */
.contact { min-height: 100vh; min-height: 100dvh; padding: clamp(120px, 23vh, 240px) var(--pad) 80px; align-items: start; }
.playground { grid-column: 1 / span 5; position: sticky; top: 0; height: min(78vh, 760px); margin-top: -8vh; }
.playground canvas { width: 100%; height: 100%; display: block; cursor: pointer; }
.contact-info { grid-column: 7 / span 6; display: grid; gap: 34px; }
.contact-info h1 { font-size: clamp(3.4rem, 1rem + 8vw, 9.5rem); color: var(--orange); }
.contact-info .statement { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.3rem); line-height: 1.12; max-width: 18ch; margin: 0; font-weight: 600; }
.addr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: .92rem; }
.addr p { margin: 6px 0 0; }
.mailrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mail { color: var(--orange); font-weight: 700; font-size: 1.1rem; user-select: all; }
.copy-btn { border: 1.2px solid var(--maroon); border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 700; transition: background .3s, color .3s; }
.copy-btn:hover { background: var(--maroon); color: var(--cream); }

/* ---------- Legal ---------- */
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(150px, 18vw, 220px) var(--pad) var(--space-l); line-height: 1.6; }
.legal h1 { font-size: clamp(2.4rem, 1rem + 4vw, 4rem); color: var(--orange); margin-bottom: 30px; }
.legal h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; margin: clamp(36px, 4vw, 52px) 0 10px; }
.legal a { color: var(--orange); }
.outline-btn { border: 1.5px solid var(--maroon); border-radius: 999px; padding: 12px 22px; font-weight: 700; transition: background .3s, color .3s; }
.outline-btn:hover { background: var(--maroon); color: var(--cream); }

/* ---------- Footer ---------- */
.footer { background: var(--maroon); color: var(--cream); min-height: 100vh; padding: clamp(40px, 5vw, 70px) var(--pad) 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.footer .big { grid-column: 4 / span 9; }
.footer .big img { width: 100%; height: auto; }
.footer .cols { align-items: end; row-gap: 40px; font-size: .95rem; }
.footer .cols a { text-decoration: none; transition: color .3s; }
.footer .cols a:hover, .footer .cols a[aria-current="page"] { color: var(--orange); }
.footer .f-brand { grid-column: 1 / span 3; display: grid; gap: 14px; }
.footer .f-brand .mark { width: 74px; height: 74px; border: 1.5px solid var(--orange); border-radius: 50%; display: grid; place-items: center; }
.footer .f-brand .mark i { width: 18px; height: 18px; background: var(--orange); border-radius: 3px; transform: rotate(45deg); }
.footer .f-nav { grid-column: 4 / span 2; display: grid; gap: 4px; }
.footer .f-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.footer .f-off { grid-column: 6 / span 3; display: grid; gap: 30px; }
.footer .f-contact { grid-column: 9 / span 4; display: grid; gap: 30px; }
.footer .label { color: var(--orange); font-size: .75rem; display: block; margin-bottom: 6px; }
.footer p { margin: 0; }
.footer .f-wa { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.footer .cols a.f-wa-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--turmeric); color: var(--maroon); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; transition: background .3s, color .3s; }
.footer .cols a.f-wa-btn:hover { background: var(--cream); color: var(--maroon); }
/* in the small footer, Order on WhatsApp sits on its own line above the legal links */
.mini-footer { flex-wrap: wrap; row-gap: 4px; }
.mini-footer .wa-mini { flex-basis: 100%; font-weight: 700; }
.footer .legalrow { border-top: 1px solid rgba(251, 243, 236, .2); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; }
.footer .legalrow a { text-decoration: underline; }
.mini-footer { position: fixed; left: var(--pad); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 700; font-size: .75rem; background: rgba(251, 243, 236, .8); padding: 6px 10px; border-radius: 8px; display: flex; align-items: center; gap: 14px; }
/* the Instagram link at the foot of every page */
.ig-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.ig-link svg { width: 1.25em; height: 1.25em; flex: none; }
.ig-link span { text-decoration: underline; text-underline-offset: 2px; }
.ig-link:hover { color: var(--orange); }
.footer .legalrow .ig-link, .mini-footer .ig-link { text-decoration: none; }
.mini-footer .legal-links { display: flex; gap: 4px 14px; flex-wrap: wrap; }

/* ---------- Cookie notice ---------- */
.cookie { position: fixed; right: var(--pad); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--pad)); z-index: 1100; width: min(384px, calc(100% - 2 * var(--pad))); background: var(--cream); border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 60px rgba(74, 30, 36, .25); display: grid; gap: 14px; font-size: .9rem; }
.cookie h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; margin: 0; text-transform: uppercase; }
.cookie p { margin: 0; }
.cookie a { color: var(--orange); }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { background: var(--orange); color: var(--cream); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: .85rem; }

/* ---------- Home ---------- */
.home { height: 100vh; height: 100dvh; overflow: hidden; position: relative; touch-action: none; -webkit-user-select: none; user-select: none; }
/* Stage sizes all follow the burgundy shape's width, --bw. The shape and the ring of words
   are placed from the owner's composition (2026-10-07); site.js uses the same numbers. */
.home { --bw: max(75.7vw, 560px); --base: .043; }
.home .backdrop { position: absolute; left: 50%; top: calc(100% - var(--bw) * (.44 - var(--base))); width: var(--bw); height: calc(var(--bw) * .64); transform: translate(calc(-50% + var(--bx, 0px)), var(--by, 0px)); pointer-events: none; }
.home .backdrop svg, .ring svg { display: block; width: 100%; height: 100%; }
.ring { position: absolute; left: calc(50% - var(--bw) * .0135); top: calc(100% + var(--bw) * (var(--base) + .1)); width: var(--bw); height: var(--bw); transform: translate(calc(-50% + var(--bx, 0px)), calc(-50% + var(--by, 0px))) rotate(var(--rot, 0deg)); pointer-events: none; }
.ring text { font-family: var(--f-display); }
.home .stage3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s var(--e-soft); pointer-events: none; }
.home.is-3d .stage3d { opacity: 1; }
.jars { position: absolute; inset: 0; }
/* the jars wait for site.js to place them (the head script sets .js before the first paint) */
.js:not(.js-ready) .jars { visibility: hidden; }
.jars a { position: absolute; left: 0; top: 0; width: var(--jw, clamp(170px, 21vw, 400px)); will-change: transform; -webkit-user-drag: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.jars a .jar { width: 100%; height: auto; display: block; pointer-events: none; transition: opacity .7s var(--e-soft); }
.jars a:focus-visible { outline: none; }
.jars a:focus-visible::after { content: ''; position: absolute; left: 50%; bottom: -14px; width: 8px; height: 8px; background: var(--maroon); border-radius: 1.5px; transform: translateX(-50%) rotate(45deg); }
/* with the 3D stage drawing the jars, the links stay as invisible targets */
.home.is-3d .jars a .jar { opacity: 0; }
.home-prompt { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 30px); transform: translateX(-50%); color: var(--cream); font-family: var(--f-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; margin: 0; }

/* ---------- 404 ---------- */
.err { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 160px var(--pad) 80px; background: #F4E9DD; }
.err h1 { font-size: clamp(5rem, 22vw, 20rem); color: var(--orange); }
.err .links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cover-wrap { height: auto; }
  .cover { position: relative; height: max(40vh, 300px); --inset: 30px; }
  .split .photo, .split.reverse .tiles-left, .box-row .photo { grid-column: 1 / -1; }
  .split .copy, .split.reverse .copy, .box-row .table-wrap { grid-column: 1 / -1; }
  .track { grid-auto-columns: 40vw; }
  .track.two { grid-auto-columns: 40vw; }
  .p-desc, .p-facts { grid-column: 1 / -1; }
  .gallery-frame { flex-basis: 74vw; }
  .gallery-track { gap: 24px; }
  .el-note { display: none; }
  .el-card { grid-template-columns: 1fr; grid-template-rows: 34% 1fr; aspect-ratio: auto; height: 74vh; }
  .playground { grid-column: 1 / -1; position: relative; order: 2; height: 60vh; margin-top: 30px; }
  .contact-info { grid-column: 1 / -1; }
  .footer { min-height: 0; }
  .footer .big { grid-column: 1 / -1; }
  .footer .f-brand { grid-column: 1 / span 6; order: 4; }
  .footer .f-nav { grid-column: 1 / span 4; }
  .footer .f-off { grid-column: 5 / span 4; }
  .footer .f-contact { grid-column: 9 / span 4; }
  .about-copy .cols2 { grid-column: 1 / -1; }
  .about-copy h2 { grid-column: 1 / -1; }
  .menu-primary li a { margin-left: 0 !important; }
  .menu-primary li { text-align: center; }
  .menu-secondary { justify-content: center; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split .photo, .split .copy, .split.reverse .tiles-left, .split.reverse .copy, .box-row .photo, .box-row .table-wrap,
  .intro-inner, .p-desc, .p-facts, .playground, .contact-info, .footer .big, .about-copy .cols2, .about-copy h2 { grid-column: 1 / -1; }
  .cover { --inset: 16px; }
  .track, .track.two { grid-auto-columns: 82%; scroll-snap-type: x mandatory; }
  .tile { scroll-snap-align: start; }
  .p-facts { grid-template-columns: 1fr; }
  .p-facts > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--maroon); margin-top: 22px; }
  .gallery-frame { flex-basis: 84vw; }
  .gallery-track { gap: 16px; }
  .el-card { position: relative; height: auto; padding: 18px; grid-template-rows: auto auto; }
  .el-card .ph { height: clamp(220px, 50vw, 360px); }
  .el-card .cols { grid-template-columns: 1fr; }
  .stack { height: auto; }
  .stack-stage { position: relative; height: auto; display: grid; gap: 30px; padding: 0 var(--pad) 60px; overflow: visible; }
  .el-card { transform: none !important; }
  .el-card .shade { display: none; }
  .pause { height: 70vh; }
  .pause-stage { position: relative; height: 70vh; }
  .vision { aspect-ratio: 1080 / 1350; }
  .vision .sub { left: 8%; top: 30%; }
  .vision .fg { width: 52%; right: 4%; }
  .addr { grid-template-columns: 1fr; }
  .footer .f-brand, .footer .f-nav, .footer .f-off, .footer .f-contact { grid-column: 1 / -1; }
  .footer .f-brand .mark { display: none; }
  .catnav { left: var(--pad); right: var(--pad); transform: translateY(30px); }
  .catnav.is-on { transform: none; }
  .catnav ul { display: none; flex-direction: column; position: absolute; bottom: calc(100% + 8px); left: 0; right: 0; background: var(--cream); border-radius: 24px; padding: 8px; box-shadow: 0 10px 40px rgba(74, 30, 36, .18); }
  .catnav.is-expanded ul { display: flex; }
  .catnav .pillbg { display: none; }
  .catnav button[aria-current="true"] { color: var(--orange); }
  .catnav .cur { display: flex; width: 100%; justify-content: space-between; align-items: center; font-weight: 700; padding-left: 16px; }
  .catnav .cur i { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
  .catnav .cur i::before { content: ''; width: 9px; height: 9px; border-left: 2px solid var(--cream); border-top: 2px solid var(--cream); transform: translateY(2px) rotate(45deg); }
  .menu-btn .pill { height: 36px; padding: 0 14px; }
  .menu-btn .dot { width: 36px; height: 36px; }
  .home-prompt { font-size: 11px; }
  .mini-footer { bottom: calc(env(safe-area-inset-bottom, 0px) + 54px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] .ln > span, .js [data-reveal] .ch > span, .js [data-reveal="fade"] { transform: none; opacity: 1; }
}

/* small-screen header and contact footer */
@media (max-width: 640px) {
  .site-header { align-items: center; }
  .brand { width: clamp(88px, 27vw, 112px); }
  .is-compact .brand { width: clamp(84px, 25vw, 100px); }
}
.mini-footer.is-static { position: static; display: inline-flex; margin: 0 var(--pad) 24px; }

@media (max-width: 640px) {
  .home { --bw: 165vw; --base: 0; }
  /* on phones the burgundy shape fills the bottom of the screen */
  .home ~ .mini-footer, .home ~ .mini-footer a { color: var(--cream); }
}

/* ---------- Shop: cart button ---------- */
.cart-btn { display: inline-flex; align-items: center; gap: 2px; }
.cart-btn .pill {
  height: 40px; padding: 0 16px; border: 1.5px solid currentColor; border-radius: 999px;
  display: inline-flex; align-items: center; font-weight: 700; font-size: .82rem; letter-spacing: .08em;
  overflow: hidden; background: var(--cream); transition: background .35s, color .35s;
}
.cart-count { min-width: 40px; height: 40px; padding: 0 6px; border-radius: 999px; border: 1.5px solid currentColor; background: var(--cream); display: grid; place-items: center; font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; transition: background .35s, color .35s; }
.cart-count.has-items { background: var(--maroon); border-color: var(--maroon); color: var(--cream); }
.header-light .cart-btn .pill, .header-light .cart-count:not(.has-items) { color: var(--cream); background: transparent; }
.menu-open .cart-btn { visibility: hidden; }

/* ---------- Shop: cart drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 1500; }
.cart[hidden] { display: none; }
.cart-scrim { position: absolute; inset: 0; background: rgba(74, 30, 36, .45); opacity: 0; transition: opacity .45s var(--e-soft); }
.cart-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(460px, 100%); background: var(--cream); color: var(--maroon); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(-100%); transition: transform .55s var(--e-expo); box-shadow: 20px 0 60px rgba(74, 30, 36, .2); }
.cart.is-open .cart-scrim { opacity: 1; }
.cart.is-open .cart-panel { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 22px) 24px 18px; border-bottom: 1px solid rgba(109, 43, 50, .2); }
.cart-head h2 { font-size: 2rem; color: var(--orange); }
.cart-close { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--cream); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.cart-body { overflow-y: auto; padding: 8px 24px; }
.cart-empty { font-size: 1.1rem; margin: 24px 0 12px; }
.cart-body .outline-btn { display: inline-block; text-decoration: none; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(109, 43, 50, .15); align-items: start; }
.cart-line img { width: 64px; height: auto; }
.cl-main { display: grid; gap: 6px; }
.cl-name { font-weight: 700; text-decoration: none; }
.cl-name:hover { color: var(--orange); }
.cl-meta { font-size: .85rem; opacity: .8; }
.cl-side { display: grid; gap: 8px; justify-items: end; }
.cl-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.cl-rm { font-size: .8rem; text-decoration: underline; min-height: 32px; }
.cart-foot { padding: 18px 24px calc(env(safe-area-inset-bottom, 0px) + 22px); border-top: 1px solid var(--maroon); display: grid; gap: 10px; }
.cart-foot:empty { display: none; }
.cart-sub { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.cart-small { margin: 0; font-size: .8rem; opacity: .8; }
.cart-note { margin: 0; font-size: .9rem; color: var(--orange); font-weight: 700; }
.cart-note:empty { display: none; }
/* Order on WhatsApp: the cart's panel, from the right, holding a short form */
.wa-order .cart-panel { left: auto; right: 0; transform: translateX(100%); box-shadow: -20px 0 60px rgba(74, 30, 36, .2); }
.wa-order.is-open .cart-panel { transform: none; }
.wa-form { display: grid; gap: 22px; align-content: start; padding-block: 20px 26px; }
.wa-intro { margin: 0; font-size: .95rem; }
.wa-items { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.wa-items legend { padding: 0; margin-bottom: 6px; }
.wa-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wa-line { display: grid; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(109, 43, 50, .15); }
.wa-row { display: flex; align-items: center; gap: 16px; }
.wa-row .cl-price { margin-left: auto; }
.wa-form select, .wa-form input, .wa-form textarea { width: 100%; min-width: 0; font: inherit; font-size: max(16px, 1rem); color: inherit; background: rgba(255, 255, 255, .55); border: 1.5px solid rgba(109, 43, 50, .45); border-radius: 12px; padding: 10px 12px; transition: border-color .2s; }
.wa-form select { appearance: none; padding-right: 34px; background: rgba(255, 255, 255, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236D2B32' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 12px center; text-overflow: ellipsis; }
.wa-form select[disabled] { opacity: .5; }
.wa-form textarea { resize: vertical; }
.wa-form :is(select, input, textarea):focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(233, 162, 59, .45); }
.wa-form [aria-invalid="true"] { border-color: var(--orange-ink); box-shadow: 0 0 0 3px rgba(216, 89, 48, .25); }
.wa-form ::placeholder { color: inherit; opacity: .5; }
.wa-field { display: grid; gap: 6px; }
.wa-field .label { margin: 0; }
.wa-opt { text-transform: none; letter-spacing: 0; opacity: .7; }
.wa-add { justify-self: start; font-weight: 700; text-decoration: underline; min-height: 40px; }
.wa-send { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; text-decoration: none; }
.checkout-btn, .buy-btn { background: var(--orange); color: var(--cream); border-radius: 999px; min-height: 52px; padding: 0 26px; font-weight: 700; font-size: 1rem; transition: background .3s; }
.checkout-btn:hover, .buy-btn:hover { background: var(--maroon); }
.checkout-btn[disabled] { opacity: .6; cursor: progress; }

/* quantity stepper */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--maroon); border-radius: 999px; height: 48px; }
.stepper button { width: 46px; height: 100%; font-size: 1.2rem; font-weight: 700; border-radius: 999px; }
.stepper button[disabled] { opacity: .35; cursor: default; }
.stepper input { width: 44px; height: 100%; border: 0; background: none; text-align: center; font: inherit; font-weight: 700; color: inherit; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.small { height: 36px; justify-self: start; }
.stepper.small button { width: 36px; font-size: 1rem; }
.stepper .q { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Shop: product buy box ---------- */
.p-buy { grid-column: 3 / span 8; margin-top: var(--space-l); }
.buy { display: grid; gap: 22px; padding: clamp(22px, 3vw, 36px); background: var(--card); border-radius: var(--radius); }
.buy fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.buy legend { padding: 0; margin-bottom: 12px; }
.size-row { display: flex; flex-wrap: wrap; gap: 10px; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size > span { display: grid; gap: 2px; min-width: 96px; padding: 12px 18px; border: 1.5px solid var(--maroon); border-radius: 14px; text-align: center; transition: background .25s, color .25s; }
.size b { font-size: 1.05rem; }
.size > span > span { font-size: .85rem; font-variant-numeric: tabular-nums; }
.size input:checked + span { background: var(--maroon); color: var(--cream); }
.size input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.qty { display: grid; gap: 10px; justify-items: start; }
/* Each size is a jar, drawn small, medium or large, over what it holds and its price */
.jar-size > span { min-width: 112px; padding: 14px 18px 12px; justify-items: center; }
.jar-icon { display: flex; align-items: flex-end; justify-content: center; height: 54px; margin-bottom: 6px; color: var(--orange); transition: color .25s; }
.jar-icon svg { display: block; }
.size input:checked + span .jar-icon { color: var(--turmeric); }
.size > span > .size-holds { font-size: .82rem; opacity: .8; }
.size > span > .size-price { font-weight: 700; }
@media (max-width: 640px) {
  .sizes .size-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .jar-size > span { min-width: 0; padding-inline: 6px; }
}
/* The yearly plan choice and its terms, under the sizes */
.plans .size > span { min-width: 150px; }
@media (max-width: 640px) {
  .plans .size-row { display: grid; grid-template-columns: 1fr 1fr; }
  .plans .size > span { min-width: 0; padding-inline: 10px; }
}
.plan-note { margin: -8px 0 0; font-size: .9rem; line-height: 1.45; max-width: 34rem; }
.plan-note a { color: var(--orange-ink); }
.buy-btn { justify-self: start; }
.buy-btn[disabled] { opacity: .5; cursor: not-allowed; }
/* Shown only when the shop's WhatsApp number is set in data/site.json */
.wa-btn { justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; text-decoration: none; }
.buy-note { margin: 0; font-weight: 700; color: var(--orange); }
.buy-note:empty { display: none; }
.buy-small { margin: 0; font-size: .85rem; opacity: .85; }
.buy-small a, .buy.soon a:not(.outline-btn) { color: var(--orange); }
.buy.soon p { margin: 0; }
.buy.soon .outline-btn { display: inline-block; text-decoration: none; }
.p-ingr { margin-top: var(--space-l); }
.allergen-note { font-size: .85rem !important; opacity: .8; }

/* ---------- Home intro (visible H1 for search and screen readers) ---------- */
.home-intro { position: absolute; left: var(--pad); top: calc(env(safe-area-inset-top, 0px) + clamp(84px, 6.4vw, 100px)); z-index: 5; max-width: 23rem; display: grid; gap: 8px; justify-items: start; }
.home-intro h1 { margin: 0; font-family: var(--f-body); font-size: .95rem; font-weight: 600; line-height: 1.35; }
.home-intro a { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.home-intro a::before { content: ''; width: 8px; height: 8px; background: var(--orange); border-radius: 1.5px; transform: rotate(45deg); }
.home-intro a:hover { text-decoration: underline; }
ul.jars { list-style: none; margin: 0; padding: 0; }
@media (max-width: 640px) {
  .home-intro { top: calc(env(safe-area-inset-top, 0px) + 78px); right: var(--pad); max-width: none; }
  .home-intro h1 { font-size: .85rem; }
}

/* ---------- Small helpers that replaced inline styles ---------- */
.seeds-row { margin-top: var(--space-l); }
.seeds-row .copy { grid-column: 2 / span 5; height: auto; }
.seeds-row .weights { grid-column: 9 / span 4; }
.table-label { text-align: center; margin: 50px 0; }
.table-wrap.wide { grid-column: 2 / span 10; }
.el-card .inj { margin: 6px 0 0; font-size: .9rem; }
.contact-copy { margin: 0; max-width: 44ch; }
.contact-copy a { color: var(--orange); }
.mail { text-decoration: none; }
.err-copy { font-size: 1.2rem; }
.err .outline-btn, .thanks .outline-btn { text-decoration: none; display: inline-block; }
.centered-copy a { color: var(--orange); }
.mini-footer { display: flex; gap: 14px; }
.mini-footer a { text-decoration: none; }
.mini-footer a:hover { text-decoration: underline; }
.footer .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer .mailtxt { color: var(--orange); }
.draft-note { display: inline-block; background: var(--turmeric); color: var(--maroon); border-radius: 8px; padding: 6px 12px; font-size: .85rem; font-weight: 700; }
.legal .table-wrap { margin-bottom: 24px; }
.legal .spec { min-width: 34rem; }

/* FAQ */
.faq { border-top: 1px solid var(--maroon); margin: 28px 0; }
.qa { border-bottom: 1px solid var(--maroon); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h2 { margin: 0; font-size: 1.15rem; font-family: var(--f-body); font-weight: 700; text-transform: none; }
.qa summary::after { content: '+'; flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--cream); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; transition: transform .4s var(--e-premium); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 20px; max-width: 60ch; }

/* order confirmation */
.order-status { font-size: var(--t-big); line-height: 1.3; }
.order-lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--maroon); }
.order-lines li, .order-total { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(109, 43, 50, .2); font-variant-numeric: tabular-nums; }
.order-total { font-weight: 700; margin: 0 0 24px; border-bottom-color: var(--maroon); }

@media (max-width: 1024px) {
  .p-buy, .seeds-row .copy, .seeds-row .weights, .table-wrap.wide { grid-column: 1 / -1; }
  .seeds-row { row-gap: 28px; }
}
@media (max-width: 640px) {
  .cart-btn .pill { height: 36px; padding: 0 12px; }
  .cart-count { min-width: 36px; height: 36px; }
  .header-actions { gap: 6px; }
  .buy-btn, .wa-btn { justify-self: stretch; }
  .mini-footer { flex-wrap: wrap; gap: 4px 12px; }
}

/* ---------- Contrast: small orange text uses the darker ink; on maroon it uses turmeric ---------- */
.label, .spec th, .legal a, .cookie a, .p-desc .ingr b, .buy-note, .cart-note, .buy-small a, .buy.soon a:not(.outline-btn),
.contact-copy a, .centered-copy a, .home-intro a, .mail { color: var(--orange-ink); }
.home-intro a::before { background: var(--orange-ink); }
.btn, .buy-btn, .checkout-btn { background: var(--orange-ink); }
.footer .label, .footer .mailtxt, .footer .cols a:hover, .footer .cols a[aria-current="page"] { color: var(--turmeric); }
.el-card h3, .pause-tag { color: var(--orange-ink); }
.buy-small { opacity: 1; }
[data-parallax] img { width: 100%; height: auto; }

/* ---------- Home, matched to the owner's reference (2026-10-04) ---------- */
/* The intro is for screen readers only: Sudhir took the visible text off the home page (2026-10-07) */
.home .home-intro { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home-prompt { font-family: var(--f-serif); font-size: 15px; letter-spacing: .08em; }
.mini-footer { background: none; padding: 0; border-radius: 0; font-size: .85rem; }
.mini-footer a { text-decoration: underline; text-underline-offset: 3px; }
body[data-page="home"] .cart-btn.is-empty { display: none; }
.js:not(.js-ready) body[data-page="home"] .cart-btn { visibility: hidden; }   /* until site.js knows if it is empty */
/* jar-click exit: everything but the chosen jar fades away */
.home .backdrop, .home .ring, .home-prompt, .home-intro, .jars a { transition: opacity .45s var(--e-soft); }
.home.is-leaving .backdrop, .home.is-leaving .ring, .home.is-leaving .home-prompt, .home.is-leaving .home-intro, .is-leaving ~ .mini-footer { opacity: 0; }
.home.is-leaving .jars a:not(.is-chosen) { opacity: 0 !important; }
.home.is-leaving ~ .cursor { opacity: 0; }
/* product hero: the labels arrive after the title, as on the reference */
@keyframes pr-fade { from { opacity: 0; } to { opacity: 1; } }
.p-meta { animation: pr-fade .8s .9s both; }
@media (max-width: 640px) {
  /* phones: the two labels sit together under the bar, clear of the jar */
  .p-meta { top: calc(env(safe-area-inset-top, 0px) + 74px); left: var(--pad); right: var(--pad); justify-content: center; align-items: center; gap: 12px; font-size: 1.2rem; }
  .p-meta .origin { max-width: none; text-align: center; display: inline-flex; align-items: center; gap: 12px; }
  .p-meta .origin::before { content: ''; width: 6px; height: 6px; background: var(--orange); border-radius: 1px; transform: rotate(45deg); }
}

/* Turning jar on the home page: a canvas over the photo while the jar turns */
.jars a .jar-turn { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; }
.jars a.is-turning .jar-turn { opacity: 1; }
.jars a.is-turning img.jar { visibility: hidden; }

/* The Menu and Cart buttons use the same lettering as the rollover label, and the small
   menu links (About, Contact, Help...) use the buttons' lettering (Sudhir, 2026-10-07). */
.menu-secondary { font-family: var(--f-body); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.menu-btn .pill, .cart-btn .pill { font-family: var(--f-body); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

/* ======================================================================
   Shop, gift boxes, packaging colours and the Shop button (Sudhir, 2026-10-18)
   ====================================================================== */
[hidden] { display: none !important; }

/* Header: Cart on the left; Shop and Menu on the right, at the top of every page. Scrolled
   down, only the logo slides away. */
.site-header.is-compact .brand { opacity: 0; transform: translateY(-160%); pointer-events: none; }
.shop-btn { display: inline-flex; text-decoration: none; }
.shop-btn .pill {
  height: 40px; padding: 0 18px; border: 1.5px solid currentColor; border-radius: 999px;
  display: inline-flex; align-items: center; overflow: hidden; background: var(--cream);
  font-family: var(--f-body); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  transition: background .35s, color .35s;
}
.shop-btn:hover .pill, .shop-btn[aria-current="page"] .pill { background: var(--maroon); color: var(--cream); border-color: var(--maroon); }
.header-light .shop-btn .pill { color: var(--cream); background: transparent; }
.menu-open .shop-btn { visibility: hidden; }
@keyframes pr-bump { 0%, 100% { transform: none; } 30% { transform: scale(1.12) rotate(-3deg); } 60% { transform: scale(.96) rotate(2deg); } }
.cart-btn.is-bumped .cart-count { animation: pr-bump .6s var(--e-soft); }
@media (max-width: 640px) {
  /* phones: the menu is its round button alone, so Shop fits beside it */
  .menu-btn .pill { display: none; }
  .menu-btn .dot { width: 36px; height: 36px; }
  .shop-btn .pill { height: 36px; padding: 0 12px; }
}

/* ---------- Shop page ---------- */
/* The name as big as a product's name on its page (pdLayout in site.js: a two-line name's
   letters, .562 of the screen's height across its cap and line, or the width it fits) */
.shop-head { padding-top: calc(env(safe-area-inset-top, 0px) + clamp(96px, 9vw, 130px)); text-align: center; }
.shop-title { color: #E94E1B; line-height: .9; white-space: nowrap; font-size: min(61.8vw, 38.76vh); }
@supports (height: 1svh) { .shop-title { font-size: min(61.8vw, 38.76svh); } }
.shop-sub { max-width: 52ch; margin: clamp(12px, 1.4vw, 20px) auto 0; font-size: var(--t-med); line-height: 1.45; text-wrap: pretty; }
@media (max-width: 640px) {
  .shop-title { font-size: min(64.7vw, 21.24vh); }
  @supports (height: 1svh) { .shop-title { font-size: min(64.7vw, 21.24svh); } }
}
.shop-sec { padding-block: var(--space-l) 0; scroll-margin-top: 70px; }
.shop-head + .shop-sec { padding-top: clamp(32px, 4vw, 56px); }
.shop-sec:last-child { padding-bottom: var(--space-xl); }
/* the section names smaller than the shop's own, so the first cards show near the top */
.sec-head { display: grid; justify-items: center; text-align: center; gap: 12px; margin-bottom: clamp(24px, 3vw, 44px); }
.sec-head .section-title { margin: 0; font-size: clamp(2.6rem, 1rem + 5vw, 6.5rem); }
.sec-head p { margin: 0; max-width: 60ch; font-size: var(--t-med); line-height: 1.45; text-wrap: pretty; }
.sec-head a { color: var(--orange-ink); }

.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.shop-grid.one { grid-template-columns: minmax(0, 440px); justify-content: center; }
.shop-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--card); min-width: 0; }
.sc-media {
  position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden;
  background-color: var(--pk-bg, var(--card)); background-repeat: repeat-x; background-size: auto 100%; background-position: center;
}
.sc-media .jar { position: absolute; left: 50%; bottom: 7%; height: 84%; width: auto; transform: translateX(-50%) rotate(-2deg); transform-origin: 50% 80%; transition: transform .9s var(--e-soft); filter: drop-shadow(0 14px 18px rgba(30, 14, 17, .22)); }
.sc-media:hover .jar { transform: translateX(-50%) scale(1.05) rotate(3deg); }
.sc-body { padding: clamp(16px, 1.6vw, 22px); display: grid; gap: 12px; align-content: start; }
.sc-name { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: .95; color: var(--orange-ink); text-wrap: balance; }
.sc-name a { text-decoration: none; }
.sc-name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.sc-note { margin: 0; font-size: .9rem; line-height: 1.4; }
.sc-soon { margin: 0; font-weight: 700; }
.quick { display: grid; gap: 12px; margin-top: 4px; }
.q-sizes { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.chip { position: relative; cursor: pointer; min-width: 0; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip > span { display: grid; gap: 1px; justify-items: center; padding: 8px 4px; border: 1.5px solid var(--maroon); border-radius: 12px; text-align: center; font-size: .78rem; line-height: 1.25; transition: background .25s, color .25s; }
.chip b { font-size: .95rem; }
.chip-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.chip input:checked + span { background: var(--maroon); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--orange-ink); outline-offset: 2px; }
.q-act { display: flex; gap: 10px; align-items: center; }
.q-act .stepper.small { height: 44px; flex: none; }
.q-act .stepper.small input { width: 34px; }
.q-add { flex: 1; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--orange-ink); color: var(--cream); font-weight: 700; font-variant-numeric: tabular-nums; transition: background .3s; }
.q-add:hover { background: var(--maroon); }
.q-add[disabled] { opacity: .45; cursor: not-allowed; }
.q-note { margin: 0; font-size: .85rem; font-weight: 700; color: var(--orange-ink); }
.q-note:empty { display: none; }

/* gift boxes */
.box-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.box-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--box, var(--card)); min-width: 0; }
.bc-media { aspect-ratio: 4 / 3; display: grid; place-items: end center; padding: 4% 4% 0; }
.bc-media img { width: 100%; height: auto; }
.bc-body { padding: clamp(16px, 1.6vw, 22px); display: grid; gap: 12px; align-content: start; }
.bc-name { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: .95; color: var(--orange-ink); }
.bc-lede { margin: 0; font-size: .95rem; line-height: 1.4; }
.bc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(109, 43, 50, .25); font-size: .88rem; }
.bc-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(109, 43, 50, .15); }
.bc-list li span { white-space: nowrap; opacity: .8; }
.bc-act { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-act .q-add { flex: 1 1 auto; }
.gift-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--maroon); border-radius: 999px; font-weight: 700; transition: background .3s, color .3s; }
.gift-btn:hover { background: var(--maroon); color: var(--cream); }
.gift-btn[disabled] { opacity: .45; cursor: not-allowed; background: none; color: inherit; }
.gift-ico { flex: none; }

/* build your own box */
.builder {
  margin-top: var(--gap); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 64px); row-gap: 20px;
  padding: clamp(20px, 3vw, 44px); border-radius: var(--radius); background: var(--card);
}
.bd-intro { grid-row: 1 / span 2; align-self: start; display: grid; gap: 14px; }
.bd-intro p { margin: 0; font-size: var(--t-med); line-height: 1.45; max-width: 36ch; }
.bd-title { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); line-height: .95; color: var(--orange-ink); }
.bd-slots { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 360px; }
.bd-slots li { aspect-ratio: 661 / 900; border: 1.5px dashed rgba(109, 43, 50, .4); border-radius: 12px; display: grid; place-items: end center; overflow: hidden; transition: border-color .3s, background .3s; }
.bd-slots li.is-full { border-style: solid; border-color: transparent; background: rgba(251, 243, 236, .7); }
.bd-slots img { width: 100%; height: auto; animation: pr-drop .45s var(--e-soft); }
@keyframes pr-drop { from { transform: translateY(-14%); opacity: 0; } to { transform: none; opacity: 1; } }
.bd-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(109, 43, 50, .25); }
.bd-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(109, 43, 50, .15); }
.bd-item.is-in .bd-name { color: var(--orange-ink); }
.bd-jar { width: 40px; height: auto; }
.bd-main { display: grid; gap: 4px; min-width: 0; }
.bd-name { font-weight: 700; }
.bd-main select {
  justify-self: start; max-width: 100%; min-width: 0; font: inherit; font-size: 16px; color: inherit; padding: 4px 30px 4px 10px; border: 1.2px solid rgba(109, 43, 50, .45); border-radius: 10px; appearance: none;
  background: rgba(255, 255, 255, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236D2B32' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 10px center;
  text-overflow: ellipsis;
}
.bd-foot { grid-column: 2; display: grid; gap: 12px; }
.bd-sum { margin: 0; display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
@media (max-width: 1024px) {
  .shop-grid, .box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .builder { grid-template-columns: 1fr; }
  .bd-intro { grid-row: auto; }
  .bd-foot { grid-column: 1; }
  .bd-slots { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 420px; }
}
@media (max-width: 640px) {
  .shop-grid, .box-grid { grid-template-columns: minmax(0, 1fr); }
  /* phones: the jar beside the name, sizes and Add under them */
  .shop-card { grid-template-rows: none; grid-template-columns: 36% minmax(0, 1fr); }
  .sc-media { aspect-ratio: auto; min-height: 100%; }
  .sc-media .jar { height: auto; width: 82%; bottom: 50%; transform: translate(-50%, 50%) rotate(-2deg); }
  .sc-media:hover .jar { transform: translate(-50%, 50%) rotate(-2deg); }
  .sc-body { padding: 14px; gap: 10px; }
  .chip > span { padding: 7px 2px; font-size: .74rem; }
  .q-act { flex-wrap: wrap; }
  .q-act .q-add { flex: 1 1 100%; }
  .bd-slots { gap: 6px; }
  /* the name and how many on one line, the jar size under them at full width */
  .bd-item { grid-template-columns: 40px minmax(0, 1fr) auto; row-gap: 6px; }
  .bd-main { display: contents; }
  .bd-jar { grid-row: 1 / span 2; }
  .bd-name { grid-column: 2; grid-row: 1; }
  .bd-item > .stepper { grid-column: 3; grid-row: 1; }
  .bd-main select { grid-column: 2 / span 2; grid-row: 2; width: 100%; }
}

/* ---------- Cart: boxes and Send as a gift ---------- */
.cart-line.is-box img { width: 64px; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.cart-body { display: flex; flex-direction: column; }
.gift { margin-top: 14px; padding: 18px 0 16px; border-top: 1px solid rgba(109, 43, 50, .25); display: grid; gap: 16px; }
.gift-toggle { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 700; font-size: 1.02rem; }
.gift-toggle input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange-ink); }
.gift-toggle small { display: block; margin-top: 2px; font-weight: 400; font-size: .85rem; opacity: .85; }
.gift-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.gift-fields > .wa-field, .gift-fields > .cart-small { grid-column: 1 / -1; }
.gift-fields > .gift-phone, .gift-fields > .gift-postal { grid-column: auto; }
.gift-fields .gift-phone { grid-row: 2; grid-column: 1; }
.gift-fields .gift-postal { grid-row: 2; grid-column: 2; }
.gift-fields .gift-name { grid-row: 1; }
.gift-fields .gift-address { grid-row: 3; }
.gift-fields .gift-message { grid-row: 4; }
.gift-fields :is(input, textarea), .wa-gift :is(input, textarea) {
  width: 100%; min-width: 0; font: inherit; font-size: max(16px, 1rem); color: inherit; background: rgba(255, 255, 255, .55);
  border: 1.5px solid rgba(109, 43, 50, .45); border-radius: 12px; padding: 10px 12px; transition: border-color .2s;
}
.gift-fields textarea { resize: vertical; }
.gift-fields :is(input, textarea):focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(233, 162, 59, .45); }
.gift-fields [aria-invalid="true"] { border-color: var(--orange-ink); box-shadow: 0 0 0 3px rgba(216, 89, 48, .25); }
.gift-fields ::placeholder { color: inherit; opacity: .5; }
.wa-gift { display: grid; gap: 22px; }
.wa-form .gift-toggle { margin: -6px 0; }

/* ---------- Product buy box in the packaging's colours ---------- */
/* The label colour with the label's own pattern laid across it (tools/make_patterns.py), the
   choices filled in the label's ink, text in whichever of ink, maroon or cream reads on both
   (pack() in tools/build.py). The reference: the Besan box on its pink flowers, green controls. */
.buy.is-pack {
  background-color: var(--pk-bg); background-repeat: repeat-x; background-size: auto 100%; background-position: center;
  color: var(--pk-text);
}
.buy.is-pack .label, .buy.is-pack .buy-note, .buy.is-pack .buy-small, .buy.is-pack .buy-small a, .buy.is-pack .plan-note a, .buy.is-pack a:not(.wa-green):not(.outline-btn) { color: var(--pk-text); }
.buy.is-pack .size > span { border: 2px solid var(--pk-fill); background: var(--pk-bg); color: var(--pk-text); }
.buy.is-pack .jar-icon { color: var(--pk-fill); }
.buy.is-pack .size input:checked + span { background: var(--pk-fill); color: var(--pk-on); box-shadow: 0 0 0 3px var(--pk-bg), 0 0 0 5px var(--pk-fill); }
.buy.is-pack .size input:checked + span .jar-icon { color: var(--pk-on); }
.buy.is-pack .size input:focus-visible + span { outline: 3px solid var(--pk-text); outline-offset: 6px; }
.buy.is-pack .stepper { background: var(--pk-fill); color: var(--pk-on); border-color: var(--pk-fill); }
.buy.is-pack .buy-btn { background: var(--pk-fill); color: var(--pk-on); }
.buy.is-pack .buy-btn:hover { background: var(--pk-fill); filter: brightness(.9) saturate(1.1); }
.buy.is-pack .outline-btn { border-color: var(--pk-text); }
.buy.is-pack .outline-btn:hover { background: var(--pk-fill); color: var(--pk-on); border-color: var(--pk-fill); }
.buy.is-pack :focus-visible { outline-color: var(--pk-text); box-shadow: none; }
.buy.is-pack .buy-small { opacity: 1; }

/* ---------- Order on WhatsApp: green, with the WhatsApp glyph (Sudhir's reference) ---------- */
/* #437F38 is the reference's green deepened so white text reads on it (4.9:1) */
.wa-green {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px 0 18px;
  border-radius: 999px; background: #437F38; color: #FFFFFF; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
  transition: background .3s;
}
.wa-green:hover, .wa-green:focus-visible { background: #356A2C; color: #FFFFFF; }
.wa-green .wa-ico { flex: none; width: 24px; height: 24px; }
.buy .wa-green { justify-self: start; }
.footer .cols a.f-wa-btn.wa-green { background: #437F38; color: #FFFFFF; text-transform: none; letter-spacing: 0; font-size: 1rem; padding: 0 24px 0 18px; }
.footer .cols a.f-wa-btn.wa-green:hover { background: #356A2C; color: #FFFFFF; }
.mini-footer .wa-mini.wa-green { flex-basis: auto; min-height: 44px; padding: 0 18px 0 14px; font-size: .9rem; color: #FFFFFF; text-decoration: none; }
.mini-footer .wa-mini.wa-green .wa-ico { width: 20px; height: 20px; }
.home ~ .mini-footer .wa-mini.wa-green { color: #FFFFFF; }
@media (max-width: 640px) { .buy .wa-green { justify-self: stretch; } }

/* ---------- A page of the owner's own (admin panel, Pages) ---------- */
.legal h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 6px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 4px; }
.page-custom > p + p, .page-custom > ul + p, .page-custom > p + ul { margin-top: 14px; }
.c-figure { margin: clamp(24px, 3vw, 36px) 0; }
.c-figure img { display: block; width: 100%; height: auto; border-radius: 18px; }
.c-lead { margin-top: 0; }
