/* Rutriven Pult shell — the shared visual layer for every shopper surface.
   Approved source: studies/discovery/ (owner, 2026-09-23). Budget: 10 KB gzipped.

   TOKENS LIVE ON THE SHELL'S OWN ROOTS (.ps), not on :root. Each surface has
   its own stylesheet with its own :root, and they disagree on shared names —
   `--line` is a colour on the listing and a border shorthand in Célpakk,
   `--shell` is 1440px on one and 1360px on the other. Declared here, the
   shell's values win inside the shell and never leak into a page. */

.ps, .ps-scrim {
  --canvas: #F4EBDB; --panel: #FFFCF6; --shelf: #EADEC5;
  --cocoa: #2E1C15; --cocoa-2: #3E2A21; --cocoa-soft: rgba(46, 28, 21, .68); --line: rgba(46, 28, 21, .16);
  --amber: #FFD23F; --amber-hi: #FFC400; --coral: #F2622E; --coral-ink: #B83A11; --green-deep: #16764F;
  --display: 'Titan One', system-ui, sans-serif; --body: 'Rubik', system-ui, -apple-system, sans-serif; --display-lh: .98;
  --shell: 1440px; --gut: clamp(16px, 2.6vw, 40px); --r-panel: 30px;
  --edge: 2px solid var(--cocoa); --lift: 0 4px 0 var(--cocoa); --lift-big: 0 7px 0 var(--cocoa);
  --focus: var(--cocoa); --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.45, .5, 1);
  font: 400 16px/1.5 var(--body); color: var(--cocoa); box-sizing: border-box;
}
/* Resets carry no specificity, so a surface's own rules always win. */
.ps *, .ps *::before, .ps *::after { box-sizing: border-box; }
:where(.ps) :where(h1, h2, h3, p, ul, ol) { margin: 0; }
:where(.ps) :where(ul, ol) { padding: 0; list-style: none; }
:where(.ps) :where(a) { color: inherit; }
:where(.ps) :where(button, input) { font: inherit; color: inherit; }
:where(.ps) :where(button) { cursor: pointer; }
:where(.ps) img { display: block; max-width: 100%; }
/* WordPress-rendered pages still load the retired XStore theme's kirki-styles.css,
   which restyles bare h1–h6 and every .btn (0,5,0). Hold the shell's own values:
   one class beats its element rules, the drawer ids beat its .btn chain. */
.ps :where(h1, h2, h3, h4, h5, h6) { font-family: inherit; font-weight: inherit; color: inherit; }
:is(#ps-cart, #ps-account) .btn { font-family: inherit; font-size: inherit; text-transform: none; border: var(--edge); border-radius: 999px; }
.ps[hidden], .ps [hidden], .ps-scrim[hidden] { display: none !important; }
.ps :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ps .i { width: 22px; height: 22px; flex: none; fill: currentColor; }
.ps-sprite { display: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ps-skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: #FFD23F; color: #2E1C15; padding: 12px 18px; border-radius: 999px; font: 600 16px/1.2 'Rubik', system-ui, sans-serif; }
.ps-skip:focus { top: 12px; }
html { scroll-padding-top: calc(var(--ps-header-h, 90px) + 16px); }
html.ps-locked { overflow: hidden; }

/* ── top bar: this order's shipping status, then help ─────────────────────── */
.ps-util { background: var(--cocoa); color: rgba(244, 235, 219, .8); font-size: 13.5px; border-bottom: 1px solid rgba(244, 235, 219, .12); --focus: var(--amber); }
.ps-util-in { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); min-height: 42px; display: flex; gap: 26px; align-items: center; }
.ps-util .i { width: 18px; height: 18px; }
.ps-util b { color: var(--amber); font-weight: 600; }
.ship-status { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--cocoa-2); color: var(--panel); white-space: nowrap; }
.ship-status:empty, .ship-status.st-empty { background: none; padding-left: 0; }
.mini-meter { display: flex; width: 68px; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(244, 235, 219, .16); box-shadow: inset 0 0 0 1.5px rgba(244, 235, 219, .35); flex: none; }
.mini-meter i { height: 100%; background: var(--acc); box-shadow: inset -1.5px 0 0 var(--cocoa-2); }
.ship-status .tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: var(--cocoa); flex: none; }
.ship-status .tick .i { width: 12px; height: 12px; }
.ship-status.st-free { background: var(--green-deep); }
.ship-status.st-free b { color: var(--panel); }
.util-links { margin-left: auto; display: flex; gap: 22px; }
.util-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; text-decoration: none; }
.util-links a:hover { color: var(--panel); text-decoration: underline; }

