/* ═══════════════════════════════════════════════════════════════
   BERGEN ÉCLAIR · style.css
   Fibonacci-based design system · Norwegian palette
   ═══════════════════════════════════════════════════════════════ */

/* Honor [hidden] above all custom display rules */
[hidden] { display: none !important; }


/* ═══════════════════════════════════════════════════════════════
   1. TOKENS
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* — Colors (Norwegian flag system) — */
  --c-red:        #BA0C2F;
  --c-red-deep:   #8B0822;
  --c-blue:       #00205B;
  --c-cream:      #FBF7F0;
  --c-paper:      #F5EFE6;
  --c-paper-warm: #EFE5D3;
  --c-line:       #E2D8C5;
  --c-ink:        #1A1814;
  --c-ink-soft:   #7A6F66;
  --c-ink-mute:   #B8AFA3;

  /* — Typography — */
  --ff-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fibonacci scale: 13, 21, 34, 55, 89, 144 */
  --fs-xs:   13px;
  --fs-sm:   16px;
  --fs-base: 18px;
  --fs-md:   21px;
  --fs-lg:   28px;
  --fs-xl:   34px;
  --fs-2xl:  55px;
  --fs-3xl:  89px;
  --fs-4xl:  144px;

  --lh-tight: 1.1;
  --lh-snug:  1.382;
  --lh-base:  1.618;

  /* — Spacing scale (Fibonacci) — */
  --s-1:  8px;
  --s-2:  13px;
  --s-3:  21px;
  --s-4:  34px;
  --s-5:  55px;
  --s-6:  89px;
  --s-7:  144px;
  --s-8:  233px;

  /* — Layout — */
  --container-max: 1190px;
  --container-pad: var(--s-5);

  /* — Radii — */
  --r-sm:  3px;
  --r-md:  8px;
  --r-lg:  13px;
  --r-xl:  21px;

  /* — Motion — */
  --t-fast: 200ms;
  --t-base: 340ms;
  --t-slow: 550ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* — Z-index scale — */
  --z-hero:    1;
  --z-curtain: 2;
  --z-topbar:  10;

  /* Topbar height for scroll-margin offsetting */
  --topbar-h: 60px;
}


/* ═══════════════════════════════════════════════════════════════
   2. RESET / BASE
   ═══════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

html, body {
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}
img { -webkit-user-drag: none; user-select: none; }

button { font-family: inherit; cursor: pointer; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
a:hover { color: var(--c-red); }

::selection {
  background: var(--c-red);
  color: var(--c-cream);
}

/* Scroll-margin for in-page anchors so they don't land under topbar */
section[id] { scroll-margin-top: calc(var(--topbar-h) + var(--s-3)); }


/* ═══════════════════════════════════════════════════════════════
   3. TYPOGRAPHY PRIMITIVES
   ═══════════════════════════════════════════════════════════════ */

.section__eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 var(--s-3);
}

.section__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(var(--fs-xl), 5vw, var(--fs-2xl));
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: var(--c-ink);
  margin: 0 0 var(--s-3);
}
.section__title em {
  font-style: italic;
  color: var(--c-red);
}

.section__subtitle {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-md);
  color: var(--c-ink-soft);
  margin: 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--s-6);
}


/* ═══════════════════════════════════════════════════════════════
   4. BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--red {
  background: var(--c-red);
  color: var(--c-cream);
  border-color: var(--c-red);
}
.btn--red:hover {
  background: var(--c-red-deep);
  border-color: var(--c-red-deep);
  color: var(--c-cream);
}

/* Vipps brand button — official Vipps orange */
.btn--vipps {
  background: #FF5B24;
  color: #FFFFFF;
  border-color: #FF5B24;
}
.btn--vipps:hover {
  background: #E84A14;
  border-color: #E84A14;
  color: #FFFFFF;
}

.btn--block {
  display: flex;
  width: 100%;
  justify-content: center;
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--t-fast) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(3px); }


/* ═══════════════════════════════════════════════════════════════
   5. TOPBAR
   ═══════════════════════════════════════════════════════════════ */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  z-index: var(--z-topbar);
  background: rgba(251, 247, 240, 0.78);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-bottom: 1px solid rgba(186, 12, 47, 0.08);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--t-base) var(--ease-out),
              opacity var(--t-base) var(--ease-out);
  pointer-events: none;
}
.topbar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: rgba(251, 247, 240, 0.97); }
}

.topbar__inner {
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.topbar__brand {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-md);
  color: var(--c-ink);
  letter-spacing: -0.01em;
  cursor: pointer;
  flex-shrink: 0;
}
.topbar__brand em {
  font-style: italic;
  color: var(--c-red);
}
.topbar__brand:hover { color: var(--c-ink); }

.topbar__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--s-4);
}
.topbar__links a {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  padding: var(--s-1) 0;
  position: relative;
}
.topbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-fast) var(--ease-out);
}
.topbar__links a:hover { color: var(--c-ink); }
.topbar__links a:hover::after { transform: scaleX(1); }

.topbar__cta {
  padding: 9px var(--s-3);
  font-size: 11px;
  letter-spacing: 0.14em;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   6. HERO — fixed, never moves. Curtain slides over it.
   Hero fills the viewport (100vw × 100vh). The hero-spacer below
   creates 200vh of scroll length: 0..100vh reveals the text,
   100vh..200vh is a breathing pause with the full hero on view,
   200vh+ the curtain rises over the hero.
   ═══════════════════════════════════════════════════════════════ */

.hero-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--c-paper);
  z-index: var(--z-hero);
  overflow: hidden;
}

.hero-spacer {
  height: 200vh;
  width: 100%;
  pointer-events: none;
  position: relative;
  z-index: 0;
}

