/* Dough-lightful Bites — 02 Sugar Rush
   Loud pink + heavy black. Thick outlines, hard offset shadows, pill buttons, stickers. */

:root {
  --pink: #FFB9D0;          /* brand pink from the Wix site */
  --pink-2: #FFD3E2;
  --pink-3: #FFF0F5;
  --hot: #FF4F9A;           /* accent; black text only (6.8:1) */
  --hot-deep: #E02D7D;
  --ink: #141012;
  --ink-2: #3B3337;
  --paper: #FFFFFF;
  --cream: #FFF8F2;
  --yellow: #FFE45C;
  --mint: #B9F0D6;
  --ph: #FFF4A8;

  --line: 3px;
  --line-thick: 4px;
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --pill: 999px;

  --f-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-fun: "Shrikhand", "Bricolage Grotesque", Georgia, serif;

  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.2rem + 1.1vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.45rem + 2.2vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.7rem + 4vw, 5.25rem);
  --step-5: clamp(3.1rem, 1.6rem + 7.4vw, 9rem);

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(4rem, 2.6rem + 6vw, 8.5rem);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 82%;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--hot); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--yellow);
  border-radius: 6px;
}
.on-dark :focus-visible { outline-color: var(--pink); box-shadow: 0 0 0 7px var(--ink-2); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--yellow); color: var(--ink); font-weight: 700;
  padding: .7rem 1.1rem; border: var(--line) solid var(--ink); border-radius: var(--pill);
  box-shadow: var(--shadow-sm); text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }

/* placeholder for facts the client must supply */
.ph {
  background: var(--ph);
  border-bottom: 2px dashed var(--ink);
  border-radius: 4px;
  padding: 0 .3em;
  font-style: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-display); font-weight: 800; font-stretch: 90%;
  font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase;
}
.sticker {
  display: inline-flex; align-items: center; gap: .45em;
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  border-radius: var(--pill);
  padding: .35em .9em;
  box-shadow: var(--shadow-sm);
  font-family: var(--f-display); font-weight: 800; font-stretch: 90%;
  font-size: var(--step--1); letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.2;
}
.sticker--pink { background: var(--pink); }
.sticker--hot { background: var(--hot); }
.sticker--mint { background: var(--mint); }
.sticker--ink { background: var(--ink); color: var(--pink); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }
.fun { font-family: var(--f-fun); font-weight: 400; font-stretch: normal; letter-spacing: 0; }
.outline-text {
  color: var(--hot);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-display); font-weight: 800; font-stretch: 90%;
  font-size: var(--step-0); line-height: 1; letter-spacing: .01em;
  padding: .95em 1.45em;
  min-height: 48px;
  background: var(--bg); color: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background-color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-hot { --bg: var(--hot); }
.btn-hot:hover { --bg: #FF66A8; }
.btn-pink { --bg: var(--pink); }
.btn-yellow { --bg: var(--yellow); }
.btn-ink { --bg: var(--ink); color: var(--pink); }
.btn-ink:hover { --bg: #2A2226; }
.btn-outline { --bg: var(--paper); }
.btn-lg { font-size: var(--step-1); padding: 1em 1.6em; }
.btn-sm { font-size: var(--step--1); padding: .7em 1.05em; min-height: 40px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sm); }
.on-dark .btn { border-color: var(--ink); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: var(--line) solid var(--ink); border-radius: 50%;
  background: var(--paper); box-shadow: var(--shadow-sm);
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.icon-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.icon-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- top bar + header ---------- */
.topbar {
  background: var(--ink); color: var(--pink);
  font-family: var(--f-display); font-weight: 700; font-stretch: 90%;
  font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase;
}
.topbar p {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .25em 1.1em; padding: .55em var(--gutter); text-align: center;
}
.topbar .star { color: var(--hot); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--pink);
  border-bottom: var(--line) solid var(--ink);
  transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: 0 6px 0 var(--ink); }
.header-inner {
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem);
  min-height: clamp(64px, 5vw + 40px, 84px);
}
.logo {
  display: inline-flex; align-items: center; gap: .35rem;
  text-decoration: none; margin-right: auto; flex: none;
}
.logo-word {
  font-family: var(--f-fun); font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);
  line-height: 1; letter-spacing: -.01em;
  color: var(--paper);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink);
  padding-bottom: .12em;
}
.logo-tag {
  font-family: var(--f-display); font-weight: 800; font-stretch: 80%;
  font-size: clamp(.68rem, .6rem + .3vw, .82rem); text-transform: uppercase; letter-spacing: .1em;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--pill);
  padding: .2em .6em; transform: rotate(-8deg) translateY(-.35em); box-shadow: 2px 2px 0 var(--ink);
}
.main-nav ul { list-style: none; display: flex; gap: .3rem; }
.main-nav a {
  display: inline-block; text-decoration: none;
  font-family: var(--f-display); font-weight: 800; font-stretch: 88%;
  font-size: var(--step-0); padding: .55em 1em; border-radius: var(--pill);
  border: var(--line) solid transparent;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease-bounce);
}
.main-nav a:hover { background: var(--paper); border-color: var(--ink); transform: rotate(-3deg); }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--pink); }

