/* ==========================================================================
   Apna Masala — design system
   Palette comes from the logo (maroon) and the packaging (terracotta,
   turmeric, olive, cream). One stylesheet, mobile-first, 320px → 4K.
   ========================================================================== */

:root {
  --cream: #fbf4e6;
  --paper: #fffaf0;
  --sand: #f2e6cc;
  --maroon: #8c2a22;
  --maroon-d: #5f1a15;
  --maroon-dd: #3a0f0c;
  --ink: #2b1a14;
  --ink-2: #5d463c;
  --ink-3: #85705f;
  --line: rgba(43, 26, 20, .13);
  --gold: #e0a21b;
  --gold-l: #f3c95f;
  --olive: #66782f;
  --forest: #2f5d3a;
  --wa: #128c4a;
  --wa-d: #0c6e3a;
  --accent: var(--maroon);
  --accent-d: var(--maroon-d);
  --tint: #f6dccf;

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --deva: 'Noto Sans Devanagari', 'Inter', sans-serif;

  --gut: clamp(16px, 4.5vw, 48px);
  --nav-h: 68px;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
  --shadow-s: 0 2px 10px -4px rgba(60, 20, 10, .18);
  --shadow-m: 0 18px 40px -22px rgba(60, 20, 10, .45);
  --shadow-l: 0 40px 80px -36px rgba(60, 20, 10, .55);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);

  --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%238c2a22' stroke-width='1.2'%3E%3Cpath d='M24 4l20 20-20 20L4 24z'/%3E%3Cpath d='M24 14l10 10-10 10-10-10z'/%3E%3C/g%3E%3Ccircle cx='24' cy='24' r='2.2' fill='%238c2a22'/%3E%3C/svg%3E");
  --pat-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23f3c95f' stroke-width='1.2'%3E%3Cpath d='M24 4l20 20-20 20L4 24z'/%3E%3Cpath d='M24 14l10 10-10 10-10-10z'/%3E%3C/g%3E%3Ccircle cx='24' cy='24' r='2.2' fill='%23f3c95f'/%3E%3C/svg%3E");
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); overflow-x: clip; }
body {
  font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--ink);
  background: var(--cream); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 1.5rem + 4.6vw, 5rem); letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p { text-wrap: pretty; }
