/* ==========================================================================
   Praline — storefront styles
   Type system after chocolatsfavoris.com (condensed display / brush script /
   grotesque body, pill buttons), re-graded to a mild chocolate palette.
   ========================================================================== */

:root {
  /* Mild chocolate grading */
  --cream: #FFF7E8;      /* page */
  --butter: #F5E6CC;     /* alternate section */
  --latte: #E7CFAE;      /* tray, borders, quiet fills */
  --milk: #B98458;       /* milk chocolate, decorative only */
  --cocoa: #7B4B2A;      /* primary action */
  --cocoa-deep: #63391E; /* hover */
  --ganache: #3D2617;    /* text, dark bands */
  --bitter: #2B190F;     /* deepest */
  --pistachio: #93B79B;  /* vegan & conscious */
  --pistachio-bg: #DCE8DA;
  --rose: #E3A99A;       /* seasonal disruptor accent */
  --ok: #4F7A58;
  --warn: #9A4A1E;
  --muted: #6E5240;
  --gold: #D2B07A;       /* label accent */

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-script: "Caveat Brush", "Segoe Script", cursive;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Gilda Display", Georgia, serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 22px 40px -24px rgba(43, 25, 15, .45);

  /* Signature background: a praline-mould tray (small tile) layered over
     ganache ripples and oversized moulds (large tile). Sources live in
     assets/img/pattern-mould.svg and pattern-ripple.svg; inlined here because
     CSS masks can't load files over file://. */
  --pat-mould: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%22240%22 viewBox=%220 0 240 240%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2242%22 cy=%2242%22 r=%2217%22/%3E%3Cpath d=%22M30 37q6-4 12 0t12 0M30 43q6-4 12 0t12 0M30 49q6-4 12 0t12 0%22/%3E%3Crect x=%22104%22 y=%2222%22 width=%2232%22 height=%2232%22 rx=%227%22/%3E%3Cpath d=%22M110 38h20M120 28v20%22/%3E%3Cpath d=%22M200 66c-15-11-15-25-6-27 3-1 6 1 6 4 0-3 3-5 6-4 9 2 9 16-6 27Z%22/%3E%3Cpath d=%22M78 98c9 9 11 22 0 28-11-6-9-19 0-28Z%22/%3E%3Ccircle cx=%2278%22 cy=%22116%22 r=%222.2%22 fill=%22%23000%22 stroke=%22none%22/%3E%3Ccircle cx=%22168%22 cy=%22128%22 r=%2215%22/%3E%3Cellipse cx=%22168%22 cy=%22126%22 rx=%225.5%22 ry=%224%22/%3E%3Crect x=%2218%22 y=%22168%22 width=%2226%22 height=%2226%22 rx=%226%22 transform=%22rotate%2845 31 181%29%22/%3E%3Ccircle cx=%22126%22 cy=%22200%22 r=%2213%22/%3E%3Ccircle cx=%22126%22 cy=%22200%22 r=%227%22 stroke-dasharray=%222 3.5%22/%3E%3Cpath d=%22M210 176q8 4 16 0M206 184q10 5 20 0%22 /%3E%3Cg fill=%22%23000%22 stroke=%22none%22%3E%3Ccircle cx=%2296%22 cy=%2264%22 r=%221.6%22/%3E%3Ccircle cx=%22150%22 cy=%2284%22 r=%221.2%22/%3E%3Ccircle cx=%2220%22 cy=%22110%22 r=%221.4%22/%3E%3Ccircle cx=%22222%22 cy=%22120%22 r=%221.6%22/%3E%3Ccircle cx=%2262%22 cy=%22214%22 r=%221.3%22/%3E%3Ccircle cx=%22196%22 cy=%22226%22 r=%221.2%22/%3E%3Ccircle cx=%22114%22 cy=%22150%22 r=%221.1%22/%3E%3Ccircle cx=%22232%22 cy=%2216%22 r=%221.2%22/%3E%3Ccircle cx=%228%22 cy=%2262%22 r=%221%22/%3E%3C/g%3E%3Cpath d=%22M218 12c4 3 4 9 0 12M178 6c-2 4 0 8 4 9%22 opacity=%22.7%22/%3E%3C/svg%3E");
  --pat-ripple: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22600%22 height=%22600%22 viewBox=%220 0 600 600%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.3%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M0 140q75-34 150 0t150 0 150 0 150 0%22/%3E%3Cpath d=%22M0 152q75-34 150 0t150 0 150 0 150 0%22 opacity=%22.6%22/%3E%3Cpath d=%22M0 470q50 24 100 0t100 0 100 0 100 0 100 0 100 0%22/%3E%3Ccircle cx=%22452%22 cy=%22300%22 r=%2248%22/%3E%3Cpath d=%22M416 292q12-9 24 0t24 0 24 0M416 306q12-9 24 0t24 0 24 0%22 /%3E%3Crect x=%2296%22 y=%22262%22 width=%2276%22 height=%2276%22 rx=%2216%22/%3E%3Crect x=%22108%22 y=%22274%22 width=%2252%22 height=%2252%22 rx=%2210%22 stroke-dasharray=%223 5%22/%3E%3Cpath d=%22M300 40c-30-22-30-50-12-54 6-1 12 2 12 8 0-6 6-9 12-8 18 4 18 32-12 54Z%22 transform=%22translate%280 20%29%22/%3E%3Cpath d=%22M290 560c16 14 20 38 0 50%22 opacity=%220%22/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip;
  background: var(--cream); color: var(--ganache);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--latte); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ganache); color: var(--cream); padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.ico { width: 34px; height: 34px; color: var(--cocoa); flex: none; }
.ico-s { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: .35rem; }
.on-dark .ico { color: var(--latte); }

/* Grid children may hold scrollers (tabs, rails); let them shrink. */
.pdp > *, .plp-layout > *, .split > *, .quote-layout > *, .checkout > *, .hero-grid > *, .newsletter > *, .page-hero-grid > *, .plp-head-grid > *, .split-2 > *, .builder-grid > * { min-width: 0; }

/* ---------- Type ---------- */
.display, h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  line-height: .92; letter-spacing: .01em; margin: 0;
}
h1, .h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2, .h2 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); }
h3, .h3 { font-size: clamp(1.45rem, 2.3vw, 1.95rem); line-height: 1; }
.script {
  font-family: var(--f-script); font-weight: 400; text-transform: none;
  font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.1; color: var(--cocoa); margin: 0 0 .35em;
}
.on-dark .script { color: var(--latte); }
.quote-card .script { color: var(--cocoa); }
.lead { font-size: 1.125rem; max-width: 56ch; }
p { margin: 0 0 1em; max-width: 68ch; }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--latte); }
.small { font-size: .875rem; }
.center { text-align: center; }
.center p, p.center { margin-inline: auto; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--cocoa); background: var(--butter); border-radius: var(--pill); padding: .2rem .7rem; margin-bottom: .6rem; }
.placeholder-note { display: inline-block; font-size: .76rem; padding: .15rem .55rem; border-radius: 6px; background: var(--rose); color: var(--bitter); font-weight: 700; vertical-align: middle; font-family: var(--f-body); text-transform: none; letter-spacing: 0; line-height: 1.4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .7rem 1.5rem; border-radius: var(--pill); border: 2px solid var(--cocoa);
  background: transparent; color: var(--cocoa); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--cocoa); color: var(--cream); }