/* Slideshow wrapper — fills hero, holds layered <img> children.
   Each <img> uses object-fit: contain over a 16:9 aspect-ratio
   container, centred. Since native object-fit can't honour an
   external aspect ratio, we instead make the wrapper fill the
   stage and let the source images carry their own 16:9 — the
   stage is large enough that visual cropping is minimal. Edge
   gradients soften the sides. */
.hero-stage__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--c-paper);
}
.hero-stage__slide {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
  pointer-events: none;
}
.hero-stage__slide.is-active {
  opacity: 1;
}

/* Mobile-only video — hidden on desktop. Mobile media query
   shows it and hides the slideshow + edge gradients. */
.hero-stage__video {
  display: none;
}

/* Mobile-only tricolor divider — hidden on desktop */
.hero-stage__divider {
  display: none;
}

/* Mobile-only veil gradient — hidden on desktop */
.hero-stage__veil {
  display: none;
}

/* Edge gradients */
.hero-stage__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38.2%;
  pointer-events: none;
  z-index: 2;
}
.hero-stage__edge--left {
  left: 0;
  background: linear-gradient(to right,
    rgba(245, 239, 230, 0.92) 0%,
    rgba(245, 239, 230, 0.65) 38.2%,
    rgba(245, 239, 230, 0) 100%);
}
.hero-stage__edge--right {
  right: 0;
  background: linear-gradient(to left,
    rgba(245, 239, 230, 0.92) 0%,
    rgba(245, 239, 230, 0.65) 38.2%,
    rgba(245, 239, 230, 0) 100%);
}

/* Loading state — only revealed if first slide isn't ready in 200ms */
.hero-stage__loading {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow) var(--ease-out),
              visibility var(--t-slow);
}
.hero-stage__loading.is-shown {
  opacity: 1;
  visibility: visible;
}
.hero-stage__loading-text {
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin: 0;
}

/* Text overlay */
.hero-stage__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  pointer-events: none;
  padding: var(--s-6) var(--container-pad);
}
.hero-stage__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
}
.hero-stage__side--left  { align-items: flex-start; text-align: left; gap: var(--s-3); }
.hero-stage__side--right { align-items: flex-end;   text-align: right; gap: var(--s-4); }

/* Reveal mechanics */
[data-reveal] {
  opacity: 0;
  transform: translateY(21px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-stage__date {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.hero-stage__date-flag {
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  line-height: 0;
}
.hero-stage__date-flag svg { display: block; }
.hero-stage__date-sep { color: var(--c-ink-mute); }
.hero-stage__date-occasion {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--c-red);
}

.hero-stage__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(55px, 11vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  margin: 0;
}
.hero-stage__title-line { display: block; }
.hero-stage__title-line--accent {
  font-style: italic;
  color: var(--c-red);
  margin-left: 0.15em;
}

.hero-stage__subtitle {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
  color: var(--c-ink);
  margin: 0;
  max-width: 320px;
}
.hero-stage__subtitle em {
  font-style: italic;
  color: var(--c-red);
}

.hero-stage__cta {
  align-self: flex-end;
}

/* Scroll hint */
.hero-stage__scroll-hint {
  position: absolute;
  bottom: var(--s-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
  font-family: var(--ff-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  transition: opacity var(--t-base) var(--ease-out);
}
.hero-stage__scroll-hint.is-hidden { opacity: 0; }
.hero-stage__scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--c-ink-soft), transparent);
  animation: scrollDrip 2s var(--ease-in-out) infinite;
}
@keyframes scrollDrip {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.4); transform-origin: top; }
}


/* ═══════════════════════════════════════════════════════════════
   7. CURTAIN — natural flow above hero (z-index 2)
   ═══════════════════════════════════════════════════════════════ */

.curtain {
  position: relative;
  z-index: var(--z-curtain);
  background: var(--c-paper);
  width: 100%;
}


/* ═══════════════════════════════════════════════════════════════
   8. INTRO
   ═══════════════════════════════════════════════════════════════ */

.intro {
  position: relative;
  background: var(--c-cream);
  padding: var(--s-7) var(--container-pad);
  border-top-left-radius: var(--r-xl);
  border-top-right-radius: var(--r-xl);
  box-shadow: 0 -21px 55px rgba(26, 24, 20, 0.08);
}
.intro__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.intro__eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 var(--s-4);
}
.intro__heading {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(var(--fs-xl), 4.5vw, var(--fs-2xl));
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: var(--c-ink);
  margin: 0 0 var(--s-5);
}
.intro__heading em {
  font-style: italic;
  color: var(--c-red);
}
.intro__lead {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--c-ink-soft);
  margin: 0;
}
.intro__lead em {
  font-style: italic;
  color: var(--c-red);
}


/* ═══════════════════════════════════════════════════════════════
   9. FLAVORS
   ═══════════════════════════════════════════════════════════════ */

.flavors {
  position: relative;
  background: var(--c-paper);
  padding: var(--s-7) 0;
}
.flavors__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.flavors__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
}

.flavor-item {
  position: relative;
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: var(--s-6);
  align-items: center;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.flavor-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.flavor-item:nth-child(even) {
  grid-template-columns: 1fr 1.618fr;
}
.flavor-item:nth-child(even) .flavor-item__media { order: 2; }
.flavor-item:nth-child(even) .flavor-item__body  { order: 1; text-align: right; }
.flavor-item:nth-child(even) .flavor-item__num   { align-self: flex-end; }

.flavor-item__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 1.618 / 1;
  background: var(--c-paper-warm);
}
.flavor-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.flavor-item:hover .flavor-item__media img {
  transform: scale(1.04);
}

.flavor-item__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.flavor-item__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-md);
  letter-spacing: 0.04em;
  color: var(--c-red);
  margin: 0;
  padding-bottom: var(--s-1);
  border-bottom: 1px solid var(--c-red);
  align-self: flex-start;
  line-height: 1;
}
.flavor-item__name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(var(--fs-xl), 4.5vw, var(--fs-2xl));
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0;
}
.flavor-item__desc {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--c-ink-soft);
  margin: 0;
}



