/* =====================================================================
   Jai Durga Store — catalog stylesheet
   Brand palette: #883668  #A01B2C  #D50102  #F15623  #264E01
   ===================================================================== */

/* ------------------------------------------------------------ tokens */
:root {
  --plum:   #883668;
  --wine:   #A01B2C;
  --red:    #D50102;
  --orange: #F15623;
  --forest: #264E01;

  /* logo identity — Coin Piquant green & gold */
  --green:      #14472F;
  --green-deep: #0E3623;
  --gold:       #C9A227;
  --gold-light: #E7C765;

  --plum-soft:   #f6ecf3;
  --orange-soft: #fff0e8;

  --bg:        #fffaf6;
  --bg-alt:    #fdf2ea;
  --surface:   #ffffff;
  --surface-2: #fbf5f1;
  --ink:       #24161d;
  --ink-2:     #5d4a53;
  --ink-3:     #8d7c85;
  --line:      #efe2da;
  --line-2:    #e3d2c8;

  --grad-brand: linear-gradient(120deg, var(--plum) 0%, var(--wine) 45%, var(--red) 75%, var(--orange) 100%);
  --grad-hot:   linear-gradient(135deg, var(--red), var(--orange));
  --grad-deep:  linear-gradient(155deg, #16513a 0%, var(--green) 40%, var(--green-deep) 100%);
  --grad-gold:  linear-gradient(180deg, var(--gold-light), var(--gold));

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sh-1: 0 1px 2px rgba(36,22,29,.06), 0 2px 8px rgba(36,22,29,.05);
  --sh-2: 0 4px 12px rgba(36,22,29,.08), 0 12px 32px rgba(36,22,29,.08);
  --sh-3: 0 18px 50px rgba(136,54,104,.22);

  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 68px;

  --wrap: 1240px;
}

[data-theme='dark'] {
  --bg:        #140f12;
  --bg-alt:    #1b1418;
  --surface:   #1e1619;
  --surface-2: #261c21;
  --ink:       #f7eef2;
  --ink-2:     #c3b1ba;
  --ink-3:     #94818b;
  --line:      #33262c;
  --line-2:    #422f37;
  --plum-soft:   #2a1b25;
  --orange-soft: #2d1a14;
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 8px 28px rgba(0,0,0,.5);
  --sh-3: 0 18px 50px rgba(0,0,0,.6);
}

/* ------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 28px); } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

::selection { background: var(--orange); color: #fff; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 20px; border: 2px solid var(--bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--plum); }

/* ---------------------------------------------------------- buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 100px;
  font-weight: 700; font-size: 14.5px; letter-spacing: .01em;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.96); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--grad-hot); color: #fff; box-shadow: 0 6px 18px rgba(213,1,2,.28); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(213,1,2,.4); transform: translateY(-2px); }

.btn-plum { background: var(--plum); color: #fff; box-shadow: 0 6px 18px rgba(136,54,104,.3); }
.btn-plum:hover { background: #742c58; transform: translateY(-2px); }

.btn-wa { background: #1faa53; color: #fff; box-shadow: 0 6px 18px rgba(31,170,83,.32); }
.btn-wa:hover { background: #179044; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(31,170,83,.42); }

.btn-ghost { border: 1.5px solid var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); transform: translateY(-2px); }

.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ripple */
.ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.5); pointer-events: none;
  animation: ripple .6s linear;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ----------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(36,22,29,.06); }

.topbar {
  background: var(--grad-deep); color: var(--gold-light);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  border-bottom: 1px solid rgba(201,162,39,.35);
}
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 10px; height: 34px; overflow: hidden; }
.topbar-track { display: flex; align-items: center; gap: 34px; white-space: nowrap; animation: marquee 26s linear infinite; }
.topbar-track span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-in:hover .topbar-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.nav { display: flex; align-items: center; gap: 16px; height: var(--header-h); min-width: 0; }

/* The brand may shrink and truncate; the action buttons never may — otherwise
   a long brand name pushes them off the right edge of a phone screen. */
.brand { display: flex; align-items: center; gap: 11px; flex: 0 1 auto; min-width: 0; overflow: hidden; }
.brand > div { min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: var(--grad-deep);
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  display: grid; place-items: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700; font-size: 19px; letter-spacing: -.03em;
  box-shadow: 0 8px 22px rgba(20,71,47,.34);
  transition: transform .4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px; font-weight: 700; letter-spacing: .02em; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-name .pq { color: var(--gold); }
.brand-sub {
  font-size: 9.5px; color: var(--ink-3); font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-mark { flex: none; }

/* full logo lockup */
.logo-full { width: 100%; max-width: 300px; height: auto; display: block; }
.hero-logo { margin-bottom: 22px; filter: drop-shadow(0 14px 30px rgba(20,71,47,.28)); }

.nav-links { display: flex; gap: 4px; margin-left: 10px; }
.nav-links a {
  padding: 9px 14px; border-radius: 100px; font-size: 14px; font-weight: 700; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--plum-soft); color: var(--plum); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line);
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  position: relative; flex: none;
}
.icon-btn:hover { transform: translateY(-2px); color: var(--plum); border-color: var(--plum); }
.icon-btn svg { width: 19px; height: 19px; }

.cart-btn .badge {
  position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 100px; background: var(--red); color: #fff;
  font-size: 11.5px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--bg); transform: scale(0); transition: transform .3s var(--ease);
}
.cart-btn .badge.on { transform: scale(1); }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0%,100% { transform: scale(1);} 35% { transform: scale(1.18) rotate(-6deg);} }

.burger { display: none; }