em { font-style: normal; color: var(--maroon); background: linear-gradient(transparent 68%, rgba(224, 162, 27, .38) 68%, rgba(224, 162, 27, .38) 92%, transparent 92%); padding-inline: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-l); color: var(--maroon-dd); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 400; background: var(--maroon); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(1220px, 100% - 2 * var(--gut)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gut)); }
.noscript { background: var(--gold-l); color: var(--maroon-dd); text-align: center; padding: 10px 16px; font-size: .9rem; position: relative; z-index: 2; }
.hindi { font-family: var(--deva); font-weight: 700; color: var(--accent); font-size: 1.05rem; line-height: 1.2; }
.hindi--lg { font-size: 1.35rem; display: block; margin-bottom: 6px; }
#progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--maroon), var(--gold)); z-index: 300; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--maroon); --b-fg: #fff; --b-bd: transparent; --b-hv: var(--maroon-d);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; font-weight: 600; font-size: .97rem; line-height: 1.2; text-align: center;
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd); position: relative; isolation: isolate;
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 10px 22px -14px rgba(60, 20, 10, .7);
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { background: var(--b-hv); transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(60, 20, 10, .7); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { --b-bg: var(--maroon); --b-hv: var(--maroon-d); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--maroon); --b-bd: var(--maroon); --b-hv: var(--maroon); box-shadow: none; }
.btn--ghost:hover { color: #fff; }
.btn--wa { --b-bg: var(--wa); --b-hv: var(--wa-d); }
.btn--wa-outline { --b-bg: transparent; --b-fg: var(--wa-d); --b-bd: var(--wa); --b-hv: var(--wa); box-shadow: none; }
.btn--wa-outline:hover { color: #fff; }
.btn--cream { --b-bg: var(--cream); --b-fg: var(--maroon-d); --b-hv: #fff; }
.btn--outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .6); --b-hv: rgba(255, 255, 255, .14); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .88rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn.is-added { --b-bg: var(--forest); --b-hv: var(--forest); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform .3s var(--ease), background .2s; position: relative; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { transform: translateY(-2px); background: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row--center { justify-content: center; }

/* ---------- small atoms ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255, 250, 240, .8); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); backdrop-filter: blur(6px); margin-bottom: 22px; max-width: 100%; }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px rgba(47, 93, 58, .18); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(47, 93, 58, 0); } }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--forest); letter-spacing: .02em; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: var(--ink-2); max-width: 56ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .76rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--tint); color: var(--accent-d); }
.chips--lg li { font-size: .9rem; padding: 7px 16px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.tiny { font-size: .85rem; color: var(--ink-3); margin-top: 14px; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.left { transform: translateX(-34px); }
.js .rv.right { transform: translateX(34px); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 120; height: var(--nav-h); display: flex; align-items: center; transition: height .3s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(251, 244, 230, .88); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.nav.scrolled::before, body.menu-open .nav::before { opacity: 1; }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; transition: height .3s var(--ease); }
.nav.scrolled .logo img { height: 40px; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links > a { position: relative; padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: .93rem; color: var(--ink); transition: background .25s, color .25s; }
.nav__links > a:hover { background: rgba(140, 42, 36, .08); }
.nav__links > a.is-active { color: var(--maroon); font-weight: 600; }
.nav__links > a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; margin-left: -9px; background: var(--gold); border-radius: 2px; }
.nav__sheet-cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn .badge { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 99px; background: var(--maroon); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--ease); border: 2px solid var(--cream); }
.cart-btn .badge.on { transform: scale(1); }
.cart-btn .badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.scrim { position: fixed; inset: 0; background: rgba(43, 26, 20, .45); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 110; }

@media (max-width: 1039.98px) {
  .burger { display: flex; }
  .nav__cta { display: none; }
  .scrim.on { opacity: 1; visibility: visible; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) calc(24px + var(--safe-b));
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(60, 20, 10, .5);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility .35s; z-index: 115;
  }
  .nav__links.open { transform: none; opacity: 1; visibility: visible; }
  .nav__links > a { padding: 16px 6px; border-radius: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 600; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(8px); }
  .nav__links.open > a { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background .25s; }
  .nav__links.open > a:nth-child(2) { transition-delay: .04s; } .nav__links.open > a:nth-child(3) { transition-delay: .08s; }
  .nav__links.open > a:nth-child(4) { transition-delay: .12s; } .nav__links.open > a:nth-child(5) { transition-delay: .16s; } .nav__links.open > a:nth-child(6) { transition-delay: .2s; }
  .nav__links > a.is-active::after { left: 6px; bottom: auto; top: 50%; margin: -1px 0 0; width: 0; }
  .nav__links > a.is-active { color: var(--maroon); }
  .nav__links > a.is-active::before { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold); }
  .nav__sheet-cta { display: grid; gap: 10px; padding-top: 20px; }
}
@media (min-width: 1040px) { :root { --nav-h: 76px; } }

/* ---------- hero ---------- */
.hero, .phero, .nf { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, var(--paper), var(--cream)); }
.hero { padding: calc(var(--nav-h) + clamp(20px, 5vw, 56px)) 0 clamp(48px, 7vw, 88px); transition: --tint .6s; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 85% 35%, var(--tint) 0%, transparent 70%), radial-gradient(40% 40% at 5% 95%, rgba(224, 162, 27, .16), transparent 70%); transition: background .8s; }
.hero__sun { position: absolute; width: clamp(280px, 48vw, 640px); aspect-ratio: 1; right: -8%; top: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--accent), var(--accent-d)); opacity: .12; transition: background .8s; }
.hero__pattern { position: absolute; inset: 0; background: var(--pat) 0 0/48px; opacity: .06; -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%); mask-image: linear-gradient(120deg, transparent 30%, #000 100%); }
.hero__grid { display: grid; gap: clamp(28px, 6vw, 48px); align-items: center; }
.hero__copy h1 { margin-bottom: 20px; }
.hero__copy .lead { margin-bottom: 28px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 40px); margin-top: clamp(28px, 5vw, 44px); padding-top: 24px; border-top: 1px solid var(--line); }
.hero__stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.hero__stats dd { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); color: var(--maroon); line-height: 1; }
.hero__stats dt { font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.hero__stage { position: relative; width: min(100%, 460px); margin-inline: auto; padding-bottom: 0; }
.hero__arch { position: relative; aspect-ratio: 3/4; border-radius: min(220px, 48%) min(220px, 48%) 28px 28px; overflow: hidden; background: var(--tint); box-shadow: var(--shadow-l); border: 6px solid var(--paper); outline: 1px solid var(--line); transition: background .6s; }
.hslide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.hslide.is-active { opacity: 1; transform: none; }
.hslide__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%); transform: translateX(-100%); animation: shine 7s 1.5s infinite; pointer-events: none; }
@keyframes shine { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.hero__card { position: absolute; left: -6px; bottom: 98px; display: grid; gap: 1px; padding: 14px 16px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-m); max-width: 232px; animation: float 6s ease-in-out infinite; }
.hero__card b { font-family: var(--display); font-size: 1.1rem; line-height: 1.2; }
.hero__card small { color: var(--ink-2); font-size: .8rem; margin-bottom: 8px; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.htab { display: flex; align-items: center; gap: 8px; padding: 10px 10px; border-radius: 16px; background: rgba(255, 250, 240, .75); border: 1.5px solid var(--line); text-align: left; transition: border-color .25s, background .25s, transform .3s var(--ease); min-width: 0; position: relative; overflow: hidden; }
.htab:hover { transform: translateY(-2px); }
.htab__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
.htab__t { display: grid; min-width: 0; line-height: 1.2; }
.htab__t b { font-size: .84rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htab__t small { font-family: var(--deva); font-size: .72rem; color: var(--ink-3); }
.htab.is-active { border-color: var(--accent); background: var(--paper); }
.htab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.htab.is-active::after { animation: tabfill var(--hero-t, 5.5s) linear forwards; }
[data-hero].is-paused .htab.is-active::after { animation-play-state: paused; }
[data-hero].no-auto .htab.is-active::after { animation: none; transform: scaleX(1); }
@keyframes tabfill { to { transform: scaleX(1); } }
.hero__scroll { display: none; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
  .hero__stage { margin-inline: 0 0; justify-self: end; }
  .hero__card { left: -48px; bottom: 100px; }
  .hero__scroll { display: block; position: absolute; left: 50%; bottom: 20px; width: 24px; height: 38px; margin-left: -12px; border: 2px solid rgba(43, 26, 20, .3); border-radius: 14px; }
  .hero__scroll i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--maroon); animation: scrolldot 2s infinite; }
  @keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 480px) { .hero__card { left: 8px; bottom: 90px; max-width: 200px; padding: 12px 14px; } .htab { padding: 9px 8px; gap: 6px; } .htab__dot { width: 9px; height: 9px; } .htab__t b { font-size: .78rem; } }
