/* Himalayan Berry. Brand palette from the identity sheet + the two can colours from the print labels. */
@font-face { font-family: "Lilita One"; src: url("../fonts/lilita-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --navy: #262f5c;
  --navy-deep: #1a2147;
  --teal: #0c7e8b;
  --sky: #bfd7ea;
  --sky-deep: #a9c8e1;
  --paper: #f7f3f6;
  --ink: #202124;
  --rr: #f0a8e4;        /* Raspberry Rush can */
  --rr-tint: #f8d9f2;
  --rr-deep: #c2559f;
  --pc: #f0c0cc;        /* Peach Charm can */
  --pc-tint: #fbe6ea;
  --pc-deep: #d9757f;
  --line: rgba(38, 47, 92, .14);
  --display: "Caraque Melted", "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Forma DJR Text", "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 28px;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .95; margin: 0 0 .35em; text-transform: uppercase; letter-spacing: .005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 200; width: auto; height: auto; clip: auto; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 2.5px solid var(--navy);
  background: var(--bg); color: var(--fg); font: 800 1.02rem/1 var(--body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 5px 0 var(--navy-deep);
  transition: transform .18s var(--bounce), box-shadow .18s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--navy-deep); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--navy-deep); }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--light:hover { --bg: var(--paper); }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Top bar + header ---------- */