/* ── fascia ───────────────────────────────────────────────────────────────── */
.fascia { position: sticky; top: 0; z-index: 40; background: var(--cocoa); color: var(--canvas); --focus: var(--amber); }
.fascia-in { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); height: 90px; display: flex; align-items: center; gap: 28px; }
.mark { display: inline-flex; align-items: center; min-height: 44px; font: 400 35px/1 var(--display); letter-spacing: .005em; text-transform: uppercase; color: var(--panel); text-decoration: none; white-space: nowrap; }
.mark span { color: var(--coral); }
.acts { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-btn, .round-btn, .pill-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: inherit; text-decoration: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; }
.round-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(244, 235, 219, .55); color: var(--panel); }
.round-btn:hover { border-color: var(--canvas); }
.cart-btn { background: var(--amber); border-color: var(--amber); color: var(--cocoa); }
.cart-btn:hover { background: var(--amber-hi); border-color: var(--amber-hi); }
.cart-count { position: absolute; top: -5px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--coral); color: #fff; font: 600 12px/18px var(--body); text-align: center; border: 2px solid var(--cocoa); }
.pill-btn { gap: 10px; height: 48px; padding: 0 22px 0 18px; border-radius: 999px; border: 2px solid rgba(244, 235, 219, .55); color: var(--panel); font-weight: 600; }
.pill-btn:hover, .pill-btn[aria-expanded="true"] { background: var(--panel); color: var(--cocoa); border-color: var(--panel); }

/* search pill — the dominant control by fill; it carries its own focus ring as one shape */
.find { position: relative; flex: 1 1 auto; max-width: 780px; height: 52px; display: flex; align-items: center; background: var(--panel); color: var(--cocoa); border-radius: 999px; border: 2px solid var(--panel); box-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.find:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }
.find input:focus-visible, .msearch-f input:focus-visible { outline: none; }
.find-ic { width: 20px; height: 20px; margin: 0 10px 0 18px; flex: none; fill: currentColor; }
.find input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: 16px; }
.find input::placeholder { color: rgba(46, 28, 21, .6); }
.find input::-webkit-search-cancel-button, .msearch-f input::-webkit-search-cancel-button { display: none; }
.find-clear { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; margin-right: 4px; }
.find-clear .i { width: 16px; height: 16px; }
.find-clear:hover { background: var(--shelf); }
.find-go { height: 42px; margin-right: 3px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--cocoa); color: var(--panel); font-weight: 600; }
.find-go:hover { background: #4a3228; }
.find-panel { position: absolute; left: -2px; top: calc(100% + 12px); width: max(100% + 4px, 720px); max-height: min(72vh, 640px); overflow: auto; background: var(--panel); border: var(--edge); border-radius: 26px; box-shadow: var(--lift-big); padding: 8px; --focus: var(--cocoa); animation: drop .14s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* mobile search entry row: on finding surfaces only; it scrolls away */
.find-row { display: none; background: var(--cocoa); padding: 0 12px 14px; --focus: var(--amber); }
.find-row button { width: 100%; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--panel); color: rgba(46, 28, 21, .64); font-size: 16px; text-align: left; box-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.find-row button b { color: var(--cocoa); font-weight: 400; }
.find-row .i { width: 20px; height: 20px; }

/* ── the finding list (desktop panel and mobile sheet) ───────────────────── */
.fl-grid, .fl-entry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4px; }
.fl-entry { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fl-grid > .fl-col + .fl-col, .fl-entry > .fl-col + .fl-col { border-left: 1px solid var(--line); }
.fl-sec { padding: 10px 10px 6px; }
.fl-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 500; color: var(--cocoa-soft); padding: 4px 8px 8px; }
.fl-h button { border: 0; background: none; font-size: 13px; text-decoration: underline; color: var(--cocoa-soft); padding: 4px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 14px; text-decoration: none; cursor: pointer; }
.opt:hover, .opt[aria-selected="true"] { background: var(--canvas); }
.opt[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--cocoa); }
.opt .i { width: 18px; height: 18px; opacity: .7; }
.opt-q b { font-weight: 600; }
.opt-fill { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; opacity: .7; }
.opt-fill:hover { background: var(--shelf); opacity: 1; }
.opt-scope { display: grid; gap: 1px; }
.opt-scope small, .opt-prod .t small { font-size: 13px; color: var(--cocoa-soft); }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--acc, var(--shelf)); box-shadow: inset 0 0 0 1.5px rgba(46, 28, 21, .25); }
.thumb { position: relative; width: 56px; height: 56px; flex: none; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: var(--acc, var(--shelf)); }
.thumb img { width: 80%; height: 88%; object-fit: contain; }
.opt-prod { gap: 14px; }
.opt-prod .t { display: grid; min-width: 0; }
.opt-prod .t span { font-weight: 600; line-height: 1.25; }
.opt-prod .p { margin-left: auto; font-weight: 700; white-space: nowrap; padding-left: 8px; }
.opt-prod .p small { display: block; font-weight: 500; font-size: 12px; color: var(--coral-ink); text-align: right; }
.opt-all { justify-content: center; margin-top: 4px; min-height: 48px; background: var(--cocoa); color: var(--panel); border-radius: 999px; font-weight: 600; }
.opt-all:hover, .opt-all[aria-selected="true"] { background: #4a3228; box-shadow: 0 0 0 3px var(--amber); }
.ps-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 6px 6px; }
.ps-chip { display: inline-flex; align-items: center; gap: 8px; width: auto; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--panel); border: 1.5px solid var(--line); text-decoration: none; font-weight: 500; }
.ps-chip:hover, .ps-chip[aria-selected="true"] { border-color: var(--cocoa); background: var(--canvas); }
.ps-chip[aria-selected="true"] { box-shadow: 0 0 0 2px var(--cocoa); }
.fl-note { margin: 4px 8px 8px; padding: 12px 14px; border-radius: 16px; background: var(--canvas); font-size: 15px; }
.fl-empty { padding: 18px 18px 8px; }
.fl-empty h3 { font: 400 22px/1.1 var(--display); margin-bottom: 6px; }
.fl-empty p { color: var(--cocoa-soft); }
.celp-line { display: flex; align-items: center; gap: 12px; margin: 6px 4px 4px; padding: 12px 14px; border-radius: 16px; background: #E4F1EA; color: var(--green-deep); text-decoration: none; font-weight: 500; }
.celp-line b { font: 400 17px/1 var(--display); }
.celp-line span { display: grid; gap: 2px; line-height: 1.2; }
.celp-line small { font-size: 13.5px; font-weight: 400; opacity: .9; }
.fthumb { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--acc); box-shadow: inset 0 0 0 1.5px rgba(46, 28, 21, .3); overflow: hidden; }
.fthumb img { position: absolute; left: 50%; bottom: -8%; height: 96%; width: auto; max-width: none; translate: -50% 0; transition: translate .3s var(--spring); }
.opt-fam:hover .fthumb img, .opt-fam[aria-selected="true"] .fthumb img { translate: -50% -8%; }
.opt-prod .thumb img { transition: translate .3s var(--spring); }
.opt-prod:hover .thumb img, .opt-prod[aria-selected="true"] .thumb img { translate: 0 -4px; }