@media (max-width: 359px) { .htab__t small { display: none; } }

/* ---------- ticker ---------- */
.ticker { background: var(--maroon); color: var(--cream); overflow: hidden; position: relative; border-block: 3px double rgba(243, 201, 95, .45); }
.ticker__track { display: flex; width: max-content; align-items: center; gap: 28px; padding: 14px 0; animation: tick 38s linear infinite; font-family: var(--display); font-weight: 600; font-size: 1.1rem; white-space: nowrap; }
.ticker__track i { width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); flex: none; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.sec-head p { color: var(--ink-2); margin-top: 16px; font-size: 1.05rem; }
.sec-head--left { text-align: left; margin: 0; }
.sec-head--left .btn { margin-top: 22px; }
.sec-head--light h2, .sec-head--light p { color: var(--cream); }
.sec-head--light p { opacity: .85; }
.sec-head--light .eyebrow { color: var(--gold-l); }
.sec-head--light em { color: var(--gold-l); background: linear-gradient(transparent 68%, rgba(243, 201, 95, .25) 68%, rgba(243, 201, 95, .25) 92%, transparent 92%); }
.products { background: var(--cream); }
.why { background: var(--paper); }
.why::before { content: ""; position: absolute; inset: 0; background: var(--pat) 0 0/48px; opacity: .035; pointer-events: none; }
.why > .wrap { position: relative; }

