/* Framer-style polish layer — loaded after site-refresh.css */
:root {
  --ease-spring: cubic-bezier(.16, 1, .3, 1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --glass: rgb(255 254 250 / .72);
  --shadow-soft: 0 1px 1px rgb(23 62 49 / .04), 0 8px 24px -6px rgb(23 62 49 / .12), 0 24px 48px -16px rgb(23 62 49 / .14);
}

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgb(221 235 150 / .35), transparent 60%),
    var(--paper);
  font-feature-settings: "kern" 1;
}
/* subtle film grain */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .045;
  background-image: url("/images/grain.png?v=1");
}
main, footer, .topbar { position: relative; z-index: 1; }

/* ---------- Floating glass nav ---------- */
.topbar { background: var(--forest); }
.header {
  position: sticky; top: 12px; z-index: 40;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px; margin-top: 12px; padding: 8px 10px 8px 14px; gap: 20px;
  border: 1px solid rgb(23 62 49 / .08); border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 10px 30px -12px rgb(23 62 49 / .18);
  transition: box-shadow .4s var(--ease-spring), background-color .4s var(--ease-spring), transform .4s var(--ease-spring);
}
.header.is-scrolled { background: rgb(255 254 250 / .86); box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 16px 40px -14px rgb(23 62 49 / .28); }
.brand-logo { width: 38px; height: 38px; }
.brand-label b { font-size: 23px; }
.nav { gap: 4px; padding: 4px; border-radius: 999px; background: rgb(23 62 49 / .045); }
.nav a { min-height: 38px; padding-inline: 14px; border-radius: 999px; font-weight: 600; transition: color .25s var(--ease-spring), background-color .25s var(--ease-spring); }
.nav a:hover { color: var(--forest); background: rgb(255 255 255 / .7); }
.nav a.active { color: var(--forest); background: white; box-shadow: 0 2px 8px -2px rgb(23 62 49 / .18); }
.nav a.active::after { display: none; }
.header-cta { min-height: 44px; background: var(--forest); }
.header-actions .cart-trigger:not(.btn) { min-height: 44px; background: rgb(255 255 255 / .6); }

/* ---------- Buttons: springy, tactile ---------- */
.btn, .header-cta, .outline-btn, .range-card .product-add, .cart-trigger {
  transition: transform .45s var(--ease-spring), background-color .25s ease, box-shadow .45s var(--ease-spring), color .25s ease, border-color .25s ease !important;
}
.primary, .header-cta {
  background: linear-gradient(180deg, #2a7a58, var(--leaf));
  box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 6px 16px -6px rgb(36 107 77 / .55);
}
.primary:hover, .header-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 14px 28px -10px rgb(36 107 77 / .6); }
.btn:active, .header-cta:active, .outline-btn:active, .product-add:active, .cart-trigger:active { transform: scale(.97) !important; }
.btn b, .header-cta span, .text-link b { transition: transform .45s var(--ease-spring); }
.btn:hover b, .header-cta:hover span { transform: translateX(-4px); }