/* ── catalogue panel ──────────────────────────────────────────────────────── */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gut) 0; --focus: var(--cocoa); color: var(--cocoa); }
.mega-card { max-width: calc(var(--shell) - 2 * var(--gut)); margin: 0 auto; background: var(--panel); border: var(--edge); border-radius: var(--r-panel); box-shadow: var(--lift-big); display: grid; grid-template-columns: 300px 1fr; grid-template-rows: 1fr auto; overflow: hidden; animation: drop .16s var(--ease); max-height: calc(100vh - var(--ps-header-h, 90px) - 40px); }
.mega-fams { position: relative; padding: 18px 12px 18px 18px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; overflow: auto; }
.fam-row { position: relative; z-index: 1; display: grid; grid-template-columns: 18px 1fr auto; align-items: center; column-gap: 12px; min-height: 56px; padding: 8px 12px; border-radius: 16px; text-decoration: none; transition: background-color .15s linear; }
.fam-row .dot { grid-row: span 2; }
.fam-row b { font: 400 19px/1.1 var(--display); }
.fam-row small { grid-column: 2; font-size: 13px; color: var(--cocoa-soft); line-height: 1.3; }
.fam-row .i { grid-row: 1 / span 2; grid-column: 3; width: 16px; height: 16px; opacity: 0; }
.fam-row:hover, .fam-row.is-cur { background: var(--acc, var(--canvas)); }
.fam-row.is-cur .i { opacity: .8; }
.fam-row.all { --acc: var(--shelf); }
.fam-row.all .dot { background: var(--cocoa); }
.fam-sep { height: 1px; background: var(--line); margin: 8px 12px; }
.fam-puck { position: absolute; z-index: 0; left: 18px; right: 12px; top: 0; height: 56px; border-radius: 16px; background: var(--acc, var(--shelf)); box-shadow: inset 0 0 0 2px var(--cocoa), 0 3px 0 var(--cocoa); transform: translateY(var(--y, 18px)); transition: transform .34s var(--spring), height .3s var(--ease), background-color .22s linear; pointer-events: none; }
.fam-puck.still { transition: none; }
.has-puck .fam-row.is-cur, .has-puck .fam-row.is-cur:hover { background: none; }
.has-puck .fam-row:not(.is-cur):hover { background: rgba(46, 28, 21, .06); }
.has-puck .fam-row.is-cur .dot { box-shadow: inset 0 0 0 1.5px var(--cocoa); }
.mega-view { padding: 26px 30px 24px; min-height: 360px; overflow: auto; background: color-mix(in srgb, var(--wash, transparent) 11%, var(--panel)); transition: background-color .3s linear; }
.mv:not([hidden]) { animation: mv-in .26s var(--ease); }
@keyframes mv-in { from { opacity: 0; translate: 12px 0; } }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: var(--canvas); }
.mega-foot .celp-line { margin: 0 0 0 auto; background: var(--green-deep); color: #fff; }
.mega-foot p { font-size: 14px; color: var(--cocoa-soft); }
.mv-head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.mv-head h2 { font: 400 40px/var(--display-lh) var(--display); text-transform: uppercase; }
.mv-head p { color: var(--cocoa-soft); margin-top: 6px; }
.mv-head .go { margin-left: auto; }
.go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: var(--edge); background: var(--panel); font-weight: 600; text-decoration: none; white-space: nowrap; }
.go:hover { background: var(--amber); }
.go .i { width: 18px; height: 18px; }
.mv-cols { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 2.3fr); gap: 32px; }
.mv-sub h3, .mv-picks h3, .mv-brands h3 { font-size: 13px; font-weight: 500; color: var(--cocoa-soft); margin-bottom: 8px; }
.mv-sub a { display: flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 500; border-radius: 10px; padding: 0 10px; margin: 0 -10px; }
.mv-sub a:hover { background: var(--canvas); text-decoration: underline; }
.mv-sub ul ul a { padding-left: 26px; font-weight: 400; }
.mv-brands { margin-top: 22px; }
.mv-brands .ps-chips { padding: 0; }
.ring { background-image: repeating-radial-gradient(circle at 72% 64%, transparent 0 26px, rgba(46, 28, 21, .07) 26px 27.5px); }