/* products */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-bottom: clamp(24px, 4vw, 40px); }
.toolbar__l { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.segmented { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); position: relative; max-width: 100%; }
.segmented button { padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background .3s var(--ease), color .2s, box-shadow .3s; white-space: nowrap; }
.segmented button.is-sel { background: var(--maroon); color: #fff; box-shadow: 0 8px 16px -10px var(--maroon-dd); }
.pgrid { display: grid; gap: clamp(18px, 2.5vw, 30px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pgrid { grid-template-columns: repeat(3, 1fr); } .pgrid--two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; } }
.pgrid--two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .pgrid--two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; } }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 14px 14px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: box-shadow .4s var(--ease), border-color .3s, transform .35s var(--ease); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); will-change: transform; }
.pcard:hover { --ty: -6px; box-shadow: var(--shadow-l); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.pcard__media { position: relative; display: block; aspect-ratio: 4/5; border-radius: 140px 140px 20px 20px; overflow: hidden; background: var(--tint); }
.pcard__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transition: transform .8s var(--ease), opacity .25s; }
.pcard__img.switching { opacity: 0; transform: scale(1.04); }
.pcard:hover .pcard__img { transform: scale(1.04); }
.pack-badge { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(255, 250, 240, .94); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .02em; box-shadow: var(--shadow-s); white-space: nowrap; transition: background .3s, color .3s; backdrop-filter: blur(6px); }
.pack-badge.is-tin { background: var(--accent-d, var(--maroon-d)); color: #fff; }
.pcard__body { padding: 18px 8px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pcard__title { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); }
.pcard__title a:hover { color: var(--accent); }
.pcard__en { margin-top: -8px; font-size: .84rem; color: var(--ink-3); font-weight: 500; }
.pcard__desc { color: var(--ink-2); font-size: .95rem; }
.pcard__more { margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--accent-d); padding: 8px; border-radius: 10px; }
.pcard__more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.pcard__more:hover svg { transform: translateX(4px); }
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.size { position: relative; display: grid; gap: 1px; text-align: left; padding: 10px 14px; border-radius: 16px; background: transparent; border: 1.5px solid var(--line); transition: border-color .25s, background .25s, transform .25s var(--ease); min-width: 0; }
.size:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.size__g { font-weight: 700; font-size: .95rem; }
.size__f { font-size: .74rem; color: var(--ink-3); font-weight: 500; }
.size__p { font-family: var(--display); font-size: 1.05rem; color: var(--accent-d); margin-top: 2px; }
.size.is-sel { border-color: var(--accent); background: var(--tint); }
.size.is-sel::after { content: ""; position: absolute; right: 10px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { font-size: .78rem; color: var(--ink-3); font-weight: 500; }
.price b.tick { animation: tickp .35s var(--ease); }
@keyframes tickp { 40% { transform: translateY(-4px); color: var(--accent); } }
.qty { display: inline-flex; align-items: center; background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.qty button { width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; line-height: 1; display: grid; place-items: center; transition: background .2s, transform .2s; }
.qty button:hover { background: var(--sand); }
.qty button:active { transform: scale(.88); }
.qty output { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* trio + guide + bulk */
.trio { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 18px 28px; align-items: center; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-l); background: var(--sand); border: 1px solid var(--line); position: relative; overflow: hidden; }
.trio::after { content: ""; position: absolute; inset: 0; background: var(--pat) 0 0/48px; opacity: .05; pointer-events: none; }
.trio > * { position: relative; z-index: 1; }
.trio__ph-row { display: flex; }
.trio__ph { width: 74px; aspect-ratio: 3/4; border-radius: 40px 40px 10px 10px; overflow: hidden; border: 3px solid var(--sand); background: var(--tint); margin-left: -14px; box-shadow: var(--shadow-s); transition: transform .4s var(--ease); }
.trio__ph:first-child { margin-left: 0; }
.trio__ph img { width: 100%; height: 100%; object-fit: cover; }
.trio:hover .trio__ph:nth-child(1) { transform: rotate(-6deg) translateY(-4px); } .trio:hover .trio__ph:nth-child(3) { transform: rotate(6deg) translateY(-4px); } .trio:hover .trio__ph:nth-child(2) { transform: translateY(-8px); }
.trio__txt p { color: var(--ink-2); margin-top: 4px; font-size: .95rem; }
.trio__buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (min-width: 860px) { .trio { grid-template-columns: auto 1fr auto; } .trio__buy { justify-content: flex-end; } }
.guide { margin-top: clamp(40px, 6vw, 72px); }
.guide h3 { margin-bottom: 16px; text-align: center; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); overflow: hidden; box-shadow: var(--shadow-s); }
.ptable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ptable th, .ptable td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--sand); font-weight: 700; }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable tbody th a { display: inline-flex; flex-wrap: wrap; align-items: center; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.ptable tbody th small { display: block; width: 100%; padding-left: 18px; font-family: var(--sans); font-size: .76rem; color: var(--ink-3); font-weight: 500; }
.ptable tbody th a:hover { color: var(--maroon); }
.ptable td { font-weight: 600; font-variant-numeric: tabular-nums; }
.ptable td:last-child { font-weight: 400; color: var(--ink-2); text-transform: capitalize; }
@media (max-width: 639.98px) {
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptable, .ptable tbody, .ptable tr { display: block; }
  .ptable tbody tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable th, .ptable td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border: 0; text-align: right; }
  .ptable tbody th { padding-bottom: 8px; text-align: left; }
  .ptable td::before { content: attr(data-label); font-weight: 500; color: var(--ink-3); text-align: left; }
  .ptable td:last-child { text-transform: none; }
}
.bulk { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 18px; align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-l); background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.bulk::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.bulk > * { position: relative; }
.bulk h3 { color: #fff; margin-bottom: 6px; }
.bulk p { opacity: .88; max-width: 60ch; }
.bulk .btn--wa { --b-bg: #fff; --b-fg: var(--forest); --b-hv: var(--cream); }
@media (min-width: 860px) { .bulk { grid-template-columns: 1fr auto; } }

/* features */
.fgrid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 560px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .fgrid { grid-template-columns: repeat(4, 1fr); } }
.feat { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 32px); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: rgba(140, 42, 36, .3); }
.feat__ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--maroon); color: var(--gold-l); margin-bottom: 20px; transition: transform .5s var(--ease), border-radius .5s var(--ease); }
.feat:hover .feat__ico { transform: rotate(-6deg) scale(1.06); border-radius: 50%; }
.feat__ico svg { width: 34px; height: 34px; }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: .96rem; }

/* story */
.split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: .9fr 1.1fr; } }
.story h2 { margin-bottom: 20px; }
.story p { color: var(--ink-2); margin-bottom: 18px; }
.arch-fig { position: relative; width: min(100%, 500px); margin-inline: auto; }
.arch-fig::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 240px 240px 28px 28px; border: 2px solid var(--gold); z-index: 0; }
.arch-fig img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 240px 240px 28px 28px; box-shadow: var(--shadow-l); }
.arch-fig figcaption { position: relative; z-index: 2; margin: -22px auto 0; width: fit-content; max-width: 92%; padding: 10px 20px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-m); font-family: var(--display); font-weight: 600; font-size: .95rem; text-align: center; }
.checks { display: grid; gap: 12px; margin: 22px 0 28px; }
.checks li { position: relative; padding-left: 36px; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/13px no-repeat; }

