/* Ecomake design tokens.
 * Colours are measured from the brand's own product photos (WB slides): warm skin-tone family,
 * hue 15-30deg, plus the black/ivory of the packaging labels. See docs/06-visual-concept.md.
 * In Shop-Script these become theme settings (theme.xml color controls) + one :root block.
 */
@font-face {
  font-family: 'Onest';
  src: url('../fonts/onest-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/onest-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant';
  src: url('../fonts/cormorant-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant';
  src: url('../fonts/cormorant-cyrillic-wght-italic.woff2') format('woff2');
  font-weight: 300 700; font-style: italic; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant';
  src: url('../fonts/cormorant-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant';
  src: url('../fonts/cormorant-latin-wght-italic.woff2') format('woff2');
  font-weight: 300 700; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* surfaces */
  --ivory: #fbf7f2;
  --white: #fff;
  --paper: #f4ece3;
  --sand: #e7d8c8;
  --line: #e0d2c3;
  /* the deep field: hero, comparison, footer (the colour of the label ink, a little warmer than --ink) */
  --deep: #241812;
  --deep-2: #33231a;
  --on-deep: #f4ece3;
  --on-deep-muted: #c9b9a8;
  /* text */
  --ink: #2b1d16;
  --cocoa: #5a3b2a;
  --muted: #7a6558;
  /* accents (clay = packaging terracotta, rose = lip/blush family) */
  --clay: #b46c54;
  --clay-deep: #8f4f3a;
  --rose: #e4b49c;
  --rose-soft: #f2dccf;
  /* states */
  --ok: #4e6b4a;
  --ok-soft: #e5ecdf;
  --err: #a33a2a;
  --err-soft: #f6dcd6;
  --warn-soft: #f7ecd0;
  /* shape: sharp edges and 1px lines; only swatches, radios and the cart badge are round (they say border-radius: 50% themselves) */
  --r-s: 0;
  --r-m: 0;
  --r-l: 0;
  --r-pill: 0;
  /* type */
  --f-display: 'Cormorant', 'Times New Roman', serif;
  --f-ui: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* layout */
  --gutter: 16px;
  --maxw: 1240px;
  --header-h: 64px;
  --tap: 48px;
  /* the frame of an object picture: one ratio and one ground everywhere (card, tile, line, look) */
  --frame-ratio: 3 / 4;
  --frame-bg: var(--paper);
  /* type floor: nothing a person reads is smaller than --fs-caption */
  --fs-caption: 12px;
  --fs-note: 13px;
  --fs-small: 14px;
  --fs-text: 15px;
  --fs-body: 16px;
  --fs-md: 18px;
  --fs-lg: 20px;
  --fs-xl: 22px;
  --fs-2xl: 24px;
  --fs-3xl: 28px;
  --fs-logo-lg: 38px;
  --fs-numeral: 56px;
  /* motion */
  --t-fast: 160ms;
  --t-med: 260ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* luxury motion: long deceleration, no spring, no bounce (decision docs/decisions/2026-10-27-motion.md) */
  --ease-lux: cubic-bezier(.16, 1, .3, 1);
  --t-slow: 700ms;
  --t-reveal: 1100ms;
  --t-drawer-in: 520ms;
  --t-drawer-out: 320ms;
  /* shadow */
  --shadow-s: none;
  --shadow-l: 0 10px 40px rgba(43, 29, 22, .18);
}

@media (min-width: 640px) { :root { --gutter: 24px; --header-h: 72px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 80px; } }

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t-med: 0ms; --t-slow: 0ms; --t-reveal: 0ms; --t-drawer-in: 0ms; --t-drawer-out: 0ms; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
}

/* Reset, typography, layout primitives. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--f-ui); font-size: var(--fs-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--ivory); padding: 10px 14px; border-radius: var(--r-s); z-index: 200; }
.skip:focus { left: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 40px; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--deep); color: var(--on-deep); }
.section--deep { background: var(--deep); color: var(--on-deep); }
.section--deep .eyebrow { color: var(--on-deep-muted); }
.section--deep .h2 em, .section--deep .h3 em { color: var(--rose); white-space: nowrap; }
.section--deep .lead, .section--deep .section__lead { color: var(--on-deep-muted); }
@media (min-width: 1024px) { .section { padding-block: 120px; } }

/* type */
.display { font-family: var(--f-display); font-weight: 300; letter-spacing: -0.01em; line-height: 1.02; }
.h1 { font-family: var(--f-display); font-weight: 300; letter-spacing: -0.02em; line-height: .98; font-size: clamp(44px, 9.6vw, 104px); overflow-wrap: break-word; hyphens: manual; }
.h2 { font-family: var(--f-display); font-weight: 300; letter-spacing: -0.015em; line-height: 1.04; font-size: clamp(34px, 6.4vw, 64px); overflow-wrap: break-word; }
.h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; font-size: clamp(24px, 3.4vw, 32px); }
.h1 em, .h2 em, .h3 em { font-style: italic; color: var(--clay-deep); }
.eyebrow { font-size: var(--fs-caption); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.lead { font-size: clamp(17px, 2.4vw, 20px); line-height: 1.5; color: var(--cocoa); max-width: 56ch; }
.small { font-size: var(--fs-small); line-height: 1.45; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }

.stack > * + * { margin-top: var(--s, 16px); }
.row { display: flex; gap: 12px; align-items: center; }
.row--wrap { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.center { text-align: center; }

.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section__head .h2 { max-width: 20ch; }
.section__lead { margin-top: 8px; max-width: 58ch; color: var(--cocoa); }
.h1, .h2, .h3 { text-wrap: balance; }
.hero .h1 { font-size: clamp(44px, 6vw, 92px); max-width: 15ch; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
@media (hover: hover) { .link-arrow:hover { color: var(--clay-deep); } }

/* Components. One class family per component; states live next to the component. */

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 32px; border-radius: var(--r-pill);
  font-weight: 500; font-size: var(--fs-note); letter-spacing: .14em; text-transform: uppercase; line-height: 1; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  user-select: none;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--deep); color: var(--on-deep); }
@media (hover: hover) { .btn--primary:hover { background: var(--clay-deep); } }
.btn--clay { background: var(--clay-deep); color: var(--white); }
@media (hover: hover) { .btn--clay:hover { background: var(--cocoa); } }
.btn--ghost { border-color: var(--deep); color: var(--deep); background: transparent; border-width: 1px; }
@media (hover: hover) { .btn--ghost:hover { background: var(--deep); color: var(--on-deep); } }
.btn--light { background: var(--on-deep); color: var(--deep); }
@media (hover: hover) { .btn--light:hover { background: var(--white); } }
.btn--ghost-light { border-color: color-mix(in srgb, var(--on-deep) 70%, transparent); color: var(--on-deep); background: transparent; border-width: 1px; }
@media (hover: hover) { .btn--ghost-light:hover { background: var(--on-deep); color: var(--deep); } }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: var(--fs-caption); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn .ic { width: 20px; height: 20px; }

.icon-btn { position: relative; width: var(--tap); height: var(--tap); display: inline-grid; place-items: center; border-radius: 50%; transition: background var(--t-fast); }
@media (hover: hover) { .icon-btn:hover { background: var(--paper); } }
.icon-btn .ic { width: 24px; height: 24px; }
.ic { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- promo bar / header ---------- */
.promo { background: var(--deep); color: var(--on-deep); text-align: center; font-size: var(--fs-caption); letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; padding: 10px var(--gutter); }
.promo b { font-weight: 500; }
.hdr { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--ivory) 94%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { height: var(--header-h); display: flex; align-items: center; gap: 8px; }
.hdr__burger { margin-left: -12px; }
/* wordmark: "eco" bold + "make" regular, one colour, tight kerning (markup `eco<span>make</span>` in header, mobile menu, footer; no "(R)") */
.logo { font-family: var(--f-ui); font-weight: 700; font-size: var(--fs-3xl); letter-spacing: -.065em; text-decoration: none; line-height: 1; color: var(--ink); padding: 8px 4px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.logo span { color: inherit; font-weight: 400; }
.hdr__spacer { flex: 1 1 auto; }
.nav { display: none; }
.hdr__count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--clay-deep); color: var(--white); font-size: var(--fs-caption); font-weight: 600; display: grid; place-items: center; transition: transform var(--t-slow) var(--ease-lux); }
/* the soft answer to "added" is played by Eco.motion.pulse (0.7 s); this class is the fallback when the script is absent */
.hdr__count.bump { transform: scale(1.12); }
@media (min-width: 1024px) {
  .hdr__burger { display: none; }
  .nav { display: flex; gap: 36px; margin-left: 48px; }
  .nav a { text-decoration: none; font-weight: 500; font-size: var(--fs-note); letter-spacing: .14em; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid transparent; }
  .nav a:hover, .nav a[aria-current="page"] { border-color: var(--ink); }
  .hdr__spacer { flex: 1 1 auto; }
}

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--ink) 45%, transparent); opacity: 0; pointer-events: none; transition: opacity var(--t-med); }
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 360px); background: var(--ivory); padding: 16px var(--gutter) 32px; transform: translateX(-100%); transition: transform var(--t-med) var(--ease); overflow-y: auto; }
.menu.is-open .menu__panel { transform: none; }
.menu__panel a { display: flex; align-items: center; min-height: 52px; font-family: var(--f-display); font-weight: 500; font-size: var(--fs-3xl); text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- badges, chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); font-size: var(--fs-caption); font-weight: 600; letter-spacing: .02em; background: var(--rose-soft); color: var(--cocoa); }
.badge--ink { background: var(--ink); color: var(--ivory); }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--ivory); font-weight: 500; font-size: var(--fs-text); text-decoration: none; transition: all var(--t-fast); }
@media (hover: hover) { .chip:hover { border-color: var(--cocoa); } }
.chip[aria-pressed="true"], .chip.is-on { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }

/* ---------- price ---------- */
.price { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.price__was { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: .85em; }
.price--lg { font-size: var(--fs-3xl); }

/* ---------- swatches ---------- */
.sw { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--c, var(--sand)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); flex: none; }
.sw--sm { width: 16px; height: 16px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 16px 6px 8px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--ivory); font-size: var(--fs-text); font-weight: 500; transition: border-color var(--t-fast), background var(--t-fast); text-align: left; }
.swatch-btn .sw { width: 36px; height: 36px; }
@media (hover: hover) { .swatch-btn:hover { border-color: var(--cocoa); } }
.swatch-btn[aria-checked="true"] { border-color: var(--cocoa); box-shadow: 0 0 0 1.5px var(--cocoa); background: var(--white); }
.swatch-btn__t { display: block; line-height: 1.2; }
.swatch-btn__s { display: block; font-size: var(--fs-caption); color: var(--muted); font-weight: 400; }

/* ---------- product card ---------- */
.grid { display: grid; gap: 28px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid { gap: 44px 24px; } }
.card { display: flex; flex-direction: column; min-width: 0; position: relative; }
.card__img { position: relative; display: block; aspect-ratio: var(--frame-ratio); border-radius: var(--r-m); overflow: hidden; background: var(--frame-bg); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-lux); }
@media (hover: hover) and (pointer: fine) { .card:hover .card__img img { transform: scale(1.03); } }
.card__badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__body { padding-top: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__name { font-family: var(--f-display); font-weight: 500; font-size: var(--fs-xl); line-height: 1.15; text-decoration: none; }
@media (hover: hover) { .card__name:hover { color: var(--clay-deep); } }
.card__sub { font-size: var(--fs-note); color: var(--muted); line-height: 1.35; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card__shades { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.card .btn { width: 100%; margin-top: 6px; }

/* ---------- qty ---------- */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--ivory); }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
@media (hover: hover) { .qty button:hover { background: var(--paper); } }
.qty output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--sm button { width: 44px; height: 44px; }

/* ---------- progress to free shipping / gift ---------- */
.prog { background: var(--paper); border-radius: var(--r-m); padding: 14px 16px; }
.prog__t { font-size: var(--fs-small); line-height: 1.35; display: flex; gap: 8px; align-items: flex-start; }
.prog__t .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--clay-deep); }
.prog__bar { position: relative; height: 8px; border-radius: 0; background: var(--sand); margin-top: 10px; overflow: hidden; }
.prog__fill { position: absolute; inset: 0; border-radius: 0; background: linear-gradient(90deg, var(--rose), var(--clay)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform var(--t-slow) var(--ease-lux); }
.prog.is-done { background: var(--ok-soft); }
.prog.is-done .prog__t .ic { color: var(--ok); }
.prog.is-done .prog__fill { background: var(--ok); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field__l { font-size: var(--fs-small); font-weight: 600; }
.input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--white); font-size: var(--fs-body); transition: border-color var(--t-fast); }
@media (hover: hover) { .input:hover { border-color: var(--muted); } }
.input:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 25%, transparent); }
.input[aria-invalid="true"] { border-color: var(--err); background: var(--err-soft); }
.field__err { color: var(--err); font-size: var(--fs-note); min-height: 0; }
.field__hint { color: var(--muted); font-size: var(--fs-note); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.45; cursor: pointer; padding-block: 6px; }
.check input { appearance: none; width: 24px; height: 24px; flex: none; margin: 1px 0 0; border: 1.5px solid var(--cocoa); border-radius: 6px; background: var(--white); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--cocoa); }
.check input:checked::after { content: ''; width: 6px; height: 11px; border: solid var(--ivory); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check a { color: var(--clay-deep); }
.opt { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--white); cursor: pointer; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
@media (hover: hover) { .opt:hover { border-color: var(--muted); } }
.opt:has(input:checked) { border-color: var(--cocoa); box-shadow: 0 0 0 1.5px var(--cocoa); }
.opt input { appearance: none; width: 22px; height: 22px; flex: none; border: 1.5px solid var(--cocoa); border-radius: 50%; display: grid; place-items: center; background: var(--white); cursor: pointer; }
.opt input:checked { background: var(--cocoa); box-shadow: inset 0 0 0 4px var(--white); }
.opt__t, .opt__s { display: block; }
.opt__t { font-weight: 600; font-size: var(--fs-text); line-height: 1.3; }
.opt__s { font-size: var(--fs-note); color: var(--muted); line-height: 1.35; }
.opt__p { margin-left: auto; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- placeholders: facts the data does not have (never invent) ---------- */
.ph { border: 1.5px dashed var(--clay); border-radius: var(--r-m); background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--clay) 6%, transparent) 10px 20px); padding: 14px 16px; font-size: var(--fs-small); color: var(--cocoa); }
.ph b { display: block; font-size: var(--fs-caption); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 4px; }
.ph--inline { display: inline-block; padding: 2px 8px; border-radius: 6px; }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; font-weight: 600; font-size: var(--fs-body); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform var(--t-med) var(--ease); }
.acc[open] summary .ic { transform: none; }
.acc[open] summary .ic path { d: path("M5 12h14"); }
.acc__body { padding: 0 0 20px; color: var(--cocoa); font-size: var(--fs-text); line-height: 1.55; }
.acc__body p + p { margin-top: 10px; }