/* overview doors: the two packs are one cluster and fan together */
.ps-doors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.door { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 250px; border-radius: 20px; border: var(--edge); background-color: var(--acc); overflow: hidden; text-decoration: none; transition: translate .3s var(--spring), box-shadow .2s linear; }
.door:hover { translate: 0 -3px; box-shadow: var(--lift); }
.door-packs { position: relative; height: 150px; display: flex; justify-content: center; align-items: flex-end; padding: 18px 12px 0; overflow: hidden; }
.door-packs img { height: 124px; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(46, 28, 21, .25)); transition: transform .45s var(--spring); transform-origin: 50% 100%; }
.door-packs img:first-child { position: relative; z-index: 2; }
.door-packs img + img { height: 104px; margin-left: -30px; }
.door:hover .door-packs img:first-child, .door:focus-visible .door-packs img:first-child { transform: translateY(-7px) rotate(-3deg); }
.door:hover .door-packs img + img, .door:focus-visible .door-packs img + img { transform: translate(10px, -3px) rotate(7deg); }
.mv:not([hidden]) .door { animation: pk-in .5s var(--spring) backwards; animation-delay: calc(var(--i) * 45ms + 40ms); }
.door-t { padding: 12px 14px 14px; background: var(--panel); border-top: var(--edge); }
.door-t b { display: block; font: 400 18px/1.05 var(--display); }
.door-t small { font-size: 13px; color: var(--cocoa-soft); }
.bplates { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bplate { display: grid; place-items: center; height: 76px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; font: 400 17px/1 var(--display); padding: 10px; text-align: center; transition: translate .2s var(--ease); }
.bplate img { max-height: 34px; max-width: 78%; object-fit: contain; }
.bplate:hover { border-color: var(--cocoa); box-shadow: var(--lift); translate: 0 -2px; }

/* the family stage: one coloured shelf, one cluster; packs move together or not at all */
.stage-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, 1fr); gap: 20px; align-items: center; }
.stage { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 24px; border: var(--edge); background-color: var(--acc); box-shadow: var(--lift); overflow: hidden; isolation: isolate; }
.stage::after { content: ''; position: absolute; z-index: 0; left: 22%; right: 22%; bottom: 7%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(46, 28, 21, .3), transparent); }
.pk { --x: -50%; --y: 0%; --s: 1; --r: 0deg; position: absolute; z-index: 1; left: 56%; bottom: 10%; height: 72%; width: auto; max-width: none !important; transform-origin: 50% 100%; transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(var(--r)); filter: drop-shadow(0 14px 12px rgba(46, 28, 21, .3)); transition: transform .5s var(--spring), filter .4s linear; }
.pk[data-slot="0"] { z-index: 3; }
.pk[data-slot="1"] { --x: 2%; --y: -7%; --s: .74; --r: 6deg; z-index: 2; filter: drop-shadow(0 10px 10px rgba(46, 28, 21, .22)) saturate(.85) brightness(.95); }
.pk[data-slot="2"] { --x: -104%; --y: -9%; --s: .64; --r: -7deg; filter: drop-shadow(0 10px 10px rgba(46, 28, 21, .22)) saturate(.8) brightness(.93); }
.stage:hover .pk[data-slot="0"] { --y: -4%; --r: -1.5deg; }
.stage:hover .pk[data-slot="1"] { --x: 8%; --r: 9deg; }
.stage:hover .pk[data-slot="2"] { --x: -110%; --r: -10deg; }
.mv:not([hidden]) .pk { animation: pk-in .55s var(--spring) backwards; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes pk-in { from { opacity: 0; translate: 0 34px; } }
.stage-tag { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .18s linear; }
.stage-tag.on { opacity: 1; }
.stage-tag .sticker { position: absolute; right: 12px; top: 12px; transition: scale .4s var(--spring); scale: .6; }
.stage-tag.on .sticker { scale: 1; }
.pick-rows { display: grid; gap: 8px; counter-reset: pk; }
.pick-row { display: grid; grid-template-columns: 30px 1fr auto; column-gap: 12px; align-items: center; min-height: 64px; padding: 10px 14px 10px 10px; border-radius: 18px; border: 2px solid transparent; text-decoration: none; transition: background-color .2s linear, border-color .2s linear, box-shadow .2s linear, translate .3s var(--spring); }
.pick-row::before { counter-increment: pk; content: counter(pk); grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--shelf); font: 400 14px/1 var(--display); transition: background-color .2s linear; }
.pick-row small { grid-column: 2; font-size: 13px; color: var(--cocoa-soft); }
.pick-row b { grid-column: 2; font-weight: 600; line-height: 1.2; }
.pick-row .price { grid-column: 3; grid-row: 1 / span 2; font-weight: 700; white-space: nowrap; }
.pick-row:hover { background: rgba(46, 28, 21, .05); }
.pick-row.is-front { background: var(--panel); border-color: var(--cocoa); box-shadow: var(--lift); translate: 4px 0; }
.pick-row.is-front::before { background: var(--acc); box-shadow: inset 0 0 0 1.5px var(--cocoa); }
.stage-wrap.one { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; }
.stage-wrap.one .pk { left: 50%; height: 74%; }
.stage-why small { display: block; font-size: 13px; color: var(--cocoa-soft); }
.stage-why b { display: block; font: 400 26px/1.05 var(--display); text-transform: uppercase; margin: 2px 0 8px; }
.stage-why p { color: var(--cocoa-soft); max-width: 40ch; margin-bottom: 16px; }

