/* ============================================================
   buyplus — World-class supermarket design system
   Brand: crimson #ED1C2E · indigo #2D2A66 · fresh lime #19C37D · white
   Light, airy marketplace · immersive indigo hero · choreographed motion
   ============================================================ */

@font-face { font-family: "Inter"; src: url("assets/fonts/inter-regular-6.woff2"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-semibold-6.woff2"); font-display: swap; font-weight: 600; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-semibold-8.woff2"); font-display: swap; font-weight: 700; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-semibold-8.woff2"); font-display: swap; font-weight: 800; }

:root {
  /* brand */
  --red: #ED1C2E;
  --red-deep: #c8142a;
  --red-soft: #ff5a5f;
  --indigo: #2D2A66;
  --indigo-deep: #1c1a40;
  --indigo-mid: #423d8c;
  --lime: #19C37D;
  --lime-deep: #0b8354; /* darkened for WCAG AA text contrast on white */
  --amber: #ffb524;
  --grape: #7a5af8;

  /* surfaces (light) */
  --bg: #f6f7fb;
  --bg-soft: #eef0f7;
  --surface: #ffffff;
  --surface-2: #fbfbfe;

  /* ink */
  --ink: #1a1830;
  --ink-2: #4b4866;
  --ink-3: #7d7a96;
  --line: #e7e8f1;
  --line-2: #d9dbe9;

  --shadow-sm: 0 2px 8px rgba(28, 26, 64, 0.06);
  --shadow: 0 14px 40px -18px rgba(28, 26, 64, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(28, 26, 64, 0.45);
  --glow-red: 0 18px 40px -14px rgba(237, 28, 46, 0.5);
  --glow-lime: 0 18px 40px -14px rgba(25, 195, 125, 0.45);

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1240px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-scroll, body.no-scroll { overflow: hidden !important; height: 100%; overscroll-behavior: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor-trail, .blob, .hero-float { display: none !important; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }

/* ambient background wash */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 88% -8%, rgba(122, 90, 248, 0.08), transparent 60%),
    radial-gradient(900px 700px at -8% 18%, rgba(25, 195, 125, 0.07), transparent 55%),
    radial-gradient(1000px 800px at 50% 118%, rgba(237, 28, 46, 0.06), transparent 60%);
}

/* drifting blobs */
.blob-field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 46% 54% 56% 44% / 52% 44% 56% 48%; filter: blur(70px); opacity: .42; will-change: transform; }
.blob-1 { width: 460px; height: 460px; top: -130px; left: -90px; background: radial-gradient(circle at 30% 30%, rgba(122,90,248,.5), transparent 70%); animation: drift1 28s ease-in-out infinite; }
.blob-2 { width: 540px; height: 540px; top: 44%; right: -180px; background: radial-gradient(circle at 60% 40%, rgba(25,195,125,.45), transparent 70%); animation: drift2 34s ease-in-out infinite; }
.blob-3 { width: 420px; height: 420px; bottom: -120px; left: 28%; background: radial-gradient(circle at 50% 50%, rgba(237,28,46,.4), transparent 70%); animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(70px, 50px) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-60px, -40px) scale(1.08); } }
@keyframes drift3 { 50% { transform: translate(40px, -60px) scale(1.12); } }