/* ═══════════════════════════════════════════════════════════════
   10. BOXES
   ═══════════════════════════════════════════════════════════════ */

.boxes {
  background: var(--c-paper-warm);
  padding: var(--s-7) 0;
}
.boxes__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.boxes__grid {
  list-style: none;
  margin: 0 auto var(--s-5);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  max-width: 880px;
}

.box-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-cream);
  border-radius: var(--r-lg);
  border: 2px solid transparent;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.box-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 21px 55px rgba(26, 24, 20, 0.10);
}

/* Selected state — when qty > 0 (set by JS) */
.box-card.is-selected {
  border-color: var(--c-red);
  box-shadow: 0 13px 34px rgba(186, 12, 47, 0.18);
}
.box-card.is-selected .box-card__badge {
  opacity: 1;
  transform: scale(1);
}

/* Box media — image fills nearly the whole card width, square ratio */
.box-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-paper);
}
.box-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.box-card:hover .box-card__media img {
  transform: scale(1.04);
}

/* Quick-add button — appears on hover, hidden when card is selected */
.box-card__quick-add {
  position: absolute;
  left: 50%;
  bottom: var(--s-3);
  transform: translate(-50%, 13px);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--c-red);
  color: var(--c-cream);
  border: 0;
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              background var(--t-fast) var(--ease-out);
  box-shadow: 0 8px 21px rgba(186, 12, 47, 0.28);
  z-index: 3;
}
.box-card__quick-add .btn__arrow {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}
.box-card:hover .box-card__quick-add {
  opacity: 1;
  transform: translate(-50%, 0);
}
.box-card__quick-add:hover {
  background: var(--c-red-deep);
}
/* Hide quick-add once selected — replaced by stepper */
.box-card.is-selected .box-card__quick-add {
  display: none;
}
/* Touch devices — show quick-add always (no hover) */
@media (hover: none) {
  .box-card__quick-add {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Body section: padding around name, count, price */
.box-card__body {
  padding: var(--s-3) var(--s-4) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

/* Featured ribbon */
.box-card__ribbon {
  position: absolute;
  top: var(--s-3);
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-red);
  color: var(--c-cream);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 13px rgba(186, 12, 47, 0.30);
}
/* Deal ribbon — slightly different look (deeper red) for the discount card */
.box-card__ribbon--deal {
  background: var(--c-red-deep);
}
/* Struck-through old price shown next to current */
.box-card__price-old {
  display: inline-block;
  margin-right: var(--s-1);
  color: var(--c-ink-mute);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  font-size: var(--fs-sm);
  font-weight: 400;
}

/* Quantity badge (shows current count when > 0) */
.box-card__badge {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 16px;
  background: var(--c-red);
  color: var(--c-cream);
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 4px 13px rgba(186, 12, 47, 0.35);
}

/* Quantity stepper — hidden by default, shown when card is selected */
.box-card__stepper {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px solid var(--c-line);
}
.box-card.is-selected .box-card__stepper {
  display: flex;
}
.stepper__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--c-red);
  background: transparent;
  color: var(--c-red);
  font-family: var(--ff-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              opacity var(--t-fast) var(--ease-out);
  user-select: none;
  padding: 0;
}
.stepper__btn:hover:not(:disabled) {
  background: var(--c-red);
  color: var(--c-cream);
}
.stepper__btn:active:not(:disabled) {
  transform: scale(0.92);
}
.stepper__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.stepper__btn:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}
.stepper__count {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--c-ink);
  min-width: 32px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}


.box-card__media {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-paper);
}
.box-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box-card__body {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.box-card__name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-lg);
  margin: 0;
  color: var(--c-ink);
}
.box-card__count {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin: 0;
}
.box-card__price {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  color: var(--c-ink);
  margin: var(--s-1) 0 0;
}
.box-card__price span {
  font-weight: 600;
  color: var(--c-red);
  font-size: var(--fs-lg);
}

.boxes__note {
  text-align: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--c-ink-soft);
  max-width: 640px;
  margin: 0 auto;
}
.boxes__note em {
  color: var(--c-red);
  font-style: italic;
}


/* ═══════════════════════════════════════════════════════════════
   11. KRAFT (process video)
   ═══════════════════════════════════════════════════════════════ */

.kraft {
  position: relative;
  background: var(--c-ink);
  color: var(--c-cream);
  padding: var(--s-7) 0 0;
  overflow: hidden;
}
.kraft__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-ink);
}
.kraft__panel {
  margin: 0;
  aspect-ratio: 657 / 360;
  overflow: hidden;
  background: var(--c-ink);
}
.kraft__panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kraft__caption {
  text-align: center;
  padding: var(--s-6) var(--container-pad);
  max-width: 640px;
  margin: 0 auto;
}
.kraft__eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 var(--s-3);
}
.kraft__text {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  margin: 0;
  color: var(--c-cream);
}


/* ═══════════════════════════════════════════════════════════════
   12. BESTILLING — 3-STEP WIZARD
   ═══════════════════════════════════════════════════════════════ */