/* the homepage's round sticker, for facts that deserve a stamp */
.sticker { display: block; width: 92px; height: 92px; rotate: -8deg; filter: drop-shadow(0 3px 0 rgba(46, 28, 21, .9)); }
.stk-disc { fill: var(--cocoa); }
.stk-arc { font: 400 10px var(--display); letter-spacing: .08em; fill: var(--panel); }
.stk-big { font: 700 17.5px var(--body); fill: var(--panel); }
.stk-small { font: 500 10px var(--body); fill: rgba(255, 252, 246, .82); }

/* ── modal surfaces ───────────────────────────────────────────────────────── */
.ps-scrim { position: fixed; inset: 0; z-index: 30; background: rgba(46, 28, 21, .32); animation: fade .16s linear; }
.ps-scrim.modal { z-index: 55; }
@keyframes fade { from { opacity: 0; } }
.drawer, .sheet { position: fixed; z-index: 60; background: var(--panel); display: flex; flex-direction: column; }
.drawer { top: 0; right: 0; bottom: 0; width: min(440px, 100vw); border-left: var(--edge); box-shadow: -8px 0 0 rgba(46, 28, 21, .12); animation: slide-r .22s var(--ease); }
@keyframes slide-r { from { transform: translateX(40px); opacity: 0; } }
.drawer-bar, .sheet-bar { display: flex; align-items: center; gap: 8px; min-height: 68px; padding: 10px 12px 10px 24px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-bar h2, .sheet-bar h2 { font: 400 26px/1 var(--display); text-transform: uppercase; margin-right: auto; }
.drawer-bar h2:focus, .sheet-bar h2:focus { outline: none; }
.drawer-body, .sheet-body { flex: 1; overflow: auto; overscroll-behavior: contain; }
.drawer-foot { flex: none; border-top: 1px solid var(--line); padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); background: var(--panel); }
.sheet-left { inset: 0 auto 0 0; width: min(440px, 100vw); border-right: var(--edge); animation: slide-l .22s var(--ease); }
@keyframes slide-l { from { transform: translateX(-40px); opacity: 0; } }
.sheet-left .sheet-bar { background: var(--cocoa); color: var(--panel); border: 0; padding-left: 12px; --focus: var(--amber); }
.sheet-left .sheet-bar h2 { margin: 0 auto 0 8px; }
.sheet-top { inset: 0; animation: fade .14s linear; background: var(--canvas); }
.msearch { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--cocoa); color: var(--panel); --focus: var(--amber); flex: none; }
.msearch-f { flex: 1; display: flex; align-items: center; height: 48px; background: var(--panel); color: var(--cocoa); border-radius: 999px; padding-left: 18px; }
.msearch-f:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.msearch-f input { flex: 1; min-width: 0; border: 0; background: none; height: 100%; font-size: 16px; }
.msearch-body { padding: 6px 6px 40px; }
.msearch-body :is(.fl-grid, .fl-entry) { grid-template-columns: 1fr; }
.msearch-body :is(.fl-grid, .fl-entry) > .fl-col + .fl-col { border-left: 0; border-top: 1px solid var(--line); }