.basket-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .55em 1.05em .55em .8em; min-height: 48px;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
  font-family: var(--f-display); font-weight: 800; font-stretch: 88%; font-size: var(--step-0);
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.basket-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.basket-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.basket-btn svg { width: 24px; height: 24px; }
.basket-count {
  display: inline-grid; place-items: center;
  min-width: 1.7em; height: 1.7em; padding: 0 .4em;
  background: var(--hot); border: 2px solid var(--ink); border-radius: var(--pill);
  font-size: .85em; line-height: 1;
}
.basket-count[data-empty] { background: var(--pink-2); }
.basket-btn.bump { animation: bump .6s var(--ease-bounce); }
.basket-btn.bump .basket-count { animation: countpop .6s var(--ease-bounce); }
@keyframes bump {
  0% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.14) rotate(-6deg); }
  60% { transform: scale(.96) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes countpop { 0% { transform: scale(1); } 40% { transform: scale(1.6); background: var(--yellow); } 100% { transform: scale(1); } }

.menu-toggle { display: none; }
.mobile-nav {
  position: fixed; inset: var(--header-h, 72px) 0 0 0; z-index: 49;
  background: var(--pink);
  padding: 1.5rem var(--gutter) 3rem;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 2rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; display: grid; gap: .5rem; }
.mobile-nav li a {
  display: flex; justify-content: space-between; align-items: center;
  text-decoration: none; font-family: var(--f-display); font-weight: 800; font-stretch: 80%;
  font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: 1.1;
  padding: .15em .4em; border: var(--line) solid var(--ink); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow);
}
.mobile-nav li:nth-child(2) a { background: var(--yellow); }
.mobile-nav li:nth-child(3) a { background: var(--mint); }
.mobile-nav li:nth-child(4) a { background: var(--hot); }
.mobile-nav li a svg { width: .6em; height: .6em; }
.mobile-nav .mobile-meta { font-weight: 600; }
body.nav-open { overflow: hidden; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .basket-label { display: none; }
  .basket-btn { padding-inline: .7em; }
}
.basket-btn svg, .basket-count, .menu-toggle, .basket-btn { flex: none; }
@media (max-width: 480px) {
  .header-inner { gap: .55rem; }
  .logo { position: relative; padding-bottom: .55rem; }
  .logo-tag { position: absolute; right: -.5rem; bottom: -.55rem; font-size: .56rem; transform: rotate(-6deg); }
  .basket-btn { padding: .45em .6em; gap: .35em; min-height: 44px; }
}

/* ---------- marquee ---------- */
.marquee-zone { position: relative; overflow: hidden; padding-block: clamp(1.8rem, 4vw, 3.2rem); }
.marquee {
  display: flex; overflow: hidden; user-select: none;
  border-block: var(--line-thick) solid var(--ink);
  background: var(--ink); color: var(--pink);
  transform: rotate(-2.2deg) scale(1.06);
  position: relative; z-index: 2;
}
.marquee--alt {
  background: var(--hot); color: var(--ink);
  transform: rotate(1.6deg) scale(1.06);
  position: absolute; left: 0; right: 0; top: 50%; margin-top: -1.9em; z-index: 1;
}
.marquee__track {
  display: flex; flex: none; align-items: center; gap: 1.2em; padding-right: 1.2em;
  font-family: var(--f-fun); font-size: var(--step-3); line-height: 1; white-space: nowrap;
  padding-block: .32em .42em;
  animation: marquee 26s linear infinite;
}
.marquee--alt .marquee__track { animation-direction: reverse; animation-duration: 34s; font-family: var(--f-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: var(--step-2); }
.marquee__track svg { width: .7em; height: .7em; flex: none; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.55) 0 2px, transparent 3px) 0 0 / 28px 28px,
    var(--pink);
  border-bottom: var(--line) solid var(--ink);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 6.5rem) clamp(3.5rem, 7vw, 7rem);
}
.hero-copy { display: grid; gap: clamp(1.1rem, 2vw, 1.75rem); justify-items: start; }
.hero-title {
  font-size: var(--step-5); line-height: .86; font-stretch: 78%;
  display: grid;
}
.hero-title .line { display: block; }
.hero-title .fun {
  font-size: .92em; line-height: .95; margin-block: -.06em -.12em;
  color: var(--hot); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-3deg); transform-origin: left center;
  padding-right: .1em;
}
.hero .lede { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: .4rem;
}
.hero-facts li {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--pill);
  padding: .3em .85em; font-weight: 600; font-size: var(--step--1);
}
.hero-facts strong { font-family: var(--f-display); font-weight: 800; font-size: 1.15em; }

.hero-art {
  position: relative; aspect-ratio: 1 / 1.16; width: 100%; max-width: 620px; justify-self: center;
  perspective: 1200px;
}
.hero-art__stage { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .5s var(--ease-out); }
.polaroid {
  position: absolute; margin: 0;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 10px 10px 0;
  transition: transform .5s var(--ease-bounce);
}
.polaroid picture { border-radius: 14px; overflow: hidden; border: 2px solid var(--ink); aspect-ratio: 4 / 3.1; }
.polaroid picture img { height: 100%; object-fit: cover; }
.polaroid figcaption {
  font-family: var(--f-fun); font-size: clamp(.95rem, .8rem + .6vw, 1.35rem);
  text-align: center; padding: .35em 0 .45em; line-height: 1.1;
}
.polaroid.p1 { width: 62%; left: 2%; top: 4%; transform: rotate(-7deg); z-index: 2; }
.polaroid.p2 { width: 54%; right: 0; top: 16%; transform: rotate(6deg); z-index: 1; background: var(--yellow); }
.polaroid.p3 { width: 56%; left: 18%; bottom: 0; transform: rotate(-2deg); z-index: 3; background: var(--mint); }
.hero-art:hover .polaroid.p1 { transform: rotate(-10deg) translate(-8px, -6px); }
.hero-art:hover .polaroid.p2 { transform: rotate(9deg) translate(8px, -4px); }
.hero-art:hover .polaroid.p3 { transform: rotate(1deg) translateY(6px); }
.hero-cookie {
  position: absolute; width: 34%; right: -2%; bottom: 1%; z-index: 4;
  filter: drop-shadow(6px 6px 0 var(--ink));
}
.hero-cookie svg { width: 100%; height: auto; animation: spin 38s linear infinite; }
.burst {
  position: absolute; z-index: 5; display: grid; place-items: center; text-align: center;
  width: clamp(92px, 9vw + 40px, 150px); aspect-ratio: 1;
  font-family: var(--f-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase;
  font-size: clamp(.8rem, .55rem + .7vw, 1.1rem); line-height: 1;
}
.burst svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite reverse; }
.burst span { position: relative; padding: 0 .6em; }
.hero-art .burst { left: -3%; top: 52%; transform: rotate(-12deg); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 520px; width: 92%; margin-top: 1rem; }
}