.bestilling {
  position: relative;
  padding: var(--s-7) 0;
  overflow: hidden;
  isolation: isolate;
}
.bestilling__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(245, 239, 230, 0.78), rgba(245, 239, 230, 0.78)),
    url('assets/decor/peonies-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--c-paper);
  z-index: 0;
}
.bestilling__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(186, 12, 47, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.bestilling__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.bestilling__header {
  text-align: center;
  margin-bottom: var(--s-6);
}

/* ── Wizard shell ── */
.wizard {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

/* Progress bar — sits in a cream pill with shadow so it stands out
   against the peonies background image. Bubbles and text use stronger
   contrast (ink-soft → ink, line → ink-mute) for legibility. */
.wizard__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto var(--s-5);
  padding: var(--s-3) var(--s-4);
  background: var(--c-cream);
  border-radius: 999px;
  box-shadow: 0 8px 21px rgba(26, 24, 20, 0.10),
              inset 0 0 0 1px rgba(26, 24, 20, 0.06);
}
.wizard__step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  position: relative;
}
.wizard__step-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--c-ink-soft);
  background: #FFFFFF;
  color: var(--c-ink);
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
  z-index: 1;
}
.wizard__step-label {
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  white-space: nowrap;
  transition: color var(--t-base) var(--ease-out);
}
.wizard__connector {
  flex: 1;
  height: 2px;
  background: var(--c-ink-soft);
  min-width: 34px;
  max-width: 89px;
  margin-bottom: 26px; /* align with bubble center */
  opacity: 0.5;
  transition: background var(--t-base) var(--ease-out),
              opacity var(--t-base) var(--ease-out);
}

/* Progress states */
.wizard__step-indicator.is-active .wizard__step-bubble {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-cream);
  transform: scale(1.08);
  box-shadow: 0 4px 13px rgba(186, 12, 47, 0.30);
}
.wizard__step-indicator.is-active .wizard__step-label {
  color: var(--c-red);
}
.wizard__step-indicator.is-done .wizard__step-bubble {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-cream);
}
.wizard__step-indicator.is-done .wizard__step-label {
  color: var(--c-blue);
}
.wizard__connector.is-done {
  background: var(--c-blue);
  opacity: 1;
}

/* Body: main + sidebar grid */
.wizard__body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--s-5);
  align-items: start;
}

/* CRITICAL: min-width:0 lets grid cells shrink below content's intrinsic
   width. Without this, long content inside main/sidebar pushes the cell
   wider than 1fr — breaking mobile layout entirely. */
.wizard__main,
.wizard__sidebar {
  min-width: 0;
}

/* ── Wizard panels ── */
.wizard__main {
  position: relative;
  min-height: 400px;
}
.wizard__panel {
  background: var(--c-cream);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  box-shadow: 0 8px 34px rgba(26, 24, 20, 0.07);
  animation: panelIn var(--t-slow) var(--ease-out);
  min-width: 0;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(13px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .wizard__panel { animation: none; }
}

/* Step 1 — smaker */
.step1__summary {
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-line);
}
.step1__summary-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.step1__summary-empty p {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--c-ink-soft);
  margin: 0;
}
.step1__box-list {
  list-style: none;
  margin: 0 0 var(--s-2);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.step1__box-list li {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  color: var(--c-ink);
}
.step1__box-list .qty {
  font-style: italic;
  color: var(--c-red);
  margin-right: var(--s-1);
}
.step1__box-list .price {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}
.step1__total {
  display: flex;
  justify-content: space-between;
  padding-top: var(--s-2);
  border-top: 1px solid var(--c-line);
  margin-bottom: var(--s-2);
}
.step1__total span {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.step1__total strong {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  color: var(--c-red);
  font-variant-numeric: tabular-nums;
}
.step1__edit-link {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-red);
}

/* ── Flavor picker inside wizard ── */
.flavor-picker {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.flavor-picker__legend { display: none; }

.wizard__field-label {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  display: block;
  margin-bottom: var(--s-2);
}

/* Tab switcher */
.flavor-picker__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(26, 24, 20, 0.05);
  border-radius: 999px;
  width: fit-content;
}
.flavor-picker__tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
  white-space: nowrap;
}
.flavor-picker__tab.is-active {
  background: var(--c-cream);
  color: var(--c-red);
  box-shadow: 0 1px 6px rgba(26, 24, 20, 0.12);
}
.flavor-picker__tab:hover:not(.is-active) { color: var(--c-ink); }
.flavor-picker__tab:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}

.flavor-picker__hint {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--c-ink-soft);
  margin: 0;
}

/* Manual mode */
.flavor-picker__manual { display: flex; flex-direction: column; gap: var(--s-2); }
.flavor-picker__manual[hidden] { display: none; }

.flavor-picker__counter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-md);
  background: rgba(186, 12, 47, 0.06);
  border: 1px solid rgba(186, 12, 47, 0.18);
  transition: background var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.flavor-picker__counter-label {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.flavor-picker__counter-value {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-red);
  font-variant-numeric: tabular-nums;
}
.flavor-picker__counter-msg {
  grid-column: 1 / -1;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  margin-top: 4px;
  min-height: 21px;
}
.flavor-picker__counter.is-empty   { background: rgba(186, 12, 47, 0.06); border-color: rgba(186, 12, 47, 0.18); }
.flavor-picker__counter.is-partial { background: rgba(255, 184, 77, 0.10); border-color: rgba(255, 184, 77, 0.55); }
.flavor-picker__counter.is-partial .flavor-picker__counter-value { color: #B8860B; }
.flavor-picker__counter.is-complete { background: rgba(46, 125, 50, 0.08); border-color: rgba(46, 125, 50, 0.40); }
.flavor-picker__counter.is-complete .flavor-picker__counter-value { color: #2E7D32; }
.flavor-picker__counter.is-over { background: rgba(186, 12, 47, 0.10); border-color: var(--c-red); }

.flavor-picker__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.flavor-picker__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--c-line);
}
.flavor-picker__row:last-child { border-bottom: 0; }
.flavor-picker__name {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  color: var(--c-ink);
}
.flavor-picker__stepper {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.flavor-picker__stepper .stepper__btn {
  width: 28px;
  height: 28px;
  font-size: 16px;
}
.flavor-picker__stepper .stepper__count {
  min-width: 24px;
  font-size: var(--fs-sm);
}

/* ── Step 2 — form grid ── */
.wizard__form { display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; }

.wizard__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  min-width: 0;
}
.wizard__field { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.wizard__field--full { grid-column: 1 / -1; }
.wizard__field-optional {
  font-weight: 400;
  color: var(--c-ink-mute);
  font-size: 0.9em;
}
.wizard__input {
  width: 100%;
  padding: var(--s-2) var(--s-3);
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--c-ink);
  background: rgba(255,255,255,0.7);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
  appearance: none;
}
.wizard__input:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.12);
}
.wizard__input:invalid:not(:placeholder-shown) {
  border-color: var(--c-red);
}
.wizard__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231a1814' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-2) center;
  padding-right: var(--s-5);
  cursor: pointer;
}
.wizard__textarea { resize: vertical; min-height: 80px; line-height: var(--lh-base); }