/* mobile menu */
.mm { padding: 8px 12px 32px; }
.mm-row { display: grid; grid-template-columns: 64px 1fr 20px; align-items: center; gap: 14px; min-height: 76px; padding: 6px; border-radius: 18px; text-decoration: none; width: 100%; border: 0; background: none; text-align: left; }
.mm-row:hover { background: var(--canvas); }
.mm-row .thumb { width: 64px; height: 64px; border-radius: 16px; border: var(--edge); }
.mm-row b { display: block; font: 400 20px/1.05 var(--display); }
.mm-row small { font-size: 14px; color: var(--cocoa-soft); }
.mm-row > .i { width: 18px; height: 18px; opacity: .7; }
.mm-row.all .thumb { background: var(--cocoa); color: var(--panel); }
.mm-row.celp .thumb { background: var(--green-deep); color: #fff; }
.mm-row .thumb > .i { width: 28px; height: 28px; }
.mm-sep { height: 1px; background: var(--line); margin: 10px 6px; }
.mm-sub { display: grid; gap: 2px; }
.mm-sub a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 17px; }
.mm-sub a:hover { background: var(--canvas); }
.mm-sub a .i { width: 16px; height: 16px; opacity: .6; }
.mm-sub .nest a { padding-left: 30px; font-weight: 400; font-size: 16px; }
.mm-plain { display: grid; }
.mm-plain a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; text-decoration: none; color: var(--cocoa-soft); font-size: 15px; }
.mm-fam-head { margin: 4px 6px 12px; padding: 18px 18px 16px; border-radius: 22px; border: var(--edge); background-color: var(--acc); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; overflow: hidden; }
.mm-fam-head h3 { font: 400 30px/var(--display-lh) var(--display); text-transform: uppercase; }
.mm-fam-head p { font-size: 14px; margin-top: 4px; }
.mm-fam-head .packs { display: flex; align-items: flex-end; }
.mm-fam-head .packs img { position: relative; height: 78px; width: auto; filter: drop-shadow(0 6px 8px rgba(46, 28, 21, .25)); animation: pk-in .5s var(--spring) backwards; animation-delay: calc(var(--i) * 70ms + 60ms); }
.mm-fam-head .packs img:first-child { z-index: 2; }
.mm-fam-head .packs img + img { margin-left: -22px; height: 64px; }
.mm-h { font-size: 13px; font-weight: 500; color: var(--cocoa-soft); padding: 14px 12px 6px; }
.mm-picks { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; padding: 4px 6px 8px; scroll-snap-type: x mandatory; }
.mini { display: grid; gap: 10px; text-decoration: none; scroll-snap-align: start; }
.mini-plate { position: relative; aspect-ratio: 4 / 3.3; border-radius: 18px; background-color: var(--acc); border: var(--edge); overflow: hidden; }
.mini-plate img { position: absolute; inset: 9% 0 7%; margin: auto; height: 84%; width: auto; max-width: 78%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(46, 28, 21, .22)); }
.mini small { display: block; font-size: 13px; color: var(--cocoa-soft); }
.mini b { display: block; font-weight: 600; line-height: 1.25; }
.mini .price { display: block; margin-top: 2px; font-weight: 700; }