/* custom cursor */
.cursor-trail { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
.trail-dot { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; will-change: transform, opacity; background: var(--red); }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
@media (pointer: coarse) { .cursor-trail { display: none; } }

.cursor-lead { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; opacity: 0; will-change: transform; }
.cursor-lead.on { opacity: 1; }
.cursor-lead-inner { display: block; width: 25px; height: 25px; color: var(--red); filter: drop-shadow(0 3px 6px rgba(20,18,46,.35)); transition: color .25s var(--ease-out), transform .3s var(--ease-spring); transform: scale(1) rotate(0deg); }
.cursor-lead-inner svg { width: 100%; height: 100%; display: block; }
.cursor-lead.state-browse .cursor-lead-inner { color: var(--indigo); transform: scale(1.15); }
.cursor-lead.state-action .cursor-lead-inner { color: var(--lime-deep); transform: scale(1.3) rotate(-6deg); }
.cursor-lead.state-close .cursor-lead-inner { color: var(--red-deep); transform: scale(1.15) rotate(90deg); }
.cursor-lead.state-review .cursor-lead-inner { color: var(--amber); transform: scale(1.3) rotate(-10deg); }
.cursor-lead.pop .cursor-lead-inner { transform: scale(1.45) rotate(var(--lead-rot, 0deg)) !important; }
@media (pointer: coarse) { .cursor-lead { display: none; } }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1000; background: linear-gradient(90deg, var(--red), var(--grape), var(--lime)); box-shadow: 0 0 12px rgba(237,28,46,.5); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--indigo); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: var(--r-pill); font-weight: 700; font-size: .95rem; letter-spacing: -.01em; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), background .25s, color .25s; will-change: transform; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--glow-red); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -14px rgba(237,28,46,.6); }
.btn-lime { background: var(--lime); color: #052e1f; box-shadow: var(--glow-lime); }
.btn-lime:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -14px rgba(25,195,125,.55); }
.btn-secondary { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.btn-secondary:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.btn-dark { background: var(--indigo); color: #fff; }
.btn-dark:hover { background: var(--indigo-deep); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }
.btn-full { width: 100%; }
.btn-magnetic { overflow: hidden; }
.btn-magnetic::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.28), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn-magnetic:hover::after { opacity: 1; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--nav-h); display: flex; align-items: center; transition: background .35s var(--ease), box-shadow .35s, backdrop-filter .35s; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(28,26,64,.4); }
.nav-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.nav-logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 6px 12px rgba(237,28,46,.25)); }
.nav.scrolled .logo-mark { animation: cartroll .6s var(--ease-spring); }
@keyframes cartroll { 40% { transform: translateX(3px) rotate(-4deg); } 100% { transform: none; } }
.wordmark { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--indigo); transition: color .35s; }
.wordmark .plus { color: var(--red); }
.nav:not(.scrolled) .wordmark { color: #fff; }
.nav:not(.scrolled) .wordmark .plus { color: var(--red-soft); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link { position: relative; padding: 9px 14px; font-weight: 600; font-size: .94rem; color: rgba(255,255,255,.88); border-radius: var(--r-pill); transition: color .25s, background .25s; }
.nav.scrolled .nav-link { color: var(--ink-2); }
.nav-link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav-link:hover { color: #fff; }
.nav.scrolled .nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }

/* header search (desktop) */
.nav-search { flex: 0 1 380px; min-width: 0; display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.28); border-radius: var(--r-pill); padding: 9px 18px; transition: background .25s, border-color .25s, box-shadow .25s; }
.nav-search svg { width: 18px; height: 18px; color: rgba(255,255,255,.85); flex: none; transition: color .25s; }
.nav-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font: inherit; font-size: .92rem; color: #fff; }
.nav-search input::placeholder { color: rgba(255,255,255,.72); }
.nav-search:focus-within { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.55); box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.nav.scrolled .nav-search { background: var(--bg-soft); border-color: var(--line); }
.nav.scrolled .nav-search svg { color: var(--ink-3); }
.nav.scrolled .nav-search input { color: var(--ink); }
.nav.scrolled .nav-search input::placeholder { color: var(--ink-3); }
.nav.scrolled .nav-search:focus-within { border-color: var(--indigo-mid); box-shadow: 0 0 0 4px rgba(66,61,140,.1); }

.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.28); transition: background .25s, transform .25s, color .25s, border-color .25s; }
.nav.scrolled .cart-btn { color: var(--indigo); background: var(--bg-soft); border-color: var(--line); }
.cart-btn:hover { transform: translateY(-2px) scale(1.05); background: var(--red); color: #fff; border-color: var(--red); }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: var(--r-pill); background: var(--lime); color: #04261a; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.nav:not(.scrolled) .cart-count { border-color: var(--indigo-deep); }
.cart-count.bump { animation: bump .35s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.45); } }
.btn-nav-cta { padding: 10px 20px; font-size: .9rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.scrolled .nav-toggle span { background: var(--indigo); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); background: var(--surface); z-index: 850; transform: translateX(100%); transition: transform .45s var(--ease-out); display: flex; flex-direction: column; gap: 6px; padding: calc(var(--nav-h) + 18px) 22px 30px; box-shadow: var(--shadow-lg); }
.mobile-menu.active { transform: translateX(0); }
.nav-link-m { padding: 14px 16px; font-weight: 700; font-size: 1.05rem; color: var(--ink); border-radius: var(--r-sm); transition: background .2s; }
.nav-link-m:hover { background: var(--bg-soft); }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 24px 120px; overflow: hidden; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; background: linear-gradient(135deg, #211e52 0%, var(--indigo) 45%, #3a2f78 100%); }
.hero-mesh { position: absolute; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 20%, rgba(237,28,46,.5), transparent 60%),
    radial-gradient(40% 50% at 82% 30%, rgba(122,90,248,.55), transparent 60%),
    radial-gradient(45% 55% at 70% 88%, rgba(25,195,125,.4), transparent 60%),
    radial-gradient(40% 50% at 25% 85%, rgba(255,181,36,.3), transparent 60%);
  filter: blur(20px); opacity: .9; animation: meshmove 18s ease-in-out infinite; }
@keyframes meshmove { 50% { transform: scale(1.12) translate(2%, -2%); } }
.hero-lines { position: absolute; left: 0; right: 0; top: 40%; z-index: -2; opacity: .5; will-change: transform; }
.hero-lines svg { width: 100%; height: 150px; }
.hero-float { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-float span { position: absolute; width: var(--sz, 68px); height: var(--sz, 68px); border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 16px 34px -12px rgba(28,26,64,.4); animation: floaty var(--d,9s) ease-in-out infinite; will-change: transform; }
.hero-float span img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-26px) rotate(calc(var(--rot,0deg) + 6deg)); } }