.wizard__consents {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.wizard__consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--s-2);
  align-items: start;
  cursor: pointer;
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--c-ink);
  line-height: var(--lh-snug);
}
.wizard__consent input { margin-top: 3px; accent-color: var(--c-red); }

/* ── Step 3 — payment block ── */
.payment-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: center;
  text-align: center;
  min-width: 0;
}
.payment-block__amount-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
}
.payment-block__amount-label {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.payment-block__amount {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--c-red);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.payment-block__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
.payment-block__qr {
  padding: var(--s-3);
  background: white;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 21px rgba(26, 24, 20, 0.07);
}
.payment-block__qr img {
  display: block;
  width: 200px;
  height: 200px;
}
/* Vipps button: desktop hidden, mobile shown */
.payment-block__open-vipps { display: none; }

.payment-block__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  counter-reset: step;
  text-align: left;
  width: 100%;
  max-width: 360px;
}
.payment-block__steps li {
  padding-left: 34px;
  position: relative;
  counter-increment: step;
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}
.payment-block__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-cream);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.payment-block__steps strong { color: var(--c-red); font-variant-numeric: tabular-nums; }

/* Upload area */
.payment-block__upload {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  cursor: pointer;
  width: 100%;
  max-width: 400px;
}
.payment-block__upload-label {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  text-align: left;
}
.payment-block__upload input[type="file"] {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.payment-block__upload-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3);
  border: 1.5px dashed var(--c-line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.5);
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  transition: border-color var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out);
}
.payment-block__upload-icon { font-size: var(--fs-md); }
.payment-block__upload:hover .payment-block__upload-zone {
  border-color: var(--c-red);
  color: var(--c-ink);
}
.payment-block__upload.has-file .payment-block__upload-zone {
  border-style: solid;
  border-color: var(--c-red);
  background: rgba(186, 12, 47, 0.04);
  color: var(--c-ink);
}

/* ── Wizard actions ── */
.wizard__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--s-3);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}
.wizard__actions--between {
  justify-content: space-between;
}

/* Outline button variant */
.btn--outline {
  background: transparent;
  color: var(--c-red);
  border-color: var(--c-red);
}
.btn--outline:hover {
  background: var(--c-red);
  color: var(--c-cream);
}
.btn--ghost {
  background: transparent;
  color: var(--c-ink-soft);
  border-color: var(--c-line);
}
.btn--ghost:hover {
  color: var(--c-ink);
  border-color: var(--c-ink-soft);
}
.btn--sm { padding: var(--s-1) var(--s-3); font-size: var(--fs-xs); }