/* ------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 60px 0 52px; }
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; z-index: 0;
  animation: float 16s ease-in-out infinite;
}
.hero::before {
  width: 460px; height: 460px; background: var(--plum); top: -180px; left: -140px;
  translate: 0 calc(var(--py, 0px) * 0.7);
}
.hero::after  {
  width: 420px; height: 420px; background: var(--orange); bottom: -200px; right: -120px; animation-delay: -8s;
  translate: 0 calc(var(--py, 0px) * -0.5);
}
[data-theme='dark'] .hero::before, [data-theme='dark'] .hero::after { opacity: .3; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-24px) scale(1.08); } }

.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 9px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line-2);
  font-size: 12.5px; font-weight: 700; color: var(--ink-2); box-shadow: var(--sh-1);
}
.pill b { color: var(--plum); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #1faa53; box-shadow: 0 0 0 4px rgba(31,170,83,.18); animation: pulse 2s infinite; }
.pill .dot.off { background: var(--ink-3); box-shadow: 0 0 0 4px rgba(141,124,133,.18); animation: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(31,170,83,.2);} 50% { box-shadow: 0 0 0 7px rgba(31,170,83,0);} }

.hero h1 { font-size: clamp(34px, 5.4vw, 62px); margin: 20px 0 16px; font-weight: 900; }
.hero h1 .grad {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead { font-size: 16.5px; color: var(--ink-2); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 24px; font-weight: 900; color: var(--plum); letter-spacing: -.03em; }
.hero-stats div span { font-size: 12.5px; color: var(--ink-3); font-weight: 700; }

/* hero collage */
.hero-art { position: relative; height: 420px; }
.hero-card {
  position: absolute; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--sh-2); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
  animation: bob 7s ease-in-out infinite;
}
.hero-card .em { font-size: 54px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.16)); }
.hero-card .cap {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  font-size: 12px; font-weight: 800; text-align: center; border-top: 1px solid var(--line);
}
.hc1 { width: 46%; height: 47%; top: 0; left: 4%; }
.hc2 { width: 44%; height: 40%; top: 8%; right: 0; animation-delay: -2.3s; }
.hc3 { width: 40%; height: 38%; bottom: 4%; left: 0; animation-delay: -4.6s; }
.hc4 { width: 48%; height: 44%; bottom: 0; right: 4%; animation-delay: -1.2s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-badge {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%,-50%) rotate(-7deg);
  background: var(--grad-hot); color: #fff; padding: 12px 20px; border-radius: 100px;
  font-weight: 900; font-size: 13px; box-shadow: 0 12px 34px rgba(213,1,2,.4); z-index: 3;
  text-align: center; line-height: 1.25;
}
.hero-badge small { display: block; font-size: 10.5px; opacity: .9; font-weight: 700; }

/* ------------------------------------------------------- info strip */
.strip { padding: 8px 0 44px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px; display: flex; gap: 13px; align-items: flex-start;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.strip-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--plum); }
.strip-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange); font-size: 20px;
}
.strip-card:nth-child(2) .strip-ico { background: var(--plum-soft); color: var(--plum); }
.strip-card:nth-child(3) .strip-ico { background: #e9f2e2; color: var(--forest); }
.strip-card:nth-child(4) .strip-ico { background: #fdeaec; color: var(--wine); }
[data-theme='dark'] .strip-card:nth-child(3) .strip-ico { background: #1c2617; }
[data-theme='dark'] .strip-card:nth-child(4) .strip-ico { background: #2b1519; }
.strip-card h4 { font-size: 14px; margin-bottom: 2px; }
.strip-card p { font-size: 12.8px; color: var(--ink-2); line-height: 1.45; }

/* ---------------------------------------------------------- section */
.section { padding: 54px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--grad-hot); border-radius: 2px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; max-width: 62ch; }

/* ------------------------------------------------------- categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); gap: 14px; }
.cat-grid > * { min-width: 0; }
.cat-card h3 { overflow-wrap: anywhere; }
.cat-card {
  position: relative; overflow: hidden; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.cat-card::after {
  content: ''; position: absolute; inset: auto -30% -60% auto; width: 130px; height: 130px;
  border-radius: 50%; background: var(--grad-brand); opacity: .1;
  transition: transform .45s var(--ease), opacity .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.cat-card:hover::after { transform: scale(2.4); opacity: .16; }
.cat-card .em { font-size: 34px; display: block; margin-bottom: 12px; transition: transform .35s var(--ease); }
.cat-card:hover .em { transform: scale(1.18) rotate(-7deg); }
.cat-card h3 { font-size: 16px; position: relative; z-index: 1; }
.cat-card small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); font-weight: 700; position: relative; z-index: 1; }

/* ------------------------------------------------------ catalog bar */
.toolbar {
  position: sticky; top: calc(var(--header-h) + 34px); z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 12px 0; margin-bottom: 22px; border-bottom: 1px solid var(--line);
}
.toolbar-in { display: flex; gap: 12px; align-items: center; }

.search {
  flex: 1; min-width: 0; position: relative;
}
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%; padding: 12px 40px 12px 44px; border-radius: 100px;
  background: var(--surface); border: 1.5px solid var(--line-2); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-color: var(--plum); box-shadow: 0 0 0 4px var(--plum-soft); }
.search .clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: none; place-items: center;
  color: var(--ink-3); background: var(--surface-2);
}
.search.filled .clear { display: grid; }

.select-wrap { position: relative; flex: none; }
.select-wrap select {
  appearance: none; -webkit-appearance: none;
  padding: 12px 38px 12px 16px; border-radius: 100px; background: var(--surface);
  border: 1.5px solid var(--line-2); outline: none; font-weight: 700; font-size: 14px; cursor: pointer;
}
.select-wrap select:focus { border-color: var(--plum); }
.select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

/* chips */
.chips { display: flex; gap: 9px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 9px 17px; border-radius: 100px; font-size: 13.5px; font-weight: 700;
  background: var(--surface); border: 1.5px solid var(--line-2); color: var(--ink-2);
  transition: all .22s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--plum); color: var(--plum); transform: translateY(-2px); }
.chip.active { background: var(--grad-hot); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(213,1,2,.28); }
.chip .n { opacity: .65; margin-left: 5px; font-size: 12px; }

/* sub-category chips (second row) */
.subchips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.subchips::-webkit-scrollbar { display: none; }
.subchips:empty { display: none; }
.subchip {
  flex: none; padding: 7px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 700;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
  transition: all .2s var(--ease); white-space: nowrap;
}
.subchip:hover { border-color: var(--green); color: var(--green); }
.subchip.active { background: var(--grad-deep); color: var(--gold-light); border-color: var(--gold); }
[data-theme='dark'] .subchip:hover { color: var(--gold-light); border-color: var(--gold); }

/* group heading inside the grid */
.group-head {
  grid-column: 1/-1; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin: 18px 0 2px; padding-bottom: 10px; border-bottom: 2px solid var(--line);
}
.group-head:first-child { margin-top: 0; }
.group-head h3 { font-size: 19px; display: flex; align-items: center; gap: 9px; }
.group-head .note { font-size: 12.5px; color: var(--ink-3); font-weight: 700; }
.group-head .n {
  margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--green);
  background: rgba(20,71,47,.09); padding: 4px 11px; border-radius: 100px;
}
[data-theme='dark'] .group-head .n { color: var(--gold-light); background: rgba(201,162,39,.14); }