.hero-grid { width: 100%; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-content { max-width: 620px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; letter-spacing: .01em; margin-bottom: 22px; }
.hero-badge b { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--lime); color: #04261a; font-weight: 800; font-size: .72rem; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; }
.hero-title .grad { background: linear-gradient(100deg, #e23a44, #c47600 55%, #0c8f5c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } /* stops ≥3:1 on the light hero */
.hero-subtitle { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: rgba(255,255,255,.82); max-width: 520px; margin-bottom: 28px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.hero-chip { padding: 8px 15px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .85rem; font-weight: 600; transition: background .25s, transform .25s; }
.hero-chip:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.hero-promos { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero-promo { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.9); }
.hero-promo svg { width: 20px; height: 20px; color: var(--lime); flex: none; }

/* hero floating product stack (desktop) */
.hero-visual { position: relative; height: 460px; display: block; }
.hv-card { position: absolute; background: #fff; color: var(--ink); border-radius: var(--r); padding: 16px; width: 210px; box-shadow: var(--shadow-lg); }
.hv-card .hv-photo { width: 100%; height: 120px; border-radius: calc(var(--r) - 6px); overflow: hidden; }
.hv-card .hv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-card .hv-name { font-weight: 700; font-size: .95rem; margin-top: 8px; }
.hv-card .hv-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.hv-card .hv-price { font-weight: 800; color: var(--indigo); }
.hv-card .hv-tag { font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: var(--r-pill); }
.hv-1 { top: 12%; left: 4%; animation: floaty 7s ease-in-out infinite; }
.hv-2 { top: 0; right: 2%; width: 190px; animation: floaty 8.5s ease-in-out .4s infinite; }
.hv-3 { bottom: 6%; left: 16%; width: 196px; animation: floaty 9.5s ease-in-out .8s infinite; }
.hv-badge { position: absolute; top: 44%; right: 6%; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--lime); color: #04261a; padding: 12px 18px; border-radius: var(--r); font-weight: 800; box-shadow: var(--glow-lime); animation: floaty 6s ease-in-out infinite; }
.hv-badge .big { font-size: 1.5rem; }

.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hero-scroll svg { width: 14px; height: 22px; animation: scrolldn 1.8s ease-in-out infinite; }
@keyframes scrolldn { 50% { transform: translateY(7px); opacity: .5; } }

.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.wave-divider svg { width: 100%; height: 90px; display: block; }
.wave-divider path { fill: var(--bg); }

/* ---------- light hero theme (remove `hero-light` on <body> to roll back) ---------- */
body.hero-light .hero { color: var(--ink); }
body.hero-light .hero-bg { background: linear-gradient(160deg, #ffffff 0%, #f7f8fc 55%, #eef1f9 100%); }
body.hero-light .hero-mesh { opacity: .32; }
body.hero-light .hero-lines { opacity: .14; }
body.hero-light .hero-lines svg path { stroke: var(--indigo); }
body.hero-light .hero-title { color: var(--ink); }
body.hero-light .hero-subtitle { color: var(--ink-2); }
body.hero-light .hero-badge { background: rgba(45,42,102,.05); border-color: var(--line); color: var(--ink-2); }
body.hero-light .hero-chip { background: #fff; border-color: var(--line); color: var(--ink-2); }
body.hero-light .hero-chip:hover { background: var(--bg-soft); }
body.hero-light .hero-promo { color: var(--ink-2); }
body.hero-light .hero-scroll { color: var(--ink-3); }
/* nav: dark "blue" logo + links from the start (like the scrolled look) */
body.hero-light .nav:not(.scrolled) .wordmark { color: var(--indigo); }
body.hero-light .nav:not(.scrolled) .wordmark .plus { color: var(--red); }
body.hero-light .nav:not(.scrolled) .nav-link { color: var(--ink-2); }
body.hero-light .nav:not(.scrolled) .nav-link:hover { color: var(--ink); }
body.hero-light .nav:not(.scrolled) .nav-search { background: var(--bg-soft); border-color: var(--line); }
body.hero-light .nav:not(.scrolled) .nav-search svg { color: var(--ink-3); }
body.hero-light .nav:not(.scrolled) .nav-search input { color: var(--ink); }
body.hero-light .nav:not(.scrolled) .nav-search input::placeholder { color: var(--ink-3); }
body.hero-light .nav:not(.scrolled) .cart-btn { color: var(--indigo); background: var(--bg-soft); border-color: var(--line); }
body.hero-light .nav:not(.scrolled) .cart-count { border-color: #fff; }
body.hero-light .nav:not(.scrolled) .nav-toggle span { background: var(--indigo); }

/* ---------- marquee trust bar ---------- */
.marquee { background: var(--indigo); color: #fff; overflow: hidden; padding: 14px 0; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--indigo), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--indigo), transparent); }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: scrollx 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.marquee-item svg { width: 19px; height: 19px; color: var(--lime); }
.marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-soft); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 96px 24px; position: relative; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-header { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: var(--r-pill); background: rgba(237,28,46,.08); color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); }
.section-desc { color: var(--ink-2); font-size: 1.05rem; margin-top: 14px; }

/* ---------- categories (real image cards) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 16px; text-align: center; cursor: pointer; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px -14px var(--cat-color, rgba(28,26,64,.4)); border-color: color-mix(in srgb, var(--cat-color, #2d2a66) 30%, transparent); }
.cat-media { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; border-radius: calc(var(--r) - 7px); overflow: hidden; margin-bottom: 13px; background: var(--cat-grad, linear-gradient(160deg, #eef0f7, #fff)); }
/* shimmer skeleton while the photo loads — sits behind the <img>, covered once it paints */
.cat-media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.55) 50%, transparent 75%); background-size: 220% 100%; animation: catShimmer 1.5s ease-in-out infinite; }
.cat-media.loaded::before, .cat-media.no-img::before { display: none; }
@keyframes catShimmer { 0% { background-position: 180% 0; } 100% { background-position: -100% 0; } }
.cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: transform .55s var(--ease-out), opacity .5s ease; }
.cat-media.loaded img { opacity: 1; }
.cat-card:hover .cat-media.loaded img { transform: scale(1.09); }
.cat-media .cat-emoji-fallback { position: absolute; font-size: 2.4rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,.12)); }
.cat-media img + .cat-emoji-fallback { display: none; }
.cat-media.no-img img { display: none; }
.cat-name { font-weight: 700; font-size: .95rem; color: var(--ink); line-height: 1.3; margin-bottom: 9px; }
.cat-count { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .01em; color: var(--cat-color, var(--ink-2)); background: var(--cat-soft, #eef0f7); padding: 4px 11px; border-radius: var(--r-pill); }

/* ---------- promise / value ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s; }
.promise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.promise-card::after { content: ''; position: absolute; width: 200px; height: 200px; right: -70px; top: -70px; border-radius: 50%; background: var(--pc, var(--red)); opacity: .08; transition: transform .5s var(--ease-out); }
.promise-card:hover::after { transform: scale(1.4); }
.promise-ico { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--pc, var(--red)); box-shadow: 0 16px 30px -12px var(--pc, var(--red)); margin-bottom: 18px; }
.promise-ico svg { width: 28px; height: 28px; }
.promise-card h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 8px; }
.promise-card p { color: var(--ink-2); font-size: .96rem; }

/* ---------- stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; padding: 36px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--indigo), var(--indigo-mid)); color: #fff; box-shadow: var(--shadow); }
.stats-row .stat { text-align: center; }
.stat-number { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(120deg, #fff, var(--amber)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.75); font-weight: 600; }

/* ---------- deals scroller ---------- */
.deals-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.deals-head .section-tag { background: rgba(255,181,36,.14); color: #b07400; }
/* flip-clock countdown */
.deal-countdown { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.dc-note { font-size: .85rem; color: var(--ink-3); margin: 0 0 30px; }
.dc-unit { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.dc-lbl { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.dc-tile { position: relative; min-width: 70px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(180deg, #35317a 0%, #24215a 48%, #1a1840 52%, #14122f 100%); box-shadow: 0 18px 34px -14px rgba(20,18,47,.7), inset 0 1.5px 0 rgba(255,255,255,.1), inset 0 -2px 6px rgba(0,0,0,.4); overflow: hidden; }
.dc-tile::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: rgba(0,0,0,.5); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.dc-tile::after { content: ''; position: absolute; left: 8px; right: 8px; top: 4px; height: 40%; border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.09), transparent); pointer-events: none; }
.dc-num { position: relative; z-index: 1; display: block; text-align: center; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .02em; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
@media (max-width: 560px) { .deal-countdown { gap: 9px; } .dc-tile { min-width: 0; flex: 1; padding: 12px 6px; } .dc-unit { flex: 1; } }
.deal-track { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.deal-track::-webkit-scrollbar { height: 8px; }
.deal-track::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
.deal-card { scroll-snap-align: start; flex: 0 0 240px; }

/* ---------- shop ---------- */
.shop-section { background: var(--bg); }
.shop-tools { display: flex; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 8px 4px 18px; transition: border-color .25s, box-shadow .25s; }
.shop-search:focus-within { border-color: var(--indigo-mid); box-shadow: 0 0 0 4px rgba(66,61,140,.1); }
.shop-search svg { width: 19px; height: 19px; color: var(--ink-3); flex: none; }
.shop-search input { flex: 1; border: none; outline: none; background: none; font: inherit; font-size: .98rem; padding: 12px 4px; color: var(--ink); }
.shop-sort { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 8px 0 16px; font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.shop-sort select { border: none; outline: none; background: none; font: inherit; font-weight: 700; color: var(--ink); padding: 12px 6px; cursor: pointer; }
.shop-sort:focus-within { border-color: var(--indigo-mid); box-shadow: 0 0 0 4px rgba(66,61,140,.1); }

.shop-nav { position: sticky; top: calc(var(--nav-h) - 6px); z-index: 60; margin: 0 -24px 30px; padding: 12px 24px; background: rgba(246,247,251,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.shop-nav-inner { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.shop-nav-inner::-webkit-scrollbar { display: none; }
.shop-pill { white-space: nowrap; padding: 9px 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 700; color: var(--ink-2); transition: all .25s var(--ease); display: inline-flex; align-items: center; gap: 7px; }
.shop-pill:hover { border-color: var(--indigo-mid); color: var(--ink); }
.shop-pill.active { background: var(--indigo); border-color: var(--indigo); color: #fff; box-shadow: var(--shadow-sm); }

.product-category { scroll-margin-top: calc(var(--nav-h) + 70px); margin-bottom: 50px; }
.category-title { font-size: 1.5rem; color: var(--ink); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.category-title .ct-emoji { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.product-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; transform-style: preserve-3d; will-change: transform; }
.product-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; font-size: 3.6rem; background: var(--pm-grad, linear-gradient(160deg, #eef0f7, #fff)); overflow: hidden; }
.product-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.6), transparent 60%); opacity: 0; transition: opacity .3s; }
.product-card:hover .product-media::after { opacity: 1; }
.product-emoji { display: flex; align-items: center; justify-content: center; transition: transform .5s var(--ease-spring); filter: drop-shadow(0 10px 14px rgba(28,26,64,.16)); }
.product-card:hover .product-emoji { transform: scale(1.12) rotate(-4deg); }
.product-emoji .pa { width: 78%; max-width: 130px; height: auto; }
.pa-emoji { font-size: inherit; }
/* real product photo — fades in over the illustration, which stays as fallback */
.product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s ease, transform .5s var(--ease-out); }
.product-media.has-photo .product-photo { opacity: 1; }
.product-media.has-photo .product-emoji { opacity: 0; }
.product-card:hover .product-media.has-photo .product-photo { transform: scale(1.06); }
.product-fav { z-index: 2; }
.product-badge { position: absolute; top: 10px; left: 10px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; padding: 5px 10px; border-radius: var(--r-pill); color: #fff; z-index: 2; text-transform: uppercase; }
.badge-deal { background: var(--red); }
.badge-new { background: var(--grape); }
.badge-organic { background: var(--lime); color: #04261a; }
.badge-best { background: var(--amber); color: #4a2e00; }
.badge-premium { background: var(--indigo); }
.badge-out { background: #4b4f5e; }
.product-fav { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; color: var(--ink-3); z-index: 2; transition: color .25s, transform .25s, background .25s; }
.product-fav:hover { color: var(--red); transform: scale(1.12); }
.product-fav.active { color: var(--red); background: #fff; }
.product-fav svg { width: 16px; height: 16px; }

.product-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-weight: 700; font-size: .96rem; color: var(--ink); line-height: 1.3; }
.product-unit { font-size: .8rem; color: var(--ink-3); margin-top: 3px; }
.stock-low { font-size: .74rem; font-weight: 700; color: #a86b00; margin-top: 3px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.product-price { display: flex; flex-direction: column; line-height: 1.1; }
.product-price .now { font-weight: 800; font-size: 1.08rem; color: var(--indigo); }
.product-price .was { font-size: .78rem; color: var(--ink-3); text-decoration: line-through; }
.add-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-pill); background: var(--indigo); color: #fff; font-weight: 700; font-size: .85rem; transition: background .25s, transform .25s, box-shadow .25s; }
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover { background: var(--red); transform: translateY(-2px); box-shadow: var(--glow-red); }
.add-btn.added { background: var(--lime); color: #04261a; }
.add-btn .label-add { display: inline; }
.add-btn.sold-out, .add-btn[disabled] { background: var(--ink-3); cursor: not-allowed; }
.add-btn.sold-out:hover, .add-btn[disabled]:hover { background: var(--ink-3); transform: none; box-shadow: none; }

/* sold-out card state */
.product-card.is-out .product-media { filter: grayscale(.85); opacity: .7; }

/* qty stepper (when item in cart) */
.qty-stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--indigo); border-radius: var(--r-pill); padding: 4px; }
.qty-stepper button { width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.qty-stepper button:hover { background: rgba(255,255,255,.18); }
.qty-stepper button[disabled] { opacity: .4; cursor: not-allowed; }
.qty-stepper button[disabled]:hover { background: transparent; }
.qty-stepper .qv { min-width: 22px; text-align: center; color: #fff; font-weight: 800; font-size: .9rem; }

.shop-empty, .menu-empty { text-align: center; color: var(--ink-3); padding: 50px 0; font-size: 1.05rem; }

/* ---------- testimonials ---------- */
.testimonials-section { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.testimonial-carousel { max-width: 760px; margin: 0 auto; }
.testimonial-track { position: relative; min-height: 240px; }
.testimonial-card { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); pointer-events: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.testimonial-card.active { opacity: 1; transform: none; pointer-events: auto; }
.testimonial-stars { color: var(--amber); font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 16px; }
.testimonial-card blockquote p { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink); line-height: 1.6; font-weight: 500; }
.testimonial-author { margin-top: 20px; }
.testimonial-author strong { display: block; color: var(--ink); font-size: 1rem; }
.testimonial-author span { color: var(--ink-3); font-size: .86rem; }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.review-cta { text-align: center; margin-top: 34px; }
.google-review-btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); font-weight: 700; font-size: .98rem; color: var(--ink); box-shadow: 0 10px 26px -14px rgba(28,26,64,.3); transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s; }
.google-review-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -16px rgba(28,26,64,.4); border-color: transparent; }
.google-review-btn .g-logo { width: 22px; height: 22px; flex: none; }
.grev-stars { color: var(--amber); letter-spacing: 2px; }
.review-cta-note { color: var(--ink-3); font-size: .9rem; margin-top: 13px; max-width: 420px; margin-left: auto; margin-right: auto; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: all .3s var(--ease); }
.dot.active { width: 28px; border-radius: var(--r-pill); background: var(--red); }

/* ---------- CTA / newsletter ---------- */
.cta-section { padding: 24px; }
.cta-card { position: relative; max-width: var(--maxw); margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(130deg, var(--indigo) 0%, var(--grape) 100%); color: #fff; padding: 64px 48px; text-align: center; isolation: isolate; }
.cta-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 20% 10%, rgba(25,195,125,.4), transparent 60%), radial-gradient(50% 60% at 85% 90%, rgba(237,28,46,.4), transparent 60%); }
.cta-emojis { font-size: 2.4rem; letter-spacing: 6px; margin-bottom: 14px; }
.cta-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 12px; }
.cta-card p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 28px; }
.cta-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; background: rgba(255,255,255,.96); border-radius: var(--r-pill); padding: 7px 7px 7px 20px; }
.cta-form input { flex: 1; border: none; outline: none; background: none; font: inherit; font-size: 1rem; color: var(--ink); }
.cta-form:focus-within { box-shadow: 0 0 0 4px rgba(255,255,255,.45); }
.cta-fine { margin-top: 14px; font-size: .8rem; color: rgba(255,255,255,.7); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .35s var(--ease-out), box-shadow .35s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(45,42,102,.08); color: var(--indigo); margin-bottom: 14px; }
.contact-card h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.contact-card address, .contact-card p { color: var(--ink-2); font-size: .92rem; margin-bottom: 12px; }
.contact-link { display: inline-flex; align-items: center; gap: 5px; color: var(--red); font-weight: 700; font-size: .9rem; transition: gap .25s; }
.contact-link:hover { gap: 9px; }
.contact-social { display: flex; gap: 16px; }

/* ---------- footer ---------- */
.footer { background: var(--indigo-deep); color: #fff; padding: 70px 24px 30px; }
.footer-content { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .wordmark { color: #fff; }
.footer-brand .wordmark .plus { color: var(--red-soft); }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.78); font-size: .92rem; padding: 5px 0; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { max-width: var(--maxw); margin: 44px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-copy { color: rgba(255,255,255,.55); font-size: .85rem; }

/* ---------- back to top / mobile bar ---------- */
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--indigo); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 700; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.85); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease-spring), background .25s; }
.back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--red); }
.back-to-top svg { width: 20px; height: 20px; }

.mobile-order-bar { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 690; transform: translateY(140%); transition: transform .4s var(--ease-out); display: none; }
.mobile-order-bar.visible { transform: none; }

/* ---------- cart panel ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(20,18,46,.5); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 950; }
.cart-overlay.active { opacity: 1; pointer-events: auto; }
.cart-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(92vw, 420px); background: var(--surface); z-index: 960; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease-out); box-shadow: var(--shadow-lg); }
.cart-panel.active { transform: none; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.cart-header h2 { font-size: 1.3rem; color: var(--ink); }
.cart-close { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-2); background: var(--bg-soft); transition: background .2s, color .2s; }
.cart-close:hover { background: var(--red); color: #fff; }
.cart-items { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.cart-empty .ce-emoji { font-size: 3rem; }
.cart-empty p { color: var(--ink); font-weight: 700; margin: 12px 0 4px; }
.cart-empty span { font-size: .88rem; }
.cart-item { display: flex; gap: 12px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; }
.cart-item-media { width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; background: var(--pm-grad, var(--bg-soft)); flex: none; }
.cart-item-media .pa { width: 42px; height: 42px; }
.cart-item-media { overflow: hidden; }
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.cart-item-price { font-weight: 800; color: var(--indigo); font-size: .92rem; margin-top: 2px; }
.cart-item-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-qty-btn { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); color: var(--ink); font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cart-qty-btn:hover:not(:disabled) { background: var(--indigo); color: #fff; }
.cart-qty-btn:disabled { opacity: .4; cursor: not-allowed; }
/* comfortable touch targets on touch devices */
@media (pointer: coarse) {
  .cart-qty-btn { width: 38px; height: 38px; }
  .qty-stepper button { width: 36px; height: 36px; }
}
.cart-qty { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-remove { margin-left: auto; color: var(--ink-3); font-size: .8rem; font-weight: 600; transition: color .2s; }
.cart-remove:hover { color: var(--red); }
.cart-footer { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.cart-savings { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--lime-deep); font-weight: 700; margin-bottom: 8px; }
.cart-total { display: flex; align-items: center; justify-content: space-between; font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.cart-total #cartTotal { color: var(--indigo); font-size: 1.3rem; }
.cart-note { text-align: center; font-size: .8rem; color: var(--ink-3); margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cart-note svg { width: 14px; height: 14px; color: var(--lime-deep); }

/* fly to cart ghost */
.fly-ghost { position: fixed; z-index: 980; display: flex; align-items: center; justify-content: center; font-size: 44px; pointer-events: none; will-change: transform, opacity; }
.fly-ghost .pa { width: 48px; height: 48px; filter: drop-shadow(0 8px 12px rgba(28,26,64,.25)); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 24px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--r-pill); display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out), transform .35s var(--ease-spring); z-index: 990; }
.toast svg { width: 18px; height: 18px; color: var(--lime); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,18,46,.55); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 970; }
.modal-overlay.active { display: flex; animation: fadein .3s var(--ease-out); }
@keyframes fadein { from { opacity: 0; } }
.modal { background: var(--surface); border-radius: var(--r-lg); width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg); animation: popin .4s var(--ease-spring); }
@keyframes popin { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px 16px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: 1.3rem; color: var(--ink); }
.modal-close { width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; color: var(--ink-2); background: var(--bg-soft); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.modal-close:hover { background: var(--red); color: #fff; }
.checkout-form { padding: 22px 26px 28px; }
/* keep the submit action visible while the form scrolls on short screens */
.checkout-form button[type="submit"] { position: sticky; bottom: 10px; box-shadow: 0 -14px 18px -14px rgba(28,26,64,.25), var(--glow-red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface-2); font: inherit; font-size: .95rem; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--indigo-mid); box-shadow: 0 0 0 3px rgba(66,61,140,.12); }
.form-group textarea { resize: vertical; min-height: 56px; }
.fulfill-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.fulfill-opt { position: relative; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 14px; cursor: pointer; transition: border-color .2s, background .2s; text-align: center; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.fulfill-opt span { display: block; font-size: .76rem; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
.fulfill-opt input { position: absolute; opacity: 0; }
.fulfill-opt.sel { border-color: var(--indigo); background: rgba(45,42,102,.05); color: var(--ink); }
.order-summary { background: var(--bg-soft); border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 18px; }
.order-summary-item { display: flex; justify-content: space-between; font-size: .88rem; color: var(--ink-2); padding: 4px 0; }
.order-summary-total { display: flex; justify-content: space-between; font-weight: 800; color: var(--ink); padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--line-2); }

/* success */
.success-overlay { position: fixed; inset: 0; background: rgba(20,18,46,.6); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 980; }
.success-overlay.active { display: flex; animation: fadein .3s; }
.success-modal { background: var(--surface); border-radius: var(--r-lg); max-width: 440px; width: 100%; padding: 38px 32px; text-align: center; box-shadow: var(--shadow-lg); animation: popin .5s var(--ease-spring); }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: var(--glow-lime); animation: pop 0.5s var(--ease-spring); }
@keyframes pop { from { transform: scale(0); } }
.success-modal h2 { font-size: 1.6rem; color: var(--ink); margin-bottom: 8px; }
.success-details { background: var(--bg-soft); border-radius: var(--r-sm); padding: 16px; text-align: left; font-size: .88rem; color: var(--ink-2); margin: 18px 0; }
.success-customer strong { color: var(--ink); }
.success-items { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.success-note { font-size: .92rem; line-height: 1.5; color: #7a5200; background: #fff6e0; border: 1.5px solid #f4dfae; border-radius: var(--r-sm); padding: 12px 14px; margin: 4px 0 2px; text-align: left; }
.success-note strong { color: #5c3d00; }
.success-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 12px; }
.btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #0e7d3d; color: #fff; font-size: 1.02rem; box-shadow: 0 18px 40px -14px rgba(14,125,61,.5); }
.btn-whatsapp:hover { background: #0a6a33; }
.btn-whatsapp svg { width: 21px; height: 21px; flex: none; }
.success-email-link { font-size: .86rem; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.success-email-link:hover { color: var(--ink); }

/* ---------- reveal animations ---------- */
[data-reveal], [data-reveal-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].revealed, [data-reveal-stagger].revealed > * { opacity: 1; transform: none; }
.reveal-words .word { display: inline-block; opacity: 0; transform: translateY(22px) rotate(3deg); }
.reveal-words.revealed .word { animation: wordin .6s var(--ease-out) forwards; }
@keyframes wordin { to { opacity: 1; transform: none; } }

/* ============================================================
   PREMIUM PRELOADER — "live checkout"
   Product illustrations rain into the buyplus cart, a lime ring
   fills, a receipt prints, then a curtain wipe reveals the site.
   ============================================================ */
body.pl-active { overflow: hidden; }
#preloader { position: fixed; inset: 0; z-index: 6000; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #201d4f 0%, var(--indigo) 48%, #3a2f7a 100%); color: #fff;
  clip-path: inset(0 0 0 0); transition: opacity .7s var(--ease), clip-path .85s var(--ease-out); }
#preloader.done { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
.pl-aurora { position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(36% 44% at 22% 26%, rgba(237,28,46,.5), transparent 60%),
    radial-gradient(40% 48% at 80% 30%, rgba(122,90,248,.55), transparent 60%),
    radial-gradient(42% 50% at 68% 84%, rgba(25,195,125,.42), transparent 60%);
  filter: blur(26px); animation: meshmove 12s ease-in-out infinite; }
.pl-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 24px;
  animation: plIn .7s var(--ease-out) both; }
@keyframes plIn { from { opacity: 0; transform: translateY(14px); } }
.pl-logo { display: inline-flex; align-items: center; gap: 11px; }
.pl-logo .logo-mark { width: 36px; height: 36px; filter: drop-shadow(0 8px 16px rgba(237,28,46,.4)); }
.pl-logo .wordmark { font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.pl-logo .wordmark .plus { color: var(--red-soft); }

.pl-stage { position: relative; width: 184px; height: 184px; }
.pl-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.pl-ring__track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 6; }
.pl-ring__prog { fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(25,195,125,.65)); transition: stroke-dashoffset .12s linear; }
.pl-cart { position: absolute; left: 50%; bottom: 30px; width: 86px; transform: translateX(-50%); animation: plBob 1.7s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(0,0,0,.35)); }
.pl-cart.catch { animation: plCatch .42s var(--ease-spring); }
@keyframes plBob { 50% { transform: translateX(-50%) translateY(-5px); } }
@keyframes plCatch { 35% { transform: translateX(-50%) translateY(4px) scale(1.06,.94); } 70% { transform: translateX(-50%) translateY(-3px) scale(.98,1.03); } }
.pl-drops { position: absolute; inset: 0; pointer-events: none; }
.pl-item { position: absolute; top: 6px; left: calc(50% - 20px); width: 40px; height: 40px; border-radius: 11px; background: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 18px -8px rgba(0,0,0,.5);
  animation: plDrop 2.4s var(--ease-out) infinite; opacity: 0; }
.pl-item .pa { width: 30px; height: 30px; }
@keyframes plDrop {
  0%   { transform: translate(var(--x,0), -16px) scale(.55) rotate(-16deg); opacity: 0; }
  12%  { opacity: 1; }
  52%  { transform: translate(calc(var(--x,0) * .28), 92px) scale(1) rotate(0); opacity: 1; }
  70%  { transform: translate(0, 110px) scale(.5); opacity: .55; }
  80%, 100% { transform: translate(0, 116px) scale(0); opacity: 0; }
}
.pl-meta { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.pl-pct { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff, var(--amber)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pl-tagline { font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.75); min-height: 1.3em; transition: opacity .25s; }
.pl-receipt { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.82); }
.pl-receipt .tick { width: 16px; height: 16px; border-radius: 50%; background: var(--lime); color: #04261a; display: inline-flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 900; }
@media (prefers-reduced-motion: reduce) {
  .pl-aurora, .pl-cart { animation: none !important; }
  .pl-item { display: none !important; }
}
@media (max-width: 560px) { .pl-stage { width: 160px; height: 160px; } .pl-cart { width: 74px; bottom: 26px; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-search { flex-basis: 220px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-visual { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: 680px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-container { gap: 12px; }
  .nav-logo { flex: none; }
  .nav-search { flex: 1 1 auto; min-width: 0; padding: 9px 15px; }
  .nav-search input { font-size: .9rem; }
  .nav-toggle { display: flex; flex: none; }
  .mobile-order-bar { display: block; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
  .promise-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 20px; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .hero { padding-bottom: 90px; }
  .nav-search { padding: 8px 13px; gap: 7px; }
  .nav-search svg { width: 16px; height: 16px; }
  .nav-search input { font-size: .86rem; }
  .success-actions { flex-direction: column; }
  .add-btn .label-add { display: none; }
  .add-btn.sold-out .label-add { display: inline; } /* no icon on this one — text is all it has */
  .product-media { font-size: 3rem; }
  /* the hero is single-column here, so the floating photos would sit on the text */
  .hero-float { display: none; }
}

/* ---------- shop "show more" + form helpers ---------- */
.show-more { display: block; margin: 18px auto 0; padding: 11px 24px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; transition: border-color .2s, color .2s, transform .2s var(--ease-out), box-shadow .2s; }
.show-more:hover { border-color: var(--indigo-mid); color: var(--indigo); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.lbl-opt { font-weight: 600; color: var(--ink-3); }
.checkout-hint { text-align: center; font-size: .82rem; color: var(--ink-3); margin-top: 10px; }
.field-error { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(237,28,46,.16) !important; }

/* ---------- dietary filters ---------- */
.diet-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 2px 0 18px; }
.diet-lead { font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-right: 3px; }
.diet-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: var(--r-pill); background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: .88rem; cursor: pointer; transition: transform .2s var(--ease-out), background .2s, border-color .2s, color .2s, box-shadow .2s; }
.diet-chip .dc-i { font-size: 1rem; }
.diet-chip:hover { border-color: var(--lime); color: var(--ink); transform: translateY(-1px); }
.diet-chip.active { background: var(--lime); border-color: var(--lime); color: #04261a; box-shadow: 0 10px 22px -10px var(--lime); }
.diet-clear { padding: 8px 14px; border-radius: var(--r-pill); border: none; background: rgba(237,28,46,.1); color: var(--red); font-weight: 700; font-size: .84rem; cursor: pointer; transition: background .2s; }
.diet-clear:hover { background: rgba(237,28,46,.18); }
/* product-card diet badges */
.pd-diets { display: flex; gap: 5px; margin-top: 7px; }
.pd-diet { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; background: var(--bg-soft); border: 1px solid var(--line); }

/* ---------- recipes ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.recipe-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: transform .38s var(--ease-out), box-shadow .38s, border-color .38s; }
.recipe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.recipe-card:focus-visible { outline: 3px solid var(--indigo-mid); outline-offset: 2px; }
.recipe-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, var(--bg-soft), #fff); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.recipe-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.recipe-card:hover .recipe-media img { transform: scale(1.07); }
.recipe-emoji { position: absolute; font-size: 3rem; opacity: 0; }
.recipe-media.no-img img { display: none; }
.recipe-media.no-img .recipe-emoji { opacity: 1; }
.recipe-time { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(20,18,47,.72); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.recipe-body { padding: 16px 18px 18px; }
.recipe-name { font-size: 1.12rem; font-weight: 800; color: var(--ink); }
.recipe-meta { color: var(--ink-3); font-size: .86rem; margin-top: 4px; }
.recipe-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 12px; }
.recipe-total { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.recipe-add { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: none; border-radius: var(--r-pill); background: var(--indigo); color: #fff; font-weight: 700; font-size: .86rem; cursor: pointer; transition: background .25s, transform .25s; white-space: nowrap; }
.recipe-add:hover { background: var(--indigo-deep); transform: translateY(-2px); }

/* ---------- recipe modal ---------- */
.recipe-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20,18,47,.55); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.recipe-modal.active { opacity: 1; visibility: visible; }
.recipe-modal-inner { position: relative; width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 40px 90px -30px rgba(0,0,0,.55); transform: translateY(16px) scale(.98); transition: transform .35s var(--ease-out); }
.recipe-modal.active .recipe-modal-inner { transform: none; }
.recipe-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.rm-hero { position: relative; height: 152px; }
.rm-hero img { width: 100%; height: 100%; object-fit: cover; }
.rm-hero-txt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; background: linear-gradient(180deg, transparent 28%, rgba(20,18,47,.85)); color: #fff; }
.rm-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .92; }
.rm-hero-txt h3 { font-size: 1.35rem; font-weight: 800; margin: 3px 0; }
.rm-hero-txt p { font-size: .82rem; opacity: .9; }
.rm-list { list-style: none; padding: 8px 20px; margin: 0; }
.rm-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rm-list li:last-child { border-bottom: none; }
.rm-emoji { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex: none; }
.rm-nm { flex: 1; font-weight: 700; color: var(--ink); font-size: .92rem; }
.rm-nm em { display: block; font-style: normal; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.rm-pr { font-weight: 700; color: var(--ink-2); font-size: .9rem; }
.rm-foot { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; background: var(--surface); border-top: 1px solid var(--line); }
.rm-total { color: var(--ink-3); font-size: .9rem; }
.rm-total b { display: block; color: var(--ink); font-size: 1.3rem; font-weight: 800; }
.rm-add { flex: 1; max-width: 260px; justify-content: center; }

@media (max-width: 900px) { .recipe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .recipe-grid { grid-template-columns: 1fr; } .diet-lead { width: 100%; } }