.btn-full { background: var(--cocoa); color: var(--cream); }
.btn-full:hover { background: var(--cocoa-deep); border-color: var(--cocoa-deep); }
.btn-lg { font-family: var(--f-display); text-transform: uppercase; font-weight: 800; font-size: 1.3rem; letter-spacing: .09em; padding: .85rem 2.4rem; }
.btn-light { border-color: var(--cream); color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--ganache); }
.btn-light.btn-full { background: var(--cream); color: var(--ganache); }
.btn-light.btn-full:hover { background: var(--butter); border-color: var(--butter); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { font-weight: 700; color: var(--cocoa); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link:hover { color: var(--ganache); }
.on-dark .link { color: var(--latte); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Ornaments ---------- */
.doodle { position: absolute; z-index: 0; pointer-events: none; display: block; }
.doodle svg { width: 100%; height: auto; }
.section, .hero, .page-hero, .plp-head, .band, .gift-strip { position: relative; }
.section > .wrap, .hero > .wrap, .page-hero > .wrap, .plp-head > .wrap { position: relative; z-index: 1; }
.stamp {
  position: absolute; z-index: 3; width: 118px; height: 118px; border-radius: 50%;
  background: var(--cocoa); color: var(--cream); display: grid; place-items: center; box-shadow: var(--shadow);
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp text { font-family: var(--f-display); font-weight: 800; font-size: 11.5px; letter-spacing: .14em; fill: currentColor; text-transform: uppercase; }
.stamp i { width: 34px; color: var(--latte); display: block; }
.stamp i svg { position: static; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .stamp { width: 92px; height: 92px; }
  .stamp[style*="right:"] { right: 6px !important; }
  .stamp[style*="left:"] { left: 6px !important; }
}
.grain { isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .48 0 0 0 0 .3 0 0 0 0 .16 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Signature pattern. Each host tints it for its own background. */
body, .hero, .section--butter, .section--ganache, .section--pistachio, .page-hero, .plp-head, .site-footer, .gift-strip, .marquee, .intent--corp { isolation: isolate; }
body { position: relative; --pat-color: #E6CDA8; --pat-op: .62; }
body::before, .hero::before, .section--butter::before, .section--ganache::before, .section--pistachio::before,
.page-hero::before, .plp-head::before, .site-footer::before, .gift-strip::before, .marquee::before, .intent--corp::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--pat-color); opacity: var(--pat-op);
  -webkit-mask: var(--pat-mould) 0 0 / var(--pat-size, 240px) repeat, var(--pat-ripple) 120px 60px / calc(var(--pat-size, 240px) * 2.5) repeat;
  mask: var(--pat-mould) 0 0 / var(--pat-size, 240px) repeat, var(--pat-ripple) 120px 60px / calc(var(--pat-size, 240px) * 2.5) repeat;
}
.hero, .section--butter, .page-hero--butter, .plp-head--butter { --pat-color: #DDBF95; --pat-op: .5; }
.hero { --pat-size: 300px; }
.section--pistachio, .page-hero--pistachio, .plp-head--pistachio { --pat-color: #A9C4AB; --pat-op: .55; }
.section--ganache, .page-hero--ganache, .plp-head--ganache, .gift-strip, .intent--corp { --pat-color: var(--latte); --pat-op: .085; }
.site-footer { --pat-color: var(--latte); --pat-op: .06; --pat-size: 200px; }
.marquee { --pat-color: var(--cream); --pat-op: .09; --pat-size: 160px; }
.page-hero, .plp-head { --pat-size: 280px; }
.site-footer > *, .marquee > * { position: relative; }
@media (max-width: 760px) { body, .hero, .page-hero, .plp-head { --pat-size: 190px; } }
@media print { body::before { display: none; } }

/* Photo frames */
.ph { position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph--arch img { border-radius: 999px 999px 22px 22px; aspect-ratio: 4 / 5; }
.ph--round img { border-radius: 24px; aspect-ratio: 4 / 3; }
.ph--circle img { border-radius: 50%; aspect-ratio: 1; }
.ph--offset { padding: 0 1.25rem 1.25rem 0; }
.ph--offset::before { content: ""; position: absolute; inset: 1.25rem 0 0 1.25rem; background: var(--latte); border-radius: 24px; }
.ph--offset > img { position: relative; border-radius: 24px; aspect-ratio: 4 / 3; }
.ph figcaption { font-family: var(--f-script); font-size: 1.15rem; color: var(--cocoa); margin-top: .5rem; }
.inset-tr { position: absolute; right: -10px; top: -28px; width: 150px; border: 6px solid var(--cream); border-radius: 50%; box-shadow: var(--shadow); z-index: 2; }

.wave { display: block; width: 100%; height: clamp(26px, 4vw, 54px); margin-block: -1px; position: relative; z-index: 1; }
.drip { display: block; width: 100%; height: 44px; margin-top: -1px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ganache); color: var(--cream); font-size: .85rem; }
.announce .wrap { display: flex; justify-content: center; gap: 2.5rem; padding-block: .5rem; flex-wrap: wrap; text-align: center; }
.announce a { color: var(--latte); }
@media (max-width: 760px) { .announce span:not(:first-child) { display: none; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 247, 232, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--latte); }
.header-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 78px; }
.logo { text-decoration: none; display: flex; align-items: center; gap: .55rem; line-height: .82; }
.logo-mark { width: auto; height: 58px; flex: none; filter: drop-shadow(0 2px 2px rgba(43, 25, 15, .25)); }
.logo-word { display: flex; flex-direction: column; }
.logo b { white-space: nowrap; font-family: var(--f-display); font-weight: 900; font-size: 2.3rem; letter-spacing: .06em; text-transform: uppercase; }
.logo i { font-family: var(--f-script); font-style: normal; font-size: 1.05rem; color: var(--cocoa); margin-left: .15rem; white-space: nowrap; }

.nav { display: flex; justify-content: center; }
.nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 0; }
.nav-item { position: static; }
.nav-link {
  display: block; padding: 1.75rem .7rem; border: 0; background: none; cursor: pointer; white-space: nowrap;
  text-transform: uppercase; letter-spacing: .03em; font-size: .86rem; font-weight: 500; text-decoration: none; position: relative;
}
.nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 1.2rem; height: 2px; background: var(--cocoa); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-current] { color: var(--cocoa); }
.nav-link:hover::after, .nav-item:focus-within > .nav-link::after, .nav-link[aria-current]::after { transform: scaleX(1); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; display: none;
  background: var(--cream); border-top: 1px solid var(--latte); border-bottom: 1px solid var(--latte);
  box-shadow: 0 30px 40px -30px rgba(43, 25, 15, .4);
  padding: 2rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  grid-template-columns: repeat(var(--cols), minmax(180px, 240px)) 1fr; gap: 2.5rem;
}
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.open .mega { display: grid; }
.mega h4 { margin: 0 0 .6rem; font-family: var(--f-script); font-weight: 400; font-size: 1.4rem; color: var(--cocoa); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: .32rem 0; text-decoration: none; }
.mega li a:hover { color: var(--cocoa); text-decoration: underline; text-underline-offset: 3px; }
/* Navigation sheet build notes: "Top-priority path", "Use disruptor accent", "Visible CTA" */
.nav-priority { font-weight: 700; }
.nav-accent { color: #B5523E; font-weight: 700; }
.nav-accent::before { content: "✦ "; }
.mega li a.nav-cta, .drawer li a.nav-cta { display: inline-block; margin-top: .35rem; padding: .35rem .9rem; border: 2px solid var(--cocoa); border-radius: var(--pill); color: var(--cocoa); font-weight: 700; box-shadow: 2px 2px 0 var(--ganache); }
.mega li a.nav-cta:hover { background: var(--cocoa); color: var(--cream); text-decoration: none; }
.mega-feature { justify-self: end; width: min(360px, 100%); position: relative; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--cream); }
.mega-feature img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1rem; background: linear-gradient(transparent, rgba(43, 25, 15, .8)); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; line-height: 1; }

.tools { display: flex; align-items: center; gap: .15rem; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--butter); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cocoa); color: var(--cream); font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-count:empty { display: none; }
/* EN | NL switch (header; mobile drawer on phones) */
.lang { display: flex; padding: 2px; margin-right: .4rem; border: 2px solid var(--cocoa); border-radius: var(--pill); }
.lang button { min-width: 34px; min-height: 30px; padding: 0 .55rem; border: 0; border-radius: var(--pill); background: none; color: var(--cocoa); font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .06em; cursor: pointer; }
.lang button:hover { background: var(--butter); }
.lang button[aria-pressed="true"] { background: var(--cocoa); color: var(--cream); }
.lang--drawer { width: max-content; margin: 0 auto .9rem; }
.lang--drawer button { min-height: 38px; padding: 0 1.1rem; }
/* Google Translate (NL): hide its banner, tooltip and hover highlight */
.skiptranslate iframe, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
/* Dutch nav labels run longer ("Relatiegeschenken"), so tighten the top nav */
.translated-ltr .nav-link { padding-inline: .42rem; font-size: .8rem; letter-spacing: .01em; }
.translated-ltr .nav-link::after { left: .42rem; right: .42rem; }
.menu-toggle { display: none; }
@media (max-width: 1240px) {
  .nav { display: none; }
  .menu-toggle { display: grid; grid-column: 1; grid-row: 1; }
  .header-row .logo { justify-self: center; grid-column: 2; }
  .tools { grid-column: 3; }
}
@media (max-width: 480px) {
  .hide-s { display: none; }
  .logo b { font-size: 1.8rem; }
  .logo i { font-size: .95rem; }
  .logo-mark { height: 46px; }
  .header-row { gap: .25rem; min-height: 64px; }
}

/* ---------- Drawers ---------- */
.scrim { position: fixed; inset: 0; background: rgba(43, 25, 15, .45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 70; width: min(440px, 100%); background: var(--cream); display: flex; flex-direction: column; transition: transform .35s var(--ease); overflow: hidden; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--latte); }
.drawer-head h2 { font-size: 2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.25rem; }
.drawer-foot { border-top: 1px solid var(--latte); padding: 1.25rem; background: var(--butter); }
.mobile-nav details { border-bottom: 1px solid var(--latte); }
.mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font-family: var(--f-body); font-weight: 400; }
.mobile-nav details[open] summary::after { content: "−"; }
.mobile-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.mobile-nav li a { display: block; padding: .45rem 0; text-decoration: none; }