/* ---------- section heads ---------- */
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 3vw, 3rem);
}
.section-head h2 { font-size: var(--step-4); }
.section-head p { max-width: 44ch; color: var(--ink-2); }
.section-head .eyebrow { margin-bottom: .8rem; }

/* ---------- range cards ---------- */
.ranges-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.range-card {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border: var(--line-thick) solid var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  background: var(--pink-2);
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease-out);
}
.range-card:hover { transform: rotate(-1deg) translateY(-6px); box-shadow: 14px 14px 0 var(--ink); }
.range-card--deluxe { background: var(--ink); color: var(--paper); }
.range-card--deluxe:hover { transform: rotate(1deg) translateY(-6px); }
.range-card h3 { font-size: var(--step-4); }
.range-card--deluxe h3 { color: var(--pink); }
.range-card .range-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.range-card .range-meta span {
  border: 2px solid currentColor; border-radius: var(--pill); padding: .25em .8em; font-weight: 600; font-size: var(--step--1);
}
.range-card p { max-width: 36ch; }
.range-card--deluxe p { color: #F3E6EA; }
.range-prices { display: flex; gap: 2rem; flex-wrap: wrap; }
.range-prices div { display: grid; }
.range-prices small { font-size: var(--step--1); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.range-prices strong { font-family: var(--f-display); font-weight: 800; font-size: var(--step-3); line-height: 1; }
.range-card__cookies { position: absolute; right: -6%; top: -8%; width: 46%; z-index: -1; opacity: .95; }
.range-card__cookies .c { position: absolute; width: 58%; filter: drop-shadow(5px 5px 0 var(--ink)); }
.range-card__cookies .c:nth-child(1) { right: 0; top: 0; transform: rotate(14deg); }
.range-card__cookies .c:nth-child(2) { right: 34%; top: 26%; width: 44%; transform: rotate(-10deg); }
.range-card .btn { position: relative; z-index: 2; justify-self: start; }
@media (max-width: 760px) {
  .ranges-grid { grid-template-columns: minmax(0, 1fr); }
  .range-card__cookies { width: 44%; right: -6%; top: -4%; }
  .range-card__cookies .c:nth-child(2) { display: none; }
  .range-card__cookies .c:nth-child(1) { width: 62%; }
}

/* ---------- flavour cards ---------- */
.flavour-card {
  --accent: var(--pink);
  position: relative; display: flex; flex-direction: column;
  background: var(--accent);
  border: var(--line) solid var(--ink); border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 12px 12px 1.1rem;
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease-out);
  isolation: isolate;
}
.flavour-card:hover, .flavour-card:focus-within { transform: rotate(-1.6deg) translateY(-6px); box-shadow: 11px 11px 0 var(--ink); }
.flavour-card:nth-child(even):hover, .flavour-card:nth-child(even):focus-within { transform: rotate(1.6deg) translateY(-6px); }
.flavour-card__media { position: relative; }
.flavour-card__media picture {
  border: var(--line) solid var(--ink); border-radius: 18px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--paper);
}
.flavour-card__media img { height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.flavour-card:hover .flavour-card__media img { transform: scale(1.06); }
.flavour-card__cookie {
  position: absolute; width: 30%; right: -4%; bottom: -16%; z-index: 2;
  filter: drop-shadow(4px 4px 0 var(--ink));
  transition: transform .6s var(--ease-bounce);
}
.flavour-card:hover .flavour-card__cookie { transform: rotate(80deg) scale(1.08); }
.flavour-card__num {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  display: grid; place-items: center; width: 2.3em; height: 2.3em;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 50%;
  font-family: var(--f-display); font-weight: 800; font-size: var(--step--1);
}
.flavour-card .sticker.filled { position: absolute; right: 10px; top: 10px; z-index: 2; transform: rotate(6deg); font-size: .72rem; padding: .3em .7em; }
.flavour-card__body { display: grid; gap: .45rem; padding: 1.35rem .45rem 0; flex: 1; align-content: start; }
.flavour-card__range { font-family: var(--f-display); font-weight: 800; font-stretch: 90%; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.flavour-card h3 { font-size: var(--step-2); line-height: 1; padding-right: 22%; }
.flavour-card h3 a { text-decoration: none; }
.flavour-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 28px; }
.flavour-card__desc { font-size: var(--step--1); line-height: 1.5; color: var(--ink); }
.flavour-card__foot {
  display: flex; align-items: end; justify-content: space-between; gap: .75rem;
  padding: .9rem .45rem 0; margin-top: auto;
}
.price-stack { display: grid; line-height: 1.1; }
.price-stack small { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.price-stack strong { font-family: var(--f-display); font-weight: 800; font-size: var(--step-2); }
.price-stack span { font-size: var(--step--1); font-weight: 600; }
.flavour-card .add-quick { position: relative; z-index: 3; }
.flavour-card__cookie, .flavour-card__num, .flavour-card .sticker.filled { pointer-events: none; }

/* scroller (home line-up) */
.lineup { background: var(--cream); border-bottom: var(--line) solid var(--ink); }
.scroller-wrap { position: relative; }
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(262px, 26vw, 330px);
  gap: clamp(1.1rem, 2vw, 1.75rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 1.25rem var(--gutter) 2.5rem;
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.scroller > * { scroll-snap-align: start; }
.scroller:focus-visible { box-shadow: inset 0 0 0 4px var(--yellow); outline-offset: -4px; }
.scroller-controls { display: flex; gap: .6rem; }

/* ---------- deluxe feature ---------- */
.deluxe-feature { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.deluxe-feature::before {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background: radial-gradient(circle, var(--pink) 0 2px, transparent 3px) 0 0 / 26px 26px;
}
.deluxe-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.deluxe-feature h2 { font-size: var(--step-4); color: var(--pink); }
.deluxe-feature h2 .fun { display: block; color: var(--hot); -webkit-text-stroke: 0; font-size: .9em; transform: rotate(-3deg); margin-top: .1em; }
.deluxe-feature p { color: #EFE3E7; }
.deluxe-copy { display: grid; gap: 1.4rem; justify-items: start; }
.centre-picker { display: flex; flex-wrap: wrap; gap: .6rem; }
.centre-picker button {
  --accent: var(--pink);
  display: inline-flex; align-items: center; gap: .5em;
  background: transparent; color: var(--paper);
  border: 2px solid var(--paper); border-radius: var(--pill);
  padding: .55em 1em; font-weight: 700; font-size: var(--step--1);
  transition: background-color .2s, color .2s, transform .2s var(--ease-bounce);
}
.centre-picker button .dot { width: .95em; height: .95em; border-radius: 50%; background: var(--fill); border: 2px solid var(--paper); }
.centre-picker button:hover { transform: translateY(-2px); }
.centre-picker button[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.centre-picker button[aria-pressed="true"] .dot { border-color: var(--ink); }
.split-stage { position: relative; display: grid; place-items: center; }
.split-stage [data-split] { width: 100%; display: grid; place-items: center; }
.split-stage svg { width: 100%; max-width: 560px; height: auto; overflow: visible; filter: drop-shadow(8px 8px 0 #000); }
.split-stage .burst { right: 4%; top: -2%; color: var(--ink); }
.split-caption { display: grid; gap: .45rem; justify-items: start; }
.split-caption strong { font-family: var(--f-display); font-weight: 800; font-stretch: 82%; font-size: var(--step-2); color: var(--paper); line-height: 1.05; }
.split-caption span { color: var(--pink); font-weight: 600; }
.split-half-l { animation: pull-l 3.6s var(--ease-out) infinite alternate; transform-origin: 50px 50px; }
.split-half-r { animation: pull-r 3.6s var(--ease-out) infinite alternate; transform-origin: 50px 50px; }
.split-goo { animation: goo 3.6s var(--ease-out) infinite alternate; transform-origin: 50px 50px; }
@keyframes pull-l { from { transform: translate(-4px, 1px) rotate(-3deg); } to { transform: translate(-12px, 3px) rotate(-8deg); } }
@keyframes pull-r { from { transform: translate(4px, -1px) rotate(3deg); } to { transform: translate(12px, -3px) rotate(8deg); } }
@keyframes goo { from { transform: scaleX(.55); } to { transform: scaleX(1.12); } }
@media (max-width: 860px) { .deluxe-grid { grid-template-columns: minmax(0, 1fr); } .split-stage { order: -1; } }

/* ---------- how it works ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.5vw, 2rem); counter-reset: step; }
.step {
  position: relative; padding: clamp(1.4rem, 2.5vw, 2rem); padding-top: 3.2rem;
  border: var(--line) solid var(--ink); border-radius: var(--r-lg); background: var(--paper);
  box-shadow: var(--shadow); display: grid; gap: .7rem; align-content: start;
}
.step:nth-child(1) { background: var(--pink-2); transform: rotate(-1deg); }
.step:nth-child(2) { background: var(--yellow); transform: rotate(.8deg); }
.step:nth-child(3) { background: var(--mint); transform: rotate(-.6deg); }
.step__n {
  position: absolute; top: -1.4rem; left: 1.2rem;
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem;
  background: var(--ink); color: var(--pink); border-radius: 50%;
  font-family: var(--f-fun); font-size: 1.5rem; line-height: 1;
  border: var(--line) solid var(--ink);
}
.step__icon { width: 64px; height: 64px; }
.step h3 { font-size: var(--step-2); }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; } .step { transform: none !important; } }

/* ---------- box sizes ---------- */
.boxes { background: var(--pink-3); border-block: var(--line) solid var(--ink); }
.box-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.5vw, 2rem); }
.box-card {
  border: var(--line) solid var(--ink); border-radius: var(--r-lg); background: var(--paper);
  box-shadow: var(--shadow); padding: clamp(1.2rem, 2.4vw, 1.9rem); display: grid; gap: .9rem; align-content: start;
}
.box-card svg { width: 100%; height: auto; }
.box-card h3 { font-size: var(--step-3); }
.box-card h3 small { font-family: var(--f-body); font-weight: 700; font-size: .38em; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: .35em; font-stretch: normal; }
.box-card p { font-size: var(--step--1); }
@media (max-width: 860px) { .box-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* ---------- social ---------- */
.social-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.5rem); align-items: center; }
.social-grid figure { margin: 0; border: var(--line) solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); transition: transform .4s var(--ease-bounce); }
.social-grid figure picture { aspect-ratio: 1; }
.social-grid figure img { height: 100%; object-fit: cover; }
.social-grid figure:nth-child(odd) { transform: rotate(-3deg); }
.social-grid figure:nth-child(even) { transform: rotate(3deg) translateY(14px); }
.social-grid figure:hover { transform: rotate(0) scale(1.05); z-index: 2; }
.social-links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: clamp(2rem, 4vw, 3rem); justify-content: center; }
@media (max-width: 760px) { .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .social-grid figure:nth-child(n+4) { display: none; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--hot); border-block: var(--line) solid var(--ink); text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; gap: 1.4rem; }
.cta-band h2 { font-size: var(--step-5); font-stretch: 76%; }
.cta-band h2 .fun { display: block; font-size: .7em; color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.55) 0 2px, transparent 3px) 0 0 / 28px 28px,
    var(--pink);
  border-bottom: var(--line) solid var(--ink);
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
  position: relative; overflow: hidden;
}
.page-hero .wrap { display: grid; gap: 1.1rem; justify-items: start; position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--step-5); font-stretch: 78%; line-height: .88; }
.page-hero h1 .fun { color: var(--hot); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }
.page-hero__deco { position: absolute; right: max(-4vw, -60px); bottom: -22%; width: clamp(180px, 26vw, 380px); opacity: 1; z-index: 0; filter: drop-shadow(6px 6px 0 var(--ink)); }
.page-hero__deco svg { width: 100%; height: auto; animation: spin 50s linear infinite; }
@media (max-width: 700px) { .page-hero__deco { opacity: .35; right: -18%; } }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .55rem; font-weight: 600; font-size: var(--step--1); }
.crumbs li + li::before { content: "/"; margin-right: .55rem; opacity: .6; }
.crumbs a { text-decoration-thickness: 2px; }