/* impact */
.impact { background: linear-gradient(160deg, var(--maroon-d), var(--maroon-dd)); color: var(--cream); overflow: hidden; }
.impact__pattern { position: absolute; inset: 0; background: var(--pat-light) 0 0/48px; opacity: .06; }
.impact > .wrap { position: relative; }
.igrid { display: grid; gap: clamp(14px, 2vw, 24px); }
@media (min-width: 900px) { .igrid { grid-template-columns: repeat(3, 1fr); } }
.icard { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); background: rgba(255, 244, 222, .06); border: 1px solid rgba(243, 201, 95, .22); backdrop-filter: blur(4px); transition: transform .4s var(--ease), background .3s; }
.icard:hover { transform: translateY(-6px); background: rgba(255, 244, 222, .1); }
.icard__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--maroon-dd); margin-bottom: 20px; }
.icard__ico svg { width: 30px; height: 30px; }
.kicker { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 8px; }
.icard h3 { color: #fff; margin-bottom: 12px; }
.icard p { opacity: .86; font-size: .97rem; }
.icard p + p { margin-top: 12px; }
.icard strong { color: var(--gold-l); }
.honesty { font-size: .86rem !important; font-style: italic; opacity: .7 !important; padding-top: 12px; border-top: 1px dashed rgba(243, 201, 95, .3); }
.impact__bottom { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l); background: rgba(0, 0, 0, .22); border: 1px solid rgba(243, 201, 95, .18); }
.impact__bottom p { opacity: .92; }
.impact__bottom strong { color: var(--gold-l); }
@media (min-width: 860px) { .impact__bottom { grid-template-columns: 1fr auto; } }

/* steps */
.steps { display: grid; gap: clamp(14px, 2vw, 24px); counter-reset: s; position: relative; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 560px) and (max-width: 799.98px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
.how { background: var(--cream); }
.step { position: relative; padding: 28px 24px; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px; background: var(--maroon); color: var(--gold-l); font-family: var(--display); font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 6px rgba(140, 42, 36, .1); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .96rem; }
@media (min-width: 800px) { .steps:not(.steps--4) .step:not(:last-child)::after, .steps--4 .step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: calc(-1 * clamp(14px, 2vw, 24px) - 2px); width: clamp(14px, 2vw, 24px); border-top: 2px dashed var(--gold); } }

/* faq */
.faq { background: var(--sand); }
.faq__wrap { display: grid; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .faq__wrap { grid-template-columns: .8fr 1.2fr; } .faq__wrap .sec-head { position: sticky; top: calc(var(--nav-h) + 24px); } }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow-m); border-color: rgba(140, 42, 36, .3); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-weight: 600; font-size: 1.02rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c2a22' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq__item[open] summary::after { transform: rotate(135deg); background-color: var(--gold-l); }
.faq__a { padding: 0 22px 22px; color: var(--ink-2); animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }
.faq.why { background: var(--paper); }