/* Cart */
.ship-progress { background: var(--butter); border-radius: 12px; padding: .9rem 1rem; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--latte); }
.cart-line img { border-radius: 12px; object-fit: cover; aspect-ratio: 1; }
.cart-line h3 { font-family: var(--f-body); text-transform: none; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.cart-line .meta { font-size: .85rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--latte); border-radius: var(--pill); margin-top: .4rem; background: #FFFDF8; }
.qty button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover { background: var(--butter); }
.qty span, .qty input { min-width: 28px; text-align: center; font-weight: 700; border: 0; background: none; width: 36px; }
.remove { border: 0; background: none; font-size: .8rem; text-decoration: underline; cursor: pointer; color: var(--muted); padding: 0; margin-top: .4rem; }
.cart-empty { text-align: center; padding: 1.5rem 0; }
.cart-empty img { border-radius: 50%; margin: 0 auto 1rem; aspect-ratio: 1; object-fit: cover; }
.cart-empty .script { font-size: 2rem; }
.cart-extra { background: var(--butter); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.cart-extra h3 { font-family: var(--f-body); text-transform: none; font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.upsell { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; }
.upsell img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.progress { height: 6px; background: var(--latte); border-radius: 3px; overflow: hidden; margin: .5rem 0 0; }
.progress i { display: block; height: 100%; background: var(--cocoa); transition: width .4s var(--ease); }
.totals { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin-bottom: .25rem; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label, .label { font-weight: 700; font-size: .9rem; }
.field .hint { font-size: .8rem; color: var(--muted); }
.input { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--latte); border-radius: 12px; background: #FFFDF8; color: var(--ganache); transition: border-color .2s; }
.input:focus { border-color: var(--cocoa); outline: none; box-shadow: 0 0 0 3px rgba(123, 75, 42, .18); }
textarea.input { min-height: 96px; resize: vertical; }
.field.error .input, .field.error .dropzone { border-color: var(--warn); }
.field .err { color: var(--warn); font-size: .8rem; display: none; }
.field.error .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; padding: .3rem 0; font-weight: 400; }
.check input { accent-color: var(--cocoa); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.check-row { display: flex; flex-wrap: wrap; gap: .1rem 1.25rem; }
.dropzone { position: relative; border: 2px dashed var(--milk); border-radius: 14px; padding: 1.5rem; text-align: center; background: #FFFDF8; cursor: pointer; transition: background-color .2s; font-weight: 400; }
.dropzone.drag, .dropzone:hover { background: var(--butter); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dz-ico { display: block; width: 28px; margin: 0 auto .5rem; color: var(--cocoa); }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 220px; border-radius: var(--pill); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--butter { background: var(--butter); }
.section--cream { background: transparent; }
.section--ganache { background: var(--ganache); color: var(--cream); }
.section--pistachio { background: var(--pistachio-bg); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head .h2 { max-width: 16ch; }
.side-note { max-width: 38ch; margin: 0; }

/* ---------- Hero ---------- */
.hero { background: var(--butter); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.hero h1 { margin-bottom: 1.25rem; font-size: clamp(3.2rem, 8.2vw, 7.6rem); }
.hero h1 .script { display: block; font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: .25em; }
.hero .lead { margin-bottom: 1.75rem; }
.trust-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.trust-chips li { display: inline-flex; align-items: center; padding: .4rem .85rem; border-radius: var(--pill); background: var(--cream); font-size: .85rem; font-weight: 500; }
.trust-chips .ico-s { color: var(--cocoa); }
/* Hero image: a ballotin-shaped photo (wider at the top, like the folded
   paper box) and a cream label card with a serif name. */
.hero-art { position: relative; width: 100%; max-width: 520px; justify-self: end; filter: drop-shadow(0 30px 36px rgba(43, 25, 15, .35)); }
.hero-ballotin { margin: 0; clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); animation: hero-in 1s var(--ease) both; }
.hero-ballotin img { width: 100%; aspect-ratio: 11 / 13; object-fit: cover; display: block; transition: transform 1.4s var(--ease); }
.hero-art:hover .hero-ballotin img { transform: scale(1.03); }
.hero-label {
  position: absolute; left: -1.75rem; bottom: 9%; z-index: 2; display: flex; flex-direction: column; gap: .35rem;
  min-width: 56%; padding: 1.4rem 2.25rem 1.3rem; border-radius: 8px; border-left: 4px solid var(--gold);
  background: #FBF7EF; color: var(--ganache); text-decoration: none;
  animation: hero-in 1s .25s var(--ease) both; transition: transform .25s var(--ease);
}
.hero-label:hover { transform: translateY(-3px); }
.hero-label-name { font-family: var(--f-serif); font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.1; }
.hero-label-price { font-weight: 700; font-size: 1.02rem; color: var(--muted); }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 440px; justify-self: center; }
}

/* Trust strip */
.trust-strip { background: transparent; border-bottom: 1px solid var(--latte); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.25rem; }
.trust-strip .wrap > div { display: flex; gap: .75rem; align-items: center; }
.trust-strip .ico { width: 30px; height: 30px; }
.trust-strip b { display: block; font-size: .95rem; }
.trust-strip small { color: var(--muted); }
@media (max-width: 860px) { .trust-strip .wrap { grid-template-columns: 1fr 1fr; } }

/* Intent cards */
.intents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.intent { display: flex; flex-direction: column; border-radius: var(--radius); text-decoration: none; background: var(--butter); overflow: hidden; transition: transform .3s var(--ease); }
.intent:hover { transform: translateY(-4px); }
.intent-img { aspect-ratio: 4 / 3; overflow: hidden; }
.intent-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.intent:hover .intent-img img { transform: scale(1.05); }
.intent-copy { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.intent .h3 { font-size: 2rem; }
.intent p { margin: 0; font-size: .95rem; flex: 1; }
.intent .go { font-weight: 700; color: var(--cocoa); display: inline-flex; align-items: center; gap: .3rem; }
.intent .go svg { width: 18px; transition: transform .2s; }
.intent:hover .go svg { transform: translateX(4px); }
.intent--vegan { background: var(--pistachio-bg); }
.intent--corp { position: relative; background: var(--ganache); color: var(--cream); }
.intent--corp .go { color: var(--latte); }
@media (max-width: 980px) { .intents { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .intents { grid-template-columns: 1fr; } }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem 1.25rem; }
.grid--2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
.card { display: flex; flex-direction: column; position: relative; }
.card-media { position: relative; border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 1; background: var(--butter); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .35s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .alt { opacity: 0; }
.card:hover .card-media .alt { opacity: 1; }
.badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-wrap: wrap; gap: .35rem; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: var(--pill); font-size: .75rem; font-weight: 700; background: var(--cream); color: var(--ganache); }
.badge--vegan { background: var(--pistachio); color: var(--bitter); }
.badge--limited { background: var(--rose); color: var(--bitter); }
.badge--best { background: var(--ganache); color: var(--cream); }
.badge--quote { background: var(--cocoa); color: var(--cream); }
.card-body { padding-top: .9rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.card-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; text-decoration: none; }
.card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-meta { font-size: .85rem; color: var(--muted); }
.on-dark .card-meta { color: var(--latte); }
.card-price { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; margin-top: .15rem; }
/* The quick-add button sits over the bottom-right corner of the square image. */
.quick-add { position: absolute; right: .75rem; top: 0; margin-top: calc(100% - 58px); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--cocoa); color: var(--cream); display: grid; place-items: center; cursor: pointer; text-decoration: none; font-weight: 800; box-shadow: var(--shadow); transition: background-color .2s, transform .2s; }
.quick-add:hover { background: var(--cocoa-deep); transform: scale(1.06); }
.quick-add svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 1.5rem .75rem; }
  .card-title { font-size: .95rem; }
  .card-price { font-size: 1.25rem; }
  .card .badges .badge:nth-child(n+2) { display: none; }
  .quick-add { width: 38px; height: 38px; right: .5rem; margin-top: calc(100% - 46px); }
}

/* Rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--milk) transparent; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); } }
@media (max-width: 560px) { .rail { grid-auto-columns: 74%; } }
.rail-controls { display: flex; gap: .5rem; align-items: center; }
.rail-controls .icon-btn { border: 2px solid var(--cocoa); color: var(--cocoa); }
.rail-controls .icon-btn:hover { background: var(--cocoa); color: var(--cream); }
@media (max-width: 560px) { .rail-controls .icon-btn { display: none; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--cocoa); color: var(--cream); overflow: hidden; position: relative; }
.marquee-track { display: flex; width: max-content; animation: scroll 40s linear infinite; padding-block: .9rem; }
.marquee-track span { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; white-space: nowrap; padding-inline: 1.5rem; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: ""; width: .5em; height: .34em; border-radius: 50%; background: var(--latte); transform: rotate(-20deg); }
.marquee--slim { background: var(--ganache); }
.marquee--slim .marquee-track span { font-size: clamp(1.4rem, 3vw, 2rem); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Ladder ---------- */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: end; }
.step-card { position: relative; background: var(--cream); border-radius: var(--radius); padding: 1rem 1rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; text-decoration: none; border: 2px solid transparent; transition: border-color .2s, transform .3s var(--ease); }
.step-card:hover { border-color: var(--cocoa); transform: translateY(-4px); }
.step-card .ph img { aspect-ratio: 1; }
.step-card:nth-child(2) .ph img { aspect-ratio: 4 / 5; }
.step-card:nth-child(3) .ph img { aspect-ratio: 3 / 4.4; }
.step-card .h3 { font-size: 2.6rem; }
.step-card .row { display: flex; justify-content: space-between; align-items: baseline; }
.step-card .price { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; }
.step-card .badge { position: absolute; top: 1.6rem; left: 1.6rem; }
@media (max-width: 760px) { .ladder { grid-template-columns: 1fr; } .step-card:nth-child(n) .ph img { aspect-ratio: 16 / 10; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media { position: relative; }
.split .h2 { margin-bottom: 1rem; }
.split-copy > .btn, .split-copy > .hero-actions { margin-top: .5rem; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-2 .h2 { margin-bottom: 1rem; }
@media (max-width: 860px) { .split, .split-2 { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } .inset-tr { width: 110px; right: 4px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--cocoa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23FFF7E8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.on-dark .ticks li::before { background-color: var(--milk); }

/* Steps (true sequences only) */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.steps li { counter-increment: s; position: relative; padding-top: 1rem; border-top: 2px dashed var(--milk); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--milk); display: block; margin-bottom: .4rem; }
.steps h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.steps p { font-size: .95rem; margin: 0; }
.split-copy .steps { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .split-copy .steps { grid-template-columns: 1fr; } }

/* ---------- Flavour tiles ---------- */
.flavour-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem 1rem; }
.flavour-tile { text-decoration: none; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.ft-img { width: min(180px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--butter); margin-bottom: .5rem; transition: border-color .25s; }
.ft-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.flavour-tile:hover .ft-img { border-color: var(--milk); }
.flavour-tile:hover .ft-img img { transform: scale(1.08); }
.flavour-tile .h3 { font-size: 1.7rem; }
.flavour-tile small { color: var(--muted); }
@media (max-width: 1100px) { .flavour-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .flavour-tiles { grid-template-columns: 1fr 1fr; } }

/* Seasonal band */
.seasonal-band { position: relative; min-height: 460px; display: grid; align-items: center; overflow: hidden; color: var(--cream); }
.seasonal-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seasonal-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43, 25, 15, .88) 0%, rgba(43, 25, 15, .55) 45%, rgba(43, 25, 15, 0) 75%); z-index: 1; }
.seasonal-copy { position: relative; z-index: 2; padding-block: 4rem; }
.seasonal-copy > * { max-width: 460px; }
.seasonal-copy .script { color: var(--rose); }
.seasonal-copy .h2 { margin: .25rem 0 1rem; }

/* Delivery */
.delivery-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; align-items: stretch; }
.delivery-layout .ph img { height: 100%; aspect-ratio: auto; }
.delivery-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--latte); border: 1px solid var(--latte); border-radius: var(--radius); overflow: hidden; }
.delivery-panel > div { background: var(--cream); padding: 1.5rem; }
.delivery-panel .ico { margin-bottom: .75rem; }
.delivery-panel h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.delivery-panel p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .delivery-layout { grid-template-columns: 1fr; } .delivery-layout .ph img { aspect-ratio: 16 / 9; } }
@media (max-width: 520px) { .delivery-panel { grid-template-columns: 1fr; } }