/* ---------- menu page ---------- */
.menu-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.menu-note {
  display: flex; gap: 1rem; align-items: center;
  border: var(--line) solid var(--ink); border-radius: var(--r); background: var(--yellow);
  box-shadow: var(--shadow); padding: 1rem 1.25rem; font-weight: 600; max-width: 760px;
}
.menu-note svg { width: 44px; height: 44px; flex: none; }
.menu-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.menu-range { display: grid; gap: 1.2rem; align-content: start; }
.menu-range__head {
  display: grid; gap: .35rem;
  padding: 1rem 1.25rem; border: var(--line) solid var(--ink); border-radius: var(--r); background: var(--ink); color: var(--pink);
}
.menu-range__head h2 { font-size: var(--step-3); }
.menu-range__head p { color: var(--paper); font-weight: 600; font-size: var(--step--1); }
.menu-item {
  --accent: var(--pink);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem;
  padding: 1.2rem; border: var(--line) solid var(--ink); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-bounce), box-shadow .3s, background-color .3s;
}
.menu-item:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: var(--shadow); background: var(--accent); }
.menu-item__n {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--accent); border: var(--line) solid var(--ink);
  font-family: var(--f-fun); font-size: 1.35rem; line-height: 1;
}
.menu-item:hover .menu-item__n { background: var(--paper); }
.menu-item__body { display: grid; gap: .5rem; }
.menu-item__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
.menu-item h3 { font-size: var(--step-2); line-height: 1.02; }
.menu-item h3 a { text-decoration: none; }
.menu-item h3 a:hover { text-decoration: underline; }
.menu-item__prices { display: flex; flex-wrap: wrap; gap: .4rem; }
.menu-item__prices span { font-weight: 700; font-size: var(--step--1); background: var(--pink-3); border: 2px solid var(--ink); border-radius: var(--pill); padding: .15em .7em; white-space: nowrap; }
.menu-item p { font-size: var(--step--1); }
.menu-item .filling { font-weight: 700; }
.allergen-row { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .8rem; }
.allergen-row > span:first-child { font-weight: 700; margin-right: .15rem; }
.chip {
  display: inline-flex; align-items: center; gap: .3em;
  border: 2px solid var(--ink); border-radius: var(--pill); padding: .12em .6em;
  font-weight: 700; font-size: .78rem; line-height: 1.4; background: var(--ink); color: var(--paper);
}
.chip--may { background: transparent; color: var(--ink); border-style: dashed; }
@media (max-width: 900px) { .menu-columns { grid-template-columns: minmax(0, 1fr); } }