/* ---------- drawer (mini-cart) ---------- */
.ovl { position: fixed; inset: 0; z-index: 100; background: color-mix(in srgb, var(--ink) 50%, transparent); opacity: 0; pointer-events: none; transition: opacity 400ms var(--ease-lux); }
.ovl.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 110; background: var(--ivory); display: flex; flex-direction: column; box-shadow: var(--shadow-l); visibility: hidden; transition: transform var(--t-drawer-out) var(--ease-lux), visibility 0s linear var(--t-drawer-out); }
@media (max-width: 719px) {
  .drawer { left: 0; right: 0; bottom: 0; max-height: 92dvh; border-radius: var(--r-l) var(--r-l) 0 0; transform: translateY(105%); }
}
@media (min-width: 720px) {
  .drawer { top: 0; right: 0; bottom: 0; width: 460px; transform: translateX(105%); }
}
.drawer.is-open { transform: none; visibility: visible; transition: transform var(--t-drawer-in) var(--ease-lux), visibility 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter) 8px; }
.drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 8px var(--gutter) 16px; -webkit-overflow-scrolling: touch; }
.drawer__foot { padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ivory); }

/* cart line */
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { aspect-ratio: 3 / 4; border-radius: var(--r-s); overflow: hidden; background: var(--paper); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 600; font-size: var(--fs-text); line-height: 1.3; }
.line__sub { font-size: var(--fs-note); color: var(--muted); }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.line__rm { font-size: var(--fs-small); color: var(--muted); text-decoration: underline; min-height: 44px; padding-right: 12px; }