/* visit + band */
.visit { padding-block: clamp(56px, 8vw, 96px) clamp(24px, 4vw, 40px); }
.visit__card { position: relative; overflow: hidden; border-radius: var(--r-l); background: linear-gradient(120deg, var(--paper), var(--tint)); border: 1px solid var(--line); padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; box-shadow: var(--shadow-m); }
.visit__txt { position: relative; z-index: 1; max-width: 560px; }
.visit__txt h2 { margin-bottom: 18px; }
.visit__addr { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; font-size: 1.05rem; }
.visit__addr svg { width: 28px; height: 28px; color: var(--maroon); flex: none; margin-top: 2px; }
.visit__art { position: absolute; right: clamp(-60px, -4vw, -20px); top: 50%; width: clamp(180px, 36vw, 380px); aspect-ratio: 1; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.visit__art i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--maroon); opacity: .35; animation: ripple 5s linear infinite; }
.visit__art i:nth-child(2) { animation-delay: 1.6s; } .visit__art i:nth-child(3) { animation-delay: 3.2s; }
@keyframes ripple { from { transform: scale(.2); opacity: .6; } to { transform: scale(1); opacity: 0; } }
.band-sec { padding-top: clamp(32px, 4vw, 48px); }
.band { text-align: center; padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px); border-radius: var(--r-l); position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--maroon), var(--maroon-dd)); box-shadow: var(--shadow-l); isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; background: var(--pat-light) 0 0/48px; opacity: .08; z-index: -1; }
.band h2 { color: #fff; margin-bottom: 14px; }
.band p { max-width: 54ch; margin: 0 auto 28px; opacity: .9; font-size: 1.05rem; }

/* ---------- footer ---------- */
.footer { background: #1d0e0b; color: rgba(255, 244, 222, .78); padding: clamp(48px, 7vw, 80px) 0 calc(24px + var(--safe-b)); position: relative; margin-top: 0; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 22px, var(--maroon) 22px 36px, transparent 36px 44px); opacity: .85; }
.footer__top { display: grid; gap: 36px 32px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand p { margin-top: 16px; max-width: 34ch; font-size: .95rem; }
.footer .logo img { height: 60px; }
.footer h4 { font-family: var(--sans); color: var(--gold-l); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.footer__sub { margin-top: 24px; }
.footer a:not(.logo) { display: block; padding: 5px 0; font-size: .95rem; color: rgba(255, 244, 222, .85); transition: color .2s, transform .25s var(--ease); width: fit-content; max-width: 100%; }
.footer a:not(.logo):hover { color: var(--gold-l); transform: translateX(4px); }
.footer p { font-size: .95rem; }
.footer strong { color: #fff; }
.footer__bot { margin-top: clamp(32px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255, 244, 222, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .86rem; color: rgba(255, 244, 222, .65); }

/* ---------- floating UI ---------- */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + var(--safe-b)); z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 26px -10px rgba(12, 110, 58, .75); transition: transform .3s var(--ease), background .2s; }
.fab svg { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.08) rotate(-6deg); background: var(--wa-d); }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ripple2 3s infinite; }
@keyframes ripple2 { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(86px + var(--safe-b)); z-index: 89; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-m); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.to-top svg { width: 20px; height: 20px; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--maroon); color: #fff; }
.cartbar { position: fixed; left: max(16px, env(safe-area-inset-left)); right: 88px; bottom: calc(16px + var(--safe-b)); z-index: 88; display: none; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; min-height: 58px; border-radius: 999px; background: var(--maroon-d); color: #fff; box-shadow: 0 18px 32px -14px rgba(58, 15, 12, .8); transform: translateY(140%); transition: transform .45s var(--ease); text-align: left; max-width: 420px; }
.cartbar.on { transform: none; }
.cartbar[hidden] { display: none !important; }
.cartbar__ico svg { width: 24px; height: 24px; }
.cartbar__txt { display: grid; line-height: 1.2; flex: 1; min-width: 0; }
.cartbar__txt b { font-size: .92rem; } .cartbar__txt small { color: var(--gold-l); font-weight: 600; font-size: .85rem; }
.cartbar__go { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--maroon-dd); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .86rem; white-space: nowrap; }
.cartbar__go svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .cartbar:not([hidden]) { display: flex; } }
@media (max-width: 380px) { .cartbar__go { padding: 10px 12px; } .cartbar__go svg { display: none; } }
.toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); transform: translate(-50%, 20px); z-index: 260; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-l); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); max-width: min(92vw, 420px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(43, 26, 20, .55); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.on { opacity: 1; visibility: visible; }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(43, 26, 20, .5); transform: translateX(105%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
.drawer.on { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.5rem; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px calc(18px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--cream); display: grid; gap: 10px; max-height: 62dvh; overflow-y: auto; }
.drawer__foot[hidden] { display: none; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.drawer__total b { font-family: var(--display); font-size: 1.8rem; font-weight: 800; }
.drawer__hint { font-size: .85rem; color: var(--ink-2); }
.drawer__note { font-size: .78rem; color: var(--ink-3); text-align: center; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); animation: fadeDown .35s var(--ease); }
.line__img { grid-row: span 2; width: 64px; aspect-ratio: 3/4; border-radius: 32px 32px 10px 10px; overflow: hidden; background: var(--tint); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info b { display: block; font-family: var(--display); font-size: 1.05rem; line-height: 1.2; }
.line__info small { color: var(--ink-3); font-size: .8rem; }
.line__amt { font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-align: right; }
.line__ctl { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.line .qty button { width: 32px; height: 32px; font-size: 1.1rem; }
.line .rm { font-size: .82rem; font-weight: 600; color: var(--maroon); padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
.empty { text-align: center; padding: 56px 12px; color: var(--ink-2); display: grid; gap: 16px; justify-items: center; }
.empty svg { width: 104px; height: 104px; color: var(--maroon); }
.empty .btn { margin-top: 6px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; min-height: 50px; appearance: none; -webkit-appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d463c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #a99a8b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(140, 42, 36, .14); }
.field .err, .field [aria-invalid="true"] { border-color: #c0301f; background: #fff7f5; }
.field__err { font-size: .8rem; color: #b32414; font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }
.form-wrap { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .form-wrap { grid-template-columns: .85fr 1.15fr; } }
.apply h2 { margin-bottom: 16px; }
.apply p { color: var(--ink-2); }
.apply .checks { margin-bottom: 0; }
.form { display: grid; gap: 16px; padding: clamp(20px, 4vw, 36px); border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-m); }
.form .two { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form .two { grid-template-columns: 1fr 1fr; } }

/* ---------- distributor hero ---------- */
.phero { padding: calc(var(--nav-h) + clamp(24px, 5vw, 64px)) 0 clamp(48px, 7vw, 88px); }
.phero__grid { display: grid; gap: clamp(28px, 5vw, 48px); align-items: center; }
.phero__copy h1 { margin-bottom: 18px; }
.phero__copy .lead { margin-bottom: 28px; }
.phero__art { display: flex; justify-content: center; align-items: flex-end; padding-inline: 10px; }
.phero__pk { width: clamp(88px, 26vw, 150px); aspect-ratio: 3/4; border-radius: 80px 80px 14px 14px; overflow: hidden; border: 4px solid var(--paper); box-shadow: var(--shadow-m); margin-inline: -8px; background: var(--tint); transition: transform .5s var(--ease); }
.phero__pk img { width: 100%; height: 100%; object-fit: cover; }
.phero__pk:nth-child(1) { transform: rotate(-5deg) translateY(8px); } .phero__pk:nth-child(2) { transform: translateY(-14px); z-index: 2; width: clamp(100px, 30vw, 172px); } .phero__pk:nth-child(3) { transform: rotate(5deg) translateY(8px); }
.phero__art:hover .phero__pk { transform: none; }
@media (min-width: 900px) { .phero__grid { grid-template-columns: 1.15fr .85fr; } .phero__art { justify-content: flex-end; } }

/* ---------- product detail page ---------- */
.pdp { position: relative; isolation: isolate; padding: calc(var(--nav-h) + 18px) 0 clamp(48px, 7vw, 88px); background: var(--paper); overflow: hidden; }
.pdp__bg { position: absolute; z-index: -1; inset: 0; background: radial-gradient(55% 60% at 80% 30%, var(--tint), transparent 70%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .84rem; color: var(--ink-3); margin-bottom: clamp(16px, 3vw, 28px); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .5; }
.crumbs a:hover { color: var(--maroon); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.pdp__grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .pdp__grid { grid-template-columns: 1fr 1fr; } .gallery { position: sticky; top: calc(var(--nav-h) + 24px); } }
.gallery { width: min(100%, 540px); margin-inline: auto; }
.gallery__main { position: relative; aspect-ratio: 4/5; border-radius: min(240px, 46%) min(240px, 46%) 28px 28px; overflow: hidden; background: var(--tint); box-shadow: var(--shadow-l); border: 6px solid var(--paper); outline: 1px solid var(--line); }
.gallery__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transition: opacity .25s, transform .6s var(--ease); cursor: zoom-in; }
.gallery__img.switching { opacity: 0; transform: scale(1.04); }
.gallery__zoom { position: absolute; right: 14px; top: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 250, 240, .92); display: grid; place-items: center; box-shadow: var(--shadow-s); transition: transform .3s var(--ease); }
.gallery__zoom svg { width: 20px; height: 20px; }
.gallery__zoom:hover { transform: scale(1.1); }
.gallery__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.gthumb { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 18px; border: 1.5px solid var(--line); background: rgba(255, 250, 240, .7); text-align: left; transition: border-color .25s, background .25s; min-width: 0; }
.gthumb img { width: 48px; height: 64px; object-fit: cover; border-radius: 24px 24px 8px 8px; flex: none; background: var(--tint); }
.gthumb span { font-size: .84rem; font-weight: 600; line-height: 1.25; }
.gthumb.is-active { border-color: var(--accent); background: var(--tint); }
.pdp__info h1 { font-size: clamp(2.2rem, 1.5rem + 3.2vw, 3.8rem); }
.pdp__en { margin-top: 10px; color: var(--ink-2); font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.pdp__tag { margin-top: 18px; font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--accent-d); }
.pdp__desc { margin-top: 10px; color: var(--ink-2); max-width: 54ch; }
.pdp__buybox { margin-top: 26px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-l); background: var(--cream); border: 1px solid var(--line); display: grid; gap: 16px; box-shadow: var(--shadow-s); }
.pdp__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: -6px; }
.buy--lg .price b { font-size: 2.4rem; }
.pdp__note { font-size: .88rem; color: var(--ink-2); text-align: center; }
.pdp__note a { color: var(--wa-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mini-list { margin-top: 22px; display: grid; gap: 10px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.mini-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--forest); color: #fff; flex: none; margin-top: 1px; }
.pdp-detail { background: var(--cream); }
.pdp-detail__grid { display: grid; gap: clamp(32px, 6vw, 72px); }
@media (min-width: 900px) { .pdp-detail__grid { grid-template-columns: 1.1fr .9fr; } }
.pdp-detail h2 { margin-bottom: 18px; }
.pdp-detail p { color: var(--ink-2); }
.h-sm { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 24px 0 12px; }
.tip { margin-top: 24px; padding: 18px 20px; border-radius: var(--r-m); background: var(--tint); border-left: 5px solid var(--accent); }
.tip b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 4px; }
.tip p { color: var(--ink); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare__col { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 18px 12px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); }
.compare__col img { width: 96px; aspect-ratio: 3/4; object-fit: cover; border-radius: 48px 48px 10px 10px; background: var(--tint); margin-bottom: 6px; }
.compare__col .price b { font-size: 1.5rem; }
.compare__col small { font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.related { background: var(--paper); }
.pcard--mini { flex-direction: row; gap: 14px; padding: 12px; align-items: stretch; }
.pcard--mini .pcard__media { width: 40%; aspect-ratio: 3/4; border-radius: 80px 80px 14px 14px; flex: none; }
.pcard--mini .pcard__body { padding: 6px 4px; justify-content: center; }
.pcard--mini .pcard__title { font-size: 1.3rem; }
.pcard--mini .pcard__desc { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mini-buy .price b { font-size: 1.4rem; }
@media (max-width: 420px) { .pcard--mini { flex-direction: column; } .pcard--mini .pcard__media { width: 100%; aspect-ratio: 4/4.4; border-radius: 120px 120px 14px 14px; } }
.stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 12px var(--gut) calc(12px + var(--safe-b)); background: rgba(255, 250, 240, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -16px 30px -20px rgba(43, 26, 20, .5); transform: translateY(110%); transition: transform .4s var(--ease); }
.stickybuy.on { transform: none; }
.stickybuy__info { display: grid; line-height: 1.25; min-width: 0; }
.stickybuy__info b { font-family: var(--display); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybuy__info small { color: var(--ink-2); font-size: .8rem; }
@media (max-width: 899.98px) { .stickybuy { display: flex; } body.sticky-on .fab { bottom: calc(90px + var(--safe-b)); } body.sticky-on .to-top { bottom: calc(160px + var(--safe-b)); } body.sticky-on .cartbar { display: none !important; } body.sticky-on .toast { bottom: calc(100px + var(--safe-b)); } body.sticky-on .footer { padding-bottom: calc(96px + var(--safe-b)); } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100%; height: 100%; margin: 0; }
.lightbox::backdrop { background: rgba(20, 8, 5, .9); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox img { max-width: min(94vw, 900px); max-height: 90dvh; width: auto; height: auto; border-radius: 20px; box-shadow: var(--shadow-l); object-fit: contain; }
.lightbox__close { position: absolute; right: 16px; top: max(16px, env(safe-area-inset-top)); z-index: 2; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 24px) 0 64px; text-align: center; }
.nf__in { display: grid; justify-items: center; gap: 18px; }
.nf__code { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 24vw, 15rem); line-height: .85; color: var(--maroon); letter-spacing: -.04em; text-shadow: 6px 6px 0 var(--gold-l); }
.nf h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); max-width: 20ch; }
.nf__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; width: min(560px, 100%); }
.nf__card { display: grid; justify-items: center; gap: 2px; padding: 10px 8px 14px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .3s; min-width: 0; }
.nf__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.nf__card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 60px 60px 10px 10px; margin-bottom: 8px; }
.nf__card b { font-family: var(--display); font-size: .98rem; line-height: 1.2; } .nf__card small { color: var(--ink-3); font-size: .78rem; }

/* ---------- larger screens ---------- */
@media (min-width: 1600px) { html { font-size: 106.25%; } .wrap { width: min(1360px, 100% - 2 * var(--gut)); } }
@media (min-width: 2200px) { html { font-size: 125%; } }

/* ---------- very small screens ---------- */
@media (max-width: 359px) {
  .btn { padding-inline: 18px; } .btn--lg { padding-inline: 22px; }
  .size { padding: 10px; } .pcard { padding: 10px 10px 18px; } .pcard__body { padding-inline: 4px; }
  .price b { font-size: 1.6rem; } .qty button { width: 34px; height: 34px; }
  .segmented button { padding: 9px 12px; font-size: .84rem; }
  .pill { font-size: .76rem; }
}

/* ---------- print ---------- */
@media print { .nav, .fab, .to-top, .cartbar, .drawer, .overlay, .stickybuy, .ticker { display: none !important; } .rv { opacity: 1 !important; transform: none !important; } body { background: #fff; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .fab::after { display: none; }
}
@media (hover: none) { .pcard { transform: none !important; } .btn:hover { transform: none; } }

/* ---- showcase + enquiry mode (no prices, no cart) ---- */
.ptable td svg { width: 20px; height: 20px; color: var(--accent, #2f6b3a); vertical-align: middle; }
.trio__buy small { font-size: .9rem; color: var(--ink-3); font-weight: 600; }
.mini-buy .btn { flex: 1 1 auto; justify-content: center; }
.pcard [data-enquire], .pdp__buybox [data-enquire] { margin-top: 4px; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
@media (max-width: 640px) { .ptable td svg { margin-left: auto; } }