/* -------------------------------------------------------- products */
/* minmax(0, …) rather than a bare 1fr: a grid track will not shrink below its
   content's min-content width, so one long product name would otherwise push
   the whole card past the edge of a narrow phone. */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 18px;
}
.grid > * { min-width: 0; }
.card-body { min-width: 0; }
.card-body h3, .card-cat { overflow-wrap: anywhere; }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  opacity: 0; transform: translateY(18px);
}
.card.in { opacity: 1; transform: none; }
.card:hover { transform: translateY(-7px); box-shadow: var(--sh-2); border-color: var(--line-2); }

.card-media {
  position: relative; aspect-ratio: 1/1; overflow: hidden; cursor: pointer;
  background: var(--surface);
  /* the photo sits inset rather than bleeding to the card edge — supplied
     shots have wildly different backgrounds (wood, grey, white) and a frame
     around each one makes the mix read as deliberate */
  padding: 10px;
  display: grid; place-items: center;
}
/* clips the hover zoom so it cannot spill into the padding */
.card-shot {
  display: block; width: 100%; height: 100%;
  border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.card:hover .card-media img { transform: scale(1.09); }
.card-media .em { font-size: 62px; transition: transform .45s var(--ease); filter: drop-shadow(0 10px 16px rgba(0,0,0,.14)); }
.card:hover .card-media .em { transform: scale(1.14) rotate(-6deg); }
.card-media .fade { position: absolute; inset: 0; background: var(--grad-brand); opacity: .07; }

.tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 5px 11px; border-radius: 100px; font-size: 10.5px; font-weight: 900;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad-hot);
  box-shadow: 0 4px 12px rgba(213,1,2,.3);
}
.tag.oos { background: #6b6b6b; box-shadow: none; }
.tag.best { background: var(--grad-gold); color: #3b2e05; box-shadow: 0 4px 12px rgba(201,162,39,.35); }
.code-chip {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink-2);
  border: 1px solid var(--line); padding: 4px 9px; border-radius: 100px;
  font-size: 10.5px; font-weight: 800; backdrop-filter: blur(6px);
}
.mini.nong { background: #e9f2e2; color: var(--forest); border-color: #cfe3c0; }
.mini.ind  { background: var(--plum-soft); color: var(--plum); }
.mini.msg  { background: var(--orange-soft); color: var(--orange); }
[data-theme='dark'] .mini.nong { background: #1c2617; color: #9ed17a; border-color: #2a3a22; }
.off {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--forest); color: #fff; padding: 5px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 900;
}

.quick {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 10px;
  display: flex; justify-content: center;
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.card:hover .quick { transform: none; }
.quick button {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--line-2); color: var(--ink);
  padding: 8px 16px; border-radius: 100px; font-size: 12.5px; font-weight: 800;
  backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: 6px;
}
.quick button:hover { background: var(--plum); color: #fff; border-color: var(--plum); }

.card-body { padding: 14px 15px 15px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.card-cat { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.card-body h3 { font-size: 15.5px; line-height: 1.25; }
.card-desc {
  font-size: 12.8px; color: var(--ink-2); line-height: 1.5; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }

/* Minimum packing — the headline spec for a bulk buyer, so it is never hidden */
.pack-line {
  display: flex; align-items: center; gap: 7px; margin-top: 9px;
  padding: 7px 10px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 12.4px; color: var(--ink-2); line-height: 1.35;
}
.pack-line b { color: var(--ink); font-weight: 800; }
@media (max-width: 640px) {
  .pack-line { font-size: 11.6px; padding: 6px 8px; gap: 5px; margin-top: 7px; }
}
.mini {
  font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 100px;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
}
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.price { font-size: 19px; font-weight: 900; color: var(--ink); letter-spacing: -.03em; }
.price small { font-size: 11.5px; font-weight: 700; color: var(--ink-3); letter-spacing: 0; }
.mrp { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }

/* stacked so the "Request a Quote" label always fits, at every card width */
.card-actions { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 13px; }
.card-actions .btn { padding: 10px 14px; font-size: 13px; }
.btn-quote {
  background: var(--forest); color: #fff;
  box-shadow: 0 4px 12px rgba(38,78,1,.22);
}
.btn-quote:hover { background: #1a3701; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(38,78,1,.32); }
.btn-quote svg { width: 15px; height: 15px; }

/* qty stepper inside card */
.stepper {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  background: var(--forest); border-radius: 100px; padding: 4px; color: #fff;
  animation: pop .28s var(--ease);
}
@keyframes pop { from { transform: scale(.9); opacity: .4; } to { transform: none; opacity: 1; } }
.stepper button { width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 18px; font-weight: 800; display: grid; place-items: center; transition: background .2s; }
.stepper button:hover { background: rgba(255,255,255,.2); }
.stepper span { font-weight: 800; font-size: 14.5px; min-width: 20px; text-align: center; }

/* skeletons */
.sk { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.sk .bar, .sk .box { background: linear-gradient(90deg, var(--surface-2) 25%, var(--bg-alt) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.sk .box { aspect-ratio: 1/1; }
.sk .bar { height: 11px; border-radius: 6px; margin: 12px 14px; }
.sk .bar.s { width: 45%; } .sk .bar.m { width: 78%; } .sk .bar.l { width: 92%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.empty { text-align: center; padding: 70px 20px; grid-column: 1/-1; }
.empty .em { font-size: 52px; }
.empty h3 { margin: 14px 0 6px; font-size: 20px; }
.empty p { color: var(--ink-2); font-size: 14px; margin-bottom: 18px; }

/* ---------------------------------------------------------- export */
.export { background: var(--grad-deep); color: #fff; border-radius: var(--r-xl); padding: 46px; position: relative; overflow: hidden; }
.export::after {
  content: '🌍'; position: absolute; right: -20px; bottom: -40px; font-size: 210px; opacity: .07; line-height: 1;
}
.export .eyebrow { color: var(--gold-light); }
.export h2 { font-size: clamp(24px, 3.4vw, 34px); color: #fff; }
.export p { color: #f3dfd2; margin-top: 12px; max-width: 60ch; font-size: 14.8px; }
.flags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; position: relative; z-index: 1; }
.flag {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 12px 20px; border-radius: var(--r-md); font-weight: 800; font-size: 14.5px;
  display: flex; align-items: center; gap: 10px; backdrop-filter: blur(6px);
  transition: transform .25s var(--ease), background .25s;
}
.flag:hover { transform: translateY(-4px); background: rgba(255,255,255,.18); }
.flag em { font-style: normal; font-size: 22px; }

/* --------------------------------------------------------- stores */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.store {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.store:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.store .bar { position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-hot); }
.store:nth-child(2) .bar { background: linear-gradient(90deg, var(--plum), var(--wine)); }
.store:nth-child(3) .bar { background: linear-gradient(90deg, var(--forest), #5b9b12); }
.store .kind { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.store:nth-child(2) .kind { color: var(--plum); }
.store:nth-child(3) .kind { color: var(--forest); }
.store h3 { font-size: 19px; margin: 8px 0 8px; }
.store p { color: var(--ink-2); font-size: 14px; }
.store .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 800; font-size: 13.5px; color: var(--plum); }
.store .go svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.store:hover .go svg { transform: translateX(4px); }

/* ------------------------------------------------------------- faq */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq summary {
  padding: 17px 20px; font-weight: 800; font-size: 14.8px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--plum); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; color: var(--ink-2); font-size: 14px; }

/* ----------------------------------------------------------- modal */
.overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(24,12,18,.55);
  backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.overlay.on { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px;
  pointer-events: none;
}
.modal.on { pointer-events: auto; }
.modal-box {
  width: min(100%, 780px); max-height: 88vh; overflow: auto; background: var(--surface);
  border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line);
  transform: translateY(26px) scale(.97); opacity: 0; transition: all .34s var(--ease);
}
.modal.on .modal-box { transform: none; opacity: 1; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-media { aspect-ratio: 1/1; display: grid; place-items: center; background: linear-gradient(150deg, var(--surface-2), var(--bg-alt)); position: relative; }
.modal-media .em { font-size: 110px; }
/* the quick-view shows the whole photo rather than a crop: many supplied
   shots are wide, and cropping them square here both hides detail and
   upscales a short image until it goes soft */
.modal-media img { width: 100%; height: 100%; object-fit: contain; }
.modal-info { padding: 28px; display: flex; flex-direction: column; }
.modal-info h2 { font-size: 25px; margin: 8px 0 10px; }
.modal-info .desc { color: var(--ink-2); font-size: 14.5px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }

/* ---- long-form product detail in the quick view ---- */
.pdetail {
  display: grid; gap: 2px; margin: 18px 0 4px;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  background: var(--line);
}
.pd-row { display: flex; gap: 12px; padding: 14px 16px; background: var(--surface); }
.pd-ic {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--surface-2); font-size: 15px;
}
.pd-row h4 {
  font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 5px;
}
.pd-row p { font-size: 13.6px; line-height: 1.6; color: var(--ink-2); }

@media (max-width: 640px) {
  .pd-row { padding: 12px 13px; gap: 10px; }
  .pd-row p { font-size: 13px; }
  .pd-ic { width: 26px; height: 26px; font-size: 13px; }
}
.spec div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.spec small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.spec b { font-size: 13.5px; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 4; width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh-1);
  border: 1px solid var(--line);
}
.modal-close:hover { background: var(--red); color: #fff; }

/* ----------------------------------------------------------- drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(100%, 430px);
  background: var(--bg); box-shadow: -20px 0 60px rgba(0,0,0,.2);
  display: flex; flex-direction: column; transform: translateX(102%);
  transition: transform .38s var(--ease);
}
.drawer.on { transform: none; }
.drawer-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.drawer-head h3 { font-size: 18px; }
.drawer-head .n { font-size: 12.5px; color: var(--ink-3); font-weight: 700; }
.drawer-head .x { margin-left: auto; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }

.citem { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.citem .thumb { width: 62px; height: 62px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--surface-2); font-size: 28px; overflow: hidden; border: 1px solid var(--line); }
.citem .thumb img { width: 100%; height: 100%; object-fit: cover; }
.citem h4 { font-size: 14px; line-height: 1.3; }
.citem small { color: var(--ink-3); font-size: 11.5px; font-weight: 700; }
.citem .line { font-size: 13.5px; font-weight: 800; color: var(--plum); margin-top: 3px; }
.citem .rm { color: var(--ink-3); font-size: 12px; font-weight: 700; margin-top: 4px; }
.citem .rm:hover { color: var(--red); }
.mini-step { display: flex; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.mini-step button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.mini-step button:hover { background: var(--plum); color: #fff; }
.mini-step span { min-width: 20px; text-align: center; font-weight: 800; font-size: 13px; }

.sum { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; }
.sum.total { font-size: 18px; font-weight: 900; color: var(--ink); margin: 10px 0 14px; }

.field { margin-bottom: 10px; }
.field label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border-radius: var(--r-sm); background: var(--surface);
  border: 1.5px solid var(--line-2); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--plum); box-shadow: 0 0 0 4px var(--plum-soft); }
.field textarea { resize: vertical; min-height: 66px; }

/* --------------------------------------------------------- floaters */
.fab-wa {
  position: fixed; right: 18px; bottom: 88px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%; background: #1faa53; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31,170,83,.44);
  transition: transform .25s var(--ease);
}
.fab-wa:hover { transform: scale(1.1) translateY(-3px); }
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1faa53;
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.65); opacity: 0; } }

.to-top {
  position: fixed; right: 18px; bottom: 152px; z-index: 55; width: 44px; height: 44px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--sh-2);
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.on { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--plum); color: #fff; }

/* toasts */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 420px); }
.toast {
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 100px;
  font-size: 13.5px; font-weight: 700; box-shadow: var(--sh-2);
  display: flex; align-items: center; gap: 9px; animation: toastIn .35s var(--ease);
}
.toast.err { background: var(--red); color: #fff; }
.toast.ok  { background: var(--forest); color: #fff; }
.toast.out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.94); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px) scale(.94); } }

/* ----------------------------------------------------------- footer */
.footer { background: var(--grad-deep); color: #efdfd6; margin-top: 40px; padding: 56px 0 0; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer a, .footer p, .footer li { font-size: 14px; color: #e2cec3; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { transition: color .2s, transform .2s; display: inline-block; }
.footer ul a:hover { color: #fff; transform: translateX(4px); }
.f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.f-brand .brand-mark { box-shadow: none; }
.f-brand .brand-name { color: #fff; font-size: 18px; }
.f-brand .brand-sub { color: #c9a99b; }
.f-soc { display: flex; gap: 9px; margin-top: 16px; }
.f-soc a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .25s, transform .25s; }
.f-soc a:hover { background: var(--orange); transform: translateY(-3px); }
.f-soc svg { width: 18px; height: 18px; }
.f-addr { display: grid; gap: 14px; }
.f-addr div small { display: block; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.f-bottom {
  margin-top: 44px; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.8px; color: #c1a79c;
}

/* ------------------------------------------------------- mobile nav */
.mobnav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
}
.mobnav button {
  display: grid; justify-items: center; gap: 3px; padding: 5px 0; border-radius: 12px;
  font-size: 10.5px; font-weight: 800; color: var(--ink-3); position: relative;
}
.mobnav button svg { width: 21px; height: 21px; }
.mobnav button.active { color: var(--plum); }
.mobnav .badge {
  position: absolute; top: 0; right: 50%; margin-right: -20px; min-width: 17px; height: 17px;
  border-radius: 100px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800;
  display: grid; place-items: center; padding: 0 4px;
}

/* ------------------------------------------------------------ reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ========================================================== responsive */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { height: 330px; max-width: 460px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* Tablets: auto-fill would settle on 2 wide columns here, which wastes most of
   the screen on a 394-item catalog. Pin it to 3. */
@media (min-width: 641px) and (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .store-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .burger { display: grid; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-media { aspect-ratio: 16/10; }
  .export { padding: 32px 24px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 66px; }
  :root { --header-h: 60px; }

  .hero { padding: 34px 0 30px; }
  .hero h1 { font-size: 33px; }
  .hero p.lead { font-size: 15px; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-cta .btn { width: 100%; padding: 13px 10px; font-size: 13.5px; }
  .hero-art { height: 268px; margin-inline: auto; }
  .hero-card .em { font-size: 40px; }
  .hero-badge { font-size: 11.5px; padding: 10px 15px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .hero-stats div strong { font-size: 21px; }

  /* header has to survive 360px — drop the WhatsApp label, tighten everything */
  .nav { gap: 8px; }
  .nav-actions { gap: 6px; }
  #headerWa span { display: none; }
  #headerWa { padding: 11px 13px; }
  .icon-btn { width: 38px; height: 38px; border-radius: 11px; }
  .icon-btn svg { width: 17px; height: 17px; }
  .brand { gap: 8px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 16px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 8.5px; letter-spacing: .1em; }

  .section { padding: 34px 0; }
  .strip { padding-bottom: 26px; }
  .strip-grid { grid-template-columns: 1fr; gap: 10px; }
  .strip-card { padding: 14px; align-items: center; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-media { padding: 6px; }   /* a 10px inset eats too much of a 166px tile */
  .card-body { padding: 11px 11px 13px; }
  .card-body h3 { font-size: 13.6px; }
  .card-desc { font-size: 11.8px; -webkit-line-clamp: 2; line-clamp: 2; }
  .card-meta { gap: 4px; margin-top: 7px; }
  .card-meta .mini { font-size: 9.5px; padding: 2px 7px; }
  .card-meta .mini.hide-xs { display: none; }
  .price { font-size: 16.5px; }
  .group-head { margin: 12px 0 0; }
  .group-head h3 { font-size: 15.5px; }
  .group-head .note { display: none; }
  .card-actions .btn { padding: 9px 10px; font-size: 12.2px; }
  .card-actions .btn svg { width: 14px; height: 14px; }
  .quick { display: none; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { padding: 15px 13px; }
  .cat-card .em { font-size: 28px; margin-bottom: 8px; }
  .cat-card h3 { font-size: 14px; }

  .toolbar { top: var(--header-h); padding: 10px 0; }
  .toolbar-in { flex-wrap: wrap; }
  .search { flex: 1 1 100%; }
  .select-wrap { flex: 1; }
  .select-wrap select { width: 100%; }

  .modal { padding: 0; align-items: flex-end; }
  .modal-box { max-height: 92vh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .modal-info { padding: 20px; }
  .modal-info h2 { font-size: 21px; }

  .drawer { width: 100%; border-radius: 0; }
  .mobnav { display: grid; }
  .fab-wa { bottom: 82px; right: 14px; width: 52px; height: 52px; }
  .to-top { bottom: 142px; right: 14px; }
  .toasts { bottom: 82px; }

  .f-grid { grid-template-columns: 1fr; gap: 26px; }
  .f-bottom { flex-direction: column; text-align: center; }
  .footer { padding-top: 40px; }
  .export::after { font-size: 150px; }
}

/* Below ~400px the four action buttons leave the brand very little room, so
   claw some back before the name has to be truncated. */
@media (max-width: 400px) {
  .nav { gap: 6px; }
  .nav-actions { gap: 4px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 13.8px; letter-spacing: 0; }
  .brand-sub { font-size: 8px; letter-spacing: .06em; }
  .icon-btn { width: 34px; height: 34px; border-radius: 10px; }
  .icon-btn svg { width: 16px; height: 16px; }
  #headerWa { padding: 10px 11px; }
}

@media (max-width: 360px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
}

@media print { .header, .mobnav, .fab-wa, .to-top, .toolbar, .drawer, .overlay { display: none !important; } }

/* =====================================================================
   MOTION LAYER — scroll effects, reveals, parallax, shine
   ===================================================================== */

/* reading-progress bar */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--red));
  will-change: transform;
}

/* directional reveals — add data-rv="left|right|scale|blur" to any .rv */
.rv[data-rv='left']  { transform: translateX(-34px); }
.rv[data-rv='right'] { transform: translateX(34px); }
.rv[data-rv='scale'] { transform: scale(.92); }
.rv[data-rv='blur']  { filter: blur(9px); transform: translateY(20px); }
.rv[data-rv='blur'].in { filter: blur(0); }
.rv.in { transform: none; }

/* stagger children: set --i on each child */
.stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* animated gradient wordmark */
.hero h1 .grad {
  background-size: 240% 100%;
  animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* card tilt (JS sets --rx / --ry) */
.card { transform-style: preserve-3d; }
@media (hover: hover) and (pointer: fine) {
  .card.tilt:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-7px);
  }
  .card.tilt:hover .card-media .em { transform: scale(1.16) rotate(-6deg) translateZ(28px); }
}

/* soft float for the hero blobs (JS adds parallax on top) */
.hero::before, .hero::after { will-change: transform; }

/* section divider */
.divider { height: 54px; position: relative; overflow: hidden; }
.divider svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* =====================================================================
   TRUST BAND
   ===================================================================== */
.trust { background: var(--bg-alt); border-block: 1px solid var(--line); padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { text-align: center; }
.trust-item .n {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; letter-spacing: -.04em; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.trust-item .l { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 8px; }
.trust-item .s { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }

/* =====================================================================
   SHOWCASE STRIP — descriptive visual tiles
   ===================================================================== */
.showcase {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  /* the tiles slide in from the sides — clip x so that never makes the page
     scroll sideways. clip (not hidden) keeps sticky/overflow-y intact. */
  overflow-x: clip;
}
.show-tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  aspect-ratio: 4/5; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; color: #fff; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.show-tile:hover { transform: translateY(-8px); box-shadow: var(--sh-3); }
.show-tile::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--tint, var(--grad-deep));
  transition: transform .6s var(--ease);
}
.show-tile:hover::before { transform: scale(1.08); }
.show-tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 50% 0%, transparent 30%, rgba(0,0,0,.55) 100%);
}
.show-tile .big {
  position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  font-size: clamp(56px, 9vw, 90px); z-index: -1; opacity: .95;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.35));
  transition: transform .55s var(--ease);
}
.show-tile:hover .big { transform: translateX(-50%) scale(1.12) rotate(-7deg); }
.show-tile h3 { font-size: 18px; }
.show-tile p { font-size: 12.6px; color: rgba(255,255,255,.86); margin-top: 5px; line-height: 1.45; }
.show-tile .cnt {
  position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 800;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
  padding: 4px 10px; border-radius: 100px; backdrop-filter: blur(6px);
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.tst-wrap { position: relative; overflow: hidden; padding: 4px 0; }
.tst-wrap::before, .tst-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.tst-wrap::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.tst-wrap::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.tst-track { display: flex; gap: 16px; width: max-content; animation: tstScroll 46s linear infinite; }
.tst-wrap:hover .tst-track { animation-play-state: paused; }
@keyframes tstScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tst {
  width: 340px; flex: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tst:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--gold); }
.tst .qm {
  position: absolute; top: 14px; right: 20px; font-size: 54px; line-height: 1;
  font-family: Georgia, serif; color: var(--gold); opacity: .28;
}
.tst .stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.tst p { font-size: 14.2px; color: var(--ink-2); line-height: 1.6; }
.tst .who { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.tst .av {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad-deep); color: var(--gold-light); font-size: 20px; overflow: hidden;
  border: 1.5px solid var(--gold);
}
.tst .av img { width: 100%; height: 100%; object-fit: cover; }
.tst .who b { display: block; font-size: 14px; }
.tst .who small { font-size: 11.8px; color: var(--ink-3); font-weight: 700; }
.tst .sample {
  position: absolute; top: 14px; left: 20px; font-size: 9.5px; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange);
  background: var(--orange-soft); border: 1px solid var(--line); padding: 3px 8px; border-radius: 100px;
}

/* =====================================================================
   CATEGORY FAMILIES
   ===================================================================== */
.cat-family { margin-bottom: 34px; }
.cat-family-head {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.cat-family-head h3 {
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
[data-theme='dark'] .cat-family-head h3 { color: var(--gold-light); }
.cat-family-head .n { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--ink-3); }

/* =====================================================================
   HoReCa / APPLICATION CARDS
   ===================================================================== */
.horeca { background: var(--bg-alt); border-block: 1px solid var(--line); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); gap: 12px; }
.app-grid > *, .bulk-points > *, .steps > * { min-width: 0; }
.app-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 16px; text-align: left; position: relative; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.app-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--gold); }
.app-card .ic { font-size: 27px; display: block; margin-bottom: 11px; transition: transform .35s var(--ease); }
.app-card:hover .ic { transform: scale(1.15) rotate(-6deg); }
.app-card h4 { font-size: 14.5px; }
.app-card p { font-size: 12.2px; color: var(--ink-3); margin-top: 5px; line-height: 1.45; }

.bulk-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; margin-top: 22px; }
.bulk-point {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 15px;
}
.bulk-point .tick {
  width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--forest); color: #fff; font-size: 13px; font-weight: 900;
}
.bulk-point b { font-size: 13.6px; display: block; }
.bulk-point span { font-size: 12.2px; color: var(--ink-2); }

/* =====================================================================
   PROCESS STEPS
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(158px, 100%), 1fr)); gap: 12px; margin-bottom: 30px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 16px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--gold); }
.step .no {
  font-family: Georgia, serif; font-size: 30px; font-weight: 700; line-height: 1;
  color: var(--gold); opacity: .55; margin-bottom: 8px;
}
.step h4 { font-size: 14.5px; }
.step p { font-size: 12.2px; color: var(--ink-2); margin-top: 5px; line-height: 1.45; }

/* =====================================================================
   CUSTOM BLEND BAND
   ===================================================================== */
.blend-band {
  background: var(--grad-deep); color: #fff; border-radius: var(--r-xl);
  padding: 44px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.blend-band::after {
  content: '🥄'; position: absolute; right: -10px; bottom: -46px; font-size: 190px; opacity: .07; line-height: 1;
}
.blend-band .eyebrow { color: var(--gold-light); }
.blend-band h2 { font-size: clamp(23px, 3.4vw, 33px); color: #fff; }
.blend-band p { color: #e3d3c7; margin-top: 12px; max-width: 56ch; font-size: 14.6px; position: relative; z-index: 1; }
.blend-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; position: relative; z-index: 1; }
.blend-list span {
  background: rgba(255,255,255,.1); border: 1px solid rgba(201,162,39,.4); color: var(--gold-light);
  padding: 6px 13px; border-radius: 100px; font-size: 12.4px; font-weight: 700;
}
.blend-band .cta-wrap { position: relative; z-index: 1; }

/* =====================================================================
   PROCESS / PACKING VIDEOS
   ===================================================================== */
.vid-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px; justify-content: center;
}
/* a vertical phone clip shouldn't stretch across a wide card */
.vid-card[data-orient='portrait'] { max-width: 320px; width: 100%; margin-inline: auto; }

.vid-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.vid-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--gold); }

.vid-frame {
  position: relative; aspect-ratio: 16/9; background: var(--green-deep);
  overflow: hidden; cursor: pointer;
}
/* no max-height: the card is what is capped, so the frame always fills it edge to edge */
.vid-card[data-orient='portrait'] .vid-frame { aspect-ratio: 9/16; }

.vid-frame video {
  width: 100%; height: 100%; object-fit: contain; display: block; background: var(--green-deep);
}

.vid-play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: radial-gradient(60% 60% at 50% 50%, rgba(14,54,35,.25), rgba(14,54,35,.6));
  transition: opacity .3s var(--ease); border: 0;
}
.vid-card.playing .vid-play { opacity: 0; pointer-events: none; }
.vid-play .btn-play {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-hot); color: #fff; box-shadow: 0 12px 34px rgba(213,1,2,.45);
  transition: transform .28s var(--ease);
}
.vid-frame:hover .btn-play { transform: scale(1.12); }
.vid-play .btn-play svg { width: 26px; height: 26px; margin-left: 4px; }
.vid-play .btn-play::after {
  content: ''; position: absolute; width: 74px; height: 74px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6); animation: ring 2.4s ease-out infinite;
}