/* cross-sell strip */
.xs { display: grid; gap: 10px; }
.xs__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.xs__img { display: block; width: 56px; aspect-ratio: 3 / 4; border-radius: 0; overflow: hidden; background: var(--paper); }
.xs__img img { width: 100%; height: 100%; object-fit: cover; }
.xs__n { font-size: var(--fs-small); font-weight: 600; line-height: 1.25; }
.xs__p { font-size: var(--fs-note); color: var(--muted); }

/* totals */
.tot { display: grid; gap: 8px; font-size: var(--fs-text); }
.tot__r { display: flex; justify-content: space-between; gap: 12px; }
.tot__r--big { font-size: var(--fs-lg); font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); }
.tot__r .save { color: var(--ok); font-weight: 600; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--ivory); padding: 12px 20px; border-radius: var(--r-pill); font-size: var(--fs-small); max-width: calc(100vw - 32px); transition: all var(--t-med) var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast--top { bottom: auto; top: 16px; transform: translate(-50%, -20px); }
.toast--top.is-on { transform: translate(-50%, 0); }

/* generic modal / sheet */
.modal { position: fixed; z-index: 120; left: 50%; top: 50%; width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; background: var(--ivory); border-radius: var(--r-l); box-shadow: var(--shadow-l); transform: translate(-50%, -46%); opacity: 0; pointer-events: none; transition: all var(--t-med) var(--ease); padding: 24px var(--gutter) 28px; }
.modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
@media (max-width: 719px) {
  .modal { left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: var(--r-l) var(--r-l) 0 0; max-height: 92dvh; transform: translateY(105%); }
  .modal.is-open { transform: none; }
}

