/* ==========================================================================
   Sweet & Candy — design system
   --------------------------------------------------------------------------
   Idea: "the candy gives the emotion, the warehouse gives the credibility."
   Magenta comes straight from the logo. The secondary accents are taken from
   S&C's own warehouse: orange rack beams and blue rack uprights. The "shelf"
   (a tile row resting on an orange beam) is the one signature device; it is
   used where products are presented. Everything else stays quiet.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --magenta:      #EC008C;  /* logo colour — large type, accents, decoration */
  --magenta-ink:  #C2006F;  /* buttons / links on light: 5.6:1 with white */
  --magenta-soft: #FDE6F3;
  --magenta-on-dark: #FF5CB6; /* links and accents on liquorice: 6.3:1 */

  /* Neutrals */
  /*
  --liquorice:    #1B1420;  
  --liquorice-2:  #2A2131;
  --ink:          #1B1420;
  --ink-muted:    #5D5366;  
  --sugar:        #F4F2F6;  
  --line:         #E3DEE7;
  --white:        #FFFFFF;
  */
	--liquorice:    #0B1247;  /* midnight navy */
	--liquorice-2:  #2A2131;
	--ink:          #0B1247;
	--ink-muted:    #5D5366;
	--sugar:        #F4F2F6;
	--line:         #E3DEE7;
	--white:        #FFFFFF;

  /* Warehouse accents (use sparingly) */
  --beam:   #F47B20;  /* rack beam orange */
  --upright:#1F5FBF;  /* rack upright blue */
  --tag:    #FFD400;  /* rack location tag yellow */

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Modular scale (1.25) on a 17px body */
  --fs-small: 0.875rem;
  --fs-body:  1.0625rem;
  --fs-lead:  clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --fs-h3:    clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-h2:    clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  --fs-h1:    clamp(2.35rem, 1.5rem + 5vw, 6.4rem);
  --fs-mega:  clamp(3rem, 1.4rem + 7vw, 8.5rem);

  /* Space & layout */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --max: 1360px;
  --measure: 64ch;
  --header-h: 84px;
  --header-h-compact: 64px;

  /* Shape — hierarchy, not one radius for everything */
  --r-tile: 6px;      /* product/photo tiles: industrial, almost square */
  --r-panel: 14px;    /* panels, forms */
  --r-pill: 999px;    /* buttons, chips: the candy */

  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow-tile: 0 18px 40px -22px rgba(27,20,32,.45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h-compact) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--magenta-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  overflow-wrap: break-word;
  hyphens: auto;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  font-stretch: 85%;
  font-variation-settings: "wdth" 85;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
::selection { background: var(--magenta); color: #fff; }

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .hero :focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--liquorice); color: #fff; padding: .75rem 1rem; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sugar { background: var(--sugar); }
.section--dark { background: var(--liquorice); color: #EDE7F0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: var(--magenta-on-dark); }

.section-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.section-head p { font-size: var(--fs-lead); color: var(--ink-muted); max-width: 46ch; margin: 0; line-height: 1.45; }
.section--dark .section-head p { color: #BFB4C6; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; }
  .section-head h2 { margin: 0; }
}

.lead { font-size: var(--fs-lead); line-height: 1.45; }
.muted { color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--magenta-ink); --btn-fg: #fff; --btn-bd: var(--magenta-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.5rem;
  border: 2px solid var(--btn-bd); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 1rem/1.1 var(--font-body); text-decoration: none; letter-spacing: .005em;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: #A3005D; --btn-bd: #A3005D; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--liquorice); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--magenta-soft); --btn-bd: var(--magenta-soft); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.75); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--liquorice); --btn-bd: #fff; }
.btn--small { min-height: 42px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
/* Hero buttons that swap at the same breakpoint as the header Shop login button (.header-cta) */
.btn.btn--mobile-only { display: none; }
@media (max-width: 639px) { .btn.btn--mobile-only { display: inline-flex; } .btn.btn--desktop-only { display: none; } }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700;
  text-decoration: none; color: var(--magenta-ink);
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255);
  color: var(--ink);
  transition: height .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.site-header::before { /* legibility over video, fades when solid */

}
.site-header.is-solid, .site-header--solid {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(27,20,32,.4);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.site-header.is-solid::before, .site-header--solid::before { opacity: 0; }
.site-header__inner {
  position: relative; height: 100%;
  display: flex; align-items: center; gap: 1.5rem;
  width: min(100% - 2 * var(--gutter), 1560px); margin-inline: auto;
}
.logo { display: block; flex: none; line-height: 0; }
.logo img { width: clamp(150px, 12vw + 60px, 230px); height: auto; transition: width .3s var(--ease); }
.is-solid .logo img, .site-header--solid .logo img {  }

.primary-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 0; background: transparent; color: inherit; cursor: pointer;
}
.icon-btn:hover { background: rgba(255,255,255,.14); }
.is-solid .icon-btn:hover, .site-header--solid .icon-btn:hover { background: var(--sugar); }

.lang-switch { display: none; align-items: center; gap: .1rem; font-size: .875rem; font-weight: 700; }
.lang-switch a {
  color: inherit; text-decoration: none; padding: .4rem .45rem; border-radius: 6px; opacity: .72;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.header-login { display: none; white-space: nowrap; color: inherit; font-weight: 700; font-size: .9375rem; text-decoration: none; padding: .5rem .75rem; border-radius: var(--r-pill); align-items: center; gap: .4rem; }
@media (max-width: 1439px) { .logo img, .is-solid .logo img { width: 165px !important; } .primary-nav > ul > li > a, .primary-nav button.nav-trigger { font-size: .9rem !important; } .header-login .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .primary-nav > ul > li > a, .primary-nav button.nav-trigger { padding-inline: .55rem !important; } }
.header-login:hover { background: rgba(255,255,255,.14); }
.is-solid .header-login:hover, .site-header--solid .header-login:hover { background: var(--sugar); }
.header-cta { display: none; white-space: nowrap; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

@media (min-width: 1260px) {
  .primary-nav { display: block; }
  .primary-nav > ul { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; }
  .primary-nav > ul > li > a, .primary-nav button.nav-trigger {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .55rem .7rem; border-radius: var(--r-pill); white-space: nowrap;
    color: inherit; text-decoration: none; font: 600 .9688rem/1 var(--font-body);
    background: none; border: 0; cursor: pointer;
  }
  .primary-nav > ul > li > a:hover, .primary-nav button.nav-trigger:hover, .primary-nav button[aria-expanded="true"] { background: rgba(255,255,255,.14); }
  .is-solid .primary-nav > ul > li > a:hover, .is-solid .primary-nav button.nav-trigger:hover, .is-solid .primary-nav button[aria-expanded="true"],
  .site-header--solid .primary-nav > ul > li > a:hover, .site-header--solid .primary-nav button.nav-trigger:hover { background: var(--sugar); }
  .primary-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--magenta); border-radius: 0; }
  .nav-trigger svg { width: .9em; height: .9em; transition: transform .2s var(--ease); }
  .nav-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
  .lang-switch, .header-login { display: inline-flex; }
  .header-cta { display: inline-flex; margin-left: .35rem; }
  .menu-toggle { display: none; }
}

/* Mega menu (Products) and dropdown (About) */
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: #fff; color: var(--ink); border-radius: var(--r-panel);
  box-shadow: 0 30px 70px -30px rgba(27,20,32,.55), 0 0 0 1px var(--line);
  padding: 2rem; display: grid; gap: 2rem;
}
.mega[hidden] { display: none; }
@media (min-width: 1260px) { .mega { grid-template-columns: 1.1fr 2fr; } }
.mega__intro p { color: var(--ink-muted); margin: .5rem 0 1.25rem; }
.mega__intro .mega__title { font: 800 1.9rem/1 var(--font-display); letter-spacing: -.02em; font-variation-settings: "wdth" 85; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem 1.5rem; }
.mega__list a {
  display: block; padding: .7rem .2rem; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 700; border-radius: 0 !important; box-shadow: none !important;
}
.mega__list a:hover { color: var(--magenta-ink); background: none !important; }
.mega__list span { display: block; font-weight: 400; font-size: .875rem; color: var(--ink-muted); margin-top: .15rem; }
.mega--small { left: auto; right: auto; width: 360px; grid-template-columns: 1fr !important; padding: 1.25rem; }
.mega--small .mega__list { grid-template-columns: 1fr; }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--liquorice); color: #fff;
  display: flex; flex-direction: column; overflow-y: auto;
  padding: 1rem var(--gutter) 2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 56px; margin-bottom: 1.5rem; }