.vid-dur {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  background: rgba(0,0,0,.66); color: #fff; padding: 4px 10px; border-radius: 100px;
  font-size: 11.5px; font-weight: 800; backdrop-filter: blur(4px);
}
.vid-card.playing .vid-dur { display: none; }

.vid-body { padding: 18px 20px 20px; }
.vid-body h3 { font-size: 17px; }
.vid-body p { font-size: 13.4px; color: var(--ink-2); margin-top: 7px; line-height: 1.55; }
.vid-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 9px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--forest); background: #e9f2e2; border: 1px solid #cfe3c0;
  padding: 4px 10px; border-radius: 100px;
}
[data-theme='dark'] .vid-tag { background: #1c2617; color: #9ed17a; border-color: #2a3a22; }

/* =====================================================================
   FOOTER — clean rebuild
   ===================================================================== */
.footer { padding-top: 0; }
.foot-cta {
  background: var(--grad-hot); padding: 40px 0; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.foot-cta::after {
  content: ''; position: absolute; inset: -50% -10% auto auto; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(255,255,255,.12);
}
.foot-cta h3 { font-size: clamp(21px, 3.2vw, 30px); position: relative; z-index: 1; }
.foot-cta p { font-size: 14.5px; color: rgba(255,255,255,.9); margin: 8px auto 20px; max-width: 54ch; position: relative; z-index: 1; }
.foot-cta .btn { position: relative; z-index: 1; background: #fff; color: var(--red); }
.foot-cta .btn:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.22); }

.f-main { padding: 52px 0 0; }
.f-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
.footer h4 {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; font-weight: 800;
}
.f-contact-row {
  display: flex; align-items: center; gap: 11px; padding: 9px 0;
  font-size: 13.8px; color: #e2cec3; transition: color .2s, transform .2s;
}
.f-contact-row:hover { color: #fff; transform: translateX(3px); }
.f-contact-row .ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.09); border: 1px solid rgba(201,162,39,.28); color: var(--gold-light);
}
.f-contact-row .ic svg { width: 15px; height: 15px; }
.f-contact-row small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #a9908a; }