/* ── buttons and drawers' contents ────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: var(--edge); background: var(--amber); color: var(--cocoa); font-weight: 600; text-decoration: none; box-shadow: var(--lift); }
.btn:hover { background: var(--amber-hi); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--cocoa); }
.btn.dark { background: var(--cocoa); color: var(--panel); }
.btn.ghost { background: var(--panel); }
.btn .i { width: 20px; height: 20px; }
.btn[aria-busy="true"] { opacity: .6; }
.lines { padding: 6px 20px; }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .thumb { width: 76px; height: 76px; border-radius: 18px; border: var(--edge); }
.line.is-new .thumb img { animation: pk-in .6s var(--spring) .12s backwards; }
.new-tag { justify-self: start; margin-bottom: 4px; padding: 2px 10px; border-radius: 999px; background: var(--amber); border: 1.5px solid var(--cocoa); font-size: 12.5px; font-weight: 600; }
.line-t { display: grid; gap: 2px; align-content: start; }
.line-t a { font-weight: 600; text-decoration: none; line-height: 1.25; }
.line-t a:hover { text-decoration: underline; }
.line-t small { font-size: 13.5px; color: var(--cocoa-soft); }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover:not(:disabled) { background: var(--canvas); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty .i { width: 16px; height: 16px; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.line-p { font-weight: 700; }
.rm { border: 0; background: none; font-size: 13.5px; text-decoration: underline; color: var(--cocoa-soft); min-height: 32px; padding: 0; justify-self: start; }
.cart-err { margin: 12px 20px 0; padding: 10px 14px; border-radius: 14px; background: #FBE3D8; color: var(--coral-ink); font-size: 14px; }
.sum { display: grid; gap: 6px; margin-bottom: 10px; }
.sum div { display: flex; justify-content: space-between; }
.sum .tot { font-size: 20px; font-weight: 700; }
.drawer-foot .btn { width: 100%; }
.facts { display: flex; justify-content: flex-end; margin-top: 4px; }
.facts a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 14px; }
.empty { padding: 32px 24px; }
.empty h3 { font: 400 26px/1.05 var(--display); margin-bottom: 8px; }
.empty p { color: var(--cocoa-soft); margin-bottom: 18px; }
.empty .empty-ship { display: flex; align-items: center; gap: 8px; margin: -6px 0 16px; font-size: 14px; }
.empty .empty-ship .i { width: 18px; height: 18px; opacity: .7; }
.empty .mm-row { min-height: 64px; }
.empty .mm-row .thumb { width: 52px; height: 52px; }
.acc { padding: 24px; display: grid; gap: 14px; }
.acc h3 { font: 400 24px/1.1 var(--display); }
.acc p { color: var(--cocoa-soft); }
.acc .btn { width: 100%; }
.acc-links { display: grid; margin-top: 4px; }
.acc-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 17px; }
.acc-links .i { width: 18px; height: 18px; opacity: .6; }
.acc-help { margin-top: 10px; padding: 16px; border-radius: 16px; background: var(--canvas); }
.acc-help b { display: block; margin-bottom: 4px; }
.cart-btn.bump { animation: bump .5s var(--spring); }
.cart-btn.bump .cart-count { animation: pop .5s var(--spring); }
@keyframes bump { 30% { scale: 1.14; rotate: -6deg; } }
@keyframes pop { from { scale: .2; } }

/* the shipping card: what the shopper gains, how far, what the order is made of */
.sticker.amber .stk-disc { fill: var(--amber); stroke: var(--cocoa); stroke-width: 2.5; }
.sticker.amber text { fill: var(--cocoa); }
.sticker.amber .stk-big { font-size: 24px; }
.sticker.goal { filter: none; }
.sticker.goal .stk-disc { fill: var(--panel); stroke: var(--cocoa); stroke-width: 2; stroke-dasharray: 5 4; }
.sticker.goal text { fill: var(--cocoa); }
.sticker.goal .stk-arc { fill: var(--cocoa-soft); }
.shipcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 16px 20px 4px; padding: 16px 16px 18px 20px; border-radius: 24px; background: var(--panel); border: var(--edge); box-shadow: var(--lift); }
.sc-h { font-size: 16px; font-weight: 500; line-height: 1.25; }
.sc-h b { display: block; font: 400 25px/1.02 var(--display); }
.sc-sub { font-size: 13.5px; color: var(--cocoa-soft); margin-top: 6px; }
.sc-stk { position: relative; grid-row: 1; grid-column: 2; margin: -30px -8px -8px 0; }
.sc-stk .sticker { width: 88px; height: 88px; }
.meter { grid-column: 1 / -1; }
.meter-track { display: flex; height: 18px; border-radius: 9px; border: var(--edge); overflow: hidden; background: repeating-linear-gradient(-45deg, var(--canvas) 0 6px, var(--shelf) 6px 12px); }
.meter-track i { height: 100%; background-color: var(--acc); box-shadow: inset -2px 0 0 var(--cocoa); transition: width .75s var(--spring); }
.shipcard.st-free { background: var(--green-deep); color: var(--panel); }
.shipcard.st-free .sc-sub { color: rgba(255, 252, 246, .88); }
.shipcard.just .sc-stk .sticker { animation: stamp .7s var(--spring) .35s backwards; }
@keyframes stamp { from { opacity: 0; scale: 1.9; rotate: -40deg; } }
.shipcard.just { animation: glow 1.1s linear .4s; }
@keyframes glow { 0% { box-shadow: var(--lift), 0 0 0 0 rgba(255, 210, 63, .7); } 100% { box-shadow: var(--lift), 0 0 0 18px rgba(255, 210, 63, 0); } }
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--cocoa); opacity: 0; animation: burst .8s var(--ease) .45s; }
@keyframes burst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-68px) scale(1); } }
.line-undo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--canvas); border: 1.5px dashed rgba(46, 28, 21, .3); font-size: 14.5px; }
.line-undo b { font-weight: 600; }
.txt-btn { border: 0; background: none; text-decoration: underline; min-height: 44px; padding: 0 8px; font-weight: 500; }
/* routine completion: one owner-curated cross-sell, labelled as Rutriven's judgement */
.addon { margin: 12px 20px 22px; padding: 14px 14px 14px 16px; border-radius: 22px; border: 2px dashed rgba(46, 28, 21, .4); background: color-mix(in srgb, var(--acc) 20%, var(--panel)); }
.addon-k { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.addon-k h3 { font: 400 18px/1 var(--display); }
.addon-k .who { padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--cocoa); font-size: 12px; font-weight: 600; background: var(--panel); }
.addon-in { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; }
.addon-in .thumb { width: 72px; height: 72px; border-radius: 16px; border: var(--edge); }
.addon-t small { display: block; font-size: 13px; color: var(--cocoa-soft); }
.addon-t a { display: block; font-weight: 600; text-decoration: none; line-height: 1.25; margin: 1px 0 3px; }
.addon-t p { font-size: 14px; line-height: 1.4; }
.addon-buy { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-left: 86px; }
.addon-buy .price { font-weight: 700; font-size: 18px; }
.addon-buy .price small { display: block; font-size: 12px; font-weight: 400; color: var(--cocoa-soft); }
.addon-buy .btn { margin-left: auto; min-height: 44px; padding: 0 16px; box-shadow: none; }
@media (max-width: 480px) {
  .shipcard { margin: 14px 14px 4px; }
  .addon { margin: 10px 14px 20px; }
  .addon-buy { padding-left: 0; }
}
@media (max-width: 360px) { .sc-stk .sticker { width: 70px; height: 70px; } .sc-h b { font-size: 22px; } }