.allergen-table-wrap { overflow-x: auto; border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); background: var(--paper); }
.allergen-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--step--1); }
.allergen-table caption { text-align: left; padding: 1rem 1.2rem; font-weight: 600; caption-side: bottom; border-top: 2px solid var(--ink); }
.allergen-table th, .allergen-table td { padding: .75rem .9rem; border-bottom: 2px solid var(--ink); text-align: center; }
.allergen-table thead th { background: var(--ink); color: var(--pink); font-family: var(--f-display); font-weight: 800; font-stretch: 90%; letter-spacing: .02em; }
.allergen-table tbody th { text-align: left; font-weight: 700; }
.allergen-table tbody tr:nth-child(even) { background: var(--pink-3); }
.allergen-table tbody tr:hover { background: var(--pink-2); }
.allergen-table .group th { background: var(--yellow); text-align: left; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.mark { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; border: 2px solid var(--ink); font-weight: 800; font-size: .8rem; }
.mark--yes { background: var(--ink); color: var(--paper); }
.mark--may { border-style: dashed; }

/* ---------- shop page ---------- */
.shop-bar {
  position: sticky; top: calc(var(--header-h, 72px) - 1px); z-index: 20;
  background: var(--paper); border-bottom: var(--line) solid var(--ink);
}
.shop-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; padding-block: .9rem; }
@media (max-width: 700px) {
  .shop-bar { position: static; }
  .filters { flex-wrap: nowrap; gap: .4rem; }
  .filters button { font-size: var(--step--1); padding: .45em .8em; }
}
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button {
  display: inline-flex; align-items: center; gap: .5em;
  border: var(--line) solid var(--ink); border-radius: var(--pill); background: var(--paper);
  padding: .5em 1.05em; min-height: 44px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 88%; font-size: var(--step-0);
  transition: background-color .2s, transform .2s var(--ease-bounce), box-shadow .2s;
}
.filters button:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--pink); }
.filters button span { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; border-radius: var(--pill); background: var(--pink); color: var(--ink); font-size: .8em; padding: 0 .35em; }
.sort { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.select {
  appearance: none; -webkit-appearance: none;
  border: var(--line) solid var(--ink); border-radius: var(--pill); background: var(--paper);
  padding: .55em 2.6em .55em 1em; min-height: 44px; font-weight: 700;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141012' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center; background-size: 1.1em;
}
.results { font-weight: 600; color: var(--ink-2); padding-top: 1.6rem; }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.2rem); padding-block: 1.6rem var(--section);
}
.product-grid .flavour-card { animation: card-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) rotate(1deg); } to { opacity: 1; transform: none; } }

