/* ==========================================================================
   The White Crib storefront
   Warm cream paper, forest green, plum ink, one terracotta call to action.
   Fraunces for headings, Figtree for text. Square-cornered buttons, flat colour, no gradients.
   Motion: colour changes and the basket drawer only. Nothing moves on scroll or follows the cursor.
   ========================================================================== */

:root {
    --bg: #FBF3E8;
    --bg-2: #F5EADA;
    --surface: #FFFDF9;
    --surface-2: #F8EFE2;
    --surface-3: #F1E5D2;
    --line: #E6D9C6;
    --line-strong: #CDBB9F;
    --text: #3A2230;
    --muted: #675059;
    --faint: #7A6670;
    --forest: #1F4D3F;
    --forest-2: #17392F;
    --accent: #B8461F;
    --accent-2: #9C3A18;
    --accent-edge: #B8461F;
    --accent-text: #9C3A18;
    --on-accent: #FFFFFF;
    --peach: #F6D3B6;
    --butter: #F7E3A6;
    --ok: #1F6B4A;
    --good: #1F6B4A;
    --warn: #8A5A00;
    --err: #A8281E;
    --font: "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --r-sm: 8px;
    --r-md: 12px;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --shadow: 0 1px 2px rgba(58, 34, 48, .08);
    color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; font-weight: 600; font-family: var(--font-display); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3, .h3 { font-size: 1.2rem; font-family: var(--font-display); font-weight: 600; margin: 0 0 8px; }
p { margin: 0; }
p + p { margin-top: .9em; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 62ch; margin-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }
::selection { background: var(--butter); color: var(--text); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--tight { padding: clamp(24px, 4vw, 44px) 0; }
.section--alt { background: var(--bg-2); }
.section h2 + * { margin-top: 20px; }
.page-head { padding: clamp(32px, 5vw, 56px) 0 12px; }
.page-head h1 { max-width: 22ch; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-row--center { justify-content: center; }

/* ---------- Buttons (square corners, flat colour) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; min-height: 46px; border: 2px solid var(--btn-line, var(--forest)); border-radius: var(--r-sm); background: var(--btn-bg, transparent); color: var(--btn-fg, var(--forest)); font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { color: var(--btn-fg, var(--forest)); background: var(--btn-hover, var(--surface-3)); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; --btn-line: var(--accent); --btn-hover: var(--accent-2); }
.btn--primary:hover { color: #fff; border-color: var(--accent-2); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--forest); --btn-line: var(--forest); --btn-hover: var(--surface-3); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--forest); --btn-line: transparent; text-decoration: underline; text-underline-offset: 3px; }
.btn--sm { padding: 8px 14px; min-height: 38px; font-size: .92rem; }
.btn--lg { padding: 14px 28px; min-height: 52px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; }
.btn.btn--primary[disabled], .btn.btn--primary[disabled]:hover, .btn.btn--primary[disabled]:active { background: #d9d4cb; border-color: #d9d4cb; color: #766f65; opacity: 1; box-shadow: none; transform: none; cursor: not-allowed; pointer-events: none; }
.btn.is-loading { opacity: .8; cursor: progress; }
.btn.is-done { --btn-bg: var(--ok); --btn-line: var(--ok); --btn-fg: #fff; }
.icon-btn { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--surface-3); color: var(--text); }

/* ---------- Top bar and navigation ---------- */
.topbar { background: var(--forest); color: #FBF3E8; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.navbar { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); }
.navbar .container { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.navbar__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-decoration: none; color: var(--forest); white-space: nowrap; }
.navbar__brand:hover { color: var(--forest); }
.brand-mark { flex: none; }
.navbar__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.navbar__links > a, .nav-dropdown__trigger { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: .98rem; }
.navbar__links a:hover { background: var(--surface-3); color: var(--text); }
.navbar__links a[aria-current="page"] { color: var(--forest); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown__menu { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 12px 28px rgba(58, 34, 48, .14); display: none; }
.nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown.is-open .nav-dropdown__menu, .nav-dropdown:focus-within .nav-dropdown__menu { display: grid; }
.nav-dropdown__menu a { padding: 9px 12px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.nav-dropdown__all { font-weight: 700 !important; border-bottom: 1px solid var(--line); border-radius: 0 !important; margin-bottom: 4px; }
.navbar__search { position: relative; margin-left: auto; flex: 0 1 280px; }
.navbar__search input { width: 100%; padding: 10px 42px 10px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font: inherit; font-size: .95rem; color: var(--text); }
.navbar__search input:focus { outline: 3px solid var(--forest); outline-offset: 0; border-color: var(--forest); }
.navbar__search button { position: absolute; right: 2px; top: 2px; bottom: 2px; width: 40px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 12px 28px rgba(58, 34, 48, .14); padding: 6px; display: none; z-index: 70; }
.search-suggest.is-open { display: block; }
.search-suggest a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; text-decoration: none; font-size: .95rem; }
.search-suggest a:hover, .search-suggest a[aria-selected="true"] { background: var(--surface-3); }
.search-suggest .thumb-art { width: 44px; height: 44px; flex: none; }
.navbar__actions { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.navbar__search + .navbar__actions { margin-left: 0; }
.cart-icon-btn__badge { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 4px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-icon-btn__badge[hidden] { display: none; }
.nav-toggle { display: none; }
@media (max-width: 980px) {
    .nav-toggle { display: inline-grid; }
    .navbar .container { flex-wrap: wrap; gap: 8px 12px; padding-top: 8px; padding-bottom: 8px; }
    .navbar__actions { margin-left: auto; }
    .navbar__search { order: 5; flex: 1 1 100%; margin-left: 0; }
    .navbar__links { display: none; order: 6; flex: 1 1 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 6px 0; }
    .navbar__links--open { display: flex; }
    .nav-dropdown__menu { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; background: transparent; }
    .navbar__links a[aria-current="page"] { box-shadow: none; background: var(--surface-3); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0 0; font-size: .88rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: var(--faint); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-text); }
.page-head .breadcrumbs { padding-top: 0; margin-bottom: 14px; }

/* ---------- Forms ---------- */
.form-stack { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-weight: 600; font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea, .promo-form input, .newsletter-form input[type="email"], .track-lookup input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font: inherit; color: var(--text); min-height: 46px; }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .promo-form input:focus { outline: 3px solid var(--forest); outline-offset: 0; border-color: var(--forest); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--faint); }
select { appearance: auto; }
.field-hint { font-size: .82rem; color: var(--muted); margin: 0; }
.co-err { margin: 4px 0 0; color: var(--err); font-size: .88rem; font-weight: 600; }
.co-err[hidden] { display: none; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--forest); }
.notice { padding: 12px 16px; border: 1px solid var(--line-strong); background: var(--surface-2); border-radius: var(--r-sm); margin: 12px 0; }
.notice--ok { border-color: #A9CDB6; background: #E7F2EA; }
.notice--error { border-color: #E0A8A1; background: #F9E6E3; color: #6E1A13; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.panel--quiet { background: var(--surface-2); }
.panel h2 { font-size: 1.4rem; margin-bottom: 10px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--surface-3); font-size: .78rem; font-weight: 700; }
.tag--ok { background: #DCEEE2; color: var(--ok); }

/* choice chips (square), used for options and category filters */
.seg-group { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.seg span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; min-height: 44px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font-weight: 600; font-size: .95rem; }
.seg input:checked + span { border-color: var(--forest); background: var(--forest); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 2px; }
.seg input:disabled + span, .seg.is-off span { opacity: .45; text-decoration: line-through; }
.seg small { font-weight: 500; opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: .95rem; background: var(--surface); }
.chip:hover { background: var(--surface-3); color: var(--text); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }

.qty { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); }
.qty button { width: 42px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--text); }
.qty button:hover { background: var(--surface-3); }
.qty input, .qty > span { width: 46px; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 700; padding: 0; display: grid; place-items: center; min-height: 44px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; } .qty--sm > span { min-height: 36px; width: 36px; }

/* ---------- Home ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__copy h1 { max-width: 16ch; }
.hero__note { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.hero__art .product-art { width: 100%; height: auto; display: block; border-radius: var(--r-md); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cat-card { display: grid; gap: 6px; padding: 20px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); text-decoration: none; }
.cat-card strong { font-family: var(--font-display); font-size: 1.2rem; }
.cat-card span { color: var(--muted); font-size: .94rem; }
.cat-card:hover { border-color: var(--forest); color: var(--text); }
@media (max-width: 800px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- Shop and product cards ---------- */
.shop-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 24px; }
.shop-sort { display: flex; align-items: center; gap: 12px; }
.shop-sort select { padding: 9px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font: inherit; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.product-card:hover { border-color: var(--forest); }
.product-card__media { display: block; background: #F3E9DA; }
.product-card__media svg, .product-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.product-card__body { padding: 14px 16px 6px; flex: 1; }
.product-card__name { font-size: 1.12rem; }
.product-card__name a { text-decoration: none; }
.product-card__name a::after { content: ""; position: absolute; inset: 0; }
.product-card__desc { margin-top: 6px; color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__chips { margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--forest); }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 16px; }
.product-card__foot .btn { position: relative; z-index: 2; }
.price__from { font-size: .8rem; color: var(--muted); margin-right: 4px; }
.price__now { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.wish { position: absolute; top: 8px; right: 8px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: rgba(255, 253, 249, .92); color: var(--text); cursor: pointer; }
.wish[aria-pressed="true"] { color: var(--accent); }
.wish[aria-pressed="true"] svg path { fill: currentColor; }
.wish--pdp { position: static; width: auto; height: auto; padding: 8px 12px; margin-top: 14px; display: inline-flex; gap: 8px; border: 1.5px solid var(--line-strong); background: transparent; font: inherit; font-weight: 600; font-size: .92rem; }
.saved-empty { padding: 32px 0; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pdp__media { position: sticky; top: 90px; }
.pdp__gallery { background: #F3E9DA; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.pdp__gallery svg, .pdp__gallery img { display: block; width: 100%; height: auto; }
.pdp__scenes { margin-bottom: 14px; }
.pdp__scene-main { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.pdp__scene-main img { display: block; width: 100%; height: auto; }
.pdp__scene-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pdp__scene-thumbs button { padding: 0; border: 2px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1 / 1; }
.pdp__scene-thumbs button[aria-current="true"] { border-color: var(--forest); }
.pdp__scene-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.pdp__scene-note { margin-top: 8px; font-size: .86rem; color: var(--muted); }
.pdp__scenes [hidden], .pdp__photos [hidden] { display: none !important; }
.pdp__scene-main canvas { display: block; width: 100%; height: auto; }
.pdp__scene-thumbs canvas { display: block; width: 100%; height: 100%; }
.pdp__photos canvas { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #fff; }
.pdp__stage-switch { display: inline-flex; margin-top: 10px; border: 2px solid var(--forest); border-radius: var(--r-sm); overflow: hidden; }
.pdp__stage-switch button { padding: 8px 14px; border: 0; background: transparent; color: var(--forest); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.pdp__stage-switch button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.pdp__stage-switch button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.pdp__previewlabel { margin: 22px 0 10px; font-size: 1.15rem; }
.pdp__photos { margin-top: 14px; }
.pdp__photos figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.pdp__photos figure[hidden] { display: none; }
.pdp__photos img { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #fff; }
.pdp__photos figcaption { padding: 8px 12px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); }
.product-card__media .is-photo { object-position: 50% 38%; background: #fff; }
.pdp__previewnote { margin-top: 10px; color: var(--muted); font-size: .88rem; text-align: center; }
.pdp__buy h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.pdp__short { margin-top: 10px; color: var(--muted); }
.pdp__price { margin: 14px 0 6px; font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pdp__price small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.pers { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 18px; margin: 18px 0 0; display: grid; gap: 14px; min-width: 0; }
.pers legend { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; padding: 0 6px; }
.form-field--plain { display: grid; gap: 6px; }
.seg-group--wrap .seg span { flex-wrap: wrap; }
.buy-row { display: flex; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 200px; }
.pdp__facts { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .94rem; color: var(--muted); }
.pdp-info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.pdp-info p + p { margin-top: .8em; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .96rem; margin-top: 12px; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; padding-right: 12px; }
.link-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.link-list a { font-weight: 600; }
.art text { font-kerning: normal; }
.thumb-art { width: 64px; height: 64px; border-radius: 6px; display: block; object-fit: cover; }
@media (max-width: 860px) { .pdp, .pdp-info { grid-template-columns: 1fr; } .pdp__media { position: static; } }

/* ---------- Cart ---------- */
.cart-title { margin-bottom: 20px; }
.cart-empty { text-align: center; padding: 40px 0; display: grid; gap: 16px; justify-items: center; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); gap: 28px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line__art .thumb-art, .cart-line__art svg { width: 84px; height: 84px; border-radius: 6px; }
.cart-line__meta { display: grid; gap: 3px; align-content: start; min-width: 0; }
.cart-line__name { font-weight: 700; text-decoration: none; }
.cart-line__pers { font-size: .88rem; color: var(--text); }
.cart-line__actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.cart-line__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-line__remove { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .88rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.cart-line__remove:hover { color: var(--err); }
.cart-sub { margin-top: 16px; }
.cart-summary { position: sticky; top: 90px; display: grid; gap: 12px; }
.cart-summary__h { font-size: 1.3rem; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .97rem; }
.summary-row--total { font-weight: 800; font-size: 1.15rem; padding-top: 10px; border-top: 1px solid var(--line); }
.promo-form { display: flex; gap: 8px; }
.promo-form input { min-height: 42px; }
.free-ship { font-size: .9rem; }
.free-ship__bar { height: 8px; background: var(--surface-3); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.free-ship__bar span { display: block; height: 100%; background: var(--forest); }
.cart-agree { display: grid; gap: 12px; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }

/* basket drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.cart-drawer__overlay { position: absolute; inset: 0; background: rgba(58, 34, 48, .45); opacity: 0; transition: opacity .2s; }
.cart-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s; visibility: hidden; }
.cart-drawer[data-open] { pointer-events: auto; }
.cart-drawer[data-open] .cart-drawer__overlay { opacity: 1; }
.cart-drawer[data-open] .cart-drawer__panel { transform: none; visibility: visible; box-shadow: -8px 0 28px rgba(58, 34, 48, .18); }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.cart-drawer__header h2 { font-size: 1.3rem; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 4px 22px; }
.cart-drawer__footer { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-drawer__footer [data-cart-totals] { display: grid; gap: 6px; }
.cart-drawer .cart-line { grid-template-columns: 64px 1fr auto; gap: 12px; }
.cart-drawer .cart-line__art .thumb-art, .cart-drawer .cart-line__art svg { width: 64px; height: 64px; }
.skeleton { height: 70px; border-radius: var(--r-sm); margin: 14px 0; background: var(--surface-3); }
.toast-stack { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 95; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: var(--forest); color: #fff; border-radius: var(--r-sm); box-shadow: 0 8px 24px rgba(58, 34, 48, .25); pointer-events: auto; }
.toast--error { background: var(--err); }
.toast__text { flex: 1; font-size: .94rem; }
.toast .btn { --btn-line: #fff; --btn-fg: #fff; flex: none; }

/* ---------- Checkout ---------- */
.flow { display: flex; align-items: center; list-style: none; margin: 0 0 24px; padding: 0; max-width: 820px; }
.flow li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--faint); white-space: nowrap; }
.flow li:not(:first-child) { flex: 1 1 auto; }
.flow li:not(:first-child)::before { content: ""; flex: 1 1 24px; min-width: 16px; height: 3px; background: var(--line-strong); margin: 0 14px; }
.flow a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.flow__n { width: 34px; height: 34px; flex: none; border-radius: 6px; display: grid; place-items: center; border: 2px solid currentColor; font-weight: 800; font-size: .92rem; background: var(--surface); }
.flow li.is-current { color: var(--text); }
.flow li.is-current .flow__n { background: var(--forest); border-color: var(--forest); color: #fff; }
.flow li.is-done { color: var(--forest); }
.flow li.is-done .flow__n { background: var(--forest); border-color: var(--forest); color: #fff; }
.flow li.is-done + li::before, .flow li.is-current::before { background: var(--forest); }
@media (max-width: 700px) { .flow li:not(.is-current) .flow__t { display: none; } .flow li:not(:first-child)::before { margin: 0 6px; min-width: 6px; } .flow li.is-current .flow__t { white-space: normal; } }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.co__main { display: grid; gap: 18px; }
.co-sec { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 22px; margin: 0; display: grid; gap: 14px; min-width: 0; }
.co-sec legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.co-sec legend + * { clear: both; }
.co-n { color: var(--muted); }
.co-n::after { content: "."; }
.co-note { margin: 0; color: var(--muted); font-size: .9rem; }
.co-status { margin: 0; font-size: .92rem; color: var(--muted); }
.co-side { display: grid; gap: 18px; align-content: start; }
.co-summary { display: grid; gap: 12px; }
.co-summary--bar { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 24px; padding: 18px 22px; }
.co-summary--bar .cart-summary__h { flex: 0 0 100%; margin: 0; }
.co-summary--bar .co-item { flex: 1 1 260px; min-width: 0; }
.co-summary--bar .co-totals { flex: 1 1 260px; padding: 0 0 0 22px; border-top: 0; border-left: 1px solid var(--line); align-content: start; }
.cart-summary__more { flex: 0 0 100%; font-size: .9rem; }
.co-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
.co-item__text { display: grid; gap: 2px; font-size: .95rem; min-width: 0; }
.co-item__text small { color: var(--muted); font-size: .85rem; }
.co-item__price { font-variant-numeric: tabular-nums; font-weight: 700; }
.co-totals { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.co-pay { display: grid; gap: 12px; }
.co-pay__stage { position: relative; min-height: 260px; }
.co-pay__veil { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; background: rgba(255, 253, 249, .9); border-radius: var(--r-sm); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 2; }
.co-pay__stage.is-locked .co-pay__veil { opacity: 1; visibility: visible; }
.co-pay__stage.is-locked .checkout-embed { pointer-events: none; }
.co-pay__loading { display: grid; gap: 12px; padding: 4px 0 8px; }
.co-pay__loading[hidden] { display: none; }
.co-pay__bar { display: block; height: 46px; border-radius: var(--r-sm); background: var(--surface-3); }
.co-pay__bar--s { width: 60%; }
.co-pay__loading p { margin: 0; color: var(--muted); font-size: .9rem; }
.checkout-embed { min-height: 200px; }
#express-element:not(:empty) { margin-bottom: 14px; }
.co-due { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.co-due strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
[data-co-paybtn] { margin-top: 12px; }
.co-billing { display: grid; gap: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.co-billing[hidden] { display: none; }
.co-sub { margin: 4px 0 0; font-size: 1.05rem; }
.co-switch { display: flex; align-items: center; gap: 14px; cursor: pointer; padding: 10px 0 2px; }
.co-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.co-switch__track { flex: none; width: 46px; height: 26px; border-radius: 6px; background: var(--line-strong); position: relative; transition: background-color .15s; }
.co-switch__track span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 4px; background: #fff; transition: transform .15s; }
.co-switch input:checked + .co-switch__track { background: var(--forest); }
.co-switch input:checked + .co-switch__track span { transform: translateX(20px); }
.co-switch input:focus-visible + .co-switch__track { outline: 3px solid var(--forest); outline-offset: 2px; }
.co-switch__text b { margin-left: 6px; color: var(--forest); }
.co [data-field] .co-err[hidden] { display: none; }
.co .form-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .co { grid-template-columns: 1fr; } .co-summary--bar .co-totals { flex-basis: 100%; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); } }
.status-page { text-align: center; padding: 20px 0; }
.status-page__icon { width: 64px; height: 64px; border-radius: 8px; display: grid; place-items: center; margin: 0 auto 18px; background: var(--surface-3); }
.status-page__icon--ok { background: #DCEEE2; color: var(--ok); }
.status-page h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.steps { list-style: none; margin: 24px auto; padding: 0; display: grid; gap: 10px; max-width: 520px; text-align: left; }
.steps li { display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.steps li.is-done { border-color: #A9CDB6; background: #E7F2EA; }
.steps span { color: var(--muted); font-size: .9rem; }
.order-summary { text-align: left; max-width: 560px; margin: 20px auto; display: grid; gap: 8px; }
.order-summary__row { display: flex; justify-content: space-between; gap: 12px; }
.order-summary__total { font-weight: 800; padding-top: 10px; border-top: 1px solid var(--line); }
.order-pers { display: block; color: var(--muted); font-size: .86rem; }

/* ---------- Shop: categories on the left, gifts on the right ---------- */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.shop__aside { position: sticky; top: 92px; display: grid; gap: 6px; }
.shop__h { font-size: 1.05rem; margin: 6px 0 4px; }
.shop__aside nav + .shop__h { margin-top: 22px; }
.shop__cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.shop__cats a, .shop__sort a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--r-sm); text-decoration: none; color: var(--text); }
.shop__cats a:hover, .shop__sort a:hover { background: var(--surface-3); }
.shop__cats a.is-active, .shop__sort a.is-active { background: var(--forest); color: #fff; font-weight: 600; }
.shop__cats small { color: var(--muted); font-size: .82rem; }
.shop__cats a.is-active small { color: #D7E5DD; }
.shop__sort { display: grid; gap: 2px; margin-bottom: 8px; }
.shop__sort a { padding: 8px 12px; font-size: .95rem; }
.shop__note { display: grid; gap: 2px; padding: 14px; margin-top: 8px; background: var(--butter); border: 1px solid var(--line-strong); border-radius: var(--r-md); font-size: .94rem; }
.shop__note a { margin-top: 6px; }
.shop__main .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (min-width: 901px) { .shop-bar .chips, .shop-bar .shop-sort select { display: none; } .shop-bar { margin-bottom: 14px; } }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; } .shop__aside { display: none; } }

/* ---------- Suggestions: pairs, extras and more gifts ---------- */
.upsell { margin-top: 28px; padding: 22px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.upsell__h { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0 0 4px; }
.upsell .muted { margin: 0 0 16px; }
.upsell--wide { margin-top: 36px; text-align: left; }
.product-grid--3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.drawer-upsell { margin-top: 18px; padding: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 8px; }
.drawer-upsell h3 { font-size: 1.05rem; margin: 0 0 2px; }
.drawer-upsell__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--text); }
.drawer-upsell__item:hover { border-color: var(--forest); }
.drawer-upsell__art .thumb-art, .drawer-upsell__art svg, .drawer-upsell__art img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; display: block; }
.drawer-upsell__txt { display: grid; gap: 1px; min-width: 0; }
.drawer-upsell__txt small { color: var(--muted); }
.drawer-upsell__go { font-weight: 600; font-size: .88rem; color: var(--accent-text); }

/* ---------- Sticky add to basket ---------- */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line-strong); box-shadow: 0 -4px 18px rgba(58, 34, 48, .12); padding: 10px 0; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.sticky-buy[hidden] { display: none; }
.sticky-buy__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sticky-buy__who { display: grid; min-width: 0; }
.sticky-buy__name { font-family: var(--font-display); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { color: var(--muted); font-size: .94rem; }
.sticky-buy .btn { flex: none; min-width: 170px; }
body.has-sticky-buy .site-footer { padding-bottom: 76px; }

/* ---------- Order tracking ---------- */
.tk-hero { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(24px, 4vw, 44px) 0; }
.tk-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.tk-hero h1 { max-width: 16ch; }
.tk-hero__art { max-width: 460px; width: 100%; justify-self: end; }
.tk-scene { display: block; width: 100%; height: auto; }
.tk-ref { color: var(--muted); margin-bottom: 10px; }
.tk-lookup { margin-top: 22px; display: grid; gap: 14px; max-width: 520px; }
.tk-lookup__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
.tk-lookup .btn { justify-self: start; }
.tk-eta { margin-top: 22px; display: inline-grid; gap: 2px; padding: 14px 20px; background: var(--surface); border: 2px solid var(--forest); border-radius: var(--r-md); }
.tk-eta__label { font-size: .88rem; color: var(--muted); }
.tk-eta__date { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--forest); line-height: 1.15; }
.tk-eta__left { font-weight: 600; color: var(--accent-text); }
.tk-body { padding-top: clamp(22px, 3vw, 36px); }
.tk-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(18px, 3vw, 28px); }
.tk-card .h3 { margin-bottom: 14px; }
.tk-card .h3:not(:first-child) { margin-top: 24px; }
.tk-journey { margin-bottom: 20px; }
.tk-trail { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.tk-stop { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 0 6px; position: relative; color: var(--faint); }
.tk-stop::before { content: ""; position: absolute; top: 33px; left: -50%; width: 100%; height: 6px; border-radius: 3px; background: var(--line); }
.tk-stop:first-child::before { display: none; }
.tk-stop.is-done::before, .tk-stop.is-here::before { background: var(--forest); }
.tk-stop__dot { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 3px solid var(--line-strong); color: var(--faint); }
.tk-stop.is-done .tk-stop__dot { background: var(--forest); border-color: var(--forest); color: #FBF3E8; }
.tk-stop.is-here .tk-stop__dot { background: var(--tint); border-color: var(--forest); color: var(--forest); box-shadow: 0 0 0 6px rgba(31, 77, 63, .16); animation: tk-glow 2.8s ease-in-out infinite; }
.tk-stop__word { font-weight: 700; color: var(--text); }
.tk-stop.is-next .tk-stop__word { color: var(--faint); }
.tk-stop__line { font-size: .86rem; color: var(--muted); display: none; max-width: 20ch; }
.tk-stop.is-here .tk-stop__line { display: block; }
@keyframes tk-glow { 0%, 100% { box-shadow: 0 0 0 6px rgba(31, 77, 63, .16); } 50% { box-shadow: 0 0 0 10px rgba(31, 77, 63, .06); } }
.tk-note { margin-top: 18px; padding: 12px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted); }
.tk-courier { margin-top: 20px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: #E8F0F4; border: 1px solid #C9D9E2; border-radius: var(--r-md); }
.tk-courier__label { display: block; font-size: .88rem; color: var(--muted); }
.tk-courier__no { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em; overflow-wrap: anywhere; }
.tk-courier__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.tk-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.tk-item__art .thumb-art, .tk-item__art svg { width: 88px; height: 88px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #F3E9DA; }
.tk-item__body { display: grid; gap: 4px; }
.tk-item__price { font-weight: 600; }
.tk-words { display: grid; gap: 4px; margin: 6px 0 0; padding: 8px 12px; background: var(--butter); border-radius: var(--r-sm); }
.tk-words div { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.tk-words dt { font-size: .82rem; color: var(--muted); }
.tk-words dd { margin: 0; font-family: var(--font-display); font-size: 1.1rem; color: var(--text); }
.tk-sums { margin-top: 12px; display: grid; gap: 6px; color: var(--muted); }
.tk-sums div { display: flex; justify-content: space-between; gap: 12px; }
.tk-sums .tk-sums__total { color: var(--text); font-weight: 700; font-size: 1.1rem; padding-top: 8px; border-top: 1px solid var(--line); }
.tk-story { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tk-story li { position: relative; display: grid; gap: 2px; padding: 0 0 18px 30px; }
.tk-story li::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: -2px; width: 3px; background: var(--line); }
.tk-story li:last-child::before { display: none; }
.tk-story li::after { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 3px solid var(--forest); }
.tk-story li.is-now::after { background: var(--accent); border-color: var(--accent); }
.tk-story time { font-size: .82rem; color: var(--muted); }
.tk-story span { font-size: .92rem; color: var(--muted); }
.tk-h2 { margin: clamp(28px, 4vw, 44px) 0 14px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.tk-h2 + .muted { margin: -6px 0 16px; max-width: 60ch; }
.tk-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tk-tile { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--line-strong); border-radius: var(--r-md); text-decoration: none; color: var(--text); }
.tk-tile strong { font-family: var(--font-display); font-size: 1.2rem; }
.tk-tile span { color: var(--muted); }
.tk-tile:hover { border-color: var(--forest); }
.tk-tile--butter { background: #FBF0C8; }
.tk-tile--mint { background: #DDEEE3; }
.tk-tile--blush { background: #FADFD8; }
.tk-again { margin-top: 32px; }
.tk-more { margin-top: 4px; }
@media (max-width: 860px) {
    .tk-hero__grid, .tk-cols { grid-template-columns: 1fr; }
    .tk-hero__art { justify-self: start; max-width: 320px; }
    .tk-tiles { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .tk-trail { grid-template-columns: 1fr; gap: 0; }
    .tk-stop { grid-template-columns: 68px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; column-gap: 16px; padding: 0 0 18px; }
    .tk-stop::before { display: none; }
    .tk-stop:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 68px; bottom: 0; width: 6px; border-radius: 3px; background: var(--line); }
    .tk-stop.is-done:not(:last-child)::after { background: var(--forest); }
    .tk-stop__dot { grid-row: span 2; }
    .tk-stop__line { max-width: none; }
    .tk-lookup__row { grid-template-columns: 1fr; }
    .tk-item { grid-template-columns: 72px minmax(0, 1fr); }
    .tk-item__art .thumb-art, .tk-item__art svg { width: 72px; height: 72px; }
    .tk-item__price { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .tk-stop.is-here .tk-stop__dot { animation: none; } }

/* ---------- Content pages ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.feature h2 { font-size: 1.3rem; margin-bottom: 8px; }
.prose, .legal { max-width: 70ch; }
.prose h2, .legal h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; }
.prose h2:first-child, .legal h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol, .legal p { margin: 0 0 1em; }
.prose ul, .prose ol, .legal ul { padding-left: 1.3em; }
.prose li, .legal li { margin-bottom: .45em; }
.prose img { max-width: 100%; height: auto; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.steps--compact { margin-left: 0; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; counter-reset: s; }
.how-steps li { counter-increment: s; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.how-steps h2 { font-size: 1.25rem; margin-bottom: 8px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--forest); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item__body { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.faq-nav { display: grid; gap: 4px; align-content: start; position: sticky; top: 90px; }
.faq-nav a { padding: 8px 12px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.faq-nav a:hover { background: var(--surface-3); }
.faq-group + .faq-group { margin-top: 36px; }
@media (max-width: 760px) { .faq-layout { grid-template-columns: 1fr; gap: 16px; } .faq-nav { position: static; display: flex; flex-wrap: wrap; } }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; position: relative; }
.blog-card:hover { border-color: var(--forest); }
.blog-card--feature { grid-column: 1 / -1; flex-direction: row; }
.blog-card--feature .blog-card__media { flex: 1 1 50%; }
.blog-card--feature .blog-card__body { flex: 1 1 50%; align-self: center; padding: 28px; }
.blog-card__media .blog-cover { display: block; width: 100%; height: auto; }
.blog-card__body { padding: 18px 20px 22px; }
.blog-card__meta { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.blog-card h2, .blog-card h3 { font-size: 1.25rem; }
.blog-card h2 a, .blog-card h3 a { text-decoration: none; }
.blog-card h2 a::after, .blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.blog-card p { margin-top: 8px; color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .blog-card--feature { flex-direction: column; } }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review { margin: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 8px; }
.review__stars { color: #C9922B; letter-spacing: 2px; }
.review__stars span { color: var(--line-strong); }
.review blockquote { margin: 0; }
.review figcaption { color: var(--muted); font-size: .88rem; }
.error-page { text-align: center; padding: clamp(48px, 8vw, 110px) 0; }
.error-page .code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; color: var(--forest); line-height: 1; }
.error-page .lede { margin-left: auto; margin-right: auto; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: .92rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { color: var(--muted); font-size: .85rem; }
.table-scroll { overflow-x: auto; }
.newsletter-form .join { display: flex; gap: 8px; }
.join__btn { padding: 0 18px; border: 2px solid var(--accent); border-radius: var(--r-sm); background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.newsletter-msg { margin-top: 6px; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #F4EADB; margin-top: 56px; padding: 48px 0 24px; }
.site-footer a { color: #F4EADB; }
.site-footer a:hover { color: var(--butter); }
.site-footer .navbar__brand { color: #FBF3E8; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 1.05rem; color: #FBF3E8; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid p { margin-top: 12px; font-size: .94rem; max-width: 38ch; }
.footer-address { font-size: .88rem; }
.footer-link-btn { background: none; border: 0; padding: 0; font: inherit; color: #F4EADB; text-decoration: underline; cursor: pointer; }
.footer-link-btn:hover { color: var(--butter); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(251, 243, 232, .25); font-size: .88rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cc { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 980px; margin: 0 auto; background: var(--surface); border: 2px solid var(--forest); border-radius: var(--r-md); box-shadow: 0 12px 32px rgba(58, 34, 48, .22); padding: 18px 20px; }
.cc[hidden] { display: none; }
.cc__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; }
.cc h2 { font-size: 1.1rem; margin: 0 0 4px; }
.cc p { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.cc p a { color: var(--text); }
.cc__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.cc__actions .btn, .cc-dialog__actions .btn { padding: 9px 16px; font-size: .92rem; min-height: 0; }
.cc__custom { background: none; border: 0; color: var(--text); font: inherit; font-size: .92rem; text-decoration: underline; cursor: pointer; padding: 8px 6px; }
.cc-dialog { border: 2px solid var(--forest); border-radius: var(--r-md); background: var(--bg); color: var(--text); padding: 24px; width: min(520px, calc(100vw - 32px)); }
.cc-dialog::backdrop { background: rgba(58, 34, 48, .55); }
.cc-dialog h2 { margin: 0 0 6px; font-size: 1.35rem; }
.cc-dialog__lead { margin: 0 0 16px; color: var(--muted); font-size: .94rem; }
.cc-opt { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 10px; background: var(--surface); }
.cc-opt__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.cc-opt__row span { display: grid; gap: 2px; }
.cc-opt__row small { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.cc-opt__row input { width: 22px; height: 22px; flex: none; accent-color: var(--forest); }
.cc-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
@media (max-width: 700px) { .cc__inner { grid-template-columns: 1fr; } .cc__actions { justify-content: flex-start; } }

@media (max-width: 700px) {
    .grid-2, .form-grid, .co .form-grid { grid-template-columns: 1fr; }
    .cart-line { grid-template-columns: 72px 1fr; } .cart-line__price { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* --- Homepage --- */
.hb { display: grid; gap: 16px; margin-top: 20px; max-width: 520px; }
.hb__group { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.hb__group legend, .hb__group label { font-weight: 700; font-size: .95rem; padding: 0; }
.hb__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hb__stage { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.hb__stage canvas, .hb__stage img { width: 100%; height: auto; display: block; border-radius: var(--r-md); background: var(--peach); }
.hb__stage canvas:not(.is-on) { position: absolute; inset: 0; visibility: hidden; }
.hero--build { background: #FFE3CF; }
.trust-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 24px; }
.trust-strip__grid div { display: grid; gap: 2px; }
.trust-strip__grid span { color: var(--muted); font-size: .92rem; }
.band { padding: clamp(36px, 6vw, 72px) 0; }
.band--blush { background: #F8D4CB; }
.band--forest { background: var(--forest); color: #FBF3E8; }
.band--forest .lede { color: #FBF3E8; }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.band__art .product-art { width: 100%; height: auto; display: block; border-radius: var(--r-md); max-width: 480px; margin-inline: auto; }
.btn--gold { background: #FFD27A; color: #3A2230; border-color: #FFD27A; }
.btn--gold:hover { background: #FFC85A; }
.age-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.age-card { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-md); background: var(--peach); color: var(--text); text-decoration: none; min-height: 96px; align-content: center; }
.age-card:nth-child(4n+2) { background: #F8D4CB; }
.age-card:nth-child(4n+3) { background: var(--butter); }
.age-card:nth-child(4n+4) { background: #DDE8D6; }
.age-card strong { font-family: var(--font-display); font-size: 1.15rem; }
.age-card span { font-size: .92rem; }
.home-end { background: var(--butter); text-align: center; }
@media (max-width: 800px) { .band__grid { grid-template-columns: 1fr; } }
.hb__stage [hidden] { display: none !important; }
.hb__stage { max-width: 380px; }
.hb input[type="text"] { width: 100%; max-width: 340px; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font: inherit; color: var(--text); }

.co-upsell { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.co-upsell__h { margin: 0; font-weight: 700; }
.co-upsell__h span { font-weight: 500; color: var(--muted); font-size: .9rem; }
.co-upsell__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--text); text-decoration: none; min-height: 56px; }
.co-upsell__item:hover { border-color: var(--forest); }
.co-upsell__art .thumb-art { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-sm); display: block; }
.co-upsell__txt { display: grid; gap: 2px; }
.co-upsell__txt small { color: var(--muted); }
.co-upsell__go { font-weight: 700; color: var(--accent-text); font-size: .92rem; }