/* ── footer ───────────────────────────────────────────────────────────────── */
.foot { background: var(--cocoa); color: var(--panel); --focus: var(--amber); }
.foot-in { max-width: var(--shell); margin: 0 auto; padding: 44px var(--gut) 28px; }
.foot-news { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(244, 235, 219, .14); }
.foot-news h2 { font: 400 26px/1.05 var(--display); text-transform: uppercase; }
.foot-news p { color: rgba(244, 235, 219, .72); margin-top: 6px; max-width: 44ch; }
.foot-news-f { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; max-width: 520px; flex: 1; }
.foot-field { display: flex; gap: 10px; flex: 1 1 100%; flex-wrap: wrap; }
.foot-field input { flex: 1; min-width: 200px; height: 52px; border-radius: 999px; border: 0; padding: 0 20px; background: var(--panel); color: var(--cocoa); }
.foot-field button { height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--panel); background: var(--cocoa); color: var(--panel); font-weight: 600; }
.foot-news-f[data-state="sending"] button { opacity: .6; pointer-events: none; }
.foot-consent { flex-basis: 100%; display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(244, 235, 219, .8); min-height: 44px; }
.foot-consent input { width: 20px; height: 20px; accent-color: var(--amber); }
.foot-msg { flex-basis: 100%; font-size: 14px; color: var(--amber); }
.foot-msg:empty { display: none; }
.foot-hp { position: absolute; left: -9999px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 32px 0; }
.foot-cols h2 { font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 10px; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: rgba(244, 235, 219, .88); }
.foot-cols a:hover { color: var(--panel); text-decoration: underline; }
.foot-legal { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(244, 235, 219, .14); font-size: 13px; color: rgba(244, 235, 219, .6); }

/* the checkout keeps a focused header: the fascia and the order's status only */
.ps-focused .find, .ps-focused .acts, .ps-focused .icon-btn, .ps-focused .util-links, .ps-focused .find-row { display: none !important; }
.ps-focused .mark { margin: 0 auto 0 0; padding-left: 0; }
/* a product opened from a list names its way back */
.ps-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 16px var(--gut) 0; padding: 0 16px 0 10px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel); text-decoration: none; font-weight: 500; }
.ps-back:hover { border-color: var(--cocoa); }
.ps-back .i { width: 18px; height: 18px; }

/* ── responsive ───────────────────────────────────────────────────────────── */
.only-m { display: none !important; }
@media (max-width: 899px) {
  .only-d { display: none !important; }
  .only-m { display: inline-flex !important; }
  /* 32 px, not sticky, status only: information rather than a control */
  .ps-util-in { min-height: 32px; justify-content: center; font-size: 12.5px; padding: 0 10px; }
  .util-links { display: none; }
  .ship-status { min-height: 24px; padding: 0 10px 0 6px; }
  .mini-meter { width: 46px; height: 8px; }
  .fascia-in { height: 60px; gap: 4px; padding: 0 8px; }
  .mark { font-size: 25px; margin: 0 auto; padding-left: 44px; }
  .acts { margin-left: 0; gap: 6px; }
  .round-btn { width: 44px; height: 44px; }
  .icon-btn .i { width: 24px; height: 24px; }
  [data-rtv-surface="home"] .find-row, [data-rtv-surface="plp"] .find-row { display: block; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lines { padding: 6px 14px; }
}
@media (max-width: 360px) {
  .mark { font-size: 22px; padding-left: 0; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .fascia-in { gap: 18px; }
  .mark { font-size: 27px; }
  .pill-btn { padding: 0 16px 0 14px; }
  .mega-card { grid-template-columns: 250px 1fr; }
  .ps-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bplates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mv-head { margin-bottom: 14px; }
  .mv-head h2 { font-size: 34px; }
  .mv-cols { grid-template-columns: 170px minmax(0, 1fr); gap: 22px; }
  .mv-sub a { min-height: 36px; font-size: 15px; }
  .stage-wrap { grid-template-columns: 1fr; gap: 10px; }
  .stage { aspect-ratio: 16 / 8.5; }
  .pk { height: 80%; bottom: 8%; }
  .pick-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick-row { grid-template-columns: 1fr; min-height: 0; padding: 8px 10px; row-gap: 1px; }
  .pick-row::before, .pick-row small { display: none; }
  .pick-row b, .pick-row .price { grid-column: 1; grid-row: auto; font-size: 14px; }
  .pick-row.is-front { translate: 0 -2px; }
  .stage-wrap.one { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stage-wrap.one .stage { aspect-ratio: 4 / 3; }
  .mv-brands { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps *, .ps *::before, .ps *::after, .ps-scrim { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