/* ---------- product page ---------- */
.product { padding-block: clamp(1.6rem, 4vw, 3.5rem) var(--section); }
.product-grid-2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: 1.4rem; }
.product-media {
  --accent: var(--pink);
  position: sticky; top: calc(var(--header-h, 72px) + 1.5rem);
  background: var(--accent);
  border: var(--line-thick) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(1.2rem, 3vw, 2.4rem); padding-bottom: clamp(2.8rem, 5vw, 4rem);
}
.product-media picture { border: var(--line) solid var(--ink); border-radius: var(--r); overflow: hidden; transform: rotate(-2deg); box-shadow: var(--shadow); background: var(--paper); aspect-ratio: 4 / 3.2; }
.product-media img { height: 100%; object-fit: cover; }
.product-media .flavour-card__cookie { width: 30%; right: 2%; bottom: -8%; }
.product-media .flavour-card__cookie svg { animation: spin 40s linear infinite; }
.product-media .sticker.filled { position: absolute; left: 1.2rem; top: 1.2rem; transform: rotate(-8deg); z-index: 3; font-size: var(--step--1); }
.product-media .credit { position: absolute; left: 1.4rem; bottom: .8rem; font-size: .75rem; font-weight: 600; }
.product-info { display: grid; gap: 1.3rem; }
.product-info .meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.product-info h1 { font-size: var(--step-4); font-stretch: 80%; line-height: .92; }
.product-info .desc { font-size: var(--step-1); line-height: 1.5; max-width: 40ch; }
.filling-callout {
  display: flex; align-items: center; gap: .8rem;
  border: var(--line) solid var(--ink); border-radius: var(--r); padding: .8rem 1rem;
  background: var(--ink); color: var(--paper); font-weight: 700; max-width: 460px;
}
.filling-callout .dot { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--paper); background: var(--fill); flex: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--f-display); font-weight: 800; font-size: var(--step-1); margin-bottom: .7rem; padding: 0; }
.options { display: grid; gap: .7rem; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.option label {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem;
  padding: .9rem 1.1rem; border: var(--line) solid var(--ink); border-radius: var(--r); background: var(--paper);
  transition: background-color .2s, transform .2s var(--ease-bounce), box-shadow .2s;
}
.option label .tick { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: var(--line) solid var(--ink); display: grid; place-items: center; background: var(--paper); }
.option label .tick::after { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .25s var(--ease-bounce); }
.option label strong { font-family: var(--f-display); font-weight: 800; font-size: var(--step-1); display: block; line-height: 1.1; }
.option label small { display: block; font-size: var(--step--1); color: var(--ink-2); line-height: 1.35; }
.option label .opt-price { font-family: var(--f-display); font-weight: 800; font-size: var(--step-1); text-align: right; line-height: 1.1; }
.option label .opt-price small { font-family: var(--f-body); font-weight: 600; font-size: .72rem; }
.option input:hover + label { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.option input:checked + label { background: var(--accent, var(--pink)); box-shadow: var(--shadow); transform: translate(-3px, -3px); }
.option input:checked + label .tick::after { transform: scale(1); }
.option input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--yellow); }
.buy-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: stretch; }
.qty {
  display: inline-flex; align-items: center; border: var(--line) solid var(--ink); border-radius: var(--pill);
  background: var(--paper); box-shadow: var(--shadow-sm); overflow: hidden;
}
.qty button { width: 46px; height: 52px; border: 0; background: transparent; display: grid; place-items: center; transition: background-color .15s; }
.qty button:hover { background: var(--pink-2); }
.qty button svg { width: 18px; height: 18px; }
.qty input {
  width: 3ch; text-align: center; border: 0; background: transparent; font-family: var(--f-display); font-weight: 800; font-size: var(--step-1);
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; height: 36px; }
.qty--sm input { font-size: var(--step-0); width: 2.4ch; }
.buy-row .btn { flex: 1 1 240px; }
.box-explain { font-size: var(--step--1); font-weight: 600; display: flex; gap: .6rem; align-items: center; }
.box-explain svg { width: 30px; height: 30px; flex: none; }
.allergen-panel { border: var(--line) solid var(--ink); border-radius: var(--r); padding: 1.1rem 1.2rem; display: grid; gap: .7rem; background: var(--cream); }
.allergen-panel h2 { font-size: var(--step-1); }
.allergen-panel a { font-weight: 700; font-size: var(--step--1); }
.related { background: var(--pink-3); border-top: var(--line) solid var(--ink); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 960px) { .product-grid-2 { grid-template-columns: minmax(0, 1fr); } .product-media { position: relative; top: 0; } }
@media (max-width: 860px) { .related-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }

.not-found { display: grid; justify-items: start; gap: 1.2rem; padding-block: var(--section); }
.not-found h1 { font-size: var(--step-4); }