/* ── Sidebar ── */
.wizard__sidebar {
  position: sticky;
  top: calc(var(--topbar-h) + var(--s-4));
  background: var(--c-cream);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 34px rgba(26, 24, 20, 0.07);
  overflow: hidden;
}
.wizard__sidebar-toggle {
  display: none; /* shown on mobile only */
}
.wizard__sidebar-content {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.sidebar__box-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.sidebar__empty {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--c-ink-mute);
  font-size: var(--fs-sm);
}
.sidebar__box-list li:not(.sidebar__empty) {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-2);
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
}
.sidebar__box-list .qty { color: var(--c-red); font-style: italic; }
.sidebar__box-list .price {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  font-variant-numeric: tabular-nums;
}
.sidebar__divider {
  height: 1px;
  background: var(--c-line);
  margin: var(--s-1) 0;
}
.sidebar__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-2);
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  color: var(--c-ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sidebar__row--total strong {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  color: var(--c-red);
  font-variant-numeric: tabular-nums;
  text-transform: none;
  letter-spacing: 0;
}
.sidebar__row span:last-child {
  text-transform: none;
  letter-spacing: 0;
  color: var(--c-ink);
  font-style: italic;
}

/* ── Order success ── */
/* ═══════════════════════════════════════════════════════════════
   13. HENTING (location + map)
   ═══════════════════════════════════════════════════════════════ */

.henting {
  background: var(--c-paper);
  padding: var(--s-7) 0;
}
.henting__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.henting__grid {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  gap: var(--s-6);
  align-items: center;
}
.henting__info {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.henting__address {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
  color: var(--c-ink);
  margin: 0;
}
.henting__hours {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.henting__day {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  color: var(--c-ink-soft);
  margin: 0;
}
.henting__day strong {
  color: var(--c-red);
  font-weight: 600;
}
.henting__contact {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: var(--c-ink-soft);
  margin: 0;
}
.henting__contact a:hover { color: var(--c-red); }

.henting__map-wrap {
  position: relative;
  aspect-ratio: 1.618 / 1;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-paper-warm);
  min-height: 360px;
  box-shadow: 0 13px 34px rgba(26, 24, 20, 0.08);
  width: 100%;
  box-sizing: border-box;
}
.henting__map {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* Leaflet styling */
.leaflet-container {
  background: var(--c-paper-warm);
  font-family: var(--ff-sans);
  border-radius: var(--r-lg);
}
.leaflet-tile-pane {
  filter: sepia(0.10) hue-rotate(-8deg) saturate(0.95) brightness(1.02);
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--c-cream);
  color: var(--c-ink);
  border-radius: var(--r-md);
  box-shadow: 0 8px 21px rgba(26, 24, 20, 0.18);
}
.leaflet-popup-content {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  margin: var(--s-2) var(--s-3);
}
.leaflet-popup-content strong {
  font-weight: 600;
  color: var(--c-red);
}
.leaflet-control-zoom a {
  background: var(--c-cream) !important;
  color: var(--c-ink) !important;
  border: 1px solid var(--c-line) !important;
}
.leaflet-control-zoom a:hover {
  background: var(--c-paper-warm) !important;
}

/* Map pin */
.henting-pin-leaflet {
  background: transparent !important;
  border: none !important;
  position: relative;
  width: 28px;
  height: 38px;
}
.henting-pin__icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 38px;
  filter: drop-shadow(0 4px 8px rgba(186, 12, 47, 0.45));
  z-index: 2;
  display: block;
}
.henting-pin__pulse {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-bottom: -9px;
  border-radius: 50%;
  background: var(--c-red);
  opacity: 0.45;
  animation: hentingPulse 2.4s ease-out infinite;
  z-index: 1;
  pointer-events: none;
}
.henting-pin__pulse--delay { animation-delay: 1.2s; }
@keyframes hentingPulse {
  0%   { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(4);   opacity: 0;    }
}


/* ═══════════════════════════════════════════════════════════════
   14. FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: var(--s-6) 0 var(--s-4);
  position: relative;
  z-index: var(--z-curtain);
}

.footer__flag {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(
    to right,
    var(--c-red) 0%,        var(--c-red) 11.11%,
    var(--c-cream) 11.11%,  var(--c-cream) 22.22%,
    var(--c-blue) 22.22%,   var(--c-blue) 33.33%,
    var(--c-red) 33.33%,    var(--c-red) 44.44%,
    var(--c-cream) 44.44%,  var(--c-cream) 55.55%,
    var(--c-blue) 55.55%,   var(--c-blue) 66.66%,
    var(--c-red) 66.66%,    var(--c-red) 77.77%,
    var(--c-cream) 77.77%,  var(--c-cream) 88.88%,
    var(--c-blue) 88.88%,   var(--c-blue) 100%
  );
}
.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--s-3) var(--container-pad) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.footer__brand {
  font-family: var(--ff-display);
  font-weight: 500;
  font-style: italic;
  font-size: var(--fs-xl);
  margin: 0;
  color: var(--c-cream);
}
.footer__tagline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--c-ink-mute);
  margin: 0;
}
.footer__legal {
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  margin: var(--s-2) 0 0;
}
.footer__legal a:hover { color: var(--c-red); }
.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  margin: var(--s-1) 0 0;
}


/* ═══════════════════════════════════════════════════════════════
   14b. INGREDIENT MODAL + flavor triggers
   ═══════════════════════════════════════════════════════════════ */

/* "···" pill button on the flavor photo */
.flavor-item__more {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(251, 247, 240, 0.85);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  color: var(--c-ink);
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 8px;
  transition: background var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
  box-shadow: 0 2px 12px rgba(26, 24, 20, 0.10);
}
.flavor-item__more:hover {
  background: var(--c-red);
  color: var(--c-cream);
  transform: scale(1.05);
}
.flavor-item__more:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .flavor-item__more { background: rgba(251, 247, 240, 0.96); }
}
/* Mirror on even-row flavors (where image is on the right side) */
.flavor-item:nth-child(even) .flavor-item__more {
  right: auto;
  left: var(--s-3);
}

/* Inline text link "Se ingredienser →" */
.flavor-item__link {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  margin-top: var(--s-1);
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.flavor-item__link:hover {
  color: var(--c-red-deep);
  transform: translateX(3px);
}
.flavor-item__link:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 4px;
  border-radius: 2px;
}
.flavor-item:nth-child(even) .flavor-item__link {
  align-self: flex-end;
}

/* The <dialog> itself */
.ingredient-modal {
  border: 0;
  padding: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  border-radius: var(--r-xl);
  max-width: 560px;
  width: calc(100vw - var(--s-4));
  max-height: 90vh;
  box-shadow: 0 34px 89px rgba(26, 24, 20, 0.30);
  overflow: hidden;
}
.ingredient-modal::backdrop {
  background: rgba(26, 24, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
/* Open animation */
.ingredient-modal[open] {
  animation: modalIn var(--t-base) var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(21px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.ingredient-modal__inner {
  position: relative;
  padding: var(--s-5) var(--s-4) var(--s-4);
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ingredient-modal__close {
  position: absolute;
  top: var(--s-2);
  right: var(--s-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
  z-index: 2;
}
.ingredient-modal__close:hover {
  background: var(--c-red);
  color: var(--c-cream);
  border-color: var(--c-red);
}
.ingredient-modal__close:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}

.ingredient-modal__eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 var(--s-2);
}
.ingredient-modal__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-2xl);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-1);
  color: var(--c-ink);
}
.ingredient-modal__product {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--c-ink-soft);
  margin: 0 0 var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-line);
}

.ingredient-modal__section {
  margin-bottom: var(--s-3);
}
.ingredient-modal__label {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 var(--s-1);
}
.ingredient-modal__text {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  color: var(--c-ink);
  margin: 0;
}