/* =====================================================================
   APP-STYLE BOTTOM BAR
   ===================================================================== */
.mobnav {
  border-top: 0;
  box-shadow: 0 -10px 34px rgba(20,71,47,.14);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}
.mobnav::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .55;
}
.mobnav button {
  transition: color .22s var(--ease), transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.mobnav button svg { transition: transform .3s var(--ease); }
.mobnav button:active { transform: scale(.9); }
.mobnav button.active svg { transform: translateY(-3px) scale(1.08); }
.mobnav .ind {
  position: absolute; top: 2px; height: 3px; width: 22px; border-radius: 100px;
  background: var(--grad-hot); transition: left .34s var(--ease), width .34s var(--ease);
  pointer-events: none;
}
.mobnav .badge { border: 2px solid var(--surface); }

/* =========================== responsive (motion layer) ============== */
@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  /* horizontal reveals would stick out past a narrow viewport before they
     fire, so on phones they come straight up instead */
  .rv[data-rv='left'], .rv[data-rv='right'] { transform: translateY(24px); }

  .trust { padding: 28px 0; }
  .trust-grid { gap: 20px 10px; }
  .trust-item .l { font-size: 11.5px; }
  .trust-item .s { display: none; }

  .showcase { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .show-tile { aspect-ratio: 3/4; padding: 14px; border-radius: var(--r-md); }
  .show-tile h3 { font-size: 14.5px; }
  .show-tile p { display: none; }
  .show-tile .cnt { font-size: 9.5px; padding: 3px 8px; top: 10px; right: 10px; }

  .tst { width: 278px; padding: 18px; }
  .tst p { font-size: 13.2px; }
  .tst-track { animation-duration: 34s; }
  .tst-wrap::before, .tst-wrap::after { width: 34px; }

  .app-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .app-card { padding: 14px 12px; }
  .app-card h4 { font-size: 13px; }
  .app-card p { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .step { padding: 14px 12px; }
  .step h4 { font-size: 13px; }
  .step p { font-size: 11.4px; }
  .blend-band { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .blend-band::after { font-size: 130px; }
  .bulk-points { grid-template-columns: 1fr; }
  .cat-family { margin-bottom: 24px; }

  .vid-grid { grid-template-columns: 1fr; gap: 14px; }
  .vid-card[data-orient='portrait'] { max-width: 300px; }
  .vid-play .btn-play, .vid-play .btn-play::after { width: 58px; height: 58px; }
  .vid-play .btn-play svg { width: 21px; height: 21px; }
  .vid-body { padding: 14px 15px 16px; }
  .vid-body h3 { font-size: 15.5px; }

  .foot-cta { padding: 30px 0; }
  .f-main { padding-top: 34px; }
  .f-grid { grid-template-columns: 1fr; gap: 26px; }

  .divider { height: 34px; }
}

@media (max-width: 380px) {
  .mobnav button { font-size: 9.5px; }
  .mobnav button svg { width: 19px; height: 19px; }
}

/* ---- category tiles that have their own photo ---- */
.cat-card .cat-img {
  display: block; width: 100%; aspect-ratio: 16/10; margin-bottom: 12px;
  border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2);
  position: relative; z-index: 1;
}
.cat-card .cat-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.cat-card:hover .cat-img img { transform: scale(1.07); }
/* the decorative corner blob would sit over the photo — push it behind */
.cat-card.has-img::after { z-index: 0; }

@media (max-width: 640px) {
  .cat-card .cat-img { aspect-ratio: 4/3; margin-bottom: 8px; }
}

/* =====================================================================
   PRODUCT REELS
   A sideways rail of vertical clips, each tied to a product — the format
   buyers already know from Instagram. Scroll-snap does the paging so it
   behaves natively on a phone; the arrows are for mouse users.
   ===================================================================== */
.reels-wrap { position: relative; }

.reels {
  display: flex; gap: 16px; overflow-x: auto;
  /* proximity, not mandatory: mandatory snap cancels programmatic smooth
     scrolling, which kills the arrow buttons. Swipe still snaps. */
  scroll-snap-type: x proximity;
  padding: 4px 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-padding-left: 0;
}
.reels::-webkit-scrollbar { display: none; }

.reel {
  flex: 0 0 clamp(190px, 22vw, 246px); scroll-snap-align: start;
  display: flex; flex-direction: column; text-align: left;
  background: none; border: 0; padding: 0;
}

.reel-frame {
  position: relative; aspect-ratio: 9/16; border-radius: var(--r-lg);
  overflow: hidden; background: var(--green-deep); cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.reel:hover .reel-frame { transform: translateY(-6px); box-shadow: var(--sh-3); }

.reel-frame video, .reel-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* keeps the label legible over a bright frame */
.reel-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, transparent 26%, transparent 68%, rgba(0,0,0,.30) 100%);
}

.reel-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.62); color: #fff; backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 100px; font-size: 11.5px; font-weight: 800;
}
.reel-badge svg { width: 13px; height: 13px; }