/* ---------- Hero ---------- */
.hero { margin-top: -88px; padding: 140px 0 60px; background: transparent; }
.hero::before {
  width: min(80vw, 1100px); inset: -10% auto auto -30%;
  background: radial-gradient(circle, rgb(221 235 150 / .6) 0, rgb(221 235 150 / .2) 40%, transparent 70%);
  filter: blur(20px); animation: blob-drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute; width: min(55vw, 700px); aspect-ratio: 1; inset: 20% -18% auto auto; border-radius: 50%;
  background: radial-gradient(circle, rgb(36 107 77 / .16), transparent 65%); filter: blur(30px); pointer-events: none;
  animation: blob-drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes blob-drift { to { transform: translate3d(6%, 8%, 0) scale(1.08); } }
.hero .eyebrow {
  display: inline-flex; width: fit-content; padding: 6px 14px 6px 8px; border: 1px solid rgb(23 62 49 / .1); border-radius: 999px;
  background: rgb(255 255 255 / .65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--forest); font-weight: 700;
}
.hero .eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgb(36 107 77 / .15); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 8px rgb(36 107 77 / 0); } }
.hero h1 { font-size: clamp(48px, 6.6vw, 92px); line-height: 1.12; letter-spacing: -.03em; }
.hero h1 em {
  background: linear-gradient(100deg, var(--leaf) 10%, #4c9a5f 45%, #8fb842 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { font-size: 16px; color: var(--muted); }
.hero-stats { border-top: 0; gap: 10px; }
.hero-stats > div { padding: 14px 18px; border-radius: var(--radius-md); background: rgb(255 255 255 / .6); border: 1px solid rgb(23 62 49 / .07); }
.hero-stats > div + div { padding-inline-start: 18px; border-inline-start: 1px solid rgb(23 62 49 / .07); }
.hero-visual { border-radius: var(--radius-lg); }
.hero-packshot-label { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-soft); }
.hero-packshot-footer { border-top: 0; }

/* Word-by-word blur reveal (JS splits into .w) */
.split .w { display: inline-block; white-space: pre; }
html.has-motion .split .w { opacity: 0; filter: blur(10px); transform: translateY(.35em); transition: opacity .9s var(--ease-spring), filter .9s var(--ease-spring), transform .9s var(--ease-spring); transition-delay: calc(var(--i) * 60ms + 80ms); }
html.has-motion .split.is-in .w { opacity: 1; filter: blur(0); transform: none; }
.hero h1 em .w { background: inherit; -webkit-background-clip: text; background-clip: text; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 22px; border-block: 1px solid var(--line); background: rgb(255 254 250 / .7);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; color: var(--forest); font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; padding-inline-end: 48px; }
.marquee-track span::after { content: '✦'; color: var(--leaf); font-size: .6em; opacity: .6; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- Generic reveal: blur + rise ---------- */
html.has-motion [data-reveal] { opacity: 0; filter: blur(8px); transform: translateY(28px); transition: opacity 1s var(--ease-spring), transform 1s var(--ease-spring), filter 1s var(--ease-spring); }
html.has-motion [data-reveal].is-visible { opacity: 1; filter: none; transform: none; }

/* ---------- About ---------- */
.about-image::before { display: none; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.about-year { border-radius: var(--radius-md); inset: auto auto -6px -6px; box-shadow: var(--shadow-soft); }
h2 { letter-spacing: -.03em; line-height: 1.2; }
.eyebrow > span { border-radius: 2px; }

/* ---------- Products: bento cards ---------- */
.products { background: transparent; }
.product-brand-tabs { width: fit-content; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgb(255 255 255 / .7); }
.brand-tab { min-height: 48px; padding: 0 22px; border-radius: 999px; align-items: center; font-size: 18px; transition: color .3s, background-color .3s var(--ease-spring); }
.brand-tab::after { display: none; }
.brand-tab.active { background: var(--forest); color: white; box-shadow: 0 6px 16px -6px rgb(22 59 46 / .5); }
.brand-tab.active span { color: var(--orange); }
.range-quicklinks button { background: rgb(255 255 255 / .6); }
.range-card { border-radius: var(--radius-lg); border-color: rgb(23 62 49 / .06); box-shadow: var(--shadow-soft); transition: transform .6s var(--ease-spring), box-shadow .6s var(--ease-spring); }
.range-card:hover { transform: translateY(-6px); box-shadow: 0 2px 2px rgb(23 62 49 / .04), 0 24px 48px -12px rgb(23 62 49 / .22); }
.product-stage { border-radius: calc(var(--radius-lg) - 8px); margin: 10px 0 10px 10px; border: 0; }
.range-card .pack-main { transition: transform .8s var(--ease-spring); }
.range-card:hover .pack-main { transform: translate(-50%, -50%) scale(1.04); }
.flavor-choice { border-radius: 999px; padding-inline: 14px; transition: color .18s ease-out, background-color .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out; }
.flavor-choice.active { box-shadow: 0 6px 14px -6px rgb(36 107 77 / .6); }
.range-bm-energy { background: radial-gradient(800px 400px at 0% 100%, #22553f, transparent 60%), #10302a; }
html.has-motion .range-card[data-reveal] { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Trade + quality ---------- */
.trade { background: transparent; }
.trade-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgb(255 255 255 / .75); box-shadow: var(--shadow-soft); padding: 32px; }
.trade-panel li b, .quality-list b { border-radius: 10px; }
.cart-trigger.panel-cart { border-radius: 14px; }
.trade-points span { padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .7); border: 1px solid var(--line); }

.quality { margin-inline: 16px; border-radius: 36px; background: radial-gradient(900px 500px at 100% 0%, #2c6b4c, transparent 60%), var(--forest); color: #f4f3e9; overflow: hidden; }
.quality .eyebrow { color: var(--orange); }
.quality p:not(.eyebrow) { color: #c9d6c6; }
.quality-list { display: grid; gap: 12px; }
.quality-list > div { padding: 22px !important; border: 1px solid rgb(255 255 255 / .1) !important; border-radius: var(--radius-md); background: rgb(255 255 255 / .05);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .5s var(--ease-spring), background-color .3s; }
.quality-list > div:hover { transform: translateX(-6px); background: rgb(255 255 255 / .09); }
.quality-list small { color: #b9c8b6; }

/* ---------- Contact ---------- */
.contact-card { border-radius: 36px; background: linear-gradient(135deg, #eef3e3, #dfe9d6); box-shadow: var(--shadow-soft); overflow: hidden; }
.contact-art img { transition: transform .8s var(--ease-spring); }
.contact-card:hover .contact-art img:first-child { transform: rotateY(-4deg) translateX(10%) translateY(-6px); }
.contact-card:hover .contact-art img:last-child { transform: rotateY(4deg) translateX(-10%) scale(.92); }

/* ---------- Footer / floating ---------- */
footer { margin-top: 40px; }
.whatsapp-float { border-radius: 999px; background: #1f9d55; border: 0; box-shadow: 0 10px 30px -8px rgb(31 157 85 / .6); }
.whatsapp-float:hover { background: #1a8a4a; transform: translateY(-3px) scale(1.03); }
.cart-drawer { border-radius: 28px 0 0 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .header { top: 8px; width: calc(100% - 20px); border-radius: 22px; padding-inline: 12px 8px; }
  .nav { top: calc(100% + 8px); border-radius: 20px; padding: 8px; background: rgb(255 254 250 / .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow-soft); }
  .nav a { border-bottom: 0; min-height: 48px; }
  .menu-btn { border-radius: 999px; }
  .hero { padding-top: 120px; }
  .quality { margin-inline: 10px; border-radius: 28px; }
  .hero .eyebrow { margin-inline: auto; }
  .hero-stats { justify-content: center; }
}
@media (max-width: 560px) {
  .hero { padding-top: 104px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-text { font-size: 14px; }
  .hero-stats > div { padding: 10px 12px; }
  .product-brand-tabs { width: 100%; }
  .brand-tab { flex: 1; justify-content: center; }
  .range-card { border-radius: 22px; }
  .product-stage { margin: 8px 8px 0; }
  .contact-card { border-radius: 26px; }
  .marquee { padding-block: 16px; }
}
@media (max-width: 560px) {
  /* Home intro: four lines once Cairo is in; reserve them so the packshot below doesn't jump
     when the web font replaces the fallback (CLS). */
  .hero-intro { min-height: 4lh; }
}
@media (max-width: 360px) {
  /* Small phones (320–360): the logo subtitle and wide gaps pushed the menu button off the bar. */
  .header { gap: 6px; padding-inline: 10px 6px; }
  .brand-label small { display: none; }
  .header-actions { gap: 6px; }
}
@media (hover: none), (pointer: coarse) {
  .range-card:hover, .quality-list > div:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .marquee-track, .hero .eyebrow > span { animation: none !important; }
  html.has-motion .split .w, html.has-motion [data-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ================= v2: stronger details ================= */

/* Scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; transform-origin: right; transform: scaleX(var(--progress, 0));
  background: linear-gradient(270deg, var(--leaf), #8fb842); pointer-events: none; }

/* Spinning badge in hero */
.spin-badge { position: absolute; z-index: 5; inset: auto auto 18% 2%; width: clamp(96px, 10vw, 128px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; background: rgb(255 254 250 / .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgb(23 62 49 / .08); box-shadow: var(--shadow-soft); }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge text { fill: var(--forest); font: 700 10.5px Cairo, Arial, sans-serif; letter-spacing: .02em; }
.spin-badge img { width: 44%; height: auto; object-fit: contain; }
@keyframes spin { to { transform: rotate(-360deg); } }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-block: 56px 8px; }
.stat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; overflow: hidden;
  border: 1px solid rgb(23 62 49 / .07); border-radius: var(--radius-md); background: rgb(255 255 255 / .7); box-shadow: var(--shadow-soft); }
.stat::after { content: ''; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(221 235 150 / .55), transparent 70%); pointer-events: none; }
.stat strong { color: var(--forest); font-size: clamp(38px, 4.4vw, 58px); font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat > span { position: relative; z-index: 1; color: var(--muted); font-size: 13px; line-height: 1.7; }
.stat:first-child { background: var(--forest); border-color: transparent; }
.stat:first-child strong { color: var(--orange); }
.stat:first-child > span { color: #c9d6c6; }
.stat:first-child::after { background: radial-gradient(circle, rgb(143 184 66 / .35), transparent 70%); }

/* Pointer spotlight + 3D tilt on product cards (desktop only, driven by framer.js) */
.range-card { --mx: 50%; --my: 50%; }
.range-card::before { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(255 255 255 / .22), transparent 45%); }
.range-card { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .range-card:hover::before { opacity: 1; }
  .range-card.is-tilting { transition: box-shadow .6s var(--ease-spring); }
}

/* Section headings: accent underline swash */
.section-head h2, .about-copy h2, .trade-copy h2 { position: relative; }

/* Giant footer wordmark */
footer { overflow: hidden; padding-bottom: 0; }
.footer-wordmark { margin-top: 28px; color: transparent; -webkit-text-stroke: 1px rgb(244 243 233 / .28);
  font-size: clamp(120px, 30vw, 380px); font-weight: 800; line-height: .82; letter-spacing: -.04em; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgb(221 235 150 / .22), transparent 75%); -webkit-background-clip: text; background-clip: text;
  transform: translateY(12%); }

/* Product cards: kicker chip */
.range-kicker { width: fit-content; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .6); }
.range-bm-energy .range-kicker { background: rgb(255 255 255 / .08); }
.range-bm-energy h3 { font-size: clamp(28px, 3vw, 40px); }

/* BM Energy card: glow behind the cans */
.range-bm-energy .product-stage { background: radial-gradient(ellipse at 50% 42%, #ffffff 0, #eef3e6 45%, #c9dbbd 100%); }

@media (max-width: 900px) {
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stats-band { gap: 8px; padding-block: 36px 0; }
  .stat { padding: 18px 16px; }
  .stat > span { font-size: 11px; }
  .spin-badge { width: 84px; inset: auto auto 14% 0; }
  .spin-badge text { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .spin-badge svg { animation: none; }
}

/* ================= v3: fixes from screenshot review ================= */
/* Headline: one word per line looked broken on desktop */
.hero h1 { font-size: clamp(42px, 4.6vw, 68px); max-width: 12.5em; }
/* Hero showcase panel: gives the product photo's white background something to multiply into */
.hero-visual { background: radial-gradient(ellipse at 50% 55%, #f4f7ec 0, #e6eedb 70%, #dde8d1 100%);
  border: 1px solid rgb(23 62 49 / .06); box-shadow: var(--shadow-soft); isolation: isolate; }
.hero-packshot-label { top: 18px; }
.hero-packshot-footer { inset: auto 6% 14px; }
/* "1974" was repeated four times above the fold; the stats band now carries the numbers */
.hero-stats { display: none; }
.hero-actions { margin-top: 28px; }
.spin-badge { inset: auto auto 12% -22px; }
@media (max-width: 800px) {
  .hero-visual { height: clamp(300px, 70vw, 380px); margin-top: 18px; }
  .spin-badge { inset: auto auto -18px 10px; }
}
/* Soften the hard photo edges (the product photos have their own light backgrounds) */
.product-viewer .pack-main,
.contact-art img {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}
.range-bm-energy .product-viewer .pack-main { width: min(94%, 460px); }
/* 3D viewer draws its own contact shadow */
.product-stage:has(.has-three)::after { opacity: 0; }
.hero-product-viewer .product-canvas { filter: none; }

/* ================= Product showcase (scroll story) ================= */
.showcase { --flavor: #f2a127; --zoom: 0; position: relative; z-index: 2; background: #0d1a15; color: #f6f5ee; }
.showcase-pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate;
  /* Studio look from the reference: dark ceiling fading into a pale silver floor, with the
     chosen flavour glowing up from the floor. */
  background:
    radial-gradient(42% 26% at 50% 100%, color-mix(in srgb, var(--flavor) 85%, white), transparent 72%),
    radial-gradient(70% 34% at 50% 104%, color-mix(in srgb, var(--flavor) 55%, transparent), transparent 70%),
    radial-gradient(55% 45% at 50% 18%, rgb(255 255 255 / .07), transparent 70%),
    linear-gradient(180deg, #050608 0%, #101317 34%, #3c4148 58%, #9da2a9 78%, #dfe2e6 92%, #f1f2f4 100%);
  transition: background-color .6s; }
.showcase-flood { position: absolute; inset: 0; z-index: 0; opacity: var(--zoom); pointer-events: none;
  background:
    radial-gradient(70% 70% at 40% 50%, color-mix(in srgb, var(--flavor) 92%, white), var(--flavor) 45%, color-mix(in srgb, var(--flavor) 55%, black) 100%); }
.showcase-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; touch-action: pan-y; }
/* Photo line-up for phones/connections without 3D: a swipeable row of white product cards. */
.showcase-fallback { position: absolute; inset: 24% 0 30%; z-index: 1; display: none; align-items: center; gap: 14px; padding-inline: max(6vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.showcase-fallback::-webkit-scrollbar { display: none; }
.showcase-fallback img { flex: 0 0 auto; height: 100%; aspect-ratio: 1; object-fit: contain; scroll-snap-align: center; border-radius: 22px;
  background: #fff; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6); }
.showcase.no-webgl .showcase-fallback { display: flex; }

/* Light ring overhead, like a display shelf spotlight */
.showcase-pin::before { content: ''; position: absolute; z-index: 1; top: 25%; left: 50%; width: min(240px, 46vw); aspect-ratio: 5 / 1; transform: translateX(-50%);
  border-radius: 50%; border: 2px solid rgb(255 255 255 / .55); box-shadow: 0 0 30px rgb(255 255 255 / .35), inset 0 0 18px rgb(255 255 255 / .3);
  opacity: calc(.9 - var(--zoom)); pointer-events: none; }

.showcase-head { position: absolute; z-index: 3; top: max(96px, 11vh); inset-inline: 0; text-align: center; opacity: calc(1 - var(--zoom) * 1.6); transform: translateY(calc(var(--zoom) * -40px)); pointer-events: none; }
.showcase-head .eyebrow { justify-content: center; color: color-mix(in srgb, var(--flavor) 60%, white); }
.showcase-head .eyebrow > span { background: var(--flavor); }
.showcase-head h2 { margin-top: 2px; font-size: clamp(30px, 4vw, 52px); color: #fff; }

.showcase-label { position: absolute; z-index: 3; inset-inline: 0; bottom: max(150px, 19vh); display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
  opacity: calc(1 - var(--zoom) * 1.8); pointer-events: none; }
.showcase-brand { color: color-mix(in srgb, var(--flavor) 55%, white); font: 800 12px/1.2 Arial, sans-serif; letter-spacing: .24em; }
.showcase-name { color: #fff; -webkit-text-stroke: 0; filter: drop-shadow(0 2px 10px rgb(0 0 0 / .35)); font-size: clamp(34px, 5vw, 64px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-shadow: 0 10px 40px color-mix(in srgb, var(--flavor) 60%, transparent); }

.showcase-controls { position: absolute; z-index: 4; inset-inline: 0; bottom: max(84px, 10vh); display: flex; justify-content: center; align-items: center; gap: 18px;
  opacity: calc(1 - var(--zoom) * 2); transition: opacity .3s; }
.showcase.is-story .showcase-controls { pointer-events: none; }
.showcase-arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .22); border-radius: 50%;
  background: rgb(255 255 255 / .06); color: #fff; font: 20px/1 Arial, sans-serif; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .45s var(--ease-spring), background-color .25s, border-color .25s; }
.showcase-arrow:hover { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .5); transform: scale(1.08); }
.showcase-arrow:active { transform: scale(.94); }
.showcase-dots { display: flex; gap: 8px; }
.showcase-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / .28); transition: width .5s var(--ease-spring), background-color .3s; position: relative; }
.showcase-dot::after { content: ''; position: absolute; inset: -17px -6px; }
.showcase-dot[aria-pressed="true"] { width: 30px; background: var(--dot); box-shadow: 0 0 14px var(--dot); }

.showcase-features { position: absolute; z-index: 3; inset-inline-start: max(6vw, 32px); top: 50%; width: min(400px, 40vw); margin: 0; padding: 0; list-style: none; transform: translateY(-50%); }
.showcase-features li { position: absolute; inset: 0 0 auto; display: flex; flex-direction: column; gap: 10px; opacity: 0; filter: blur(8px); transform: translateY(26px);
  transition: opacity .6s var(--ease-spring), transform .8s var(--ease-spring), filter .6s; pointer-events: none; }
.showcase-features li.is-active { opacity: 1; filter: none; transform: none; }
.showcase-features strong { width: fit-content; padding: 4px 12px; background: #fff; color: color-mix(in srgb, var(--flavor) 70%, black); font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.3; }
.showcase-features span { max-width: 32ch; color: #fff; font-size: 16px; line-height: 1.9; text-shadow: 0 2px 16px rgb(0 0 0 / .25); }

.showcase-steps { position: absolute; z-index: 3; inset-inline-end: max(3vw, 18px); top: 50%; display: flex; flex-direction: column; gap: 14px; transform: translateY(-50%); opacity: var(--zoom); }
.showcase-steps span { width: 34px; height: 34px; border: 1px solid rgb(255 255 255 / .55); border-radius: 50%; transition: background-color .4s, transform .5s var(--ease-spring); }
.showcase-steps span.is-active { background: #fff; transform: scale(1.1); }

.showcase-actions { position: absolute; z-index: 4; inset-inline-start: max(6vw, 32px); bottom: max(64px, 9vh); opacity: clamp(0, calc((var(--zoom) - .6) * 3), 1); transition: opacity .2s; }
.showcase:not(.is-story) .showcase-actions { pointer-events: none; }
.showcase-add { background: #fff; color: color-mix(in srgb, var(--flavor) 70%, black); box-shadow: 0 14px 34px -10px rgb(0 0 0 / .4); }
.showcase-add:hover { transform: translateY(-2px) scale(1.03); }

.showcase-hint { position: absolute; z-index: 3; inset-inline: 0; bottom: 26px; margin: 0; text-align: center; color: rgb(255 255 255 / .6); font-size: 12px;
  opacity: calc(1 - var(--zoom) * 3); pointer-events: none; }
.showcase-hint::after { content: ''; display: block; width: 1px; height: 22px; margin: 6px auto 0; background: linear-gradient(rgb(255 255 255 / .7), transparent); animation: hint-drop 1.8s ease-in-out infinite; }
@keyframes hint-drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 760px) {
  .showcase-head { top: 88px; }
  .showcase-label { bottom: 128px; }
  .showcase-controls { bottom: 62px; gap: 10px; }
  .showcase-dots { gap: 6px; }
  .showcase-features { inset-inline: 22px; top: auto; bottom: 120px; width: auto; transform: none; }
  .showcase-features li { inset: auto 0 0; }
  .showcase-features strong { font-size: 24px; }
  .showcase-features span { font-size: 14px; }
  .showcase-steps { top: 100px; transform: none; flex-direction: row; inset-inline-end: 22px; gap: 8px; }
  .showcase-steps span { width: 12px; height: 12px; }
  .showcase-actions { inset-inline-start: 22px; bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-hint::after { animation: none; }
}

/* Contact art: a tidy fan of three packs (replaces the split images + white disc) */
.contact-art { height: 240px; perspective: none; }
.contact-art::before { width: 70%; max-width: 230px; background: radial-gradient(circle, rgb(255 255 255 / .9), rgb(255 255 255 / 0) 70%); }
.contact-art img { position: absolute; top: 50%; left: 50%; width: auto; height: 92%; aspect-ratio: 1; object-fit: contain;
  mix-blend-mode: multiply; filter: none; transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse 34% 48% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 34% 48% at 50% 50%, #000 70%, transparent 100%); }
.contact-art img:nth-child(1) { z-index: 1; transform: translate(-50%, -50%) translateX(-34%) rotate(-9deg) scale(.86) !important; }
.contact-art img:nth-child(2) { z-index: 2; transform: translate(-50%, -50%) !important; animation: art-float 5s ease-in-out infinite; }
.contact-art img:nth-child(3) { z-index: 1; transform: translate(-50%, -50%) translateX(34%) rotate(9deg) scale(.86) !important; }
@keyframes art-float { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .contact-art img:nth-child(2) { animation: none; } }

/* BM line-up is now 2 x 2: floats, juice, soft drinks, energy */
.range-bm-energy { grid-column: auto; grid-template-columns: 1.04fr .96fr; }
.range-bm-soda .product-stage { background: radial-gradient(ellipse at 50% 42%, #ffffff 0, #e6eef8 50%, #c6d6ea 100%); }

/* ---------- Lenis smooth scroll ---------- */
/* Official lenis.css (1.3.26), plus scroll-behavior: auto so CSS smooth scroll doesn't fight it */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* ---------- Performance: no blur on large reveal blocks (expensive on phones) ---------- */
html.has-motion [data-reveal] { filter: none !important; transform: translateY(26px) scale(.985);
  transition: opacity .9s var(--ease-spring), transform 1s var(--ease-spring); }
html.has-motion [data-reveal].is-visible { transform: none; }
.quality-list > div { -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero::before, .hero::after { will-change: transform; }
.marquee-track { will-change: transform; }

/* Size choices (sizes from the official product pages) */
.size-options { gap: 6px; }
.size-options .size-choice { border-radius: 999px; min-width: 64px; }
.size-choice:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.range-matrix-soda .product-stage { background: radial-gradient(ellipse at 50% 42%, #ffffff 0, #e3f1fb 50%, #bfdcf0 100%); }
.range-matrix-soda { grid-column: 1 / -1; }

/* ================= Categories (bento) ================= */
.categories { padding-block: 100px 30px; }
.cat-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-auto-rows: minmax(250px, auto); gap: 14px; }
.cat-tile { --cat: #2f6fd6; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; overflow: hidden; padding: 26px;
  border-radius: var(--radius-lg); color: #fff; isolation: isolate;
  background: radial-gradient(120% 90% at 0% 100%, color-mix(in srgb, var(--cat) 70%, white), transparent 60%), linear-gradient(150deg, var(--cat), color-mix(in srgb, var(--cat) 62%, black));
  box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--cat) 70%, black); transition: transform .6s var(--ease-spring), box-shadow .6s var(--ease-spring); }
.cat-tile:hover { transform: translateY(-5px); }
.cat-soda { grid-row: span 2; grid-template-columns: 1fr; align-content: space-between; }
.cat-pics { position: relative; height: 210px; display: flex; justify-content: center; align-items: flex-end; }
.cat-soda .cat-pics { height: 300px; }
.cat-pics img { width: 46%; max-width: 210px; height: auto; max-height: 100%; aspect-ratio: 1; object-fit: contain; margin-inline: -9%; mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 18px rgb(0 0 0 / .25)); transition: transform .7s var(--ease-spring);
  -webkit-mask-image: radial-gradient(ellipse 36% 48% at 50% 50%, #000 72%, transparent 100%); mask-image: radial-gradient(ellipse 36% 48% at 50% 50%, #000 72%, transparent 100%); }
/* multiply needs a light backdrop: give each pack a soft white halo */
.cat-pics::before { content: ''; position: absolute; inset: 8% 6% 0; border-radius: 50% 50% 18px 18px; background: radial-gradient(ellipse at 50% 70%, rgb(255 255 255 / .92), rgb(255 255 255 / .55) 55%, transparent 75%); z-index: -1; }
.cat-pics img:only-child { width: 82%; max-width: 270px; margin-inline: 0; -webkit-mask-image: radial-gradient(ellipse 40% 42% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 40% 42% at 50% 50%, #000 70%, transparent 100%); }
.cat-pics img:first-child:nth-last-child(3), .cat-pics img:first-child:nth-last-child(3) ~ img { width: 40%; margin-inline: -4%; }
.cat-pics img:nth-child(odd) { transform: rotate(-6deg) translateY(6px); }
.cat-pics img:nth-child(even) { transform: rotate(6deg); }
.cat-tile:hover .cat-pics img:nth-child(odd) { transform: rotate(-10deg) translateY(-6px); }
.cat-tile:hover .cat-pics img:nth-child(even) { transform: rotate(10deg) translateY(-12px); }
.cat-copy h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; }
.cat-copy > p { margin-top: 4px; color: rgb(255 255 255 / .78); font-size: 13px; }
.cat-copy ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.cat-copy li button { width: 100%; min-height: 54px; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand sizes arrow" "note note arrow"; align-items: center; column-gap: 12px;
  padding: 10px 14px; border: 1px solid rgb(255 255 255 / .2); border-radius: 16px; background: rgb(255 255 255 / .1); color: #fff; text-align: start;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s, transform .45s var(--ease-spring); }
.cat-copy li button:hover { background: rgb(255 255 255 / .2); transform: translateX(-4px); }
.cat-copy li button.active { background: rgb(255 255 255 / .1); }
.cat-copy b { grid-area: brand; font: 800 15px/1.2 Arial, sans-serif; letter-spacing: .02em; }
.cat-sizes { grid-area: sizes; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-sizes span { padding: 2px 9px; border-radius: 999px; background: rgb(255 255 255 / .92); color: color-mix(in srgb, var(--cat) 75%, black); font-size: 11px; font-weight: 800; }
.cat-copy small { grid-area: note; margin-top: 4px; color: rgb(255 255 255 / .72); font-size: 11px; }
.cat-copy i { grid-area: arrow; font: normal 20px/1 Arial, sans-serif; transition: transform .45s var(--ease-spring); }
.cat-copy li button:hover i { transform: translateX(-4px); }
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-soda { grid-row: auto; }
}
@media (max-width: 560px) {
  .categories { padding-block: 64px 10px; }
  .cat-tile { grid-template-columns: 1fr; padding: 20px; }
  .cat-pics, .cat-soda .cat-pics { height: 190px; }
}

/* ---------- Ordering path: how-to strip, step labels, carton counter, order bar ---------- */
.how-order { padding-block: 84px 40px; display: grid; gap: 28px; }
.how-head h2 { margin-top: 10px; font-size: clamp(32px, 4.4vw, 58px); font-weight: 800; letter-spacing: -.02em; color: var(--ink, #173e31); }
.how-head > p:last-child { margin-top: 8px; max-width: 560px; color: rgb(23 62 49 / .72); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.how-steps li { position: relative; padding: 24px 22px 22px; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft); transition: transform .5s var(--ease-spring); }
.how-steps li:hover { transform: translateY(-4px); }
.how-steps li b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--ink, #173e31); color: var(--lime, #ddeb96); font: 800 20px/1 Arial, sans-serif; }
.how-steps li:not(:last-child)::after { content: '←'; position: absolute; inset-inline-end: -13px; top: 50%; translate: 0 -50%; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime, #ddeb96); color: var(--ink, #173e31); font: 700 13px/1 Arial, sans-serif; }
.how-steps h3 { margin-top: 16px; font-size: 19px; font-weight: 800; color: var(--ink, #173e31); }
.how-steps p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: rgb(23 62 49 / .7); }
.how-cta { justify-self: start; }

.pick-label { margin: 14px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; opacity: .62; }
.range-copy .pick-label + .flavor-list, .range-copy .pick-label + .pack-sizes { margin-top: 0; }
.add-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.add-row .product-add { margin: 0; }
.qty-step { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgb(23 62 49 / .07); border: 1px solid rgb(23 62 49 / .12); }
.qty-step button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--ink, #173e31); font: 700 18px/1 Arial, sans-serif; cursor: pointer; transition: transform .3s var(--ease-spring); }
.qty-step button:active { transform: scale(.88); }
.qty-step output { min-width: 34px; text-align: center; font: 800 16px/1 Arial, sans-serif; }
.qty-step span { padding-inline: 4px 8px; font-size: 12px; font-weight: 700; opacity: .7; }
.product-add { position: relative; overflow: hidden; }
.product-add.added { justify-content: center; gap: 8px; }
.product-add:active { transform: scale(.96); }
.product-add.added { background: #1f9d55 !important; color: #fff !important; animation: add-ok .45s var(--ease-spring); }
.product-add.added::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%); translate: -120% 0; animation: add-shine .7s .12s ease-out forwards; }
.add-check { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 22; stroke-dashoffset: 22; animation: check-draw .32s .08s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes add-ok { 0% { transform: scale(.94); } 55% { transform: scale(1.04); } 100% { transform: none; } }
@keyframes add-shine { to { translate: 120% 0; } }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .product-add.added, .product-add.added::after { animation: none; } .add-check { stroke-dashoffset: 0; animation: none; } }

.order-bar { position: fixed; z-index: 60; inset-inline: 0; bottom: 18px; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 8px; padding-inline-start: 20px; border-radius: 999px; background: rgb(13 26 21 / .92); color: #f6f5ee; box-shadow: 0 18px 40px -12px rgb(0 0 0 / .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: bar-in .6s var(--ease-spring); }
.order-bar[hidden] { display: none; }
.order-bar-text { font-size: 14px; white-space: nowrap; }
.order-bar-text b { color: var(--lime, #ddeb96); font-size: 17px; }
.order-bar .order-bar-go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--lime, #ddeb96) !important; color: #0d1a15 !important; font: inherit; font-weight: 800; cursor: pointer; box-shadow: none; }
@keyframes bar-in { from { opacity: 0; translate: 0 30px; } }
body.drawer-is-open .order-bar { display: none; }

@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li:not(:last-child)::after { content: '↓'; inset-inline-end: auto; inset-inline-start: 50%; top: auto; bottom: -13px; translate: -50% 0; }
}
@media (max-width: 560px) {
  .how-order { padding-block: 60px 24px; }
  .order-bar { bottom: 84px; }
  .order-bar-text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .order-bar { animation: none; } }

/* ---------- Closing order CTA (replaces the old trade block) ---------- */
.order-cta { padding-block: 40px 90px; }
.order-cta-card { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; overflow: hidden;
  padding: clamp(28px, 5vw, 64px); border-radius: 36px; background: radial-gradient(120% 90% at 85% 0%, #2d7a55 0%, #173e31 45%, #0d1a15 100%); color: #f6f5ee; box-shadow: var(--shadow-soft); }
.order-cta-card::before { content: ''; position: absolute; inset: auto -10% -40% auto; width: 520px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(221 235 150 / .22), transparent 65%); pointer-events: none; }
.order-cta-copy .eyebrow { color: var(--lime, #ddeb96); }
.order-cta-copy h2 { margin-top: 12px; font-size: clamp(36px, 5vw, 68px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.order-cta-copy h2 em { font-style: normal; color: var(--lime, #ddeb96); }
.order-cta-copy > p:not(.eyebrow) { margin-top: 14px; max-width: 46ch; color: rgb(246 245 238 / .78); line-height: 1.9; }
.order-cta-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.order-cta-points li { padding: 14px; border: 1px solid rgb(255 255 255 / .12); border-radius: 18px; background: rgb(255 255 255 / .05); }
.order-cta-points b { display: block; font: 800 30px/1 Arial, sans-serif; color: var(--lime, #ddeb96); }
.order-cta-points span { display: block; margin-top: 6px; font-size: 12px; color: rgb(246 245 238 / .75); line-height: 1.6; }
.order-cta-panel { position: relative; z-index: 1; padding: 22px; border-radius: 28px; background: #f6f5ee; color: var(--ink, #173e31); }
.order-cta-summary { display: grid; gap: 2px; margin-top: 10px; padding: 14px 18px; border-radius: 18px; background: #fff; text-align: center; }
.order-cta-label { font-size: 11px; font-weight: 800; opacity: .6; }
.order-cta-summary strong { font-size: 22px; font-weight: 800; }
.order-cta-summary strong b { font: 800 30px/1 Arial, sans-serif; color: #2d7a55; }
.order-cta-items { font-size: 13px; opacity: .7; }
.order-cta.has-order .order-cta-summary { box-shadow: inset 0 0 0 2px #2d7a55; }
.order-cta-actions { display: grid; gap: 10px; margin-top: 14px; }
.order-cta-actions .btn { justify-content: center; width: 100%; }
.order-cta-start { display: none; text-align: center; padding: 12px; border-radius: 999px; border: 1px solid rgb(23 62 49 / .2); font-weight: 800; color: inherit; text-decoration: none; }
.order-cta:not(.has-order) .order-cta-open { display: none; }
.order-cta:not(.has-order) .order-cta-start { display: block; background: var(--ink, #173e31); color: var(--lime, #ddeb96); border: 0; }
.order-cta-wa { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; color: #1f9d55; text-decoration: none; }
@media (max-width: 900px) {
  .order-cta-card { grid-template-columns: 1fr; border-radius: 28px; }
}
@media (max-width: 560px) {
  .order-cta { padding-block: 24px 60px; }
  .order-cta-card { padding: 22px 18px; }
  .order-cta-points { grid-template-columns: 1fr 1fr; gap: 6px; }
  .order-cta-points li { padding: 10px; }
  .order-cta-points b { font-size: 24px; }
}

/* ---------- Realistic product scenes gallery ---------- */
.fresh { padding-block: 90px 50px; overflow: hidden; }
.fresh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.fresh-head h2 { margin-top: 10px; font-size: clamp(34px, 4.6vw, 62px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--ink, #173e31); }
.fresh-head h2 em { font-style: normal; color: #2d7a55; }
.fresh-nav { display: flex; gap: 8px; }
.fresh-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(23 62 49 / .18); background: #fff; color: var(--ink, #173e31); font: 700 20px/1 Arial, sans-serif; cursor: pointer; transition: transform .4s var(--ease-spring), background-color .25s; }
.fresh-arrow:hover { background: var(--ink, #173e31); color: var(--lime, #ddeb96); transform: scale(1.06); }
.fresh-track { display: flex; gap: 16px; margin: 30px 0 0; padding: 0 max(16px, calc((100vw - 1248px) / 2)) 24px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100vw - 1248px) / 2)); scrollbar-width: none; }
.fresh-track::-webkit-scrollbar { display: none; }
.fresh-card { --tint: #2d7a55; position: relative; flex: 0 0 clamp(250px, 26vw, 340px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; scroll-snap-align: start; background: color-mix(in srgb, var(--tint) 30%, #0d1a15); box-shadow: var(--shadow-soft); isolation: isolate; }
.fresh-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-spring); z-index: -1; }
.fresh-card:hover img { transform: scale(1.06); }
.fresh-card::after { content: ''; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--tint) 35%, #050a08 85%)); }
.fresh-info { position: absolute; inset: auto 0 0; padding: 20px; color: #fff; }
.fresh-info span { font: 800 10px/1 Arial, sans-serif; letter-spacing: .14em; opacity: .85; }
.fresh-info h3 { margin-top: 6px; font-size: 22px; font-weight: 800; }
.fresh-info p { margin-top: 2px; font-size: 13px; opacity: .82; }
.fresh-go { position: absolute; inset-inline-end: 18px; bottom: 20px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: #0d1a15; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .4s var(--ease-spring), background-color .25s; }
.fresh-go:hover, .fresh-go.active { background: var(--lime, #ddeb96); transform: translateX(-3px); }
@media (max-width: 560px) {
  .fresh { padding-block: 60px 30px; }
  .fresh-nav { display: none; }
  .fresh-card { flex-basis: 78vw; border-radius: 24px; }
}
/* Until a realistic scene exists, show the official packshot on a tinted studio backdrop. */
.fresh-card.is-pack { background: radial-gradient(90% 70% at 50% 38%, color-mix(in srgb, var(--tint) 55%, #fff) 0%, var(--tint) 55%, color-mix(in srgb, var(--tint) 60%, #000) 100%); }
.fresh-card.is-pack img { inset: 6% 10% 30%; width: 80%; height: 64%; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 24px 22px rgb(0 0 0 / .35)); -webkit-mask-image: radial-gradient(ellipse 42% 50% at 50% 50%, #000 75%, transparent 100%); mask-image: radial-gradient(ellipse 42% 50% at 50% 50%, #000 75%, transparent 100%); }

.order-cta-visual { position: relative; margin: -22px -22px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 28px 28px 0 0; }
.order-cta-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.2s var(--ease-spring); }
.order-cta-card:hover .order-cta-photo { transform: scale(1.05); }
.order-cta-thumbs { position: absolute; inset: auto 12px 12px; display: flex; gap: 6px; justify-content: flex-start; }
.order-cta-thumbs img, .order-cta-thumbs span { width: 54px; height: 54px; border-radius: 14px; background: #fff; object-fit: contain; padding: 3px; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .45); }
.order-cta-thumbs img.new { animation: thumb-in .5s var(--ease-spring); }
@keyframes thumb-in { from { opacity: 0; transform: translateY(14px) scale(.6) rotate(-8deg); } }
.order-cta-thumbs span { display: grid; place-items: center; font: 800 14px/1 Arial, sans-serif; color: var(--ink, #173e31); }
.order-cta-summary { margin-top: 14px; }

/* ---------- Brand mark + hero refresh ---------- */
.brand-logo { width: 40px; height: 42px; object-fit: contain; }
.brand-label b { font-size: 25px; letter-spacing: -.01em; }
.brand-label small { font-size: 10px; letter-spacing: .02em; }
.footer-brand .brand-logo { width: 48px; height: 50px; }

.hero h1 { font-size: clamp(44px, 5vw, 76px); }
.hero-text bdi { font-weight: 800; color: var(--ink, #173e31); }

.hero-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 560px; margin-top: 30px; }
.hero-brands a { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; padding-inline: 8px 12px; border-radius: 18px; background: rgb(255 255 255 / .72); border: 1px solid rgb(23 62 49 / .08);
  color: var(--ink, #173e31); text-decoration: none; box-shadow: 0 1px 2px rgb(23 62 49 / .05); transition: transform .45s var(--ease-spring), box-shadow .3s, background-color .3s; }
.hero-brands a:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-soft); }
.hero-brands img { width: 46px; height: 46px; flex: none; border-radius: 12px; object-fit: contain; background: #fff; mix-blend-mode: multiply; }
.hero-brands span { display: grid; min-width: 0; }
.hero-brands b { font: 800 15px/1.2 Arial, sans-serif; }
.hero-brands small { font-size: 10.5px; color: rgb(23 62 49 / .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero-visual.hero-packshot { overflow: hidden; border-radius: 34px;
  background: radial-gradient(70% 60% at 50% 48%, #2f7d52 0%, #1d5239 45%, #0f2a1f 100%); box-shadow: 0 30px 60px -28px rgb(15 42 31 / .55); }
.hero-visual.hero-packshot::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/images/balad-mark.svg?v=1') no-repeat 108% 115% / 62% auto; opacity: .08; filter: grayscale(1) brightness(3); }
.hero-visual.hero-packshot::after { content: ''; position: absolute; inset: auto 15% 6% 15%; height: 30%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgb(221 235 150 / .38), transparent 70%); filter: blur(10px); }
.hero-packshot .hero-packshot-glow { background: radial-gradient(ellipse at 50% 50%, rgb(221 235 150 / .35) 0, rgb(221 235 150 / .1) 40%, transparent 70%); }
.hero-packshot .product-viewer { position: relative; z-index: 2; }
.hero-packshot-label { background: rgb(255 255 255 / .12) !important; border-color: rgb(255 255 255 / .2) !important; color: #fff !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-packshot-label span { color: rgb(255 255 255 / .75) !important; }
.hero-packshot-footer { border-top-color: rgb(255 255 255 / .16) !important; color: rgb(255 255 255 / .7) !important; }
.hero-packshot-footer a { color: var(--lime, #ddeb96) !important; }
.spin-badge { background: #f6f5ee; border-radius: 50%; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .45); inset: auto auto 7% 5% !important; }
.spin-badge img { width: 38%; }

@media (max-width: 900px) {
  .hero-brands { margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero-brands { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 22px; }
  .hero-brands a { flex-direction: column; gap: 4px; padding: 8px 4px; text-align: center; }
  .hero-brands span { justify-items: center; }
  .hero-brands small { font-size: 9px; }
  .hero-visual.hero-packshot { border-radius: 26px; }
  .spin-badge { inset: auto auto 10px 10px !important; }
}
.hero-brands img { object-fit: cover; object-view-box: inset(8% 30% 8% 30%); }
.hero-text bdi { white-space: nowrap; }
@media (max-width: 560px) {
  .hero-packshot-footer span { display: none; }
  .hero-packshot-footer { justify-content: flex-end !important; }
}

/* ---------- Smoothness pass ---------- */
/* Hero blobs: the radial gradients are already soft, so drop the live blur and keep the drift
   on the compositor (transform only). */
.hero::before, .hero::after { filter: none; will-change: transform; }
.marquee-track { will-change: transform; }
/* Below-the-fold sections skip layout/paint until they come near the viewport. */
.stats-band, footer { content-visibility: auto; contain-intrinsic-size: auto 420px; }

/* Touch devices: glass blur over scrolling content is the main repaint cost, so use solid fills. */
@media (hover: none), (pointer: coarse) {
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .header { background: rgb(250 249 244 / .97) !important; }
  .order-bar { background: rgb(13 26 21 / .97); }
  .hero-packshot-label { background: rgb(15 42 31 / .72) !important; }
  .hero::before, .hero::after { animation: none; }
  .hero-packshot .hero-packshot-glow, .hero-visual.hero-packshot::after, .product-stage::after { filter: none; }
  /* Reveals: fade + slide only; per-element blur filters are costly on phones. */
  html.has-motion [data-reveal], html.has-motion .split .w { filter: none !important; }
}
/* Large blocks reveal with fade + slide only; the blur stays on the headline words. */
html.has-motion [data-reveal] { filter: none !important; }
/* Looping decorations pause while off screen (toggled from framer.js). */
.anim-paused, .anim-paused * { animation-play-state: paused !important; }
/* The badge is opaque now, so its glass blur only cost a re-blur on every ring rotation. */
.spin-badge { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.spin-badge svg { will-change: transform; }
/* Paint-free motion only: the blobs stay still (soft gradients, the drift was barely visible) and
   the live dot pulses with a scaled ring (transform/opacity) instead of an animated box-shadow,
   which repainted the whole page background every frame. */
.hero::before, .hero::after { animation: none !important; will-change: auto; }
.hero .eyebrow > span { position: relative; animation: none !important; box-shadow: none; }
.hero .eyebrow > span::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: rgb(36 107 77 / .35);
  animation: pulse-ring 2.4s ease-out infinite; will-change: transform, opacity; }
@keyframes pulse-ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero .eyebrow > span::after { animation: none; opacity: 0; } }

/* ---------- Footer logo lockup (replaces the giant outlined word) ---------- */
.footer-lockup { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 44px);
  margin: clamp(36px, 6vw, 70px) auto 0; padding-bottom: clamp(30px, 5vw, 60px); direction: rtl; }
.footer-lockup::before { content: ''; position: absolute; inset: -10% 15% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgb(195 204 10 / .16), rgb(69 158 39 / .08) 40%, transparent 70%); }
.footer-lockup img { position: relative; z-index: 1; width: clamp(110px, 16vw, 220px); height: auto; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .3)); }
.footer-lockup-text { position: relative; z-index: 1; display: grid; gap: 6px; }
.footer-lockup-text b { font-size: clamp(84px, 14vw, 210px); font-weight: 800; line-height: .95; letter-spacing: -.02em;
  background: linear-gradient(160deg, #e3ec7a 0%, #c3cc0a 38%, #459e27 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-lockup-text span { padding-inline-start: .4em; font-size: clamp(13px, 1.5vw, 20px); font-weight: 700; letter-spacing: .02em; color: rgb(244 243 233 / .7); }
@media (max-width: 560px) {
  .footer-lockup { gap: 14px; }
  .footer-lockup-text span { font-size: 11px; }
}

/* ---------- Order motion: add (fly + bump), drawer in/out, item stagger, delete ---------- */
.fly-ghost { position: fixed; z-index: 200; pointer-events: none; object-fit: cover; border-radius: 50%; background: #fff;
  border: 3px solid #fff; box-shadow: 0 14px 28px -8px rgb(0 0 0 / .35), 0 0 0 1px rgb(23 62 49 / .08); will-change: transform, opacity; }
.fly-drop, .land-spark { position: fixed; z-index: 199; pointer-events: none; border-radius: 50%; will-change: transform, opacity;
  box-shadow: inset -2px -2px 0 rgb(0 0 0 / .12), inset 2px 2px 0 rgb(255 255 255 / .45); }
.land-spark { width: 6px; height: 6px; z-index: 201; box-shadow: none; }
.land-ring { position: fixed; z-index: 201; width: 44px; height: 44px; border: 2px solid; border-radius: 50%; pointer-events: none; }
.order-bar-cartons, .order-cta-summary strong b { display: inline-block; }
.cart-drawer[open] { animation: drawer-in .32s cubic-bezier(.22, 1, .36, 1); }
.cart-drawer[open]::backdrop { animation: veil-in .4s ease both; }
.cart-drawer.is-closing { animation: drawer-out .2s cubic-bezier(.4, 0, 1, 1) forwards; }
.cart-drawer.is-closing::backdrop { animation: veil-out .2s ease forwards; }
@keyframes drawer-in { from { transform: translateX(105%); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(105%); } }
@keyframes veil-in { from { opacity: 0; } }
@keyframes veil-out { to { opacity: 0; } }
.cart-drawer.is-opening .cart-item { animation: item-in .3s var(--ease-spring) both; animation-delay: calc(var(--i, 0) * 30ms + 60ms); }
@keyframes item-in { from { opacity: 0; transform: translateX(40px); } }
.cart-item { overflow: hidden; transition: height .34s cubic-bezier(.4, 0, .2, 1), opacity .26s ease, transform .34s cubic-bezier(.4, 0, .2, 1), margin .34s, padding .34s; }
.cart-item.is-removing { height: 0 !important; opacity: 0; transform: translateX(-60px) scale(.96); margin-block: 0 !important; padding-block: 0 !important; border-width: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  .cart-drawer[open], .cart-drawer[open]::backdrop, .cart-drawer[open] .cart-item { animation: none !important; }
}

/* ---------- Hero brand chips v2: brand-coloured cards with a standing cut-out can ---------- */
.hero-brands { gap: 12px; margin-top: 40px; }
.hero-brands a { position: relative; overflow: visible; min-height: 74px; padding: 14px 16px; padding-inline-end: 64px; border: 0; border-radius: 20px;
  background: linear-gradient(135deg, var(--b1), var(--b2)); color: #fff; box-shadow: 0 14px 28px -16px var(--b2); isolation: isolate; }
.hero-brands a::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 85% 10%, rgb(255 255 255 / .25), transparent 55%); }
.hero-brands a:hover { background: linear-gradient(135deg, var(--b1), var(--b2)); transform: translateY(-4px); box-shadow: 0 20px 34px -16px var(--b2); }
.hero-brands img { position: absolute; inset-inline-end: 10px; bottom: 6px; width: auto; height: 96px; border-radius: 0; background: none; mix-blend-mode: normal;
  object-fit: contain; object-view-box: none; filter: drop-shadow(0 10px 10px rgb(0 0 0 / .35)); transform: rotate(8deg); transform-origin: 50% 100%;
  transition: transform .6s var(--ease-spring); }
.hero-brands a:hover img { transform: rotate(0deg) translateY(-6px) scale(1.06); }
.hero-brands b { font-size: 18px; color: #fff; }
.hero-brands small { color: rgb(255 255 255 / .75); }
@media (max-width: 560px) {
  .hero-brands { gap: 8px; margin-top: 34px; }
  .hero-brands a { flex-direction: column; align-items: flex-start; min-height: 96px; padding: 10px; padding-inline-end: 10px; text-align: start; }
  .hero-brands span { justify-items: start; }
  .hero-brands img { height: 70px; inset-inline-end: 4px; bottom: 4px; }
  .hero-brands b { font-size: 15px; }
  .hero-brands small { font-size: 9px; white-space: normal; max-width: 60%; }
}
@media (max-width: 560px) { .hero-brands small { max-width: none; white-space: nowrap; font-size: 9px; } }

/* ---------- Mobile menu motion ---------- */
@media (max-width: 800px) {
  .menu-btn { position: relative; gap: 0; transition: background-color .35s ease, border-color .35s ease, transform .4s var(--ease-spring); }
  .menu-btn:active { transform: scale(.92); }
  .menu-btn span { position: absolute; width: 18px; height: 2px; border-radius: 2px; transition: transform .28s var(--ease-spring), background-color .2s ease, width .28s var(--ease-spring); }
  .menu-btn span:first-child { transform: translateY(-4px); }
  .menu-btn span:last-child { transform: translateY(4px); width: 12px; margin-inline-start: 6px; }
  .menu-btn.open { background: var(--forest, #173e31); border-color: var(--forest, #173e31); }
  .menu-btn.open span { background: #fff; }
  .menu-btn.open span:first-child { transform: rotate(45deg); }
  .menu-btn.open span:last-child { transform: rotate(-45deg); width: 18px; margin-inline-start: 0; }

  .nav { display: flex !important; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: 50% 0;
    clip-path: inset(0 0 100% 0 round 20px);
    transition: clip-path .22s cubic-bezier(.4, 0, 1, 1), transform .22s cubic-bezier(.4, 0, 1, 1), opacity .15s ease, visibility 0s linear .22s; }
  .nav.open { visibility: visible; pointer-events: auto; opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 20px);
    transition: clip-path .34s var(--ease-spring), transform .34s var(--ease-spring), opacity .15s ease, visibility 0s; }
  .nav a { display: flex; align-items: center; justify-content: space-between; opacity: 0; transform: translateX(18px);
    transition: opacity .2s ease-out, transform .3s var(--ease-spring), background-color .25s; }
  .nav a::after { content: '←'; font: 16px/1 Arial, sans-serif; opacity: .35; transition: transform .4s var(--ease-spring), opacity .25s; }
  .nav a:hover::after, .nav a.active::after { opacity: .9; transform: translateX(-4px); }
  .nav.open a { opacity: 1; transform: none; }
  .nav.open a:nth-child(1) { transition-delay: .04s; }
  .nav.open a:nth-child(2) { transition-delay: .07s; }
  .nav.open a:nth-child(3) { transition-delay: .10s; }
  .nav.open a:nth-child(4) { transition-delay: .13s; }
  .nav.open a:nth-child(5) { transition-delay: .16s; }
}
@media (max-width: 800px) and (prefers-reduced-motion: reduce) {
  .nav, .nav.open, .nav a, .menu-btn span { transition: none !important; }
}
@media (max-width: 800px) { .nav { background: #fdfcf7 !important; box-shadow: 0 24px 48px -18px rgb(23 62 49 / .35) !important; } }

/* ---------- Flavour scenery behind products ---------- */
.product-stage { --fruit: #6fb36a; isolation: isolate; }
.product-stage::before { content: ''; position: absolute; inset: 0; width: auto; height: auto; aspect-ratio: auto; z-index: -2; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 52%, color-mix(in srgb, var(--fruit) 26%, #fff) 0%, color-mix(in srgb, var(--fruit) 12%, #f7f6ef) 55%, transparent 100%);
  transition: background .6s ease; }
.stage-fruits { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; container-type: size; }
.fruit-piece { position: absolute; left: var(--x); top: var(--y); width: calc(var(--s) * 1cqmin); margin: calc(var(--s) * -.5cqmin) 0 0 calc(var(--s) * -.5cqmin); aspect-ratio: 1; rotate: calc(var(--r) * .4);
  filter: drop-shadow(0 10px 12px rgb(0 0 0 / .14)); animation: fruit-in .7s var(--ease-spring) both, fruit-float 6s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 60ms), var(--d); }
.fruit-piece svg, .fruit-piece img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fruit-piece.depth-1 { opacity: .9; scale: .92; }
.stage-fruits.is-swapping .fruit-piece { animation: fruit-out .2s ease-in both; }
.stage-fruits.is-idle .fruit-piece { animation-play-state: paused; }
@keyframes fruit-in { from { opacity: 0; transform: scale(.3) rotate(-30deg); } }
@keyframes fruit-out { to { opacity: 0; transform: scale(.4) rotate(25deg); } }
@keyframes fruit-float { to { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .fruit-piece { animation: none; } }
@media (hover: none), (pointer: coarse) { .fruit-piece { filter: none; } }
/* Photo backdrop: the generated flavour photo, washed out in the middle so the product reads first. */
.product-stage.has-photo::before { background:
    radial-gradient(48% 46% at 50% 52%, rgb(255 255 255 / .5) 0%, rgb(255 255 255 / .2) 45%, rgb(255 255 255 / 0) 80%),
    var(--bg) center / cover no-repeat; animation: bg-in .7s ease both; }
.product-stage.has-photo .stage-fruits { display: none; }
@keyframes bg-in { from { opacity: 0; transform: scale(1.06); } }

/* --- framer-style review fixes --- */
/* Arabic is cursive: tracking breaks letter joins */
h1, h2, h3, .marquee-track span, .footer-lockup-text b, .showcase-name { letter-spacing: 0 !important; }
@media (max-width: 560px) { .hero h1 { font-size: clamp(36px, 10.5vw, 48px); line-height: 1.2; } }
@media (hover: none), (pointer: coarse) {
  .primary:hover, .header-cta:hover, .how-steps li:hover, .hero-brands a:hover, .whatsapp-float:hover, .cat-tile:hover, .fresh-arrow:hover { transform: none; }
  .hero-brands a:hover img { transform: rotate(8deg); }
  .fresh-card:hover img, .order-cta-card:hover .order-cta-photo { transform: none; }
  .btn:hover b, .header-cta:hover span { transform: none; }
  .how-steps li:active, .hero-brands a:active, .fresh-card:active { transform: scale(.98); transition-duration: .2s; }
}
@media (hover: hover) and (pointer: fine) {
  .btn.primary, .header-cta { transition: transform .45s var(--ease-spring), translate .5s var(--ease-spring), background-color .25s ease, box-shadow .45s var(--ease-spring), color .25s ease !important; }
}
section[id] { scroll-margin-top: 96px; }
@media (max-width: 800px) { section[id] { scroll-margin-top: 84px; } }
@media (prefers-reduced-motion: reduce) {
  .order-cta-thumbs img, .order-cta-thumbs span, .product-stage.has-photo::before, .fly-ghost { animation: none !important; }
}
html.has-motion :is(.how-steps li, .fresh-card, .order-cta-points li)[data-reveal] { transition-delay: calc(var(--i, 0) * 80ms); }
.range-card.is-tilting { transition: box-shadow .3s ease-out !important; transition-delay: 0s !important; }

.hero h1 .nowrap { white-space: nowrap; }
.about-image img { object-position: 85% 50%; }
@media (min-width: 801px) { .product-stage::after { bottom: auto; top: 80%; } }
/* Static fallback (no WebGL): blend the whole viewer so the packshot's white photo background drops out over the tinted stage. */
.product-stage:has(.is-static), .product-stage:has(.is-static) .product-3d, .product-viewer.is-static .pack { transform-style: flat; }
.product-stage .package-model:not(:has(canvas)) { mix-blend-mode: multiply; }

/* Phones: brand tabs keep their count on one line, and the category chips become one swipeable row
   instead of four wrapped rows. */
@media (max-width: 560px) {
  .brand-tab { gap: 6px; padding-inline: 10px; }
  .brand-tab span { white-space: nowrap; }
  .range-quicklinks-list { flex-wrap: nowrap; overflow-x: auto; margin-inline: -17px; padding: 1px 17px 6px; scroll-padding-inline: 17px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(to left, transparent, #000 17px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to left, transparent, #000 17px, #000 calc(100% - 28px), transparent); }
  .range-quicklinks-list::-webkit-scrollbar { display: none; }
  .range-quicklinks button { scroll-snap-align: start; white-space: nowrap; }
}

/* Smoothness: the fixed full-page grain layer had to be blended over every scrolled frame, and the
   sticky header re-blurred whatever scrolled under it. Both go; the header gets a near-solid fill. */
body::before { content: none; }
.header, .header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(250 249 244 / .96); }

/* Line-up controls sit on the pale floor: dark glass so they stay readable */
.showcase-arrow { background: rgb(12 14 18 / .55); border-color: rgb(255 255 255 / .3); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.showcase-arrow:hover { background: rgb(12 14 18 / .75); }
.showcase-dots { padding: 8px 12px; border-radius: 99px; background: rgb(12 14 18 / .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.showcase-hint { color: rgb(20 22 26 / .7); }
.showcase-hint::after { background: linear-gradient(rgb(20 22 26 / .6), transparent); }
.showcase.is-story .showcase-hint { opacity: 0; }
.showcase-count { display: none; }
/* Phones: 28 dots would be too small to tap, so the arrows (44 px) drive the line-up and a
   "5 / 28" counter between them shows the position. */
@media (max-width: 760px) {
  .showcase-controls { gap: 12px; inset-inline: 12px; justify-content: center; }
  .showcase-dots { display: none; }
  .showcase-count { display: inline-grid; place-items: center; min-width: 76px; height: 44px; padding: 0 14px; border-radius: 99px;
    background: rgb(12 14 18 / .55); color: #fff; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .showcase-arrow { width: 44px; height: 44px; flex: none; }
}
/* Dark flavour colours (cola blue, zero black) vanish on the dark dot bar: ring the active dot */
.showcase-dot[aria-pressed="true"] { box-shadow: 0 0 0 2px rgb(255 255 255 / .92), 0 0 14px var(--dot); }

/* Fruisty (metal-can juice): warm orange stage to match the can */
.range-fruisty-can { background: #f6efe4; }
.range-fruisty-can .product-stage { background: radial-gradient(ellipse at 50% 42%, #ffffff 0, #fdeedd 50%, #f6cfa4 100%); }

/* Category tabs (5 categories with longer names): name over the brands, never wider than the page.
   Desktop wraps inside the pill; phones get a swipeable strip that stays inside the screen. */
.product-brand-tabs { max-width: 100%; flex-wrap: wrap; border-radius: 28px; }
.brand-tab { flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 58px; padding: 6px 20px; line-height: 1.25; white-space: nowrap; }
.brand-tab span { font-size: 11px; opacity: .85; }
@media (max-width: 800px) {
  .product-brand-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 999px; }
  .product-brand-tabs::-webkit-scrollbar { display: none; }
  .brand-tab { flex: 0 0 auto; scroll-snap-align: center; min-height: 52px; padding: 5px 16px; font-size: 16px; }
}

/* ---------- Skeleton placeholders (slow connections) ---------- */
@keyframes skeleton-sweep { to { background-position: -150% 0; } }
.package-model:not(.is-loaded):not(.has-three)::before,
.showcase-skeleton span {
  content: ''; position: absolute; border: 1.5px solid rgb(22 59 46 / .14); border-radius: 26px / 14px;
  background: linear-gradient(100deg, transparent 35%, rgb(255 255 255 / .6) 50%, transparent 65%) 150% 0 / 250% 100%, rgb(22 59 46 / .06);
  animation: skeleton-sweep 1.5s linear infinite;
}
/* A can-shaped outline in each product stage; cartons get a box. */
.package-model:not(.is-loaded):not(.has-three)::before { left: 50%; top: 50%; width: min(32%, 130px); height: min(72%, 330px); transform: translate(-50%, -50%); }
.carton-3d .package-model:not(.is-loaded):not(.has-three)::before { width: min(44%, 170px); height: min(66%, 300px); border-radius: 12px; }
.can-3d .package-model:not(.is-loaded):not(.has-three)::before { width: min(30%, 120px); }
.fresh-card:not(.is-loaded), .about-image:not(.is-loaded) > img { background: linear-gradient(100deg, transparent 35%, rgb(255 255 255 / .25) 50%, transparent 65%) 150% 0 / 250% 100%, color-mix(in srgb, var(--tint, #2d7a55) 30%, #0d1a15); animation: skeleton-sweep 1.5s linear infinite; }
.about-image:not(.is-loaded) > img { background-color: rgb(22 59 46 / .08); }
/* Drinks line-up: five can outlines until the 3D is ready (or the photo fallback takes over). */
.showcase-skeleton { position: absolute; inset: 30% 6% 34%; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 4%; pointer-events: none; }
.showcase-skeleton span { position: relative; width: 9%; aspect-ratio: 1 / 2.5; border-color: rgb(255 255 255 / .16); background-color: rgb(255 255 255 / .05);
  background-image: linear-gradient(100deg, transparent 35%, rgb(255 255 255 / .14) 50%, transparent 65%); transform: rotate(var(--tilt, 0deg)); }
.showcase-skeleton span:nth-child(odd) { --tilt: -9deg; } .showcase-skeleton span:nth-child(even) { --tilt: 9deg; }
.showcase-skeleton span:nth-child(3) { --tilt: 0deg; width: 11%; }
.showcase.is-3d .showcase-skeleton, .showcase.no-webgl .showcase-skeleton { display: none; }
@media (max-width: 760px) { .showcase-skeleton span { width: 18%; } .showcase-skeleton span:nth-child(1), .showcase-skeleton span:nth-child(5) { display: none; } .showcase-skeleton span:nth-child(3) { width: 22%; } }
@media (prefers-reduced-motion: reduce) { .package-model::before, .showcase-skeleton span, .fresh-card, .about-image > img { animation: none !important; } }

/* Small text links get a larger invisible hit area (≈44px) on touch screens, without moving anything. */
@media (pointer: coarse) {
  .topbar-in a, .hero-packshot-footer a, .order-cta-wa, a[href^="tel:"], a[href^="mailto:"] { position: relative; }
  .topbar-in a::after, .hero-packshot-footer a::after, .order-cta-wa::after, a[href^="tel:"]::after, a[href^="mailto:"]::after {
    content: ''; position: absolute; inset: -14px -8px;
  }
}

/* DANCE range */
.range-dance-can { background: #fbf6dc; }
.range-dance-can .product-stage { background: radial-gradient(ellipse at 50% 42%, #ffffff 0, #fdf3c2 50%, #f2dc6a 100%); }

/* Campaign: BM Cola × Dance */
.campaign { padding-block: clamp(56px, 8vw, 104px); }
.campaign-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; overflow: hidden; border-radius: 28px; background: #0b1f52; color: #fff; box-shadow: 0 30px 70px -34px rgb(10 29 77 / .6); }
.campaign-visual { position: relative; min-height: clamp(380px, 44vw, 560px); overflow: hidden; background: linear-gradient(118deg, #1554d1 0%, #0c3192 48.8%, #fff 49%, #fff 49.6%, #ffc61a 49.8%, #f39a0b 100%); isolation: isolate; }
.campaign-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 30% 55%, rgb(120 180 255 / .45), transparent 70%), radial-gradient(40% 50% at 72% 55%, rgb(255 240 170 / .55), transparent 70%); }
.cv-side { position: absolute; z-index: 0; font: 900 clamp(46px, 7vw, 96px)/.9 Arial, sans-serif; letter-spacing: -.03em; color: rgb(255 255 255 / .12); white-space: nowrap; }
.cv-side b { font-weight: 900; }
.cv-blue { top: 6%; left: 5%; }
.cv-gold { bottom: 6%; right: 5%; color: rgb(120 60 0 / .16); }
.cv-can { position: absolute; bottom: 9%; height: 78%; width: auto; filter: drop-shadow(0 26px 22px rgb(0 0 0 / .38)); transition: transform .7s var(--ease-out); }
.cv-bm { left: 22%; transform: rotate(-9deg); }
.cv-dance { right: 22%; transform: rotate(9deg); }
.campaign-card:hover .cv-bm { transform: rotate(-5deg) translate(6px, -6px); }
.campaign-card:hover .cv-dance { transform: rotate(5deg) translate(-6px, -6px); }
.cv-deco { position: absolute; width: clamp(54px, 8vw, 104px); height: auto; filter: drop-shadow(0 10px 12px rgb(0 0 0 / .25)); }
.cv-ice1 { top: 14%; left: 12%; transform: rotate(-14deg); }
.cv-ice2 { bottom: 12%; left: 6%; width: clamp(40px, 6vw, 76px); transform: rotate(20deg); }
.cv-orange { top: 12%; right: 10%; }
.cv-mint { bottom: 10%; right: 6%; transform: rotate(18deg); }
.campaign-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 56px); background: radial-gradient(90% 70% at 100% 0%, #1a4fb8 0, transparent 60%), radial-gradient(70% 60% at 0% 100%, rgb(243 154 11 / .35) 0, transparent 70%), #0b1f52; }
.campaign-kicker { margin: 0 0 8px; font: 800 13px/1.2 Arial, sans-serif; letter-spacing: .18em; color: #9cc0ff; }
.campaign-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 70px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: #fff; }
.campaign-copy h2 em { font-style: normal; color: #ffcf33; }
.campaign-desc { max-width: 36ch; margin: 16px 0 18px; color: rgb(255 255 255 / .82); font-size: clamp(15px, 1.4vw, 18px); }
.campaign-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.campaign-points li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; background: rgb(255 255 255 / .07); font-size: 13px; font-weight: 700; }
.campaign-points li span { color: #ffcf33; }
.campaign-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.campaign-actions .btn.primary { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.campaign-alt { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: #ffcf33; color: #2a1d00; font: inherit; font-weight: 800; cursor: pointer; transition: transform .2s var(--ease-out), background-color .2s; }
.campaign-alt:hover { background: #ffd95a; transform: translateY(-2px); }
.campaign-alt:focus-visible, .campaign-actions .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 800px) {
  .campaign-card { grid-template-columns: 1fr; }
  .campaign-visual { min-height: 400px; }
  .cv-bm { left: 16%; } .cv-dance { right: 16%; }
}
@media (prefers-reduced-motion: reduce) { .cv-can, .campaign-alt { transition: none; } }

/* Fresh cards: keep the order button below the text so it never covers the title */
.fresh-go { position: static; margin-top: 12px; }
/* Headings focused by script (tabindex=-1) after a jump: no box around the title */
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.range-copy h3:focus { outline: none; }

/* New flavours from the October 2026 packaging update (WhatsApp photos): small "جديد" tag on the chip. */
.flavor-choice.flavor-new { position: relative; }
.flavor-choice.flavor-new::after { content: 'جديد'; position: absolute; inset-block-start: -8px; inset-inline-end: -6px; padding: 1px 6px; border-radius: 999px; background: #e0312f; color: #fff; font-size: 9px; font-weight: 800; line-height: 1.5; letter-spacing: 0; box-shadow: 0 2px 6px rgb(0 0 0 / .18); pointer-events: none; }
.flavor-list:has(.flavor-new) { padding-block-start: 6px; }

/* Studio 3D renders (transparent, own shadow) in the fresh cards: no multiply blend / vignette mask. */
.fresh-card.is-pack.is-3d img { mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; inset: 4% 8% 28%; width: 84%; height: 68%; filter: drop-shadow(0 18px 18px rgb(0 0 0 / .28)); }

/* Spin fling: flavour pieces thrown off a product turned fast (product-viewer.js). */
.fling-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fling-piece { position: absolute; display: block; object-fit: contain; will-change: transform, opacity; filter: drop-shadow(0 10px 12px rgb(0 0 0 / .2)); }