.ingredient-modal__footer {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.ingredient-modal__small {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  line-height: var(--lh-base);
  color: var(--c-ink-soft);
  margin: 0;
}
.ingredient-modal__small strong {
  color: var(--c-ink);
  font-weight: 500;
}
.ingredient-modal__small a:hover {
  color: var(--c-red);
}


/* ═══════════════════════════════════════════════════════════════
   15. TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root { --container-pad: var(--s-4); }

  .henting__grid { grid-template-columns: 1fr; }
  .henting__map-wrap { min-height: 320px; }

  .flavor-item,
  .flavor-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .flavor-item:nth-child(even) .flavor-item__media { order: initial; }
  .flavor-item:nth-child(even) .flavor-item__body  { order: initial; text-align: left; }
  .flavor-item:nth-child(even) .flavor-item__num   { align-self: flex-start; }
}


/* ═══════════════════════════════════════════════════════════════
   16. MOBILE (≤ 768px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  :root {
    --container-pad: var(--s-3);
    --topbar-h: 54px;
  }

  /* iOS Safari struggles with background-attachment: fixed on mobile */
  .bestilling__bg { background-attachment: scroll; }

  /* Mobile hero: flex column.
     Top: video at honest 4:5 ratio (NOT stretched, NOT covering everything).
     Bottom: cream text block fills the remaining vertical space.
     Soft fade veils on both edges of the video for smooth blending
     into the cream zones. Topbar always visible above.
     Hero height = viewport - topbar; min-height keeps content fitting
     on shorter phones; oversize phones get a bit of extra cream padding. */
  .hero-stage {
    position: relative;
    height: calc(100vh - var(--topbar-h));
    min-height: 700px;
    display: flex;
    flex-direction: column;
    background: var(--c-paper);
    overflow: hidden;
  }
  .hero-spacer { display: none; }

  /* Hide desktop slideshow on mobile — replaced by <video>. */
  .hero-stage__media { display: none; }

  /* Honest 4:5 video — NOT stretched, NOT covering the whole hero.
     Width = viewport, height auto by aspect-ratio.
     max-height caps it on extra-tall screens so the text block keeps
     reasonable space. */
  .hero-stage__video {
    display: block;
    position: relative;
    width: 100vw;
    aspect-ratio: 4 / 5;
    max-height: 52vh;
    object-fit: cover;
    object-position: center;
    background: var(--c-paper);
    flex-shrink: 0;
    z-index: 1;
  }

  /* Single veil placed exactly at the bottom edge of the video so the
     cream-cream join is buttery soft. */
  .hero-stage__veil {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: auto;
    top: min(calc(100vw * 5 / 4), 52vh);
    transform: translateY(-55px);
    height: 55px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(180deg,
      rgba(245, 239, 230, 0) 0%,
      rgba(245, 239, 230, 0.55) 60%,
      rgba(245, 239, 230, 1) 100%
    );
  }

  /* Edges hidden on mobile */
  .hero-stage__edge { display: none; }

  /* Cream content block under the video — flex:1 fills remaining space.
     Single column, centered, text-only (no overlay over video). */
  .hero-stage__overlay {
    position: relative;
    inset: auto;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--s-3) var(--s-3) var(--s-4);
    gap: var(--s-2);
    background: var(--c-paper);
  }

  /* Tricolor divider — sits above the eyebrow */
  .hero-stage__divider {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 55px;
    align-self: center;
    margin-bottom: var(--s-1);
  }
  .hero-stage__divider i {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
  }
  .hero-stage__divider i:nth-child(1) { background: var(--c-red); }
  .hero-stage__divider i:nth-child(2) {
    background: var(--c-cream);
    box-shadow: inset 0 0 0 1px var(--c-line);
  }
  .hero-stage__divider i:nth-child(3) { background: var(--c-blue); }

  /* Side blocks: full-width single column, no extra gaps */
  .hero-stage__side {
    width: 100%;
    padding: 0;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
  }
  .hero-stage__side--left  { gap: var(--s-2); }
  .hero-stage__side--right { gap: var(--s-3); margin-top: var(--s-3); }

  /* Date eyebrow stays */
  .hero-stage__date {
    display: inline-flex;
    font-size: 11px;
    gap: var(--s-1);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-stage__date svg { width: 18px; height: 13px; }
  .hero-stage__date-occasion { font-size: 11px; }

  .hero-stage__title {
    font-size: clamp(44px, 12vw, 64px);
    line-height: 0.94;
    letter-spacing: -0.02em;
  }
  .hero-stage__title-line--accent {
    margin-left: 0;
    display: inline-block;
  }
  .hero-stage__subtitle {
    max-width: 280px;
    font-size: var(--fs-sm);
    text-align: center;
  }
  .hero-stage__cta {
    align-self: stretch;
    justify-content: center;
    padding: var(--s-3) var(--s-4);
    font-size: var(--fs-xs);
  }

  .hero-stage__scroll-hint { display: none; }

  /* On mobile, reveal happens via load-cascade animation, not scroll. */
  [data-reveal] {
    opacity: 0;
    transform: translateY(13px);
    animation: heroReveal var(--t-slow) var(--ease-out) both;
  }
  [data-reveal="0.05"] { animation-delay: 0.20s; }
  [data-reveal="0.10"] { animation-delay: 0.10s; }
  [data-reveal="0.15"] { animation-delay: 0.40s; }
  [data-reveal="0.30"] { animation-delay: 0.55s; }
  [data-reveal="0.50"] { animation-delay: 0.75s; }
  [data-reveal="0.70"] { animation-delay: 0.95s; }

  @keyframes heroReveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Topbar: ALWAYS visible on mobile */
  .topbar {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .topbar__links { display: none; }
  .topbar__brand { font-size: var(--fs-sm); }
  .topbar__cta {
    padding: 7px var(--s-2);
    font-size: 10px;
  }

  /* Push content below topbar so hero starts under it */
  body { padding-top: var(--topbar-h); }
  /* Hero is fixed from top of body — but body has padding now, so OK */

  /* Intro: tighter padding, no rounded corners */
  .intro {
    padding: var(--s-6) var(--container-pad);
    border-radius: 0;
    box-shadow: none;
  }

  .flavors,
  .boxes,
  .henting,
  .bestilling { padding: var(--s-6) 0; }

  .flavors__list { gap: var(--s-5); }

  .boxes__grid { grid-template-columns: 1fr; gap: var(--s-4); max-width: 460px; }
  .box-card__body { padding: var(--s-3); }
  .box-card__badge { width: 28px; height: 28px; min-width: 28px; font-size: var(--fs-xs); }
  .stepper__btn { width: 32px; height: 32px; font-size: 18px; }

  .kraft__grid { grid-template-columns: 1fr; }
  .kraft__caption { padding: var(--s-5) var(--container-pad); }

  .order-form { padding: var(--s-3); gap: var(--s-2); }
  .order-form__row { grid-template-columns: 1fr; gap: var(--s-2); }

  .henting__map-wrap {
    min-height: 0;
    height: 280px;
    aspect-ratio: auto;
  }

  .footer { padding: var(--s-5) 0 var(--s-3); }
  /* Wizard: single-column on mobile */
  .wizard__body {
    grid-template-columns: 1fr;
  }

  /* Mobile actions — buttons share row, red CTA gets more space than
     the ghost back-button. Compact padding, smaller text. Fibonacci
     spacing (s-2 = 13, s-3 = 21). */
  .wizard__actions {
    gap: var(--s-2);
    margin-top: var(--s-3);
    padding-top: var(--s-3);
  }
  .wizard__actions .btn {
    min-width: 0;
    padding: var(--s-2) var(--s-2);
    font-size: var(--fs-xs);
    letter-spacing: 0.10em;
    justify-content: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex: 1;
  }
  /* Red CTA gets priority — wider than ghost back button.
     Ratio 1:1.618 (Fibonacci) approximated as 1:2 in flex grow. */
  .wizard__actions .btn--red {
    flex: 1.618;
  }
  /* Single-button row (e.g. step 1) — full width centered */
  .wizard__actions:not(.wizard__actions--between) .btn {
    flex: 1;
  }
  /* Very narrow viewports — allow wrap to 2 lines if needed */
  @media (max-width: 360px) {
    .wizard__actions .btn {
      white-space: normal;
      line-height: 1.2;
    }
  }
  .wizard__panel {
    padding: var(--s-3) var(--s-3);
    border-radius: var(--r-md);
  }
  .wizard__form-grid {
    grid-template-columns: 1fr;
    gap: var(--s-2);
  }
  .wizard__field--full { grid-column: 1; }
  .wizard__form { gap: var(--s-3); }

  /* Sidebar: collapsed accordion on mobile */
  .wizard__sidebar {
    position: static;
    order: -1; /* show above wizard steps */
  }
  .wizard__sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--s-3) var(--s-4);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: var(--ff-sans);
    font-size: var(--fs-sm);
    color: var(--c-ink);
  }
  .wizard__sidebar-toggle-label {
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .wizard__sidebar-toggle-total {
    font-family: var(--ff-display);
    font-size: var(--fs-lg);
    color: var(--c-red);
    font-variant-numeric: tabular-nums;
    margin-right: var(--s-2);
  }
  .wizard__sidebar-toggle-icon {
    transition: transform var(--t-fast) var(--ease-out);
    flex-shrink: 0;
  }
  .wizard__sidebar-toggle[aria-expanded="true"] .wizard__sidebar-toggle-icon {
    transform: rotate(180deg);
  }
  .wizard__sidebar-content {
    display: none;
    border-top: 1px solid var(--c-line);
    padding: var(--s-3) var(--s-4) var(--s-4);
  }
  .wizard__sidebar-content.is-open { display: flex; }

  /* Progress bar: compact on mobile but breathing per Fibonacci */
  .wizard__progress {
    max-width: 100%;
    padding: var(--s-3) var(--s-3);
    gap: 0;
    margin-bottom: var(--s-4);
  }
  .wizard__step-bubble { width: 34px; height: 34px; font-size: 12px; }
  .wizard__step-indicator { gap: var(--s-2); }
  .wizard__step-label { font-size: 10px; letter-spacing: 0.12em; }
  .wizard__connector {
    min-width: var(--s-3);
    max-width: var(--s-5);
    height: 2px;
    margin-bottom: 26px;
  }

  /* Payment: show Vipps button, hide QR description */
  .payment-block { gap: var(--s-3); }
  .payment-block__open-vipps {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
  .payment-block__qr { padding: var(--s-2); }
  .payment-block__qr img { width: 160px; height: 160px; }
  .payment-block__amount { font-size: var(--fs-xl); }
  .payment-block__steps li { font-size: var(--fs-xs); padding-left: 28px; }
  .payment-block__steps li::before { width: 20px; height: 20px; font-size: 10px; }

  /* Flavor picker: tighter on mobile */
  .flavor-picker__tab {
    padding: var(--s-1) var(--s-2);
    font-size: 10px;
  }
  .flavor-picker__name { font-size: var(--fs-sm); }

  /* Modal: bottom-sheet style on mobile */
  .ingredient-modal {
    width: 100vw;
    max-width: none;
    max-height: 92vh;
    margin: auto auto 0 auto;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .ingredient-modal[open] {
    animation: modalInMobile var(--t-base) var(--ease-out);
  }
  @keyframes modalInMobile {
    from { opacity: 0; transform: translateY(55px); }
    to   { opacity: 1; transform: translateY(0);    }
  }
  .ingredient-modal__inner {
    padding: var(--s-4) var(--s-3) var(--s-4);
    max-height: 92vh;
  }
  .ingredient-modal__title { font-size: var(--fs-xl); }

  /* Tighter ··· button on mobile */
  .flavor-item__more {
    width: 36px;
    height: 36px;
    font-size: 18px;
    top: var(--s-2);
    right: var(--s-2);
  }
}


/* ═══════════════════════════════════════════════════════════════
   17. REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-stage__slide { transition: none; }
  .henting-pin__pulse { animation: none; opacity: 0; }
  .hero-stage__scroll-line { animation: none; }
  .order-success__confetti i { animation: none; opacity: 0; }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .flavor-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