.reel-play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  transition: opacity .28s var(--ease);
}
.reel.playing .reel-play { opacity: 0; }
.reel-play span {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--green-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: transform .28s var(--ease);
}
.reel:hover .reel-play span { transform: scale(1.12); }
.reel-play svg { width: 20px; height: 20px; margin-left: 3px; }

.reel-body { padding: 12px 4px 0; }
.reel-body h3 {
  font-size: 14px; line-height: 1.35; font-weight: 800;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.reel-body .meta { font-size: 12.5px; color: var(--ink-2); font-weight: 700; margin-top: 6px; }
.reel-body .quote { font-size: 12.5px; font-weight: 800; color: var(--forest); margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; }
.reel:hover .reel-body .quote { text-decoration: underline; }

/* arrows */
.reel-nav {
  position: absolute; top: calc(50% - 46px); transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink);
  box-shadow: var(--sh-2); transition: all .22s var(--ease);
}
.reel-nav:hover { background: var(--green); border-color: var(--green); color: var(--gold-light); }
.reel-nav[disabled] { opacity: 0; pointer-events: none; }
.reel-nav.prev { left: -18px; }
.reel-nav.next { right: -18px; }
.reel-nav svg { width: 19px; height: 19px; }

@media (max-width: 900px) {
  .reel-nav { display: none; }          /* swipe is the natural gesture here */
  .reels { padding-inline: 0; }
}
@media (max-width: 640px) {
  .reel { flex: 0 0 min(62vw, 230px); }
  .reels { gap: 12px; }
  .reel-body h3 { font-size: 13.2px; }
}