.announce { background: var(--navy); color: #fff; text-align: center; font-weight: 700; font-size: .9rem; padding: 9px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 246, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 70px; gap: 12px; }
.nav { display: flex; gap: 26px; }
.nav a { font-weight: 800; text-decoration: none; font-size: .98rem; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 6px; }
.brand { width: 136px; color: var(--navy); display: block; }
.brand img { width: 100%; height: auto; display: block; }
.header-end { display: flex; justify-content: flex-end; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2.5px solid var(--navy); background: #fff; font-weight: 800; cursor: pointer; }
.cart-btn:hover { background: var(--navy); color: #fff; }
.cart-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--rr); color: var(--navy); font-size: .8rem; line-height: 24px; text-align: center; }
.cart-count.bump { animation: bump .5s var(--bounce); }
@keyframes bump { 30% { transform: scale(1.5) rotate(-8deg); } }
@media (max-width: 760px) {
  .site-header .wrap { grid-template-columns: 1fr auto; min-height: 62px; }
  .nav { display: none; }
  .brand { width: 112px; }
  .cart-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* hidden but still read out */
}

/* ---------- Hero: sliding full-width photo carousel ---------- */
/* Desktop: each slide fills the width with a soft blurred copy of the photo, the real photo sits whole on the right,
   the words sit on the left. Phones: the photo fills the screen and the words sit on a dark fade at the bottom. */
.hero { --hh: clamp(560px, calc(100vh - 110px), 820px); --iw: calc(var(--hh) * .8); position: relative; height: var(--hh); overflow: hidden; background: var(--navy); color: #fff; }
.hs { position: absolute; inset: 0; }
.hs-track { display: flex; height: 100%; transform: translateX(calc(var(--i, 0) * -100%)); transition: transform .85s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.hs-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.hs-slide::before { content: ""; position: absolute; inset: -40px; background: var(--bg) right center / cover no-repeat; filter: blur(28px) saturate(1.2) brightness(.55); }
/* The whole photo, full height, flush right; its left edge melts into the blurred extension, so it reads as one image. */
.hs-slide img { position: absolute; top: 0; right: 0; height: 100%; width: var(--iw); object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
/* Words live only in the space left of the photo, so they never run into it. */
.hero-copy { position: absolute; z-index: 3; top: 50%; left: max(var(--gutter, 20px), calc((100vw - 1240px) / 2)); width: min(620px, calc(100vw - var(--iw) - 2 * var(--gutter, 20px) + var(--iw) * .12)); transform: translateY(-50%); }
.hero h1 { font-size: min(6rem, calc((100vw - var(--iw) - 2 * var(--gutter, 20px)) / 8.6)); color: #fff; white-space: nowrap; animation: fade-up .7s var(--ease) both; }
.hero p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; max-width: none; text-wrap: balance; color: rgba(255, 255, 255, .92); animation: fade-up .8s .15s var(--ease) both; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fade-up .8s .3s var(--ease) both; }
.hero .actions .btn:first-child { --bg: #F0A8E4; --fg: var(--navy); border-color: #F0A8E4; box-shadow: 0 5px 0 rgba(0, 0, 0, .35); }
.hero .btn--light { --bg: rgba(255, 255, 255, .12); --fg: #fff; border-color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
@keyframes fade-up { from { transform: translateY(18px); } }
.hs-dots { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.hs-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .35s var(--ease), background .35s; }
.hs-dots button[aria-current="true"] { width: 30px; background: #fff; }
.hs-arrow { position: absolute; z-index: 4; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.3rem; font-weight: 800; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.hs-arrow:hover { background: rgba(255, 255, 255, .25); }
.hs-arrow.prev { right: 82px; }
.hs-arrow.next { right: 24px; }
@media (max-width: 760px) {
  .hero { height: clamp(520px, calc(100svh - 130px), 175vw); }
  .hs-slide::before { display: none; }
  .hs-slide img { inset: 0; top: 0; right: 0; width: 100%; height: 100%; object-position: center 30%; -webkit-mask-image: none; mask-image: none; }
  .hs::after { content: ""; position: absolute; inset: 50% 0 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(12, 14, 34, 0) 0%, rgba(12, 14, 34, .6) 45%, rgba(12, 14, 34, .9) 100%); }
  .hero-copy { top: auto; bottom: 44px; left: 18px; right: 18px; width: auto; transform: none; }
  .hero h1 { font-size: 10.6vw; margin-bottom: 6px; }
  .hero p { font-size: 1.02rem; line-height: 1.4; margin: 0 0 14px; max-width: 32ch; }
  .hero .hide-sm { display: none; }
  .hero .actions { gap: 10px; flex-wrap: nowrap; }
  .hero .actions .btn { min-height: 50px; padding-inline: 14px; font-size: .95rem; }
  .hero .actions .btn:first-child { flex: 1 1 auto; }
  .hs-arrow { display: none; }
  .hs-dots { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hs-track { transition: none; } }

/* Floating fruit: drifts on its own, and moves with scroll (JS sets --py). */
.floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.floaters img { position: absolute; width: var(--s, 70px); transform: translate3d(0, var(--py, 0px), 0) rotate(var(--r, 0deg)); filter: drop-shadow(0 12px 18px rgba(38, 47, 92, .18)); }

.bob { animation: bob var(--t, 6s) ease-in-out infinite alternate; }
@keyframes bob { to { translate: 0 -18px; rotate: 8deg; } }

/* ---------- Claims strip (marquee) ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; border-block: 3px solid var(--navy); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 16px 17px; font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); text-transform: uppercase; white-space: nowrap; }
.marquee li img { width: 34px; height: 34px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-head { text-align: center; max-width: 960px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: min(4.4rem, 7vw); white-space: nowrap; }
.section-head p { font-size: 1.15rem; font-weight: 600; max-width: 640px; margin: 0 auto; text-align: center; text-wrap: balance; }

/* ---------- Flavour switcher ---------- */
.flavours { background: var(--tint, var(--rr-tint)); transition: background-color .6s var(--ease); overflow: hidden; }
.flavours[data-flavour="peach-charm"] { --tint: var(--pc-tint); --accent: var(--pc); --deep: var(--pc-deep); }
.flavours[data-flavour="raspberry-rush"] { --tint: var(--rr-tint); --accent: var(--rr); --deep: var(--rr-deep); }
.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.tab { min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2.5px solid var(--navy); background: #fff; font-weight: 800; cursor: pointer; transition: transform .2s var(--bounce), background-color .2s; }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; transform: scale(1.06); }
.flavour-stage { display: grid; grid-template-columns: 1fr minmax(220px, 340px) 1fr; align-items: center; gap: clamp(16px, 4vw, 48px); }
.flavour-can { position: relative; display: grid; place-items: center; height: clamp(340px, 42vw, 520px); }
.flavour-can::before { content: ""; position: absolute; inset: 12% -10%; border-radius: 50%; background: var(--accent, var(--rr)); filter: blur(4px); transform: scale(.9); transition: background-color .6s var(--ease); z-index: 0; }
.flavour-can img.can { position: relative; z-index: 1; height: 100%; width: auto; max-width: none; min-height: 0; filter: drop-shadow(0 30px 30px rgba(38, 47, 92, .25)); }
.flavour-can img.can.swap { animation: can-swap .7s var(--bounce); }
@keyframes can-swap { from { transform: translateY(40px) rotate(-14deg) scale(.7); opacity: 0; } }
.flavour-can .orbit { position: absolute; z-index: 2; width: 26%; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(38, 47, 92, .2)); transition: opacity .4s; }
.flavour-copy h3 { font-size: clamp(1.8rem, 2.9vw, 3.2rem); white-space: nowrap; }
.flavour-copy .taste { font-size: 1.2rem; font-weight: 600; max-width: 26ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--navy); font-weight: 800; font-size: .9rem; }
.flavour-buy { text-align: right; justify-self: end; }
.flavour-buy .price { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.flavour-buy .per { font-weight: 700; margin: 6px 0 16px; }
@media (max-width: 860px) {
  .flavour-stage { grid-template-columns: 1fr; text-align: center; }
  .flavour-can { height: 340px; width: 240px; margin: 0 auto; order: -1; }
  .flavour-copy h3 { font-size: 9vw; }
  .flavour-copy .taste { margin-inline: auto; }
  .chips { justify-content: center; }
  .flavour-buy { justify-self: center; text-align: center; }
}

/* ---------- Shop cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 32px); list-style: none; padding: 0; margin: 0; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 2.5px solid var(--navy); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 0 var(--navy); transition: transform .25s var(--bounce), box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 0 var(--navy); }
.card-media { position: relative; aspect-ratio: 1; background: var(--card-tint); display: grid; place-items: center; overflow: hidden; }
.card-media::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--card-colour); opacity: .55; }
.card-media .cans { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; }
.card-media .cans img { height: 78%; width: auto; max-width: none; filter: drop-shadow(0 18px 18px rgba(38, 47, 92, .22)); transition: transform .45s var(--bounce); }
.card-media .cans img:first-child:not(:last-child) { transform: rotate(-7deg); }
.card-media.has-shots::after { display: none; }
.card-media .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .6s var(--ease); }
.card-media .shot.alt { opacity: 0; }
.card:hover .card-media .shot { transform: scale(1.03); }
.card:hover .card-media .shot.alt { opacity: 1; }
.card-media .cans img + img { margin-left: -2%; transform: rotate(7deg) translateY(3%); }
.card:hover .card-media .cans img:first-child { transform: rotate(-6deg) translateY(-4%); }
.card-media .tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--navy); color: #fff; font-weight: 800; font-size: .82rem; padding: 6px 12px; border-radius: 999px; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 2rem; margin: 0; white-space: nowrap; }
.card-body .taste { margin: 0; font-weight: 600; }
.pack-line { font-weight: 800; color: var(--teal); font-size: .95rem; margin: 0; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price-row .now { font-family: var(--display); font-size: 2.1rem; line-height: 1; }
.price-row del { color: #5b6180; font-weight: 600; } /* readable grey, 6:1 on white */
.packs { display: inline-flex; padding: 3px; border: 2.5px solid var(--navy); border-radius: 999px; align-self: flex-start; }
.packs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 800; cursor: pointer; }
.packs button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.card .btn { margin-top: auto; }

/* ---------- What's in the can ---------- */
.inside { background: var(--sky); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); list-style: none; padding: 0; margin: 0 0 clamp(32px, 5vw, 56px); }
.facts li { background: #fff; border: 2.5px solid var(--navy); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: transform .3s var(--bounce); }
.facts li:hover { transform: rotate(-2deg) scale(1.03); }
.facts img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 12px; }
.facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: min(1.7rem, 1.75vw); text-transform: uppercase; line-height: 1; margin-bottom: 6px; white-space: nowrap; }
.facts span { font-weight: 600; }
@media (max-width: 860px) {
  /* Phones and tablets: one fact per row, icon on the left, title on one line. */
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .facts li { display: grid; grid-template-columns: 60px 1fr; gap: 0 16px; align-items: center; text-align: left; padding: 16px 18px; }
  .facts img { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .facts strong { font-size: min(1.7rem, 6.4vw); margin: 0 0 2px; }
}
.tastes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.taste-card { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: center; border-radius: var(--radius); padding: 22px; border: 2.5px solid var(--navy); }
.taste-card img { height: 150px; width: auto; justify-self: center; }
.taste-card h3 { font-size: min(1.8rem, 5.6vw); margin-bottom: .2em; white-space: nowrap; }
.taste-card p { margin: 0; font-weight: 600; }
.taste-card.rr { background: var(--rr-tint); }
.taste-card.pc { background: var(--pc-tint); }
@media (max-width: 760px) { .tastes { grid-template-columns: 1fr; } }

/* ---------- Photo strip ---------- */
.reel { padding: clamp(48px, 7vw, 80px) 0; overflow: hidden; background: var(--paper); }
.reel-track { display: flex; gap: 20px; width: max-content; animation: marquee 50s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel figure { margin: 0; flex: none; height: clamp(260px, 34vw, 420px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 2.5px solid var(--navy); }
.reel figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.reel-follow { text-align: center; margin-top: 28px; font-weight: 800; }
.reel-follow a { text-decoration-thickness: 2.5px; text-underline-offset: 5px; }

/* ---------- How it works ---------- */
.how { background: #fdd9db url("../img/collage.webp") center / cover no-repeat; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: #fff; border: 2.5px solid var(--navy); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 8px 0 var(--navy); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-size: 1.7rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.7rem; margin-bottom: .25em; white-space: nowrap; }
.steps p { margin: 0; font-weight: 600; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .how { background-image: url("../img/collage-small.webp"); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 2.5px solid var(--navy); border-radius: 22px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 800; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; transition: transform .3s var(--bounce); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { width: 150px; color: #fff; margin-bottom: 16px; }
.footer-grid h3 { font-size: 1.3rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; opacity: .9; }
.footer-grid a:hover { text-decoration: underline; opacity: 1; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: .88rem; opacity: .8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(26, 33, 71, .5); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .4s var(--bounce); border-left: 2.5px solid var(--navy); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 2px solid var(--line); }
.drawer-head h2 { font-size: 2rem; margin: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--navy); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.empty { text-align: center; padding: 40px 0; font-weight: 700; }
.empty img { width: 90px; margin: 0 auto 12px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 2px solid var(--line); }
.line-img { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; }
.line-img img { height: 56px; width: auto; }
.line-name { font-weight: 800; line-height: 1.2; }
.line-meta { font-size: .88rem; opacity: .75; }
.line-price { font-weight: 800; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--navy); border-radius: 999px; margin-top: 6px; background: #fff; }
.qty button { width: 34px; height: 32px; border: 0; background: none; cursor: pointer; font-weight: 800; font-size: 1.1rem; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.drawer-foot { padding: 18px 22px 22px; border-top: 2px solid var(--line); display: grid; gap: 10px; }
.total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.2rem; }
.note { font-size: .9rem; opacity: .8; margin: 0; text-align: center; }

/* Fruit pop on add to cart */
.burst { position: fixed; z-index: 150; width: 34px; pointer-events: none; animation: burst .9s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)) scale(.4); opacity: 0; } }

/* Scroll reveals */
.reveal { opacity: 0; transform: translateY(36px) scale(.98); transition: opacity .7s var(--ease), transform .8s var(--bounce); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track, .reel-track { flex-wrap: wrap; width: auto; }
}

/* ---------- "Pick your flavour": the ingredients come together into the can as you scroll ---------- */
/* JS sets --p (0 to 1) on .ing from the scroll position. Everything else is CSS. */
.ing { --p: 0; position: relative; height: 260vh; background: var(--accent-bg); transition: background-color .6s var(--ease); }
.ing[data-flavour="raspberry-rush"] { --accent-bg: #F0A8E4; }
.ing[data-flavour="peach-charm"] { --accent-bg: #F5C3B8; }
.ing-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: calc(var(--hdr, 72px) + 14px) var(--gutter, 20px) clamp(18px, 3vw, 28px); overflow: hidden; }
.ing-head { text-align: center; position: relative; z-index: 5; }
.ing-head h2 { font-size: min(4.4rem, 9vw); white-space: nowrap; margin: 0 0 12px; }
.ing-head .tabs { margin-bottom: 0; }
.ing .tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.ing-scene { position: relative; container-type: size; min-height: 0; }
.ing-set { position: absolute; inset: 0; }
.ing[data-flavour="raspberry-rush"] .ing-set[data-set="peach-charm"], .ing[data-flavour="peach-charm"] .ing-set[data-set="raspberry-rush"] { display: none; }
.ing-item {
  --q: clamp(0, (var(--p) - var(--d)) / .45, 1);
  --e: calc(1 - (1 - var(--q)) * (1 - var(--q)));
  position: absolute; left: 50%; top: 50%; z-index: 1; width: calc(var(--w) * 1cqmin); height: auto; pointer-events: none;
  transform: translate(-50%, -50%)
             translate(calc(var(--ex) + (var(--sx) - var(--ex)) * (1 - var(--e))), calc(var(--ey) + (var(--sy) - var(--ey)) * (1 - var(--e))))
             rotate(calc(var(--er) + (var(--sr) - var(--er)) * (1 - var(--e))));
  filter: drop-shadow(0 14px 18px rgba(38, 47, 92, .25)); will-change: transform;
}
.ing-item.front { z-index: 3; }
.ing-can {
  --c: clamp(0, (var(--p) - .3) / .38, 1);
  position: absolute; left: 50%; top: 50%; z-index: 2; height: 80cqh; width: auto; max-width: none;
  transform: translate(-50%, -50%) scale(calc(.62 + .38 * var(--c))); opacity: calc(.1 + .9 * var(--c));
  filter: blur(calc((1 - var(--c)) * 8px)) drop-shadow(0 30px 34px rgba(38, 47, 92, .3)); will-change: transform, opacity;
}
.ing-can.swap { animation: ing-fade .5s var(--ease); }
@keyframes ing-fade { from { opacity: 0; } }
.ing-facts { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ing-facts li {
  --f: clamp(0, (var(--p) - var(--fd)) / .1, 1);
  position: absolute; background: #fff; color: var(--navy); font-weight: 800; font-size: clamp(.9rem, 1.6vw, 1.15rem); padding: 10px 18px; border-radius: 999px; border: 2.5px solid var(--navy); box-shadow: 0 5px 0 var(--navy); white-space: nowrap;
  opacity: var(--f); transform: translateY(calc((1 - var(--f)) * 18px)) scale(calc(.9 + .1 * var(--f)));
}
.ing-facts li:nth-child(1) { left: 6%; top: 22%; } .ing-facts li:nth-child(2) { right: 6%; top: 30%; }
.ing-facts li:nth-child(3) { left: 8%; bottom: 26%; } .ing-facts li:nth-child(4) { right: 9%; bottom: 20%; }
.ing-buy { position: relative; z-index: 5; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 36px); flex-wrap: wrap; text-align: left; }
.ing-name h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.ing-name .taste { margin: 2px 0 0; font-weight: 600; }
.ing-price { display: flex; flex-direction: column; }
.ing-price .price { font-family: var(--display, inherit); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; }
.ing-price .per { font-size: .9rem; font-weight: 700; }
@media (max-width: 760px) {
  .ing { height: 230vh; --hdr: 63px; }
  .ing-head h2 { font-size: 10vw; margin-bottom: 10px; }
  .ing-head .tab { min-height: 44px; padding: 0 16px; font-size: .95rem; }
  .ing-facts li { font-size: .82rem; padding: 7px 12px; box-shadow: 0 3px 0 var(--navy); }
  .ing-facts li:nth-child(1) { left: 0; top: 6%; } .ing-facts li:nth-child(2) { right: 0; top: 14%; }
  .ing-facts li:nth-child(3) { left: 0; bottom: 8%; } .ing-facts li:nth-child(4) { right: 0; bottom: 2%; }
  .ing-buy { gap: 10px 14px; text-align: center; }
  .ing-name { flex: 1 0 100%; }
  .ing-name h3 { font-size: 1.3rem; } .ing-name .taste { font-size: .92rem; }
  .ing-buy .btn { min-height: 48px; }
}
/* No scroll animation: show the finished scene. */
@media (prefers-reduced-motion: reduce) { .ing { height: auto; --p: 1 !important; } .ing-pin { position: relative; height: auto; min-height: 100svh; } }

/* "Other flavours" shows two cards: keep them centred, same card width as the shop grid. */
.cards[data-exclude] { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
@media (max-width: 600px) { .cards[data-exclude] { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Shop: clean product cards (white card, the can on its own, badge, centred) ---------- */
#shop { background: #EEF1F6; }
.shop-card { position: relative; background: #fff; border: 0; border-radius: 24px; box-shadow: 0 1px 0 rgba(38, 47, 92, .06), 0 14px 34px rgba(38, 47, 92, .08); text-align: center; }
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(38, 47, 92, .06), 0 20px 44px rgba(38, 47, 92, .13); }
.shop-card .badge { position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--navy); color: #fff; font-weight: 800; font-size: .78rem; padding: 6px 12px; border-radius: 999px; }
.shop-card .card-img { display: block; aspect-ratio: 1; padding: 18px 18px 0; }
.shop-card .card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--bounce); }
.shop-card:hover .card-img img { transform: translateY(-6px) rotate(-2deg); }
.shop-card .card-body { padding: 4px 18px 22px; }
.shop-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 0 4px; }
.shop-card h3 a { color: inherit; text-decoration: none; }
.shop-card .taste { font-size: .95rem; margin: 0 0 12px; min-height: 2.6em; }
.rating { margin: 0 0 6px; font-size: .85rem; font-weight: 700; color: #5b6180; }
.rating .st { color: #e7a12b; letter-spacing: 1px; }

/* Three sizes: the middle one carries "Most popular" and is picked by default. */
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 12px; }
.sizes button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 14px 4px 9px; border-radius: 14px; border: 2px solid #d9dce6; background: #fff; color: var(--navy); cursor: pointer; font: inherit; line-height: 1.15; transition: border-color .2s, background .2s, transform .2s var(--bounce); }
.sizes button:hover { border-color: var(--navy); }
.sizes button[aria-checked="true"] { border-color: var(--navy); background: #F7F3F6; box-shadow: 0 3px 0 var(--navy); }
.sizes .sz-pop { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #F0A8E4; color: var(--navy); font-size: .66rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; border: 1.5px solid var(--navy); }
.sizes .sz-cans { font-weight: 800; font-size: .95rem; }
.sizes .sz-price { font-weight: 800; font-size: .9rem; }
.sizes .sz-per { font-size: .72rem; color: #5b6180; font-weight: 600; }
.shop-card .price-row, .buy-box .price-row { justify-content: center; }
.gift-note { margin: 0 0 12px; font-size: .86rem; font-weight: 700; color: #5b6180; }
.gift-note.on { color: #0C7E8B; }
.gift-note.on::before { content: "🎁 "; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; box-shadow: 0 3px 0 var(--navy-deep); }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; font-size: .85em; }

/* ---------- Cart: surprise-gift progress, upsell, code, totals ---------- */
.gift-bar { padding: 12px 20px 14px; background: #F7F3F6; border-bottom: 1px solid var(--line); }
.gift-bar p { margin: 0 0 10px; font-size: .92rem; text-align: center; }
.gift-track { position: relative; height: 8px; border-radius: 99px; background: #e2e4ec; margin-right: 18px; }
.gift-track span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, #F0A8E4, #0C7E8B); transition: width .5s var(--ease); }
.gift-track .gift-ico { position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 1.3rem; }
.gift-bar.done .gift-track span { background: #0C7E8B; }
.upsell { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 20px 12px; padding: 12px 14px; border-radius: 14px; background: #FDF0FA; border: 1.5px dashed #c56fb7; }
.upsell strong { display: block; } .upsell span { font-size: .85rem; color: #5b6180; }
.line-img { background: #F3F4F8 !important; border-radius: 12px; }
.line-img img { width: 100%; height: 100%; object-fit: contain; }
.code-form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.code-form input { flex: 1 1 140px; min-height: 40px; border: 2px solid #d9dce6; border-radius: 12px; padding: 0 12px; font: inherit; text-transform: uppercase; }
.code-msg { flex: 1 0 100%; margin: 0; color: #b42318; font-size: .85rem; }
.code-msg:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: 4px; }
.sum-row.off, .sum-row.gift { color: #0C7E8B; font-weight: 700; }

/* ---------- 10% pop-up ---------- */
.pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.pop-scrim { position: absolute; inset: 0; background: rgba(15, 18, 40, .55); opacity: 0; transition: opacity .3s; }
.pop-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(820px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .35s var(--bounce), opacity .3s; }
.pop.open .pop-scrim { opacity: 1; } .pop.open .pop-card { transform: none; opacity: 1; }
.pop-x { position: absolute; z-index: 2; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--navy); }
.pop-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pop-body { padding: 34px 30px 28px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.pop-logo { margin: 0 auto 14px; height: 44px; width: auto; }
.pop-body h2 { font-size: clamp(2.4rem, 5vw, 3.2rem); margin: 0 0 8px; }
.pop-body p { margin: 0 0 16px; }
.pop-form { display: grid; gap: 10px; }
.pop-form input { min-height: 52px; border: 2px solid #d9dce6; border-radius: 12px; padding: 0 14px; font: inherit; }
.pop-err { margin: 0; color: #b42318; font-size: .88rem; min-height: 1em; }
.pop-fine { font-size: .78rem; color: #5b6180; margin: 8px 0 0 !important; }
.pop-code { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; margin: 4px 0 16px; padding: 14px; border: 2.5px dashed var(--navy); border-radius: 14px; background: #F7F3F6; cursor: pointer; font: inherit; color: var(--navy); }
.pop-code span { font-family: var(--display); font-size: 2.2rem; letter-spacing: .06em; }
.pop-code small { font-weight: 700; color: #5b6180; }
@media (max-width: 640px) {
  .pop { align-items: end; padding: 0; }
  .pop-card { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 92svh; }
  .pop-img { height: 190px; }
  .pop-body { padding: 20px 20px 24px; }
  .pop-logo { display: none; }
}

/* Anything marked hidden stays hidden, whatever its display style. */
[hidden] { display: none !important; }

/* Checkout marketing opt-in (unticked by default) */
.optin { display: flex; gap: .6rem; align-items: flex-start; margin: .75rem 0 0; font-size: .92rem; line-height: 1.4; color: var(--ink, #202124); cursor: pointer; }
.optin input { flex: none; width: 1.15rem; height: 1.15rem; margin: .1rem 0 0; accent-color: #262F5C; }
.ts-box:empty{display:none}.ts-box{margin:4px 0}
/* Home: one-line strip pointing cafés, stores and distributors to /wholesale/ */
.trade-strip { background: var(--navy); color: #fff; padding: clamp(22px, 3.4vw, 34px) 0; }
.trade-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.trade-strip h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: #fff; }
.trade-strip .btn { box-shadow: 0 5px 0 var(--sky-deep); border-color: #fff; }
@media (max-width: 560px) { .trade-strip .wrap { justify-content: center; text-align: center; } }