/* ---------- basket drawer ---------- */
dialog.basket {
  margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(460px, 100vw); max-width: 100vw;
  height: 100vh; height: 100dvh; max-height: none;
  background: transparent; color: var(--ink); overflow: visible;
}
dialog.basket::backdrop { background: rgba(20, 16, 18, .55); backdrop-filter: blur(2px); }
dialog.basket[open] .basket-panel { animation: drawer-in .45s var(--ease-out); }
dialog.basket.closing .basket-panel { animation: drawer-out .28s ease-in forwards; }
dialog.basket[open]::backdrop { animation: fade-in .3s ease; }
dialog.basket.closing::backdrop { animation: fade-out .28s ease forwards; }
@keyframes drawer-in { from { transform: translateX(100%) rotate(3deg); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(105%) rotate(3deg); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.basket-panel {
  height: 100%; display: grid; grid-template-rows: auto 1fr auto;
  background: var(--paper); border-left: var(--line-thick) solid var(--ink);
}
.basket-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--pink); border-bottom: var(--line) solid var(--ink); }
.basket-head h2 { font-size: var(--step-2); }
.basket-head h2 span { font-family: var(--f-body); font-weight: 600; font-size: .5em; letter-spacing: 0; }
.basket-body { overflow-y: auto; padding: 1.1rem 1.3rem; display: grid; gap: .9rem; align-content: start; overscroll-behavior: contain; }
.basket-line {
  --accent: var(--pink);
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .9rem; align-items: center;
  border: var(--line) solid var(--ink); border-radius: var(--r); padding: .7rem; background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.basket-line__cookie { background: var(--accent); border: 2px solid var(--ink); border-radius: 14px; padding: 6px; }
.basket-line__name { font-family: var(--f-display); font-weight: 800; font-size: var(--step-0); line-height: 1.1; }
.basket-line__name a { text-decoration: none; }
.basket-line__opt { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.basket-line__ctrl { display: flex; align-items: center; gap: .5rem; margin-top: .45rem; flex-wrap: wrap; }
.basket-line__total { font-family: var(--f-display); font-weight: 800; font-size: var(--step-1); align-self: start; }
.link-btn { background: none; border: 0; padding: .3em .1em; font-weight: 700; font-size: .8rem; text-decoration: underline; text-underline-offset: .2em; }
.link-btn:hover { color: var(--hot-deep); }
.basket-foot { border-top: var(--line) solid var(--ink); padding: 1.1rem 1.3rem 1.3rem; display: grid; gap: .8rem; background: var(--cream); }
.basket-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.basket-total strong { font-family: var(--f-display); font-weight: 800; font-size: var(--step-2); }
.basket-small { font-size: .8rem; color: var(--ink-2); }
.basket-empty { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: 2.5rem 1rem; }
.basket-empty > svg.cookie { width: 140px; height: auto; filter: drop-shadow(5px 5px 0 var(--ink)); }
.basket-empty h2, .basket-empty h3 { font-size: var(--step-2); }
.basket-empty p { max-width: 26ch; }

/* ---------- flying cookie + toast ---------- */
.fly-cookie { position: fixed; z-index: 300; width: 56px; height: 56px; pointer-events: none; filter: drop-shadow(3px 3px 0 var(--ink)); }
.toasts { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 260; display: grid; gap: .6rem; width: min(520px, calc(100vw - 2rem)); pointer-events: none; }
.toast {
  pointer-events: auto;
  display: flex; align-items: center; gap: .9rem;
  background: var(--ink); color: var(--paper);
  border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--hot);
  padding: .7rem .7rem .7rem 1rem;
  animation: toast-in .45s var(--ease-bounce);
}
.toast.out { animation: toast-out .3s ease-in forwards; }
.toast svg.cookie { width: 40px; height: 40px; flex: none; }
.toast p { flex: 1; font-size: var(--step--1); line-height: 1.35; }
.toast p strong { color: var(--pink); display: block; font-family: var(--f-display); font-size: var(--step-0); }
.toast .btn { flex: none; }
@keyframes toast-in { from { transform: translateY(120%) scale(.9); opacity: 0; } }
@keyframes toast-out { to { transform: translateY(120%); opacity: 0; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-weight: 700; }
.field label .req { color: var(--hot-deep); }
.field .hint { font-size: .82rem; color: var(--ink-2); }
.input, .textarea {
  width: 100%; border: var(--line) solid var(--ink); border-radius: 16px; background: var(--paper);
  padding: .8rem 1rem; min-height: 52px; font-size: var(--step-0);
  transition: box-shadow .15s, transform .15s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:hover, .textarea:hover { box-shadow: var(--shadow-sm); }
.input:focus-visible, .textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 7px var(--yellow); border-radius: 16px; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--hot-deep); background: #FFF0F4; }
.error { color: #B0004C; font-weight: 700; font-size: .85rem; display: flex; gap: .35rem; align-items: center; }
.error[hidden] { display: none; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-weight: 600; }
.check input { width: 26px; height: 26px; margin: 0; accent-color: var(--ink); }
.form-panel { border: var(--line-thick) solid var(--ink); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-lg); padding: clamp(1.3rem, 3.5vw, 2.6rem); }

/* ---------- checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; padding-block: clamp(2rem, 4vw, 3.5rem) var(--section); }
.summary { position: sticky; top: calc(var(--header-h, 72px) + 1.4rem); border: var(--line-thick) solid var(--ink); border-radius: var(--r-lg); background: var(--pink-2); box-shadow: var(--shadow-lg); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; }
.summary h2 { font-size: var(--step-3); }
.summary-lines { list-style: none; display: grid; gap: .7rem; }
.summary-line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: .8rem; align-items: center; }
.summary-line .basket-line__cookie { padding: 4px; border-radius: 12px; }
.summary-line strong { font-family: var(--f-display); font-weight: 800; }
.summary-line small { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: var(--line) solid var(--ink); padding-top: 1rem; font-weight: 700; }
.summary-total strong { font-family: var(--f-display); font-weight: 800; font-size: var(--step-3); }
.confirm { display: grid; justify-items: center; text-align: center; gap: 1.2rem; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem); }
.confirm h2 { font-size: var(--step-4); }
.confirm .cookie-big { width: 160px; filter: drop-shadow(6px 6px 0 var(--ink)); }
.confirm .cookie-big svg { animation: spin 20s linear infinite; }
.mock-note { font-size: .85rem; font-weight: 600; background: var(--ph); border: 2px dashed var(--ink); border-radius: 12px; padding: .5rem .8rem; }
.confetti { position: fixed; top: -20px; z-index: 400; width: 12px; height: 18px; border: 2px solid var(--ink); border-radius: 3px; pointer-events: none; }
@media (max-width: 960px) { .checkout-grid { grid-template-columns: minmax(0, 1fr); } .summary { position: relative; top: 0; order: -1; } }

/* ---------- about ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-intro .copy { display: grid; gap: 1.2rem; }
.about-intro .copy h2 { font-size: var(--step-4); }
.about-intro .copy p { font-size: var(--step-1); line-height: 1.55; }
.framed { position: relative; margin: 0; }
.framed picture { border: var(--line-thick) solid var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(2deg); }
.framed figcaption { margin-top: 1.1rem; font-size: .8rem; font-weight: 600; text-align: right; }
.framed .sticker { position: absolute; left: -1rem; top: 1.4rem; transform: rotate(-8deg); z-index: 2; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.5vw, 2rem); }
.value { border: var(--line) solid var(--ink); border-radius: var(--r-lg); padding: clamp(1.3rem, 2.5vw, 2rem); box-shadow: var(--shadow); display: grid; gap: .8rem; align-content: start; }
.value:nth-child(1) { background: var(--pink-2); }
.value:nth-child(2) { background: var(--yellow); }
.value:nth-child(3) { background: var(--mint); }
.value svg { width: 72px; height: 72px; }
.value h3 { font-size: var(--step-2); }
.allergen-honest { background: var(--ink); color: var(--paper); border: var(--line-thick) solid var(--ink); border-radius: var(--r-lg); padding: clamp(1.4rem, 3.5vw, 2.8rem); display: grid; gap: 1rem; box-shadow: 10px 10px 0 var(--hot); }
.allergen-honest h2 { font-size: var(--step-3); color: var(--pink); }
.allergen-honest p { color: #F1E6EA; max-width: 60ch; }
.allergen-honest a { color: var(--pink); font-weight: 700; }
@media (max-width: 860px) { .about-intro, .values { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.contact-card { border: var(--line-thick) solid var(--ink); border-radius: var(--r-lg); background: var(--yellow); box-shadow: var(--shadow-lg); padding: clamp(1.3rem, 3vw, 2.2rem); display: grid; gap: 1.2rem; }
.contact-card h2 { font-size: var(--step-3); }
.contact-list { list-style: none; display: grid; gap: .8rem; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: center; }
.contact-list .ico { width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--paper); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.contact-list a { font-weight: 700; word-break: break-word; }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-pill { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border: var(--line) solid var(--ink); border-radius: var(--pill); background: var(--paper); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .16s, box-shadow .16s; min-height: 44px; }
.social-pill:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.social-pill svg { width: 20px; height: 20px; }
.faq { display: grid; gap: .9rem; max-width: 900px; }
.faq details { border: var(--line) solid var(--ink); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq details[open] { box-shadow: var(--shadow); background: var(--pink-3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-family: var(--f-display); font-weight: 800; font-size: var(--step-1); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; background: var(--pink); transition: transform .3s var(--ease-bounce); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--hot); }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq .faq-a { padding: 0 1.25rem 1.2rem; display: grid; gap: .6rem; max-width: 70ch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- legal pages ---------- */
.legal { padding-block: clamp(2rem, 5vw, 4rem) var(--section); }
.legal .wrap { max-width: 860px; display: grid; gap: 1.6rem; }
.legal h2 { font-size: var(--step-2); margin-top: .8rem; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.3rem; display: grid; gap: .4rem; }
.notice { border: var(--line) solid var(--ink); border-radius: var(--r); background: var(--ph); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); display: grid; gap: .5rem; }
.notice strong { font-family: var(--f-display); font-size: var(--step-1); }

/* ---------- footer ---------- */
.site-footer { background: var(--pink); border-top: var(--line-thick) solid var(--ink); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 4vw, 3rem); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-brand { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.footer-brand .logo-word { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.2rem); }
.logo-word { white-space: nowrap; }
.footer-brand p { max-width: 30ch; font-weight: 600; }
.site-footer h2 { font-size: var(--step-0); font-stretch: 90%; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .45rem; }
.footer-links a { text-decoration: none; font-weight: 600; background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease-out); padding-bottom: 2px; }
.footer-links a:hover { background-size: 100% 2px; }
.site-footer .contact-list .ico { background: var(--paper); }
.site-footer .social-pill { font-size: var(--step--1); padding: .45em .85em; min-height: 40px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.3rem; border-top: var(--line) solid var(--ink); font-size: .82rem; font-weight: 600; }
.footer-bottom p:last-child { max-width: 70ch; }
.footer-giant {
  font-family: var(--f-fun); line-height: .8; white-space: nowrap; text-align: center;
  font-size: clamp(2.6rem, 10.4vw, 15rem); color: var(--hot);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  margin-bottom: -.12em; padding-top: .1em; user-select: none;
  overflow: hidden;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- print (menu) ---------- */
@media print {
  .topbar, .site-header, .site-footer, .menu-actions, .marquee-zone, dialog, .toasts, .page-hero__deco, .skip { display: none !important; }
  body { background: #fff; }
  .page-hero { background: none; border: 0; padding: 0 0 1rem; }
  .menu-item, .menu-range__head, .allergen-table-wrap, .menu-note { box-shadow: none !important; break-inside: avoid; }
  .menu-range__head { background: #fff; color: #000; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