.mobile-menu__top img { width: 160px; }
.mobile-menu .icon-btn:hover { background: rgba(255,255,255,.12); }
.mobile-menu nav > ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-menu nav > ul > li > a, .mobile-menu summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; color: #fff; text-decoration: none; cursor: pointer; list-style: none;
  font: 800 clamp(1.8rem, 6vw, 2.6rem)/1 var(--font-display); letter-spacing: -.02em; font-variation-settings: "wdth" 85;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 1.2rem; height: 1.2rem; transition: transform .2s; }
.mobile-menu details[open] summary svg { transform: rotate(45deg); }
.mobile-menu details ul { list-style: none; margin: 0 0 1rem; padding: 0; columns: 2; column-gap: 1rem; }
.mobile-menu details li a { display: block; padding: .45rem 0; color: #D9CFE0; text-decoration: none; font-weight: 600; }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu .lang-switch { display: flex; justify-content: center; margin-top: .5rem; }
.mobile-menu .lang-switch a { color: #fff; font-size: 1rem; padding: .6rem .9rem; }

/* Search overlay */
.search-panel {
  position: fixed; inset: 0; z-index: 70; background: rgba(27,20,32,.72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; align-items: start; padding: 12vh var(--gutter) 2rem;
}
.search-panel[hidden] { display: none; }
.search-panel form {
  width: min(100%, 760px); margin-inline: auto; background: #fff; border-radius: var(--r-panel);
  display: flex; align-items: center; gap: .5rem; padding: .5rem .5rem .5rem 1.25rem;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.search-panel input {
  flex: 1; min-width: 0; border: 0; font: 600 clamp(1.1rem, 2vw, 1.4rem)/1.2 var(--font-body); padding: .9rem 0; color: var(--ink); background: none;
}
.search-panel input:focus { outline: none; }
.search-panel form:focus-within { box-shadow: 0 0 0 3px var(--magenta), 0 40px 80px -30px rgba(0,0,0,.6); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(560px, 88svh);
  display: flex; align-items: flex-end;
  color: #fff; background: var(--liquorice);
  overflow: hidden;
}
.hero--page { min-height: max(460px, 72svh); }
.hero__media, .hero__media picture, .hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero__media img { object-position: var(--hero-pos, 50% 50%); }
.hero__media video { opacity: 0; transition: opacity .9s var(--ease); }
.hero__media video.is-playing { opacity: 1; }
.hero::after { /* scrim: guarantees text contrast whatever the frame shows */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(27,20,32,.82) 0%, rgba(27,20,32,.55) 45%, rgba(27,20,32,.12) 80%),
    linear-gradient(0deg, rgba(27,20,32,.85) 0%, rgba(27,20,32,0) 55%);
}
.hero__content { padding-block: calc(var(--header-h) + 3rem) clamp(2.5rem, 2rem + 4vw, 5.5rem); }
.hero__eyebrow {
  display: inline-block; font: 700 .9375rem/1 var(--font-body); letter-spacing: .02em;
  color: #fff; padding: .45rem .8rem; border-radius: var(--r-pill); background: var(--magenta); margin-bottom: 1.25rem;
}
.hero h1 { max-width: 12ch; margin-bottom: .35em; font-size: var(--fs-h1); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 44ch; color: #F3EDF5; margin-bottom: 2rem; }
.hero__facts {
  list-style: none; margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 0; padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255,255,255,.28);
  display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; font-weight: 600; color: #E6DDEA; font-size: .9688rem;
}
.hero__facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); flex: none; }
.hero__toggle {
  position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 2rem + 4vw, 5.5rem); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(27,20,32,.35); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.hero__toggle[hidden] { display: none; }
.hero__toggle svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .hero__toggle { bottom: auto; top: calc(var(--header-h) + .5rem); } }

/* ---------- Proposition (what we do) ---------- */
.proposition { display: grid; gap: 2.5rem 5rem; }
@media (min-width: 960px) { .proposition { grid-template-columns: 1.35fr 1fr; align-items: start; } }
.proposition__lead { font: 600 clamp(1.35rem, 1.05rem + 1.1vw, 2.05rem)/1.32 var(--font-body); letter-spacing: -.01em; margin: 0; max-width: 34ch; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: .9375rem; }
.facts dd { margin: 0; color: var(--ink-muted); }

/* ---------- The shelf (signature) ---------- */
/*
.shelf { position: relative; padding-bottom: 26px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.shelf::after { 
  content: ""; position: absolute; left: -10px; right: -10px; bottom: 0; height: 14px;
  background:
    linear-gradient(var(--beam), var(--beam)) 0 0 / 100% 10px no-repeat,
    linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,0)) 0 10px / 100% 4px no-repeat;
  border-radius: 2px;
}
.shelf::before { 
  content: ""; position: absolute; left: -14px; right: -14px; top: 0; bottom: -6px;
  border-inline: 6px solid var(--upright); pointer-events: none; border-radius: 2px;
}
.shelf__tag { 
  position: absolute; bottom: 1px; left: 1.25rem; z-index: 1;
  background: var(--tag); color: #1B1420; font: 800 .6875rem/1 var(--font-body); padding: .3rem .4rem; letter-spacing: .04em;
}
*/

.cat-grid { display: grid; gap: clamp(.75rem, .5rem + 1vw, 1.25rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); }
  .cat-grid > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .cat-grid > :nth-child(4) { grid-column: span 2; }
}