/* Journal + mosaic */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.journal-card { text-decoration: none; display: flex; flex-direction: column; gap: .4rem; }
.journal-card .ph { margin-bottom: .75rem; overflow: hidden; border-radius: 24px; }
.journal-card .ph img { transition: transform .6s var(--ease); }
.journal-card:hover .ph img { transform: scale(1.04); }
.journal-card .tag { align-self: flex-start; background: var(--cream); }
.journal-card .h3 { margin-bottom: .25rem; }
@media (max-width: 860px) { .journal { grid-template-columns: 1fr; } }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 220px 220px; gap: 1rem; }
.mosaic figure { overflow: hidden; border-radius: 18px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic .m-0 { grid-row: span 2; }
.mosaic .m-3 { grid-row: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); } .mosaic .m-3 { grid-row: auto; } }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.newsletter .ph { max-width: 340px; justify-self: center; width: 100%; }
.newsletter form { margin-top: 1rem; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .newsletter .ph { max-width: 220px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bitter); color: var(--latte); padding-top: 3.5rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(231, 207, 174, .18); margin-bottom: 2.5rem; }
.foot-brand .logo b { color: var(--cream); }
.crest { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--gold); }
.crest img { height: 130px; width: auto; }
.crest span { font-family: var(--f-serif); font-size: 1.15rem; letter-spacing: .3em; text-transform: uppercase; padding-block: .35rem; border-block: 1px solid var(--gold); }
.foot-brand .logo i { color: var(--milk); }
.foot-brand p { margin-top: 1rem; font-size: .95rem; max-width: 46ch; }
.socials { display: flex; gap: .25rem; margin-left: -10px; }
.socials .icon-btn:hover { background: rgba(231, 207, 174, .12); }
.foot-news .script { color: var(--milk); }
.foot-news .input { background: transparent; border-color: rgba(231, 207, 174, .4); color: var(--cream); }
.foot-news .input::placeholder { color: rgba(231, 207, 174, .6); }
.foot-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; padding-bottom: 3rem; }
.foot-grid h4 { margin: 0 0 .75rem; font-family: var(--f-script); font-weight: 400; font-size: 1.4rem; color: var(--milk); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .95rem; }
.foot-word { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(5rem, 22vw, 20rem); line-height: .78; color: var(--ganache); text-align: center; letter-spacing: .04em; user-select: none; overflow: hidden; white-space: nowrap; margin-bottom: -.05em; }
.foot-base-wrap { background: var(--bitter); position: relative; }
.foot-base { border-top: 1px solid rgba(231, 207, 174, .2); padding-block: 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.foot-base select { background: transparent; border: 1px solid rgba(231, 207, 174, .4); border-radius: var(--pill); padding: .35rem .8rem; color: var(--cream); }
.foot-base select option { color: var(--ganache); }
.pay { display: flex; gap: .35rem; flex-wrap: wrap; }
.pay i { font-style: normal; font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border: 1px solid rgba(231, 207, 174, .35); border-radius: 6px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); overflow: hidden; }
.page-hero--butter { background: var(--butter); }
.page-hero--pistachio { background: var(--pistachio-bg); }
.page-hero--ganache { background: var(--ganache); color: var(--cream); }
.page-hero.compact { padding-bottom: 1.5rem; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero-grid.no-art { grid-template-columns: 1fr; }
.page-hero .h1 { max-width: 13ch; margin-bottom: 1.25rem; font-size: clamp(2.8rem, 7vw, 6rem); }
.page-hero-art { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.page-hero-art .ph img { box-shadow: var(--shadow); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-art { max-width: 320px; order: -1; } .page-hero-art .stamp { width: 96px; height: 96px; right: -6px !important; } }

/* ---------- Collection page ---------- */
.plp-head { padding-block: clamp(2rem, 5vw, 3.5rem) 0; overflow: hidden; }
.plp-head--butter { background: var(--butter); }
.plp-head--pistachio { background: var(--pistachio-bg); }
.plp-head--ganache { background: var(--ganache); color: var(--cream); }
.plp-head-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: end; }
.plp-art { max-width: 320px; justify-self: end; width: 100%; margin-bottom: -1rem; }
.plp-art img { aspect-ratio: 4 / 4.6 !important; }
.plp-meta { font-weight: 700; color: var(--cocoa); }
.on-dark .plp-meta { color: var(--latte); }
@media (max-width: 760px) { .plp-head-grid { grid-template-columns: 1fr; } .plp-art { display: none; } }
.crumbs { font-size: .85rem; margin-bottom: 1.25rem; display: flex; gap: .4rem; flex-wrap: wrap; color: var(--muted); }
.on-dark .crumbs { color: var(--latte); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding-block: 1.5rem; scrollbar-width: none; }
.chips--wrap { flex-wrap: wrap; padding-top: 0; }
.chip { flex: none; padding: .5rem 1.1rem; border-radius: var(--pill); border: 1.5px solid var(--cocoa); text-decoration: none; font-weight: 500; font-size: .9rem; background: transparent; cursor: pointer; color: var(--cocoa); }
.chip:hover { background: var(--cream); }
.chip[aria-current="page"] { background: var(--cocoa); color: var(--cream); }
.on-dark .chip { border-color: var(--latte); color: var(--latte); }
.plp-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2.5rem; padding-block: 2rem 4rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.toolbar-start { display: flex; gap: .75rem; align-items: center; }
.toolbar select { padding: .5rem 2rem .5rem 1rem; border-radius: var(--pill); border: 1.5px solid var(--latte); background: #FFFDF8; }
.filter-btn { display: none; }
.filters { position: sticky; top: 100px; }
.filters fieldset { border: 0; border-bottom: 1px solid var(--latte); margin: 0 0 1rem; padding: 0 0 1rem; }
.filters legend { font-family: var(--f-display); text-transform: uppercase; font-weight: 800; font-size: 1.35rem; padding: 0; margin-bottom: .5rem; }
.filters .count { color: var(--muted); font-size: .8rem; margin-left: auto; }
.filters .check { align-items: center; }
.filters .check span:first-of-type { flex: 1; }
.filters-note { background: var(--butter); border-radius: var(--radius); padding: 1.25rem; }
.active-filters { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.active-filters button { border: 0; background: var(--butter); border-radius: var(--pill); padding: .3rem .75rem; font-size: .85rem; cursor: pointer; }
.empty { padding: 3rem 1.5rem; text-align: center; background: var(--butter); border-radius: var(--radius); }
.gift-strip { display: flex; gap: 1rem 2rem; justify-content: space-between; align-items: center; flex-wrap: wrap; background: var(--ganache); color: var(--cream); border-radius: var(--radius); padding: 1.5rem 2rem; margin-top: 3rem; }
.gift-strip .script { color: var(--latte); }
.gift-strip .h3 { font-size: 2rem; }
.notice { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--butter); border-left: 6px solid var(--cocoa); }
.notice .h3 { margin-bottom: .5rem; }
.notice p { margin: 0; }
.season-note { display: flex; gap: .75rem; align-items: center; margin-top: 2rem; padding: 1rem 1.25rem; border-radius: 14px; background: #F8DED6; }
.season-note .ico { width: 26px; height: 26px; }
.col-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.col-card { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--cream); aspect-ratio: 4 / 3; display: block; }
.col-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.col-card:hover img { transform: scale(1.05); }
.col-card-copy { position: absolute; inset: auto 0 0 0; padding: 3rem 1.25rem 1.25rem; background: linear-gradient(transparent, rgba(43, 25, 15, .85)); display: flex; flex-direction: column; }
.col-card .script { color: var(--latte); font-size: 1.3rem; margin: 0; }
.col-card .h3 { font-size: 2rem; }
@media (max-width: 900px) { .plp-layout { grid-template-columns: 1fr; } .filter-btn { display: inline-flex; } .filters-desktop { display: none; } .col-cards { grid-template-columns: 1fr; } }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.tile { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; border: 1.5px solid var(--latte); }
.section--butter .tile { border-color: transparent; }
.section--ganache .tile { background: var(--bitter); border-color: rgba(231, 207, 174, .18); }
.tile .ico { margin-bottom: .9rem; }
.tile .h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.tile p { margin: 0; font-size: .95rem; }
.tile--pending { background: transparent; border-style: dashed; color: var(--muted); }

/* ---------- Corporate ---------- */
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.usecase { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--cream); }
.usecase img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.usecase:hover img { transform: scale(1.05); }
.usecase > span { position: absolute; inset: auto 0 0 0; padding: 4rem 1.25rem 1.25rem; background: linear-gradient(transparent, rgba(43, 25, 15, .88)); display: flex; flex-direction: column; gap: .4rem; }
.usecase .h3 { font-size: 2rem; }
.usecase small { font-size: .9rem; }
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.format { text-decoration: none; }
.format .ph { margin-bottom: 1rem; }
.format .h3 { margin-bottom: .4rem; }
.format:hover .h3 { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) { .usecases, .formats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .usecases { grid-template-columns: 1fr; } .usecase { aspect-ratio: 16 / 11; } }
.quote-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote-layout .ph { margin-top: 1.5rem; }
.quote-card { background: var(--cream); color: var(--ganache); border-radius: 26px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.section--butter .quote-card { box-shadow: none; }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } }
.success { display: none; text-align: center; padding: 2rem 0; }
.success.show { display: block; }
.success .h2 { margin-bottom: 1rem; }
.sample-card { background: var(--butter); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.sample-card img { width: 100%; height: 100%; object-fit: cover; }
.sample-card > div { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
@media (max-width: 520px) { .sample-card { grid-template-columns: 1fr; } .sample-card img { aspect-ratio: 16 / 10; } }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .8rem .75rem; border-bottom: 1px solid var(--latte); vertical-align: top; }
.table thead th { font-family: var(--f-display); text-transform: uppercase; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.table.spec th { width: 38%; font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq details { border-bottom: 1.5px solid var(--latte); }
.faq summary { padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--cocoa); border-bottom: 2px solid var(--cocoa); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding-bottom: 1.25rem; }
.faq-page { padding-block: 2rem 5rem; }
.faq-group { margin-bottom: 3rem; scroll-margin-top: 100px; }
.faq-group .h2 { margin-bottom: .5rem; font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Editorial ---------- */
.prose { font-size: 1.075rem; }
.prose .h3 { margin: 2.25rem 0 .75rem; }
.prose p { max-width: 66ch; }
.dropcap::first-letter { float: left; font-family: var(--f-display); font-weight: 900; font-size: 5.2rem; line-height: .8; padding: .35rem .6rem 0 0; color: var(--cocoa); }
.big-quote { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1; max-width: 22ch; margin-inline: auto; }
.pull { margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 6px solid var(--milk); background: var(--butter); border-radius: 0 16px 16px 0; font-family: var(--f-script); font-size: 1.6rem; line-height: 1.2; color: var(--cocoa); }
.inline-fig { margin: 2rem 0; }
.inline-fig img { aspect-ratio: 16 / 7; }
.ingredients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.ingredient .ph { width: min(190px, 100%); margin: 0 auto 1rem; border: 6px solid var(--butter); border-radius: 50%; }
.ingredient .h3 { margin-bottom: .4rem; }
.ingredient p { font-size: .95rem; margin-inline: auto; }
@media (max-width: 860px) { .ingredients { grid-template-columns: 1fr 1fr; } }
.article-head { padding-block: 3rem 2rem; }
.article-head .crumbs { justify-content: center; }
.article-hero img { aspect-ratio: 21 / 9; border-radius: 26px; }
.article-hero { margin-bottom: 2.5rem; }
.feature-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; text-decoration: none; }
.feature-post .h2 { margin-bottom: 1rem; }
.feature-post:hover .btn { background: var(--cocoa-deep); }
@media (max-width: 860px) { .feature-post { grid-template-columns: 1fr; } }
.policy { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; padding-block: 2.5rem 5rem; }
.policy-toc { position: sticky; top: 110px; align-self: start; }
.policy-toc ol { padding-left: 1.2rem; display: grid; gap: .4rem; }
.policy section { scroll-margin-top: 100px; }
@media (max-width: 760px) { .policy { grid-template-columns: 1fr; } .policy-toc { position: static; } }
.contact-cards { display: grid; gap: 1rem; }
.search-big { display: flex; gap: .5rem; max-width: 640px; margin-top: 1rem; }
.search-big .input { border-radius: var(--pill); }

/* Temperature scale */
.temp-scale { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius); overflow: hidden; }
.temp-scale > div { background: var(--c); padding: 1.75rem 1.5rem; color: var(--bitter); }
.temp-scale b { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.temp-scale > div:last-child { color: var(--cream); }
@media (max-width: 640px) { .temp-scale { grid-template-columns: 1fr; } }

/* Calendar */
.calendar { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cal-month { background: var(--butter); border-radius: var(--radius); padding: 1.5rem; }
.cal-month .h3 { margin-bottom: 1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; text-align: center; }
.cal-grid b { font-size: .75rem; color: var(--muted); padding-bottom: .25rem; }
.cal-grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-weight: 700; font-size: .9rem; position: relative; }
.cal-grid .d-ship { background: var(--cream); }
.cal-grid .d-off { background: repeating-linear-gradient(45deg, transparent 0 4px, rgba(123, 75, 42, .12) 4px 6px); color: var(--muted); }
.cal-grid .past { color: rgba(110, 82, 64, .45); }
.cal-grid .d-today { outline: 2px solid var(--cocoa); }
.cal-grid .d-cut::after { content: ""; position: absolute; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 2px var(--cream); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1.25rem; font-size: .9rem; }
.cal-legend i { display: inline-block; width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: .35rem; border: 1px solid var(--latte); }
.cal-legend .d-ship { background: var(--cream); }
.cal-legend .d-off { background: repeating-linear-gradient(45deg, transparent 0 3px, rgba(123, 75, 42, .25) 3px 5px); }
.cal-legend .d-cut { background: var(--rose); border-radius: 50%; }
.cal-legend .d-today { outline: 2px solid var(--cocoa); }
@media (max-width: 760px) { .calendar { grid-template-columns: 1fr; } }

/* Builder */
.builder-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2.5rem; align-items: start; }
.b-pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-top: 1rem; }
.b-piece { background: var(--butter); border-radius: var(--radius); padding: 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.b-piece svg { width: 76px; height: 76px; }
.b-piece b { font-size: .92rem; }
.b-box { position: sticky; top: 100px; background: var(--cream); border: 2px solid var(--latte); border-radius: 24px; padding: 1.25rem; }
.b-box .btn + .btn { margin-top: .5rem; }
.b-ballotin { position: relative; margin-bottom: 1rem; }
.b-fill { position: absolute; left: 16%; right: 16%; top: 8%; height: 28%; display: flex; flex-wrap: wrap-reverse; align-content: flex-start; justify-content: center; gap: 0; overflow: hidden; }
.b-fill span { width: 9%; }
@media (max-width: 860px) { .builder-grid { grid-template-columns: 1fr; } .b-box { position: static; order: -1; } }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); padding-block: 1.5rem 4rem; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; position: sticky; top: 100px; }
.thumbs { display: flex; flex-direction: column; gap: .6rem; }
.thumbs button { border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer; background: none; }
.thumbs img { aspect-ratio: 1; object-fit: cover; }
.thumbs button[aria-pressed="true"] { border-color: var(--cocoa); }
.stage { border-radius: 26px; overflow: hidden; aspect-ratio: 1; position: relative; background: var(--butter); }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage-flag { position: absolute; top: 1rem; left: 1rem; background: var(--rose); padding: .3rem .8rem; border-radius: var(--pill); font-weight: 700; font-size: .85rem; }
.pdp-info h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: .75rem; }
.pdp-info .badges { position: static; margin-bottom: 1rem; }
.pdp-price { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; display: flex; gap: 1rem; align-items: baseline; margin-bottom: .25rem; }
.pdp-price small { font-family: var(--f-body); font-weight: 500; font-size: .95rem; color: var(--muted); }
.spec-chips { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--latte); border-radius: 14px; overflow: hidden; }
.spec-chips li { padding: .75rem .9rem; border-right: 1.5px solid var(--latte); }
.spec-chips li:last-child { border-right: 0; }
.spec-chips b { display: block; font-size: .9rem; }
.spec-chips span { font-size: .78rem; color: var(--muted); }
.variant-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1.5rem; }
.variant-pills button { border: 1.5px solid var(--latte); background: #FFFDF8; border-radius: 14px; padding: .55rem 1.1rem; cursor: pointer; font-weight: 700; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.variant-pills button small { font-weight: 400; font-size: .8rem; color: var(--muted); }
.variant-pills button:hover { border-color: var(--cocoa); }
.variant-pills button[aria-pressed="true"] { border-color: var(--cocoa); background: var(--cocoa); color: var(--cream); }
.variant-pills button[aria-pressed="true"] small { color: var(--latte); }
.buy-row { display: flex; gap: .75rem; align-items: stretch; margin-bottom: 1rem; }
.buy-row .qty { margin: 0; }
.buy-row .qty button { width: 44px; height: 100%; min-height: 48px; }
.buy-row .btn { flex: 1; }
.allergen-note { display: flex; gap: .75rem; padding: .9rem 1rem; border-radius: 12px; background: var(--butter); font-size: .92rem; margin-bottom: 1rem; }
.allergen-note svg { flex: none; width: 22px; height: 22px; color: var(--cocoa); margin-top: 2px; }
.allergen-note p { margin: 0; }
.delivery-est { border: 1.5px solid var(--latte); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; display: grid; gap: .5rem; font-size: .92rem; }
.delivery-est > div { display: flex; gap: .6rem; align-items: flex-start; }
.delivery-est svg { width: 20px; height: 20px; flex: none; color: var(--cocoa); margin-top: 2px; }
.heat { color: var(--warn); }
.gift-toggle { border: 1.5px solid var(--latte); border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem; }
.gift-toggle textarea { margin-top: .75rem; }
.gift-toggle .counter { text-align: right; font-size: .8rem; color: var(--muted); }
.tabs { margin-top: 1rem; }
.tablist { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 2px solid var(--latte); scrollbar-width: none; }
.tablist button { flex: none; border: 0; background: none; padding: .9rem 1rem; cursor: pointer; font-weight: 700; border-bottom: 3px solid transparent; margin-bottom: -2px; color: var(--muted); }
.tablist button[aria-selected="true"] { color: var(--ganache); border-color: var(--cocoa); }
.tabpanel { padding: 1.5rem 0; }
.tabpanel dl { display: grid; grid-template-columns: 160px 1fr; gap: .6rem 1rem; margin: 0; }
.tabpanel dt { font-weight: 700; }
.tabpanel dd { margin: 0; }
.flavour-key { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.fk-item { background: var(--cream); border-radius: var(--radius); padding: 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.fk-item svg { width: 84px; height: 84px; margin-bottom: .25rem; }
.fk-item small { color: var(--muted); font-size: .8rem; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(255, 247, 232, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--latte); box-shadow: 0 -12px 30px -20px rgba(43, 25, 15, .5); }
.sticky-buy .wrap { display: flex; gap: .75rem; align-items: center; padding-block: .6rem; }
.sticky-buy img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.sticky-buy span { flex: 1; min-width: 0; }
.sticky-buy b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy small { color: var(--muted); }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumbs button { width: 72px; flex: none; }
}
@media (max-width: 520px) { .tabpanel dl { grid-template-columns: 1fr; } .tabpanel dd { margin-bottom: .5rem; } .spec-chips { grid-template-columns: 1fr; } .spec-chips li { border-right: 0; border-bottom: 1.5px solid var(--latte); } }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); padding-block: 2.5rem 5rem; align-items: start; }
.summary { background: var(--butter); border-radius: 24px; padding: 1.5rem; position: sticky; top: 100px; }
.summary .row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; align-items: center; }
.summary .row img { display: inline-block; vertical-align: middle; border-radius: 8px; margin-right: .5rem; aspect-ratio: 1; object-fit: cover; }
.summary .row.total { border-top: 1.5px solid var(--latte); margin-top: .5rem; padding-top: .9rem; font-weight: 700; font-size: 1.15rem; }
.checkout h2 { font-size: 2rem; margin: 2rem 0 1rem; }
.checkout h2:first-child { margin-top: 0; }
.ship-opt { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1.5px solid var(--latte); border-radius: 12px; margin-bottom: .5rem; cursor: pointer; }
.ship-opt:has(input:checked) { border-color: var(--cocoa); background: #FFFDF8; }
.ship-opt input { accent-color: var(--cocoa); }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 90; visibility: hidden;
  background: var(--ganache); color: var(--cream); padding: .85rem 1.25rem; border-radius: var(--pill);
  display: flex; gap: 1rem; align-items: center; box-shadow: 0 12px 30px -10px rgba(43, 25, 15, .5);
  transition: transform .35s var(--ease), visibility 0s .35s; width: max-content; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s var(--ease); }