/* =====================================================================
   CONTACT + QR
   One block that answers "how do I reach you" — the three buttons a buyer
   actually uses, plus a QR so a phone can open the chat without typing.
   ===================================================================== */
.contact-card {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 28px; margin-top: 18px;
}
.qr-box {
  width: 168px; flex: none; text-align: center;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 12px;
}
.qr-box img { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.qr-box small {
  display: block; margin-top: 8px; font-size: 10.5px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: #14472F;
}
.contact-body h3 { font-size: 20px; }
.contact-body > p { font-size: 14px; color: var(--ink-2); margin-top: 7px; max-width: 54ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-actions .btn { flex: 0 0 auto; }
.btn-call { background: var(--green); color: var(--gold-light); }
.btn-call:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-mail { background: var(--plum); color: #fff; }
.btn-mail:hover { background: #742c58; transform: translateY(-2px); }

@media (max-width: 760px) {
  .contact-card { grid-template-columns: 1fr; gap: 18px; padding: 20px; justify-items: center; text-align: center; }
  .contact-body > p { margin-inline: auto; }
  .contact-actions { justify-content: center; }
  .contact-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================ PHOTO RIBBON ==========================
   A slim, continuously-moving strip of product photographs. Small by
   design: it sits between the info strip and the counters and gives the
   page a pulse without competing with the catalog grid below.        */
.ribbon {
  padding: 26px 0 30px;
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.ribbon-mask {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbon-slide 68s linear infinite;
  will-change: transform;
}
.ribbon:hover .ribbon-track,
.ribbon:focus-within .ribbon-track { animation-play-state: paused; }

.ribbon-item {
  flex: none;
  width: 104px;
  margin-right: 14px;
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
  box-shadow: var(--sh-1);
  border: 1px solid var(--line);
}
.ribbon-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.ribbon-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 7px 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(20, 12, 16, .82));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* the shift is measured in JS and written to --ribbon-shift: `width:max-content`
   over-reports here (the absolutely-positioned nowrap caption inflates the
   intrinsic size), so a -50% keyframe would not land on an item boundary */
@keyframes ribbon-slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-1 * var(--ribbon-shift, 50%)), 0, 0); }
}

@media (max-width: 640px) {
  .ribbon { padding: 20px 0 22px; }
  .ribbon-track { animation-duration: 48s; }
  .ribbon-item { width: 82px; margin-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
  .ribbon-mask { overflow-x: auto; }
}

/* The hero cards carry a real product photograph; the emoji underneath is
   the fallback and is hidden by JS once the image actually decodes. */
.hero-card .hero-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card:has(.hero-shot) .cap {
  background: linear-gradient(180deg, transparent, rgba(20, 12, 16, .78));
  color: #fff;
  border-top: 0;
  padding-top: 18px;
}