.cat-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 260px; padding: clamp(1.1rem, 1rem + .6vw, 1.6rem);
  border-radius: var(--r-tile); color: #fff; text-decoration: none;
  background: var(--liquorice-2);
}
.cat-card picture, .cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cat-card img { object-position: var(--img-pos, 50% 50%); }
.cat-card img { transition: transform .7s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(27,20,32,.88) 0%, rgba(27,20,32,.25) 55%, rgba(27,20,32,0) 100%); }
.cat-card:hover img { transform: scale(1.045); }
.cat-card h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 800; margin: 0 0 .35rem; color: #fff; font-variation-settings: "wdth" 85; letter-spacing: -.02em; line-height: 1; }
.cat-card p { margin: 0; color: #E9E1EE; max-width: 34ch; }
.cat-card__go {
  position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.cat-card:hover .cat-card__go { background: var(--magenta); transform: rotate(-45deg); }
.cat-card--type { background: var(--magenta-ink); }          /* no photo yet: typographic tile */
.cat-card--type::after { background: none; }
.cat-card--type .cat-card__glyph {
  position: absolute; right: -.08em; top: -.2em; z-index: -1;
  font: 800 clamp(8rem, 6rem + 6vw, 13rem)/1 var(--font-display); color: rgba(255,255,255,.14); letter-spacing: -.06em;
}
@media (min-width: 1024px) { .cat-grid > :nth-child(1) h3 { font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.6rem); } }

/* More categories: compact shelf of chips/tiles */
.cat-more { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 560px) { .cat-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .cat-more { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-more a > span:last-child { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.cat-more a {
  display: flex; align-items: center; gap: .85rem; height: 100%;
  padding: .7rem; border-radius: var(--r-tile); background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.2;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cat-more a:hover { border-color: var(--magenta); box-shadow: 0 0 0 1px var(--magenta); }
.cat-more__thumb { width: 52px; height: 52px; flex: none; border-radius: 4px; overflow: hidden; background: var(--magenta-soft); display: grid; place-items: center; color: var(--magenta-ink); font: 800 1.35rem/1 var(--font-display); }
.cat-more__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--img-pos, 50% 50%); }
.cat-more small { display: block; font-weight: 500; color: var(--ink-muted); font-size: .8125rem; margin-top: .15rem; }
.cats-foot { display: flex; justify-content: flex-end; }

/* ---------- Why S&C ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem 2rem; }
@media (min-width: 700px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(5, 1fr); } }
.why li { border-top: 3px solid var(--magenta); padding-top: 1.25rem; }
.why h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.why p { color: #C9BFCE; margin: 0; font-size: 1rem; }

/* ---------- Candy strip (horizontal scroller) ---------- */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%);
  gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 1rem; margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: thin; scrollbar-color: var(--magenta) transparent;
}
@media (min-width: 1400px) { .strip { margin-inline: 0; padding-inline: 0; } }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip .strip__img { aspect-ratio: 4 / 5; border-radius: var(--r-tile); overflow: hidden; background: var(--sugar); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { font-weight: 700; margin-top: .75rem; }
.strip-wrap { position: relative; }
.strip-foot { margin-top: 1.5rem; }

/* ---------- Warehouse ---------- */
.warehouse { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .warehouse { grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; } }
.collage { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: .75rem; }
.collage figure { margin: 0; border-radius: var(--r-tile); overflow: hidden; background: var(--line); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figure:nth-child(1) { grid-row: span 2; min-height: 100%; }
.collage figure:nth-child(2), .collage figure:nth-child(3) { aspect-ratio: 4/3; }
.points { list-style: none; margin: 2rem 0 2.25rem; padding: 0; counter-reset: none; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points .bar { width: 28px; height: 10px; background: var(--beam); margin-top: .55rem; border-radius: 2px; }
.points h3 { font-size: 1.15rem; margin: 0 0 .25rem; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; font-variation-settings: normal; }
.points p { margin: 0; color: var(--ink-muted); }

/* ---------- Trends (editorial) ---------- */
.trends { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .trends { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, auto)); }
  .trends > :first-child { grid-row: span 2; }
  .trends > :nth-child(4) { grid-column: span 2; }
}
.trend {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; padding: 1.4rem; border-radius: var(--r-tile); color: #fff; text-decoration: none; background: var(--liquorice);
}
.trend picture, .trend img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.trend img { transition: transform .7s var(--ease); }
.trend:hover img { transform: scale(1.04); }
.trend::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(27,20,32,.85), rgba(27,20,32,.1) 60%); }
.trend h3 { color: #fff; margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 800; font-variation-settings: "wdth" 85; letter-spacing: -.02em; }
.trend--feature h3 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); max-width: 12ch; }
.trend p { margin: .6rem 0 0; color: #EDE5F1; max-width: 36ch; }
.trend__kicker { align-self: flex-start; margin-bottom: auto; background: #fff; color: var(--liquorice); font-weight: 700; font-size: .8125rem; padding: .35rem .7rem; border-radius: var(--r-pill); }

/* ---------- Product card ---------- */
.products { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-tile); overflow: hidden; }
.product-card__img { aspect-ratio: 1; background: var(--sugar); display: grid; place-items: center; padding: 1rem; }
.product-card__img img { max-height: 100%; width: auto; object-fit: contain; }
.product-card__body { padding: 1rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.product-card__brand { font-size: .8125rem; font-weight: 700; color: var(--magenta-ink); }
.product-card__name { font: 700 1.05rem/1.25 var(--font-body); margin: 0; }
.product-card__cat { font-size: .875rem; color: var(--ink-muted); }
.product-card__stock { display: inline-flex; align-items: center; gap: .35rem; font-size: .8125rem; font-weight: 600; color: #16723A; margin-top: .25rem; }
.product-card__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.product-card__actions { margin-top: auto; padding-top: .85rem; display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Brand wall ---------- */
.brand-wall { list-style: none; margin: 0 0 2.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.brand-wall li {
  font: 700 clamp(1rem, .9rem + .4vw, 1.3rem)/1 var(--font-display); font-variation-settings: "wdth" 90; letter-spacing: -.01em;
  padding: .7rem 1rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
}
.brand-wall img { height: 34px; width: auto; }
.brand-wall li.has-logo { padding: .45rem 1rem; }

/* ---------- Process steps (a real sequence → numbered) ---------- */
.steps { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; } }
.step { counter-increment: step; position: relative; }
.step__img { aspect-ratio: 4/3; border-radius: var(--r-tile); overflow: hidden; background: var(--sugar); margin-bottom: 1.1rem; }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__num {
  display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem;
  font: 800 1rem/1 var(--font-display); color: var(--magenta-ink);
}
.step__num::before { content: counter(step, decimal-leading-zero); font-size: 2.2rem; letter-spacing: -.03em; }
.step__num::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--magenta), rgba(236,0,140,0)); }
.step:last-child .step__num::after { background: none; }
.step h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.step p { color: var(--ink-muted); margin: 0; font-size: 1rem; }

/* ---------- Service ---------- */
.service { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .service { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.service__photo { position: relative; max-width: 520px; }
.service__photo img { width: 100%; border-radius: var(--r-tile); position: relative; z-index: 1; }
.service__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--magenta); border-radius: var(--r-tile); }
.service h2 { white-space: pre-line; }
.contact-lines { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: .25rem; }
.contact-lines a, .contact-lines span {
  display: inline-flex; align-items: center; gap: .75rem; padding: .5rem 0;
  font: 700 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.2 var(--font-body); color: var(--ink); text-decoration: none;
}
.contact-lines a:hover { color: var(--magenta-ink); }
.contact-lines .icon { color: var(--magenta-ink); width: 1.5rem; height: 1.5rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 2rem 5rem; }
@media (min-width: 960px) { .faq { grid-template-columns: 1fr 1.6fr; } .faq__head { position: sticky; top: calc(var(--header-h-compact) + 2rem); align-self: start; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.25rem 0; font: 700 1.15rem/1.3 var(--font-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.3rem; height: 1.3rem; color: var(--magenta-ink); transition: transform .2s var(--ease); flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); max-width: var(--measure); margin: 0 0 1.4rem; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--magenta); color: #fff; padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem); position: relative; overflow: hidden; isolation: isolate; }
.final-cta h2 { font-size: var(--fs-mega); max-width: 11ch; color: #fff; margin-bottom: .3em; }
.final-cta p { font-size: var(--fs-lead); max-width: 40ch; margin-bottom: 2rem; color: #fff; }
.final-cta .btn--light { --btn-fg: var(--magenta-ink); }
.final-cta__img { position: absolute; right: -6%; bottom: -12%; width: min(52vw, 760px); z-index: -1; transform: rotate(-8deg); opacity: .95; }
@media (max-width: 760px) { .final-cta__img { width: 90vw; right: -30%; bottom: -8%; opacity: .35; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--liquorice); color: #BFB4C6; padding: clamp(3.5rem, 2.5rem + 3vw, 6rem) 0 2rem; font-size: .9688rem; }
.site-footer a { color: #EDE7F0; text-decoration: none; }
.site-footer a:hover { color: var(--magenta-on-dark); text-decoration: underline; }
.footer-top { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1.3fr 2.7fr; } }
.footer-brand img { width: 220px; margin-bottom: 1.25rem; }
.footer-brand p { font: 700 1.25rem/1.3 var(--font-body); color: #fff; max-width: 22ch; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-cols h2 { font: 700 .9375rem/1.2 var(--font-body); color: #fff; margin: 0 0 1rem; letter-spacing: 0; font-variation-settings: normal; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-cols address { font-style: normal; line-height: 1.7; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-footer .lang-switch { display: flex; }
.site-footer .lang-switch a { color: #EDE7F0; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1rem; z-index: 40;
  max-width: 560px; background: #fff; color: var(--ink); border-radius: var(--r-panel);
  padding: 1.25rem; box-shadow: 0 30px 60px -20px rgba(27,20,32,.5), 0 0 0 1px var(--line);
}
.cookie[hidden] { display: none; }
.cookie p { font-size: .9375rem; margin-bottom: 1rem; }
.cookie .btn-row { align-items: center; }

/* ---------- Simple page (planned / 404) ---------- */
.simple { min-height: 70svh; display: grid; align-items: center; padding-top: calc(var(--header-h) + 3rem); }
.simple h1 { max-width: 14ch; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .875rem; color: #E6DDEA; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumbs a { color: #fff; }

/* ---------- Motion: one orchestrated hero entrance only ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise .9s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3) { animation-delay: .16s; }
  .hero__content > :nth-child(4) { animation-delay: .24s; }
  .hero__content > :nth-child(5) { animation-delay: .32s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* picture wrappers that must fill their frame */
.strip__img picture, .step__img picture, .collage picture, .cat-more__thumb picture, .service__photo picture { width: 100%; height: 100%; }
.final-cta > picture { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* ==========================================================================
   Products overview (assortment) — app/pages/products.php
   ========================================================================== */

/* Category directory: main ranges get a wide photo tile, the rest compact cards */
.ranges { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(.75rem, .5rem + 1vw, 1.25rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px)  { .ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ranges { grid-template-columns: repeat(4, minmax(0, 1fr)); } .range--main { grid-column: span 2; } }
.range {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-tile);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.range:hover { border-color: var(--magenta); box-shadow: 0 0 0 1px var(--magenta); }
.range__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sugar); }
.range--main .range__img { aspect-ratio: 2 / 1; }
.range__img picture, .range__img img { width: 100%; height: 100%; object-fit: cover; }
.range__img img { object-position: var(--img-pos, 50% 50%); }
.range__img img { transition: transform .7s var(--ease); }
.range:hover .range__img img { transform: scale(1.045); }
.range__img--type { background: var(--magenta-ink); }          /* no photo yet: typographic tile */
.range__img--type span {
  position: absolute; right: -.06em; bottom: -.28em;
  font: 800 clamp(5.5rem, 4rem + 4vw, 9rem)/1 var(--font-display); letter-spacing: -.06em;
  font-variation-settings: "wdth" 85; color: rgba(255,255,255,.22);
}
.range__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1rem, .9rem + .5vw, 1.4rem); }
.range h3 { font-size: 1.35rem; margin: 0 0 .5rem; }
.range--main h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.range__link { color: var(--ink); text-decoration: none; }
.range__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-tile); } /* whole card clickable */
.range__link:focus-visible { outline: none; }
.range__link:focus-visible::after { outline: 3px solid var(--magenta); outline-offset: 3px; }
.range p { color: var(--ink-muted); font-size: 1rem; margin: 0 0 1.1rem; max-width: 52ch; }
.range__go { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--magenta-ink); }
.range__go .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.range:hover .range__go .icon { transform: translateX(3px); }

/* Where the confectionery comes from (on dark) */
.origins { list-style: none; margin: 0 0 clamp(2.5rem, 2rem + 2vw, 4rem); padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.origins li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem;
  border: 1px solid rgba(255,255,255,.24); border-radius: var(--r-pill); color: #fff; font-weight: 600;
}
.origins .icon { width: 1.05rem; height: 1.05rem; color: var(--magenta-on-dark); }
@media (min-width: 1100px) { .why--4 { grid-template-columns: repeat(4, 1fr); } }

/* Seasonal calendar: each theme carries a yellow shelf-location tag */
.seasons { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .seasons { grid-template-columns: 1fr 1.35fr; gap: 5rem; align-items: start; } }
.season-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .season-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.season-list li {
  display: flex; flex-direction: column; gap: .7rem; padding: 1rem;
  border: 1px solid var(--line); border-bottom: 6px solid var(--beam); border-radius: var(--r-tile);
}
.season-list__when {
  align-self: flex-start; background: var(--tag); color: #1B1420;
  font: 800 .75rem/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase; padding: .3rem .45rem;
}
.season-list__name { font: 800 1.3rem/1.1 var(--font-display); letter-spacing: -.01em; font-variation-settings: "wdth" 85; hyphens: auto; overflow-wrap: break-word; }

/* ==========================================================================
   Forms — shared field styles (login now; contact / become a customer later)
   ========================================================================== */
.form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.field { display: grid; gap: .45rem; align-content: start; }
.field label { font-weight: 700; font-size: .9375rem; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.field__aside { font-size: .875rem; font-weight: 600; }
.field input {
  width: 100%; min-height: 52px; padding: .75rem 1rem;
  font: 500 1.0625rem/1.3 var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid #C9C1CF; border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:hover { border-color: var(--ink-muted); }
.field input:focus { outline: none; border-color: var(--magenta-ink); box-shadow: 0 0 0 3px rgba(236,0,140,.22); }
.field__pw { position: relative; }
.field__pw input { padding-right: 3.5rem; }
.field__reveal {
  position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: none; color: var(--ink-muted); cursor: pointer;
}
.field__reveal[hidden] { display: none; }
.field__reveal:hover { color: var(--ink); background: var(--sugar); }
.field__reveal svg { width: 1.3rem; height: 1.3rem; }
.field__reveal[aria-pressed="true"] { color: var(--magenta-ink); }
.field__warn {
  margin: 0; justify-self: start; font-size: .875rem; font-weight: 700;
  color: #1B1420; background: var(--tag); padding: .3rem .55rem; border-radius: 4px;
}
.field__warn[hidden] { display: none; }

/* ==========================================================================
   Shop login — app/pages/login.php
   ========================================================================== */
.login { background: var(--sugar); padding: calc(var(--header-h) + clamp(1.5rem, 1rem + 2vw, 3rem)) 0 var(--section); }
.login__grid { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.5rem); }
@media (min-width: 960px) { .login__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; } }
.login__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}
.login__card h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4.2rem); max-width: 12ch; margin-bottom: .3em; }
.login__card .lead { max-width: 38ch; margin: 0; }
.login__submit { width: 100%; margin-top: .25rem; }
.login__fallback { margin-top: 2rem; }
.login__fallback .btn { width: 100%; }
@media (min-width: 560px) { .login__fallback .btn { width: auto; } }
.login__small { margin: 1rem 0 0; font-size: .9375rem; font-weight: 600; }
.login__new {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.login__new p { margin: 0; max-width: 38ch; color: var(--ink-muted); font-size: .9688rem; }
.login__new strong { color: var(--ink); }
.login__help { margin: 1.5rem 0 0; font-size: .875rem; color: var(--ink-muted); }
.login__panel {
  position: relative; isolation: isolate; overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: var(--r-panel);
  background: var(--liquorice); color: #fff;
}
.login__panel picture, .login__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.login__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,18,71,.92) 0%, rgba(11,18,71,.6) 55%, rgba(11,18,71,.15) 100%); }
.login__panel h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); max-width: 14ch; }
.login__perks { list-style: none; margin: .5rem 0 2rem; padding: 0; display: grid; gap: .7rem; }
.login__perks li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; color: #EDE7F0; }
.login__perks .icon { color: var(--magenta-on-dark); margin-top: .15rem; }
.login__panel-link { align-self: flex-start; color: #fff; }

/* ---------- Forgot password — app/pages/lost-password.php (reuses the login layout) ---------- */
.field__hint { margin: 0; font-size: .875rem; color: var(--ink-muted); }
.login__back {
  display: flex; width: fit-content; align-items: center; gap: .4rem; margin-bottom: 1.5rem;
  font-size: .9375rem; font-weight: 700; color: var(--ink-muted); text-decoration: none;
}
.login__back:hover { color: var(--magenta-ink); }
.login__back-icon { width: 1.1em; height: 1.1em; transform: scaleX(-1); transition: transform .2s var(--ease); }
.login__back:hover .login__back-icon { transform: scaleX(-1) translateX(3px); }
.login__panel-text { color: #EDE7F0; max-width: 40ch; margin: 0; }
.login__panel .contact-lines { margin: 1.5rem 0 0; }
.login__panel .contact-lines a { color: #fff; }
.login__panel .contact-lines a:hover { color: var(--magenta-on-dark); }
.login__panel .contact-lines .icon { color: var(--magenta-on-dark); }
/* ==========================================================================
   Forms — select, textarea, errors (contact; reusable for "become a customer")
   ========================================================================== */
.field select, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem;
  font: 500 1.0625rem/1.4 var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid #C9C1CF; border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 9.5rem; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2006F' stroke-width='2.2' 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 1rem center; background-size: 1.1rem;
}
.field select:hover, .field textarea:hover { border-color: var(--ink-muted); }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta-ink); box-shadow: 0 0 0 3px rgba(236,0,140,.22); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179,38,30,.2); }
.field__opt { font-weight: 500; color: var(--ink-muted); }
.field__error { margin: 0; font-size: .875rem; font-weight: 700; color: #B3261E; }
.field--trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form__privacy { margin: 0; font-size: .875rem; color: var(--ink-muted); }
.form-alert {
  margin-top: 1.5rem; padding: 1rem 1.15rem; border-radius: 10px;
  background: #FCEEEE; border-left: 4px solid #B3261E; color: var(--ink); font-size: .9688rem;
}
.form-alert p { margin: 0; }
.form-alert ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.form-alert a { color: #8C1D18; font-weight: 600; }
.form-alert:focus-visible { outline-color: #B3261E; }
.form-alert[hidden] { display: none; }
.login__alert { margin-top: 0; }

/* ==========================================================================
   Contact — app/pages/contact.php
   ========================================================================== */
.contact { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.contact__info .lead { max-width: 40ch; }
.contact__info .contact-lines { margin: 1.75rem 0 .25rem; }
.contact__info .contact-lines a { overflow-wrap: anywhere; }
.contact__fax { margin: 0 0 0 2.25rem; font-size: .9375rem; color: var(--ink-muted); }
.contact__block { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.contact__block h3 {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem;
  font: 800 1.15rem/1.2 var(--font-body); letter-spacing: 0; font-variation-settings: normal;
}
.contact__block h3 .icon { color: var(--magenta-ink); }
.contact__block address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.contact__note {
  display: block; width: fit-content; margin: 0 0 1.25rem; padding: .35rem .6rem; border-radius: 4px;
  background: var(--tag); color: #1B1420; font-size: .875rem; font-weight: 700;
}

.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours th { font-weight: 700; padding-right: 1rem; white-space: nowrap; }
.hours td { color: var(--ink-muted); }
.hours tr[data-closed] td { color: #8A8091; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); }
.hours tr.is-today { box-shadow: inset 3px 0 0 var(--magenta); }
.hours tr.is-today th { padding-left: .85rem; }
.hours__today {
  display: inline-block; margin-left: .35rem; padding: .15rem .45rem; border-radius: var(--r-pill);
  background: var(--magenta-soft); color: var(--magenta-ink); font-size: .75rem; font-weight: 800; vertical-align: .1em;
}
@media (max-width: 420px) { .hours th { white-space: normal; } }

.contact__card {
  background: var(--sugar); border-radius: var(--r-panel);
  padding: clamp(1.5rem, 1rem + 3vw, 3.25rem);
  scroll-margin-top: calc(var(--header-h-compact) + 1rem);
}
.contact__card:focus { outline: none; }
.contact__card h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); margin-bottom: .35em; }
.contact__card > .muted { margin: 0; max-width: 46ch; }
.contact__card .field input, .contact__card .field select, .contact__card .field textarea { border-color: #C2B9C9; }
.contact__submit { justify-self: start; }
.contact__submit[aria-disabled="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 560px) { .contact__submit { justify-self: stretch; } }
.contact__card .login__new { border-top-color: #DCD5E1; }
.contact__sent { padding-block: 1rem; }
.contact__sent-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.25rem;
  border-radius: 50%; background: var(--magenta-ink); color: #fff;
}
.contact__sent-icon .icon { width: 1.6rem; height: 1.6rem; }
.contact__sent .lead { max-width: 40ch; margin-bottom: 1.75rem; }

/* Delivery & collection: the loading-dock day on an orange beam timeline */
.docks { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 1024px) { .docks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.docks__text .lead { max-width: 44ch; margin-bottom: 2rem; }
.docks .facts div { grid-template-columns: minmax(0, 13rem) 1fr; }
.docks__note { margin: 1.25rem 0 0; font-size: .9375rem; font-weight: 600; }
.docks__visual { margin: 0; display: grid; gap: 1rem; }
.docks__photo { border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.docks__photo picture, .docks__photo img { width: 100%; height: 100%; object-fit: cover; }

.timeline {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-tile);
  padding: 1.25rem 1.25rem 1rem; display: grid; gap: .9rem;
}
.timeline__row { display: grid; gap: .4rem; }
.timeline__day { font-size: .8125rem; font-weight: 800; letter-spacing: .02em; }
.timeline__track { position: relative; height: 14px; background: var(--sugar); border-radius: 2px; }
.timeline__open { position: absolute; top: 0; bottom: 0; background: var(--beam); border-radius: 2px; }
.timeline__break {
  position: absolute; top: -3px; bottom: -3px;
  background: repeating-linear-gradient(-45deg, #fff 0 3px, var(--liquorice) 3px 5px);
  border-radius: 1px; min-width: 4px;
}
.timeline__axis { position: relative; height: 1.1rem; font-size: .75rem; font-weight: 600; color: var(--ink-muted); margin-top: -.25rem; }
.timeline__axis span { position: absolute; transform: translateX(-50%); }
.timeline__axis span:first-child { transform: none; }
.timeline__axis span:last-child { transform: translateX(-100%); }
.timeline__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .8125rem; color: var(--ink-muted); padding-top: .6rem; border-top: 1px solid var(--line); }
.timeline__legend span { display: inline-flex; align-items: center; gap: .45rem; }
.timeline__key { display: inline-block; width: 22px; height: 10px; border-radius: 2px; }
.timeline__key--open { background: var(--beam); }
.timeline__key--break { background: repeating-linear-gradient(-45deg, #fff 0 3px, var(--liquorice) 3px 5px); }

/* Company details: one photo instead of a collage */
.collage--single { grid-template-columns: 1fr; }
.collage--single figure { grid-row: auto !important; aspect-ratio: 3 / 2; }
.warehouse .facts a { color: inherit; }
.warehouse .facts a:hover { color: var(--magenta-ink); }

/* ==========================================================================
   Become a customer — app/pages/register.php (builds on the login layout)
   ========================================================================== */
@media (min-width: 960px) {
  .register__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
  .register__panel { position: sticky; top: calc(var(--header-h-compact) + 1.5rem); }
}
.register__card { scroll-margin-top: calc(var(--header-h-compact) + 1rem); }
.register__card h1 { max-width: 14ch; }
.register__card > .lead { max-width: 46ch; }
.breadcrumbs--light ol { color: var(--ink-muted); margin-bottom: 1.25rem; }
.breadcrumbs--light a { color: var(--ink-muted); }
.register__b2b {
  display: flex; gap: .5rem; align-items: center; margin: 1.25rem 0 0;
  font-size: .9375rem; font-weight: 700;
}
.register__b2b .icon { color: var(--magenta-ink); }

.form__group { border: 0; margin: 0; padding: 1.75rem 0 0; min-width: 0; display: grid; gap: 1.25rem; border-top: 1px solid var(--line); }
.form__group:first-of-type { border-top: 0; padding-top: .25rem; }
.form__group legend {
  float: left; width: 100%; padding: 0; margin-bottom: .25rem;
  display: flex; align-items: center; gap: .65rem;
  font: 800 1.35rem/1.1 var(--font-display); letter-spacing: -.01em; font-variation-settings: "wdth" 85;
}
.form__group legend + * { clear: both; }
.form__group legend span {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; flex: none; border-radius: 50%;
  background: var(--magenta-soft); color: var(--magenta-ink); font: 800 .9375rem/1 var(--font-body);
}
@media (min-width: 640px) { .form__row--pc { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }

.field--check { grid-template-columns: auto 1fr; column-gap: .75rem; align-items: start; }
.field--check input {
  appearance: none; -webkit-appearance: none; width: 26px; height: 26px; min-height: 0; padding: 0; margin: 0;
  border: 1.5px solid #C9C1CF; border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center;
}
.field--check input::after {
  content: ""; width: 14px; height: 8px; border: solid #fff; border-width: 0 0 3px 3px;
  transform: rotate(-45deg) translate(1px, -1px); opacity: 0;
}
.field--check input:checked { background: var(--magenta-ink); border-color: var(--magenta-ink); }
.field--check input:checked::after { opacity: 1; }
.field--check label { font-weight: 500; font-size: 1rem; line-height: 1.45; cursor: pointer; padding-top: .1rem; }
.field--check .field__error { grid-column: 2; }
.register__submit { width: 100%; margin-top: .5rem; }
@media (min-width: 560px) { .register__submit { width: auto; justify-self: start; } }

.register__next { margin: 0 0 2rem; padding-left: 1.25rem; display: grid; gap: .5rem; }
.register__next li::marker { color: var(--magenta-ink); font-weight: 800; }

.register__panel { justify-content: flex-start; padding-top: 0; }
.register__panel > picture {
  position: relative; inset: auto; z-index: 0; height: 200px; max-width: none;
  width: calc(100% + 2 * clamp(1.5rem, 1rem + 3vw, 3.5rem));
  margin: 0 calc(-1 * clamp(1.5rem, 1rem + 3vw, 3.5rem)) 1.75rem;
}
.register__panel > picture img { position: static; width: 100%; height: 200px; object-fit: cover; }
.register__panel::after { display: none; }
.register__steps { list-style: none; margin: .25rem 0 1.75rem; padding: 0; display: grid; gap: .9rem; counter-reset: rs; }
.register__steps li { counter-increment: rs; display: grid; grid-template-columns: 2rem 1fr; gap: .1rem .6rem; color: #D9D1E0; }
.register__steps li::before {
  content: counter(rs); grid-row: span 2; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--magenta); color: #fff; font: 800 .9375rem/1 var(--font-body);
}
.register__steps strong { color: #fff; }
.register__panel .login__perks { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); }

/* ==========================================================================
   Homepage hero with novelty carousel — app/components/hero-carousel.php
   ========================================================================== */
.hero--carousel {
  min-height: 0; align-items: center;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(236,0,140,.30) 0%, rgba(236,0,140,0) 70%),
    radial-gradient(45% 60% at 10% 100%, rgba(31,95,191,.35) 0%, rgba(31,95,191,0) 70%),
    var(--liquorice);
}
.hero--carousel::after { display: none; }
/* Candy photo behind the carousel hero, tinted navy so white text stays readable (≥ 7:1 on the text side) */
.hero--carousel.has-bg { background: var(--liquorice); }
.hero--carousel.has-bg .hero__media img { filter: saturate(1.1); }
.hero--carousel.has-bg::after {
  display: block;
  background:
    radial-gradient(55% 70% at 85% 35%, rgba(236,0,140,.28) 0%, rgba(236,0,140,0) 70%),
    linear-gradient(90deg, rgba(11,18,71,.93) 0%, rgba(11,18,71,.86) 40%, rgba(11,18,71,.55) 75%, rgba(11,18,71,.45) 100%);
}
@media (max-width: 1023px) {
  .hero--carousel.has-bg::after {
    background: linear-gradient(180deg, rgba(11,18,71,.9) 0%, rgba(11,18,71,.86) 55%, rgba(11,18,71,.6) 100%);
  }
}
.hero-c {
  display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); align-items: center;
  padding-block: calc(var(--header-h) + clamp(1.5rem, 1rem + 3vw, 4rem)) clamp(2.5rem, 2rem + 3vw, 5rem);
}
.hero-c .hero__content { padding: 0; }
.hero-c h1 { font-size: clamp(2.35rem, 1.3rem + 3.3vw, 4.75rem); max-width: 13ch; hyphens: manual; }
.hero-c .hero__facts { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); gap: .5rem 1.75rem; }
@media (min-width: 1024px) {
  .hero-c { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(88svh, 900px); }
}
@media (min-width: 1280px) { .hero-c { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

.carousel { position: relative; min-width: 0; }
.carousel__track {
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-panel);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel__card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--r-panel); overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.65);
}
.carousel__img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--sugar); overflow: hidden; }
.carousel__img picture, .carousel__img img { width: 100%; height: 100%; object-fit: cover; }
.carousel__img img { transition: transform .9s var(--ease); }
.carousel__card:hover .carousel__img img { transform: scale(1.04); }
.carousel__kicker {
  position: absolute; left: 1rem; top: 1rem;
  background: var(--tag); color: #1B1420; font: 800 .75rem/1 var(--font-body);
  letter-spacing: .05em; text-transform: uppercase; padding: .4rem .55rem; border-radius: 3px;
}
.carousel__body { display: grid; gap: .45rem; padding: clamp(1.1rem, 1rem + .8vw, 1.75rem); border-top: 6px solid var(--beam); }
.carousel__name { font: 800 clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem)/1 var(--font-display); letter-spacing: -.02em; font-variation-settings: "wdth" 85; }
.carousel__text { color: var(--ink-muted); font-size: 1rem; line-height: 1.5; max-width: 46ch; }
.carousel__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem; font-weight: 700; color: var(--magenta-ink); }
.carousel__go .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.carousel__card:hover .carousel__go .icon { transform: translateX(3px); }
.carousel__card:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.carousel__controls { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.carousel__controls[hidden] { display: none; }
.carousel__dots { display: flex; gap: .15rem; margin-right: auto; padding-left: .25rem; }
.carousel__dot {
  width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
.carousel__dot::before {
  content: ""; width: 10px; height: 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.4);
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.carousel__dot:hover::before { background: rgba(255,255,255,.75); }
.carousel__dot[aria-current="true"]::before { width: 24px; background: var(--magenta); }
.carousel__dot[aria-current="true"] { width: 38px; }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.carousel__btn:hover { background: #fff; border-color: #fff; color: var(--liquorice); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__pause svg { width: 13px; height: 13px; }
.carousel__pause svg[hidden] { display: none; }
.carousel__prev-icon { transform: scaleX(-1); }
.carousel__pause { order: -1; }

/* No JS: show a sliver of the next slide so it's clear the row scrolls */
.carousel:not(.is-ready) .carousel__slide { flex-basis: 88%; }

/* ==========================================================================
   Brands — app/pages/brands.php
   Each spotlight takes its mood from the brand's own site, using our type and components.
   ========================================================================== */
.brands-intro__more { max-width: 56ch; margin-top: 1.5rem; font-size: 1.0625rem; }
.spot-anchor { scroll-margin-top: var(--header-h-compact); }

.spot { padding-block: clamp(4rem, 3rem + 4vw, 7rem); position: relative; overflow: hidden; isolation: isolate; }
.spot__grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: center; }
@media (min-width: 960px) {
  .spot__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .spot__grid--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}
.spot__tile { width: 100%; max-width: 520px; height: auto; border-radius: var(--r-panel); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.spot__badge {
  display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1.1rem;
  padding: .45rem .8rem; border-radius: var(--r-pill); font: 800 .875rem/1 var(--font-body);
}
.spot__badge .icon { width: 1rem; height: 1rem; }
.spot__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); margin-bottom: .4em; }
.spot__lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 46ch; }
.spot__note { font-weight: 600; margin: 0 0 1.75rem; }

/* Bubs: sunny yellow, punchy uppercase, playful rounded cards */
.spot--bubs { background: #FFD200; color: #1B1420; }
.spot--bubs::before { /* soft candy dots */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(circle at 12% 18%, #FF8FC4 0 70px, transparent 71px),
              radial-gradient(circle at 92% 85%, #7FD6E8 0 110px, transparent 111px),
              radial-gradient(circle at 70% 8%, #FFF3A6 0 50px, transparent 51px);
}
.spot--bubs .spot__badge { background: #E30613; color: #fff; }
.spot--bubs .spot__title { text-transform: uppercase; letter-spacing: -.01em; color: #E30613; }
.spot--bubs .spot__tile { transform: rotate(-2.5deg); }
.bubs-cards { list-style: none; margin: 1.75rem 0 1.5rem; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 560px) { .bubs-cards { grid-template-columns: 1fr 1fr; } }
.bubs-card { background: #fff; border-radius: 22px; padding: 1.25rem 1.35rem; box-shadow: 0 14px 30px -18px rgba(120,80,0,.6); }
.bubs-card h3 { text-transform: uppercase; font-size: 1.35rem; margin: 0 0 .35rem; letter-spacing: 0; }
.bubs-card--0 h3 { color: #E3007A; }
.bubs-card--1 h3 { color: #00809B; }
.bubs-card p { margin: 0; font-size: 1rem; color: #3D3445; }
.spot--bubs .btn { --btn-bg: #E30613; --btn-bd: #E30613; }
.spot--bubs .btn:hover { --btn-bg: #B5000E; --btn-bd: #B5000E; }

/* KitKat Ball Machine: clean red/white product sheet */
.spot--kitkat { background: #fff; border-top: 10px solid #D6001C; }
.spot--kitkat .spot__badge { background: #FDE8EA; color: #B00017; }
.spot--kitkat .spot__title { color: #D6001C; }
.spot--kitkat .spot__lead { color: var(--ink); }
.kk-checks { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .8rem; }
.kk-checks li { display: flex; gap: .7rem; align-items: flex-start; }
.kk-checks .icon { flex: none; width: 1.5rem; height: 1.5rem; padding: .2rem; border-radius: 50%; background: #D6001C; color: #fff; margin-top: .1rem; }
.kk-btn { --btn-bg: #D6001C; --btn-bd: #D6001C; }
.kk-btn:hover { --btn-bg: #A80016; --btn-bd: #A80016; }
.kk-sheet { margin: 0; background: #F6F3F1; border-radius: var(--r-panel); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.kk-cups { width: 100%; height: auto; margin-bottom: 1.25rem; }
.kk-cups__size { font: 800 22px/1 var(--font-display); fill: #1B1420; }
.kk-cups__g { font: 600 15px/1 var(--font-body); fill: #5D5366; }
.kk-sheet h3 { font: 800 1.15rem/1.2 var(--font-body); letter-spacing: 0; font-variation-settings: normal; margin: 0 0 .5rem; }
.kk-info { margin: 0; }
.kk-info div { display: grid; grid-template-columns: minmax(0, 8.5rem) 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid #E2DAD5; }
.kk-info dt { font-weight: 700; font-size: .9375rem; }
.kk-info dd { margin: 0; color: var(--ink-muted); font-size: .9688rem; }

/* Dr. Sour: bold sour green with purple, a challenge in every line */
.spot--sour { background: linear-gradient(135deg, #0B6B34 0%, #157A3B 55%, #2F7D26 100%); color: #fff; } /* every stop ≥ 5:1 with white */
.spot--sour::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.6px); background-size: 22px 22px;
}
.spot--sour .spot__badge { background: #5B1B78; color: #fff; }
.spot--sour .spot__title { color: #fff; text-shadow: 3px 3px 0 #5B1B78; }
.spot--sour .spot__lead { color: #F1FBEA; }
.spot--sour .spot__tile { transform: rotate(2deg); }
.sour-dare {
  display: inline-block; margin: .5rem 0 1.75rem; padding: .6rem 1rem; transform: rotate(-1.5deg);
  background: #FFE600; color: #1B1420; font: 800 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.2 var(--font-display);
  font-variation-settings: "wdth" 85; border-radius: 6px;
}
.sour-family { margin-bottom: 2rem; }
.sour-family h3 { color: #fff; font: 800 1rem/1.2 var(--font-body); letter-spacing: 0; font-variation-settings: normal; margin-bottom: .6rem; }
.sour-family ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sour-family li { padding: .45rem .9rem; border-radius: var(--r-pill); border: 2px solid rgba(255,255,255,.65); font-weight: 700; }
.sour-btn { --btn-bg: #5B1B78; --btn-bd: #5B1B78; }
.sour-btn:hover { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: #5B1B78; }
.spot--sour :focus-visible, .spot--bubs :focus-visible { outline-color: #1B1420; }

/* Full brand wall */
.brand-wall--page { gap: .6rem; }
.brand-wall--page li { background: #fff; }
.brand-wall--page li.has-logo { display: grid; place-items: center; min-width: 120px; min-height: 64px; }
.brand-wall--page img { height: 42px; width: auto; }
.brands-all__note { margin: 0; }

/* Sküm (exclusive): the candy's own two-tone pastels, soft and round */
.spot--skum { background: linear-gradient(135deg, #FFE3EF 0%, #FFF6CC 50%, #D9F4F7 100%); color: #1B1420; }
.spot--skum::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background: radial-gradient(circle at 8% 85%, #9BE3D2 0 90px, transparent 91px),
              radial-gradient(circle at 96% 10%, #FFB3D1 0 120px, transparent 121px);
}
.spot--skum .spot__badge { background: #1B1420; color: #FFE600; }
.spot--skum .spot__title { color: #C2006F; }
.skum-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 30px 60px -30px rgba(80,40,60,.55); transform: rotate(1.5deg); }
.skum-photo picture, .skum-photo img { width: 100%; height: 100%; object-fit: cover; }
.skum-points { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .55rem; }
@media (min-width: 560px) { .skum-points { grid-template-columns: 1fr 1fr; } }
.skum-points li { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.skum-points li::before { content: ""; flex: none; width: 22px; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #FF8FC4 50%, #7FD6E8 50%); }
.skum-points li:nth-child(2)::before { background: linear-gradient(90deg, #FF8FC4 50%, #FFE066 50%); }
.skum-points li:nth-child(3)::before { background: linear-gradient(90deg, #9BE3D2 50%, #FF8FC4 50%); }
.skum-points li:nth-child(4)::before { background: linear-gradient(90deg, #8B6B5C 50%, #C9B3A6 50%); }
.skum-btn { --btn-bg: #C2006F; --btn-bd: #C2006F; }

/* More brands: cards tinted in each brand's logo colour */
.brand-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .brand-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .brand-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.brand-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(27,20,32,.5); }
.brand-card__head { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--brand); overflow: hidden; }
.brand-card__head::after { /* soft sheen so flat colours feel like packaging */
  content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.28), rgba(255,255,255,0) 60%); pointer-events: none;
}
.brand-card__head--tile img { width: 100%; height: 100%; object-fit: cover; }
.brand-card__logo { display: grid; place-items: center; background: #fff; border-radius: 18px; padding: .5rem .9rem; box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); }
.brand-card__logo img { width: 132px; height: auto; }
.brand-card__word {
  font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/.95 var(--font-display); font-variation-settings: "wdth" 80; letter-spacing: -.01em;
  color: var(--brand-ink); text-align: center; transform: rotate(-4deg); text-shadow: 3px 3px 0 rgba(0,0,0,.18);
}
.brand-card__body { display: flex; flex-direction: column; gap: .35rem; padding: 1.15rem 1.2rem 1.3rem; flex: 1; border-top: 5px solid var(--brand); }
.brand-card__origin { margin: 0; font-size: .8125rem; font-weight: 700; color: var(--ink-muted); }
.brand-card h3 { font-size: 1.4rem; margin: 0; }
.brand-card__body > p:not(.brand-card__origin) { margin: 0 0 .5rem; font-size: .9688rem; color: var(--ink-muted); }
.brand-card__tags { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.brand-card__tags li { font-size: .75rem; font-weight: 700; padding: .3rem .55rem; border-radius: var(--r-pill); background: var(--sugar); color: var(--ink); }

.brand-card--ask { background: var(--liquorice); border-color: var(--liquorice); color: #fff; justify-content: center; }
.brand-card--ask .brand-card__body { border-top: 0; justify-content: center; padding: 2rem 1.6rem; flex: 0; }
.brand-card--ask h3 { color: #fff; font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem); }
.brand-card--ask .brand-card__body > p { color: #D9D1E0; margin-bottom: 1.25rem; }
.brand-card--ask .btn { align-self: flex-start; }

/* ==========================================================================
   Warehouse page (/about-sweet-and-candy/warehouse/)
   ========================================================================== */
.points--dark li { border-color: rgba(255,255,255,.16) !important; }
.points--dark p { color: #C9BFCE; }
.points--dark h3 { color: #fff; }

.reach { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 1024px) { .reach { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.reach__lead { color: #E6DDEA; max-width: 44ch; }
.reach__visual { margin: 0; display: grid; gap: 1rem; justify-items: center; }
.reach__caption { font-size: .9375rem; color: #BFB4C6; text-align: center; max-width: 40ch; }

/* Reach diagram: Deventer in the middle, rings outward; ring labels look like rack location tags */
.reach-map { width: min(100%, 520px); height: auto; overflow: visible; }
.reach-map text { font-family: var(--font-body); }
.reach-map__ring { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.5; }
.reach-map__ring--1 { fill: rgba(31,95,191,.28); stroke: var(--upright); stroke-width: 2; }
.reach-map__ring--2 { fill: rgba(31,95,191,.12); stroke-dasharray: 2 6; stroke-linecap: round; }
.reach-map__ring--3 { stroke-dasharray: 2 6; stroke-linecap: round; stroke: rgba(255,255,255,.16); }
.reach-map__route { stroke: var(--beam); stroke-width: 3; stroke-dasharray: 6 6; stroke-linecap: round; }
.reach-map__city { fill: var(--liquorice); stroke: var(--beam); stroke-width: 3; }
.reach-map__city-label { fill: #fff; font-size: 21px; font-weight: 800; }
.reach-map__time { fill: var(--beam); font-size: 18px; font-weight: 700; }
.reach-map__tag rect { fill: var(--tag); }
.reach-map__tag text { fill: var(--liquorice); font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.reach-map__tag--2 rect { fill: #fff; }
.reach-map__tag--3 rect { fill: var(--magenta); }
.reach-map__tag--3 text { fill: #fff; }
.reach-map__home { fill: var(--magenta); stroke: #fff; stroke-width: 3; }
.reach-map__pulse { fill: var(--magenta); opacity: .25; transform-origin: 260px 260px; }
.reach-map__home-label { fill: #fff; font: 800 26px/1 var(--font-display); letter-spacing: -.01em; }
@media (prefers-reduced-motion: no-preference) {
  .reach-map__pulse { animation: reach-pulse 2.4s var(--ease) infinite; }
  @keyframes reach-pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.4); opacity: 0; } }
}

.wh-docks { aspect-ratio: 14 / 5; }

/* ==========================================================================
   Our story (/about-sweet-and-candy/)
   ========================================================================== */
.pillars { display: grid; gap: clamp(.75rem, .5rem + 1vw, 1.25rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillars .cat-card { min-height: clamp(300px, 22rem, 380px); }
.pillars .cat-card h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }
.more-links { display: grid; gap: 1rem; margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (min-width: 760px) { .more-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.more-links .trend { min-height: clamp(260px, 18rem + 4vw, 380px); }

/* ==========================================================================
   Trends & new (/trends-and-new/)
   ========================================================================== */
/* Ahead of the hype: story + demand curve */
.hype { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 1024px) { .hype { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; } }
.hype__more { margin: 1.5rem 0 0; max-width: 52ch; }
.hype__visual { margin: 0; background: var(--sugar); border-radius: var(--r-panel); padding: clamp(1rem, .6rem + 1.5vw, 2rem); }
.hype__caption { margin-top: .75rem; font-size: .9375rem; color: var(--ink-muted); text-align: center; }
.hype-curve { display: block; width: 100%; height: auto; overflow: visible; }
.hype-curve text { font-family: var(--font-body); }
.hype-curve__window { fill: rgba(236,0,140,.08); stroke: var(--magenta); stroke-width: 1.5; stroke-dasharray: 4 5; }
.hype-curve__window-label { fill: var(--magenta-ink); font-size: 15px; font-weight: 800; }
.hype-curve__axis { fill: none; stroke: var(--ink); stroke-width: 2; }
.hype-curve__axis-label { fill: var(--ink-muted); font-size: 14px; font-weight: 700; }
.hype-curve__line { fill: none; stroke: var(--liquorice); stroke-width: 4; stroke-linecap: round; }
.hype-curve__stem { stroke: var(--ink-muted); stroke-width: 1.5; stroke-dasharray: 2 4; }
.hype-curve__dot { fill: #fff; stroke: var(--liquorice); stroke-width: 3; }
.hype-curve__dot--stock { fill: var(--magenta); stroke: var(--magenta); }
.hype-curve__num { fill: var(--liquorice); font-size: 13px; font-weight: 800; }
.hype-curve__dot--stock + .hype-curve__num { fill: #fff; }
.hype-curve__label { fill: var(--ink); font-size: 15px; font-weight: 700; }
.hype-curve__label--stock { fill: var(--magenta-ink); font-weight: 800; }
.hype-curve__peak { fill: var(--beam); }
.hype-curve__peak-label { fill: var(--ink-muted); font-size: 13px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .hype-curve__line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: hype-draw 1.8s var(--ease) .3s forwards; }
  @keyframes hype-draw { to { stroke-dashoffset: 0; } }
}
@media (min-width: 1000px) { .hype-steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.hype-steps { margin-bottom: 0; }

/* Filter chips */
.trend-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; }
.trend-filter[hidden] { display: none; }
.chip {
  font: 700 .9375rem/1 var(--font-body); min-height: 42px; padding: .6rem 1.1rem; border-radius: var(--r-pill);
  border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--magenta); }
.chip[aria-pressed="true"] { background: var(--liquorice); border-color: var(--liquorice); color: #fff; }

/* Trend cards */
.tcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.tcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tcard[hidden] { display: none; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(27,20,32,.5); }
.tcard__media { position: relative; aspect-ratio: 826 / 490; background: var(--liquorice); overflow: hidden; }
.tcard__media picture, .tcard__media img, .tcard__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tcard__media img { transition: transform .7s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.04); }
.tcard__media--pack { background: #fff; }
.tcard__media--pack img { object-fit: contain; padding: .5rem; }
.tcard__badge { position: absolute; top: .8rem; left: .8rem; background: var(--magenta); color: #fff; font: 800 .8125rem/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; padding: .45rem .7rem; border-radius: var(--r-pill); }
.tcard__body { display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem 1.25rem 1.35rem; flex: 1; }
.tcard__brand { margin: 0; font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta-ink); }
.tcard h3 { font-size: 1.35rem; margin: 0; }
.tcard__body > p:not(.tcard__brand) { margin: 0 0 .4rem; font-size: .9688rem; color: var(--ink-muted); }
.tcard__tags { list-style: none; margin: auto 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tcard__tags li { font-size: .75rem; font-weight: 700; padding: .3rem .6rem; border-radius: var(--r-pill); background: var(--sugar); }
.tcard__link { align-self: flex-start; }
.tcards-foot { margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }

/* Sour challenge spotlight */
.sour { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 1024px) { .sour { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.sour__photo { margin: 0; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 826 / 490; transform: rotate(-1.5deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); outline: 6px solid #9BE000; outline-offset: -6px; }
.sour__photo img { width: 100%; height: 100%; object-fit: cover; }
.sour__eyebrow { display: inline-block; margin: 0 0 1rem; background: var(--tag); color: var(--liquorice); font-weight: 800; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 3px; }
.sour__lead { color: #E6DDEA; max-width: 46ch; }

/* =========================================================================
   Pick 'n Mix category page — app/pages/category-bulk.php
   ========================================================================= */
.pm-intro h2 { margin-bottom: 1.25rem; max-width: 22ch; }
.pm-intro .proposition__lead { margin-bottom: 1.5rem; }
.pm-intro__text { color: var(--ink-muted); max-width: 58ch; margin: 0 0 1rem; }

/* Product slider: native scroll-snap row; JS only adds arrows + progress */
.pslider { position: relative; }
.pslider__track {
  list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: .25rem var(--gutter) 1.25rem;
  display: grid; grid-auto-flow: column; gap: clamp(.75rem, .5rem + 1vw, 1.5rem);
  grid-auto-columns: calc((100% - 1 * var(--gutter)) / 1.6);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.pslider__track::-webkit-scrollbar { display: none; }
.pslider__track:focus-visible { outline: 3px solid var(--magenta-ink); outline-offset: 4px; border-radius: var(--r-tile); }
@media (min-width: 640px)  { .pslider__track { grid-auto-columns: calc((100% - 2 * var(--gutter)) / 2.6); } }
@media (min-width: 960px)  { .pslider__track { grid-auto-columns: calc((100% - 3 * 1.5rem) / 4); } }
@media (min-width: 1400px) { .pslider__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.pslider__item { scroll-snap-align: start; min-width: 0; }

.pcard { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--r-tile); overflow: hidden; box-shadow: 0 1px 0 var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-tile); }
.pcard__img { position: relative; aspect-ratio: 1; background: var(--white); display: grid; place-items: center; padding: 8%; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__img--empty { background: var(--magenta-soft); }
.pcard__img--empty span { font: 800 2rem/1 var(--font-display); color: var(--magenta); opacity: .45; }
.pcard__name {
  flex: 1; padding: 1rem 1.1rem 1.15rem; border-top: 4px solid var(--magenta);
  font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--ink);
  overflow-wrap: anywhere; hyphens: auto;
}
.pslider__item:nth-child(3n+2) .pcard__name { border-top-color: var(--beam); }
.pslider__item:nth-child(3n)   .pcard__name { border-top-color: var(--upright); }

.pslider__controls { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; }
.pslider__controls[hidden] { display: none; }
.pslider__progress { flex: 1; height: 4px; margin-right: 1rem; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.pslider__progress span { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--magenta);
  transform-origin: left; transition: margin-left .15s linear; }
.pslider__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.pslider__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.pslider__btn:focus-visible { outline: 3px solid var(--magenta-ink); outline-offset: 3px; }
.pslider__btn:disabled { opacity: .3; cursor: default; }
.pslider__btn svg { width: 20px; height: 20px; }
.pslider__prev-icon { transform: scaleX(-1); }
.pslider__note { margin: 1.5rem 0 0; font-size: var(--fs-small); }
@media (prefers-reduced-motion: reduce) {
  .pcard, .pcard__img img, .pslider__progress span { transition: none; }
  .pcard:hover { transform: none; }
}

/* Company information page */
@media (min-width: 1100px) { .why--2 { grid-template-columns: repeat(2, 1fr); } }
.why .h3 { font-size: 1.35rem; margin: 0 0 .5rem; }
.doc-links { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .5rem; }
.why--2 p { color: var(--ink-muted); margin: 0 0 1rem; max-width: 52ch; }

/* Legal text pages (cookie statement) */
.legal-text { max-width: 760px; }
.legal-text h2 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.9rem); margin: 2.5rem 0 .75rem; }
.legal-text p, .legal-text li { color: var(--ink-muted); line-height: 1.65; }
.legal-text p { margin: 0 0 1rem; max-width: 68ch; }
.legal-text a:not(.btn):not(.text-link) { color: var(--magenta-ink); }
.legal-text__updated { font-size: .95rem; margin-bottom: 1.5rem; }
.legal-summary { background: var(--sugar); border-left: 6px solid var(--magenta); border-radius: var(--r-tile, 12px); padding: clamp(1.1rem, 1rem + 1vw, 1.75rem); }
.legal-summary h2 { margin-top: 0; }
.legal-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.legal-summary li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); margin: 0; }
.legal-summary .icon { flex: none; width: 1.25em; height: 1.25em; margin-top: .2em; color: var(--magenta-ink); }
.legal-table { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line, #E3DEE8); border-radius: 10px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--line, #E3DEE8); }
.legal-table thead th { background: var(--sugar); font-weight: 700; }
.legal-table tr:last-child > * { border-bottom: 0; }
.legal-table td { color: var(--ink-muted); }
.legal-table code { font-size: .9em; background: var(--sugar); padding: .1rem .35rem; border-radius: 4px; }
.legal-choice { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding: 1rem 1.25rem; margin: 0 0 1.25rem; border: 1px solid var(--line, #E3DEE8); border-radius: 10px; }
.legal-choice p { margin: 0; }
.legal-text h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.legal-list { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal-list li { margin: .25rem 0; padding-left: .2rem; }
.legal-list li::marker { color: var(--magenta-ink); }
.legal-toc { margin: 2rem 0 0; padding: 1rem 1.25rem; border: 1px solid var(--line, #E3DEE7); border-radius: 10px; }
.legal-toc p { margin: 0 0 .5rem; color: var(--ink); }
.legal-toc ol { margin: 0; padding-left: 1.25rem; columns: 2 220px; column-gap: 2rem; }
.legal-toc li { margin: .2rem 0; break-inside: avoid; }
.legal-toc a { color: var(--magenta-ink); }
.legal-address { padding: 1rem 1.25rem; background: var(--sugar); border-radius: 10px; color: var(--ink) !important; }
.legal-text [id] { scroll-margin-top: calc(var(--header-h, 72px) + 1rem); }
.simple .legal-text h1 { max-width: 20ch; margin-bottom: 1rem; }