.toast button { flex: none; background: none; border: 0; color: var(--latte); font-weight: 700; text-decoration: underline; cursor: pointer; }
/* The cart drawer already shows what was added */
body:has(.drawer.open) .toast.show { visibility: hidden; }

/* One newsletter form per page: skip the footer copy when the page has its own. */
body:has(.newsletter) .foot-news { display: none; }
body:has(.newsletter) .foot-top { grid-template-columns: 1fr; }

/* Footer link groups (details; collapsible on phones) */
.foot-col summary { list-style: none; cursor: default; }
.foot-col summary::-webkit-details-marker { display: none; }
body.has-sticky { padding-bottom: 68px; }

/* ==========================================================================
   Phones (≤ 640px). Long rows become swipe carousels, decoration steps back,
   and dense blocks get compact layouts.
   ========================================================================== */
@media (max-width: 640px) {
  :root { --radius: 14px; }
  h1, .h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  h2, .h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .lead { font-size: 1rem; }
  .script { font-size: 1.35rem; }
  .btn-lg { font-size: 1.1rem; padding: .8rem 1.6rem; }
  .section { padding-block: 2.75rem; }
  .section-head { margin-bottom: 1.25rem; gap: .75rem; align-items: flex-start; }
  .side-note { font-size: .9rem; }
  .doodle, .grain::after { display: none; }
  .hero-actions { gap: .5rem; }
  .hero-actions .btn { flex: 1 1 auto; }

  /* Swipe carousels: bleed to the screen edge, snap per card */
  .intents, .ladder, .journal, .col-cards, .usecases {
    display: grid; grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none; gap: .75rem;
  }
  .intents::-webkit-scrollbar, .ladder::-webkit-scrollbar, .journal::-webkit-scrollbar, .col-cards::-webkit-scrollbar, .usecases::-webkit-scrollbar { display: none; }
  .intents > *, .ladder > *, .journal > *, .col-cards > *, .usecases > * { scroll-snap-align: start; }
  .intents, .journal, .col-cards { grid-auto-columns: 80%; }
  .ladder { grid-auto-columns: 68%; align-items: stretch; }
  .usecases { grid-auto-columns: 72%; }
  /* Trust promises: a 2 × 2 grid, so no promise is cut off at the screen edge */
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; padding-block: 1rem; gap: .9rem 1rem; }
  .trust-strip .wrap > div { gap: .5rem; align-items: flex-start; }
  .trust-strip .ico { width: 24px; height: 24px; }
  .trust-strip b { font-size: .85rem; line-height: 1.3; } .trust-strip small { display: block; font-size: .78rem; line-height: 1.35; }
  .trust-chips { gap: .4rem; margin-top: 1.25rem; }
  .trust-chips li { white-space: nowrap; font-size: .76rem; padding: .35rem .7rem; }
  .hero .trust-chips li:nth-child(n+3) { display: none; } /* the trust strip below repeats them */

  /* Hero */
  .hero-grid { padding-block: 1.25rem .5rem; gap: 1.25rem; }
  .hero-art { max-width: 330px; }
  .hero-label { left: -.5rem; bottom: 7%; padding: .8rem 1.2rem .75rem; min-width: 62%; }
  .hero-label-name { font-size: 1.3rem; }
  .hero-label-price { font-size: .88rem; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.3rem); margin-bottom: .9rem; }
  .hero h1 .script { font-size: 1.35rem; }
  .hero .lead { margin-bottom: 1.25rem; }

  /* Cards and tiles */
  .intent-img { aspect-ratio: 16 / 10; }
  .intent-copy { padding: 1rem 1rem 1.15rem; }
  .intent .h3 { font-size: 1.6rem; }
  .step-card .h3 { font-size: 2rem; }
  .step-card:nth-child(n) .ph img { aspect-ratio: 1; }
  .step-card .badge { top: 1.4rem; left: 1.4rem; }
  .split { gap: 1.5rem; }
  .split .ph--arch img { aspect-ratio: 1 / 1; }
  .split .ph--round img, .split .ph--offset img { aspect-ratio: 4 / 3; }
  .split-media { max-width: 420px; }
  .inset-tr { width: 92px; top: -16px; border-width: 4px; }
  .split-copy .steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .steps { gap: 1rem; }
  .steps li::before { font-size: 2.1rem; }
  .steps h3 { font-size: 1.2rem; }
  .steps p { font-size: .85rem; }
  .flavour-tiles { grid-template-columns: repeat(3, 1fr); gap: 1rem .5rem; }
  .ft-img { border-width: 3px; margin-bottom: .25rem; }
  .flavour-tile .h3 { font-size: .95rem; }
  .flavour-tile small { display: none; }
  .delivery-layout .ph { display: none; }
  .delivery-panel { grid-template-columns: 1fr 1fr; }
  .delivery-panel > div { padding: 1rem; }
  .delivery-panel .ico { width: 26px; height: 26px; margin-bottom: .5rem; }
  .delivery-panel h3 { font-size: 1.1rem; }
  .delivery-panel p { font-size: .82rem; }
  .seasonal-band { min-height: 420px; align-items: end; }
  .seasonal-band::before { background: linear-gradient(0deg, rgba(43, 25, 15, .92) 0%, rgba(43, 25, 15, .6) 55%, rgba(43, 25, 15, .1) 100%); }
  .seasonal-copy { padding-block: 2rem; }
  .mosaic { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 110px); gap: .5rem; }
  .mosaic .m-0, .mosaic .m-3 { grid-row: auto; }
  .mosaic figure { border-radius: 10px; }
  .newsletter { gap: 1rem; }
  .newsletter .ph { max-width: 130px; justify-self: start; }
  .col-card { aspect-ratio: 4 / 3.2; }
  .col-card .h3 { font-size: 1.6rem; }
  .tiles { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .tile { padding: 1rem; }
  .tile .ico { width: 26px; height: 26px; margin-bottom: .5rem; }
  .tile .h3 { font-size: 1.2rem; }
  .tile p { font-size: .85rem; }
  .formats { gap: 1rem .75rem; }
  .format .h3 { font-size: 1.25rem; }
  .format p { font-size: .82rem; }
  .ingredients { gap: 1rem .75rem; }
  .ingredient .h3 { font-size: 1.2rem; }
  .ingredient p { font-size: .85rem; }
  .temp-scale > div { padding: 1.1rem 1.25rem; }
  .gift-strip { padding: 1.25rem; margin-top: 2rem; }
  .gift-strip .h3 { font-size: 1.5rem; }
  .gift-strip .btn { width: 100%; }
  .notice { padding: 1.1rem; gap: .75rem; }
  .notice .ico { width: 26px; height: 26px; }
  .marquee-track span { font-size: 1.9rem; gap: 1.75rem; padding-inline: 1rem; }

  /* Page and collection headers */
  .page-hero { padding-block: 1.5rem 1.25rem; }
  .page-hero .h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .page-hero-grid { gap: 1.25rem; }
  .page-hero-art { max-width: 240px; }
  .page-hero-art .ph--arch img { aspect-ratio: 1 / 1.05; }
  .stamp { width: 78px; height: 78px; }
  .stamp text { font-size: 10.5px; }
  .stamp i { width: 24px; }
  .plp-head { padding-top: 1.25rem; }
  .plp-head .lead { font-size: .95rem; margin-bottom: .5rem; }
  .crumbs { margin-bottom: .75rem; font-size: .8rem; }
  .chips { padding-block: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .plp-layout { padding-block: 1rem 2.5rem; gap: 1rem; }
  /* Filter and sort share one row; the count drops below the button if space runs out */
  .toolbar { margin-bottom: 1rem; flex-wrap: nowrap; gap: .5rem; }
  .toolbar-start { flex-wrap: wrap; gap: .25rem .6rem; min-width: 0; }
  #count { font-size: .85rem; white-space: nowrap; }
  .toolbar select { max-width: 52vw; font-size: .9rem; padding: .55rem 1.75rem .55rem .85rem; }
  .drawer-foot .btn { white-space: nowrap; padding-inline: 1rem; }

  /* Product page */
  .pdp { padding-block: .75rem 2.5rem; gap: 1.25rem; }
  .stage { border-radius: 18px; }
  .thumbs button { width: 60px; }
  .pdp-info h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .pdp-price { font-size: 2rem; }
  .spec-chips { grid-template-columns: repeat(3, 1fr); }
  .spec-chips li { padding: .6rem .65rem; border-right: 1.5px solid var(--latte); border-bottom: 0; }
  .spec-chips li:last-child { border-right: 0; }
  .spec-chips b { font-size: .78rem; }
  .spec-chips span { font-size: .7rem; }
  .variant-pills button { padding: .5rem .85rem; }
  .flavour-key { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .fk-item { padding: .75rem .4rem; }
  .fk-item svg { width: 52px; height: 52px; }
  .fk-item b { font-size: .78rem; line-height: 1.25; }
  .fk-item small { font-size: .68rem; }
  /* Tabs swipe edge to edge; the fade shows there are more */
  .tablist { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
  .tablist button { padding: .8rem .75rem; font-size: .9rem; }

  /* Builder: summary becomes a sticky bottom bar */
  .builder-grid { gap: 1.25rem; }
  .b-pieces { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .b-piece { padding: .75rem .5rem; }
  .b-piece svg { width: 56px; height: 56px; }
  .b-box { order: 2; position: sticky; bottom: 0; top: auto; z-index: 20; border-radius: 18px 18px 0 0; margin-inline: calc(var(--gutter) * -1); padding: .9rem var(--gutter); border-width: 1px 0 0; box-shadow: 0 -12px 30px -18px rgba(43, 25, 15, .5); }
  .b-ballotin { display: none; }
  /* Compact bar: totals and progress on top, the two actions side by side */
  .b-box { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding-block: .75rem; }
  .b-summary { grid-column: 1 / -1; }
  .b-summary .small { display: none; }
  .b-box .btn, .b-box .btn + .btn { margin: 0; padding: .65rem .5rem; font-size: .92rem; white-space: nowrap; }
  .b-box .btn-lg { font-size: 1.05rem; }

  /* Toast: a full-width bar above the bottom edge */
  .toast { left: var(--gutter); right: var(--gutter); bottom: 16px; width: auto; max-width: none; transform: translateY(160%); justify-content: space-between; border-radius: 16px; padding: .8rem 1rem; font-size: .9rem; }
  .toast.show { transform: none; }

  /* Forms, checkout, calendar */
  .quote-card { padding: 1.25rem; border-radius: 20px; }
  .quote-layout { gap: 1.5rem; }
  .check-row { gap: 0 1rem; }
  .checkout { padding-block: 1.25rem 3rem; }
  .summary { padding: 1.1rem; }
  .cal-month { padding: 1rem; }
  .cal-grid { gap: .2rem; }
  .cal-grid span { font-size: .8rem; border-radius: 7px; }
  .policy { padding-block: 1.5rem 3rem; gap: 1.5rem; }
  .feature-post { gap: 1.25rem; }
  .article-hero img { aspect-ratio: 4 / 3; }
  .big-quote { font-size: 1.8rem; }
  .dropcap::first-letter { font-size: 4rem; }

  /* Footer: compact, collapsible link groups */
  .site-footer { padding-top: 2.5rem; }
  .foot-top { gap: 1.5rem; padding-bottom: 1.5rem; margin-bottom: .5rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 1.5rem; }
  .foot-col { border-bottom: 1px solid rgba(231, 207, 174, .18); }
  .foot-col summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; }
  .foot-col summary::after { content: "+"; color: var(--latte); font-size: 1.25rem; }
  .foot-col[open] summary::after { content: "−"; }
  .foot-col h4 { margin: 0; }
  .foot-col ul { padding-bottom: 1rem; }
  .foot-word { font-size: 26vw; }
  .foot-base { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track, .stamp svg { animation: none; }
}

/* Testimonial (UX brief component; shown only with written permission) */
.testimonial { margin: .5rem 0 0; padding: 2rem; border: 2px dashed var(--latte); border-radius: var(--radius); font-family: var(--f-serif); font-size: 1.35rem; line-height: 1.4; }
.testimonial p { margin: 0 auto 1rem; }
.testimonial footer { font-family: var(--f-body); font-size: .9rem; }

/* ---------- Retro layer ----------
   A light 70s confectioner's grade over everything above: faded warm photos,
   hard offset "sticker" shadows, chocolate stripes and paper grain. */
:root { --hard: var(--ganache); --stripes: 0 3px 0 var(--gold), 0 6px 0 var(--milk), 0 9px 0 var(--cocoa); }
.on-dark, .site-footer, .intent--corp { --hard: var(--bitter); }

/* Faded, warm print look on photography */
main img, .mega-feature img { filter: sepia(.22) saturate(.88) contrast(1.04) brightness(.98); }

/* Paper grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .28 0 0 0 0 .15 0 0 0 .3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Gold / milk / cocoa stripes under the header and atop the footer */
.site-header { border-bottom: 0; box-shadow: var(--stripes); }
.site-footer { box-shadow: inset 0 3px 0 var(--cocoa), inset 0 6px 0 var(--milk), inset 0 9px 0 var(--gold); }

/* Offset headline shadow */
.hero h1, .page-hero h1, .plp-head h1 { text-shadow: .045em .045em 0 var(--latte); }
.on-dark h1, .page-hero--ganache h1, .plp-head--ganache h1 { text-shadow: .045em .045em 0 var(--cocoa); }
h1 .script { text-shadow: none; }

/* Sticker buttons */
.btn { box-shadow: 3px 3px 0 var(--hard); transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--hard); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--hard); }
.btn-light { --hard: var(--milk); }

/* Sticker cards */
.card-media, .intent, .step-card, .tile, .col-card, .journal-card .ph, .mega-feature, .hero-label {
  border: 2px solid var(--ganache); box-shadow: 5px 5px 0 var(--hard);
}
.step-card { border-color: var(--ganache); }
.step-card:hover { border-color: var(--cocoa); }
.intent--corp { border-color: var(--bitter); }
.intent:hover, .step-card:hover { transform: translate(-2px, -4px); box-shadow: 7px 9px 0 var(--hard); }
.intent, .step-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.tile--pending { box-shadow: none; border-color: var(--latte); }

/* Badges and chips get an inked outline */
.badge, .trust-chips li, .tag { border: 1.5px solid var(--ganache); }
.chip { border-width: 2px; }
.chip[aria-current="page"] { box-shadow: 2px 2px 0 var(--ganache); }
.hero-label { border-left: 6px solid var(--gold); }