/* alerts */
.alert { padding: 12px 16px; border-radius: var(--r-s); font-size: var(--fs-small); line-height: 1.45; }
.alert--warn { background: var(--warn-soft); }
.alert--err { background: var(--err-soft); color: var(--err); }
.alert--ok { background: var(--ok-soft); color: var(--ok); }

/* breadcrumbs */
.crumbs { font-size: var(--fs-note); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; padding-block: 16px; }
.crumbs a { text-decoration: none; }
@media (hover: hover) { .crumbs a:hover { color: var(--ink); text-decoration: underline; } }

/* footer */
.ftr { background: var(--deep); color: var(--on-deep-muted); padding: 72px 0 120px; margin-top: 96px; }
.ftr a { text-decoration: none; }
@media (hover: hover) { .ftr a:hover { text-decoration: underline; } }
.ftr h4 { font-size: var(--fs-caption); letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep); margin-bottom: 16px; font-weight: 500; }
.ftr li + li { margin-top: 10px; }
.ftr__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr { padding-bottom: 56px; } }
@media (min-width: 1100px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; } }
.ftr__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ftr__brand .small { max-width: 36ch; }
.ftr__brand .btn { margin-top: 4px; }
.logo--light { color: var(--on-deep); font-size: var(--fs-logo-lg); }
.logo--light span { color: inherit; }

.ftr li a { display: inline-block; padding-block: 6px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; }
.crumbs a { display: inline-block; padding-block: 8px; }
.line__shade select { max-width: 100%; min-height: 44px; padding: 4px 28px 4px 10px; border: 1px solid var(--line); border-radius: var(--r-s, 10px); background: var(--white); color: var(--cocoa); font: inherit; font-size: var(--fs-small); }
.line__shade select:disabled { opacity: .55; }

/* ---------- motion ----------
 * Order of trust: CSS first (scroll-driven animation, only where the browser has it), then js/ecomake.motion.js (inView) for the rest.
 * A hidden start state exists ONLY inside @supports + no-preference, or after the script added .eco-io and marked the element itself
 * (data-mv): if a file fails to load the page stays fully visible. Only transform and opacity move; the first-screen picture never
 * gets opacity (it is the LCP element). Decision: docs/decisions/2026-10-27-motion.md */
@keyframes eco-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes eco-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes eco-hdr-shadow { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  /* first screen: the picture settles (transform only, from the very first frame, so there is no jump and no LCP cost) */
  .hero__bg, [data-settle] { animation: eco-settle 1800ms var(--ease-lux) both; }

  @supports (animation-timeline: view()) {
    [data-reveal] { animation: eco-rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    [data-reveal="media"] { animation-name: eco-rise-media; }
  }
  @keyframes eco-rise-media { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  /* fallback path (Firefox, Safari): the script sets html.eco-io and data-mv on each element it watches */
  .eco-io [data-reveal][data-mv]:not(.is-in) { opacity: 0; transform: translateY(18px); }

  /* header: the border line gets a soft shadow once the page is scrolled (height of the header never changes) */
  @supports (animation-timeline: scroll()) {
    .hdr::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none; background: linear-gradient(color-mix(in srgb, var(--ink) 9%, transparent), color-mix(in srgb, var(--ink) 0%, transparent)); opacity: 0; animation: eco-hdr-shadow linear both; animation-timeline: scroll(root block); animation-range: 0 80px; }
  }
}

/* scroll-driven animations ignore animation-duration, so the global reduce rule does not stop them: switch them off explicitly */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-parallax], [data-settle], .hero__bg, .hdr::after { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* accordion: smooth height where the browser can interpolate it, instant elsewhere */
@supports (interpolate-size: allow-keywords) and selector(::details-content) {
  .acc { interpolate-size: allow-keywords; }
  .acc::details-content { block-size: 0; overflow: clip; transition: block-size 500ms var(--ease-lux), content-visibility 500ms allow-discrete; }
  .acc[open]::details-content { block-size: auto; }
}
