/* ÉDITÉ — shared styles
   Tokens first, then base, layout, components, then page sections. */

:root {
  --bg: #F6F3ED;
  --surface: #FBF9F5;
  --sand: #E9E3D9;
  --ink: #292824;
  --ink-2: #4A4843;
  --ink-3: #6B675F;
  --stone: #8D8981;
  --line: #E9E3D9;
  --line-strong: #C9C2B6;
  --sage: #5F6857;
  --sage-ink: #4E5747;
  --sage-bg: #E3E6DC;
  --hero: #2A231D;
  --on-dark: #F6F3ED;
  --on-dark-2: #D9D4CA;

  --serif: 'Bodoni Moda', Didot, Georgia, serif;
  --sans: Jost, system-ui, sans-serif;

  --gutter: max(20px, 5%);
  --max: 1280px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --hero-blur: 22px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: #000; }
button { font-family: inherit; color: inherit; }
input:focus { outline: none; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.02;
}
.display--xl { font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.display--product { font-size: clamp(40px, 4.4vw, 60px); }
.title-md { font-family: var(--serif); font-weight: 400; font-size: 32px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow--sage { color: var(--sage); }
.eyebrow--sage-ink { color: var(--sage-ink); }

.lede { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.body { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.small { font-size: 12px; color: var(--ink-3); }
.muted { color: var(--ink-3); }

/* ---------- Prototype banner ---------- */

.banner {
  background: var(--sand);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  color: var(--ink-2);
}

/* ---------- App header (Wishlist / Product) ---------- */

.app-header { border-bottom: 1px solid var(--line); }
.app-header__inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-decoration: none;
}
.app-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.app-nav a { text-decoration: none; padding: 10px 16px; border-radius: var(--radius-pill); }
.app-nav a.is-active { background: var(--sand); font-weight: 500; }
.avatar {
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 14px; font-weight: 500;
}
.avatar:hover { color: var(--surface); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  border: 0;
  cursor: pointer;
}
.btn--primary { background: var(--ink); color: var(--surface); }
.btn--primary:hover { color: var(--surface); background: #000; }
.btn--light { background: var(--on-dark); color: var(--ink); padding: 16px 32px; }
.btn--outline { border: 1px solid var(--line-strong); padding: 15px 24px; font-weight: 400; background: transparent; }

/* Pill toggles: state lives in aria-pressed */
.chip {
  font-size: 14px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}
.chip--sm { font-size: 13px; padding: 10px 14px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }

.segmented { display: flex; gap: 4px; background: var(--bg); border-radius: var(--radius-pill); padding: 4px; }
.segmented button {
  font-size: 13px; padding: 10px 16px; border: 0; border-radius: var(--radius-pill);
  cursor: pointer; background: transparent; color: var(--ink);
}
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Switch: <button aria-pressed> containing .switch */
.switch {
  flex: none;
  width: 44px; height: 26px;
  border-radius: var(--radius-pill);
  background: var(--line-strong);
  position: relative;
  transition: background .15s;
}
.switch::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  transition: left .15s;
}
[aria-pressed="true"] > .switch { background: var(--ink); }
[aria-pressed="true"] > .switch::after { left: 21px; }

/* ---------- Badges ---------- */

.badge { display: inline-block; font-size: 13px; border-radius: 4px; padding: 6px 12px; }
.badge--verified { background: var(--sage-bg); color: var(--sage-ink); font-weight: 600; }
.badge--estimate { border: 1px dashed var(--stone); color: var(--ink-2); padding: 5px 12px; }
.badge--sm { font-size: 12px; padding: 3px 8px; }
.badge--estimate.badge--sm { padding: 2px 8px; color: var(--ink-3); font-weight: 500; }

/* ---------- Cards / panels ---------- */

.panel {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* ---------- URL form ---------- */

.track-form {
  display: flex; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 5px;
  position: relative;
}
.track-form input {
  flex: 1 1 200px; min-width: 0;
  border: 0; background: transparent;
  font-family: inherit; font-size: 14px; color: var(--ink);
  padding: 10px 16px;
}
.track-form button {
  flex: none; border: 0;
  background: var(--ink); color: var(--surface);
  font-size: 14px; font-weight: 500;
  padding: 12px 20px; border-radius: var(--radius-pill); cursor: pointer;
}

/* ---------- Product image placeholder ---------- */

.art {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--tone, #EFEAE1);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  color: var(--ink);
}
.art__figure { width: 62%; max-width: 260px; }
.art__figure svg { display: block; }
.art__label {
  position: absolute; left: 12px; bottom: 10px;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}

/* ---------- Product card ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 48px 28px;
}
.product-grid--preview { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 40px 24px; }

.product-card { display: flex; flex-direction: column; gap: 14px; }
.product-card a { text-decoration: none; }
.product-card__media { position: relative; }
.product-card__image { display: block; }
.product-card__flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--surface); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 10px; border-radius: var(--radius-pill);
}
.product-card__flag--drop { color: var(--sage-ink); }
.product-card__remove {
  position: absolute; top: 8px; right: 8px;
  width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill);
  background: transparent; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink); padding: 0;
}
span.product-card__remove { cursor: default; }
.product-card__remove > span {
  width: 32px; height: 32px; border-radius: var(--radius-pill); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.product-card__meta { display: flex; flex-direction: column; gap: 4px; }
.product-card__brand { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.product-card__name { font-family: var(--serif); font-size: 22px; line-height: 1.15; font-weight: 500; }
.product-card__variant { font-size: 12px; color: var(--ink-3); }
.product-card__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.product-card__now { font-size: 16px; font-weight: 600; }
.product-card__was { font-size: 13px; color: var(--ink-3); }
.product-card__status {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-3);
  border-top: 1px solid var(--line); padding-top: 12px;
}
.dot { width: 6px; height: 6px; border-radius: var(--radius-pill); flex: none; background: var(--stone); }
.dot--drop { background: var(--sage); }
.dot--out { background: var(--ink); }
.dot--est { background: var(--line-strong); }

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%);
  background: var(--ink); color: var(--on-dark);
  font-size: 14px; padding: 8px 8px 8px 22px; border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100% - 32px);
}
.toast[hidden] { display: none; }
.toast:not(:has(button:not([hidden]))) { padding: 14px 22px; }
.toast button {
  font-size: 14px; font-weight: 500; border: 0;
  background: var(--on-dark); color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-pill); cursor: pointer;
}

/* =========================================================
   Landing page
   ========================================================= */

.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  color: var(--on-dark); background: var(--hero);
}
.hero a { color: var(--on-dark); text-decoration: none; }
.hero__scene { position: absolute; inset: -80px; filter: blur(var(--hero-blur)); transform: scale(1.04); }
.hero__scene > div { position: absolute; }
.hero__wall { inset: 0; background: linear-gradient(90deg, #33271E 0%, #5B4434 30%, #74583F 52%, #5E4635 74%, #2E241C 100%); }
.hero__slats { inset: 0; background: repeating-linear-gradient(90deg, rgba(20,14,10,0.16) 0 3px, rgba(0,0,0,0) 3px 70px); }
.hero__light { inset: 0; background: radial-gradient(60% 50% at 66% 28%, rgba(255,222,186,0.30), rgba(255,222,186,0) 70%); }
.hero__figure { left: 50%; top: 22%; width: 26%; height: 92%; border-radius: 46% 46% 18% 18%; background: linear-gradient(180deg, #E2D2BA 0%, #C7B091 60%, #A88D6E 100%); }
.hero__head { left: 57.5%; top: 9%; width: 8%; aspect-ratio: 1 / 1; border-radius: 50%; background: #2B211B; }
.hero__table { left: 24%; top: 61%; width: 52%; height: 5%; background: #1D1712; }
.hero__paper { left: 30%; top: 54%; width: 22%; height: 8%; background: #EFE6D6; transform: rotate(-4deg); }
.hero__chair { left: 72%; top: 66%; width: 12%; height: 34%; border-radius: 40% 40% 8% 8%; background: #6B3A26; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,14,10,0.50) 0%, rgba(18,14,10,0.12) 38%, rgba(18,14,10,0.18) 62%, rgba(18,14,10,0.62) 100%);
}
.hero__inner {
  position: relative; min-height: 100vh;
  padding: 28px max(20px, 4%) 36px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.hero__header { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 16px; }
.hero__nav { display: flex; gap: 8px 28px; flex-wrap: wrap; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.hero__nav a { padding: 10px 0; }
.hero__nav--end { justify-content: flex-end; }
.hero__brand {
  justify-self: center;
  font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); font-weight: 400;
  letter-spacing: 0.26em; padding-left: 0.26em;
}
.hero__center { width: 100%; max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero__kicker { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(246,243,237,0.85); }
.hero-form {
  width: 100%; display: flex; gap: 6px; position: relative;
  background: rgba(246,243,237,0.14);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(246,243,237,0.42); border-radius: 2px; padding: 6px;
}
.hero-form input {
  flex: 1 1 200px; min-width: 0; border: 0; background: transparent;
  font-family: inherit; font-size: 15px; font-weight: 300; letter-spacing: 0.02em;
  color: var(--on-dark); padding: 14px 18px;
}
.hero-form input::placeholder { color: rgba(246,243,237,0.8); }
.hero-form button {
  flex: none; border: 0; background: var(--on-dark); color: var(--ink);
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0 30px; min-height: 48px; border-radius: 1px; cursor: pointer;
}
.hero-match {
  width: 100%; display: flex; align-items: center; gap: 14px;
  background: rgba(246,243,237,0.92); color: var(--ink); border-radius: 2px; padding: 10px;
}
.hero-match[hidden] { display: none; }
.hero .hero-match a { color: var(--ink); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; padding: 10px; }
.hero-match__thumb { width: 52px; flex: none; }
.hero-match__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hero__footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.2vw, 104px); line-height: 0.98; letter-spacing: -0.01em; }
.hero__aside { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; text-align: right; }
.hero__aside p { max-width: 320px; font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(246,243,237,0.92); }
.hero__aside span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,243,237,0.7); }


.houses { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.houses__inner {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: nowrap; white-space: nowrap;
  gap: clamp(8px, 2.4vw, 40px);
  font-family: var(--serif); font-size: clamp(9px, 1.55vw, 22px);
  letter-spacing: 0.12em; color: var(--ink-2);
}
.houses__label { font-family: var(--sans); font-size: clamp(7px, 0.8vw, 11px); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }

.section { padding-top: 120px; padding-bottom: 120px; }
.section--surface { background: var(--surface); }
.section--sand { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }
.gap-14 { gap: 14px; } .gap-22 { gap: 22px; } .gap-48 { gap: 48px; } .gap-56 { gap: 56px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--ink); padding-top: 24px; }
.step__num { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--ink-3); }
.step h3 { font-size: 20px; font-weight: 500; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: center; }

.chart-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chart-card__foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px;
}

.alert-list { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border-radius: var(--radius-card); padding: 12px; }

.principles h3 { font-size: 18px; font-weight: 500; }

.cta { background: var(--ink); color: var(--on-dark); }
.cta__inner { padding-top: 128px; padding-bottom: 128px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.02; max-width: 900px; }
.cta p { font-size: 17px; color: var(--on-dark-2); }
.cta .btn--light:hover { color: var(--ink); background: #fff; }

.site-footer {
  padding-top: 40px; padding-bottom: 40px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.site-footer__brand { font-family: var(--serif); font-size: 20px; letter-spacing: 0.3em; color: var(--ink); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-3); }

/* =========================================================
   Wishlist
   ========================================================= */

.page-main { padding-top: 56px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.wishlist-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; }
.wishlist-head .track-form { flex: 0 1 520px; }
.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 20px;
}
.collections { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.collections__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-right: 8px; }
.collections button {
  font-size: 14px; padding: 11px 12px; border: 0; background: transparent; cursor: pointer;
  color: var(--ink); text-underline-offset: 6px;
}
.collections button[aria-pressed="true"] { text-decoration: underline; font-weight: 600; }
.collections .collections__new { color: var(--ink-3); }
.empty { padding: 96px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty[hidden] { display: none; }
.empty__title { font-family: var(--serif); font-size: 32px; }

/* =========================================================
   Product details
   ========================================================= */

.product-main { padding-top: 32px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 72px; }
.breadcrumb { font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb [aria-current] { color: var(--ink); }

.product-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px 72px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.buy { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.buy__title { display: flex; flex-direction: column; gap: 10px; }
.buy__source { font-size: 14px; color: var(--ink-2); }
.price-block { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
.price-block__row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-block__now { font-size: 36px; font-weight: 500; letter-spacing: -0.01em; }
.price-block__was { font-size: 18px; color: var(--ink-3); }
.price-block .badge { padding: 5px 10px; }
.price-block p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.option { display: flex; flex-direction: column; gap: 12px; }
.option__label { font-size: 13px; color: var(--ink-2); }
.option__label strong { font-weight: 600; color: var(--ink); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: transparent; padding: 4px; cursor: pointer;
}
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.swatch span { display: block; width: 100%; height: 100%; border-radius: var(--radius-pill); }
.buy__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.buy__actions .btn--primary { flex: 1 1 220px; }
.buy__actions .btn--outline { flex: 0 1 auto; }

.tracking { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.tracking .panel--chart { flex: 999 1 560px; }
.tracking .panel--alerts { flex: 1 1 340px; gap: 22px; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel__head--baseline { align-items: baseline; flex-wrap: nowrap; }
.chart svg { display: block; overflow: visible; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats span:first-child { font-size: 12px; color: var(--ink-3); }
.stats span:last-child { font-size: 18px; font-weight: 500; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--ink-2); }
.field__box {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 14px; background: var(--bg);
}
.field__box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field__box input:focus-visible { outline: none; }
.field__box span { font-size: 16px; color: var(--ink-3); }
.field__box input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-family: inherit; font-size: 16px; color: var(--ink); padding: 13px 0;
}
.toggle-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  font-size: 14px; text-align: left; padding: 14px 0; cursor: pointer; color: var(--ink);
}

.retailers { overflow-x: auto; background: var(--surface); border-radius: var(--radius-card); }
.retailers table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.retailers th { text-align: left; color: var(--ink-3); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; padding: 18px 12px; }
.retailers td { padding: 18px 12px; border-top: 1px solid var(--line); }
.retailers th:first-child, .retailers td:first-child { padding-left: 24px; font-weight: 500; }
.retailers th:last-child, .retailers td:last-child { padding-left: 24px; padding-right: 24px; }
.retailers th:first-child { font-weight: 500; }
.retailers .total { font-weight: 600; }
.retailers .badge { font-size: 12px; }
.retailers .badge--verified { padding: 4px 9px; }
.retailers .badge--estimate { padding: 3px 9px; }

/* =========================================================
   Sharing: share dialog (Wishlist) and the friend's view
   ========================================================= */

.btn--sm { font-size: 14px; padding: 12px 18px; }
.btn--outline.btn--sm { padding: 11px 18px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.chip--icon { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; }

.icon-btn {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill);
  background: transparent; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
}
.icon-btn:hover { background: var(--bg); }

.modal {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: var(--radius-card);
  background: var(--surface); color: var(--ink);
  font-family: var(--sans);
}
.modal::backdrop { background: rgba(41, 40, 36, 0.45); }
.modal__inner { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: -4px -8px 0 0; }
.modal__note { font-size: 13px; line-height: 1.6; color: var(--ink-2); background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.modal__link { font-size: 14px; font-weight: 500; text-underline-offset: 4px; align-self: flex-start; }

.toggle-row__title { display: block; }
.toggle-row__hint { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; }

.copy-row {
  display: flex; gap: 8px; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  padding: 4px 4px 4px 16px; background: var(--bg);
}
.copy-row input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-family: inherit; font-size: 14px; color: var(--ink); padding: 10px 0;
}
.copy-row input:disabled { color: var(--ink-3); text-decoration: line-through; }
.copy-row .btn { flex: none; }

.shared-note { max-width: 360px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

.gift-card__foot { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.gift-card__actions { display: flex; flex-direction: column; gap: 8px; }
.gift-card__actions .btn { width: 100%; }
.gift-card__status { font-size: 13px; color: var(--ink-3); padding: 12px 0; }
.gift-card__status--mine { color: var(--sage-ink); font-weight: 600; padding: 0; }
.gift-card.is-taken .product-card__image,
.gift-card.is-taken .product-card__meta,
.gift-card.is-taken .product-card__price { opacity: 0.5; }

.reserve-item { display: flex; gap: 16px; align-items: center; }
.reserve-item__thumb { width: 72px; flex: none; }

/* ---------- Landing: How it works (editorial, image left) ---------- */

.how { background: #FCFBF9; border-bottom: 1px solid var(--line); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.how__inner {
  width: 100%;
  padding-top: 48px; padding-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 72px clamp(24px, 6vw, 96px);
  align-items: center;
}
.how__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.how__figure img { display: block; width: auto; max-width: 100%; height: min(calc(100vh - 150px), 700px); height: min(calc(100svh - 150px), 700px); }
.how__figure figcaption { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.how__text { display: flex; flex-direction: column; gap: 36px; max-width: 520px; }
.how__lede { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--ink-2); max-width: 420px; }
.how__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.how__steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.how__steps li:last-child { border-bottom: 1px solid var(--line); }
.how__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-3); line-height: 1.2; }
.how__steps h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.how__steps p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--ink-2); }

/* =========================================================
   Phones: keep the desktop arrangement (side by side), scaled down
   ========================================================= */

@media (max-width: 720px) {
  :root { --gutter: 16px; }

  /* Hero: nav left · logo centre · nav right, text bottom right */
  .hero__inner { padding: 20px 16px 28px; }
  .hero__header { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .hero__nav { flex-direction: column; gap: 0; font-size: 10px; letter-spacing: 0.14em; }
  .hero__nav a { padding: 6px 0; }
  .hero__nav--end { align-items: flex-end; }
  .hero__brand { font-size: 22px; letter-spacing: 0.22em; padding-left: 0.22em; }
  .hero-form input { font-size: 13px; padding: 12px; }
  .hero-form button { padding: 0 18px; font-size: 11px; }
  .hero__aside p { max-width: 220px; font-size: 13px; }

  /* Houses: one row, everything visible */
  .houses__inner { padding-top: 16px; padding-bottom: 16px; letter-spacing: 0.04em; gap: 1.6vw; font-size: 2.05vw; }
  .houses__label { font-size: 1.55vw; letter-spacing: 0.08em; }

  /* Shared section rhythm */
  .section { padding-top: 64px; padding-bottom: 64px; }
  .display { font-size: 30px; }
  .gap-48, .gap-56 { gap: 32px; }
  .section-head { flex-wrap: nowrap; align-items: end; gap: 12px; }
  .section-head > a { white-space: nowrap; font-size: 12px !important; }
  .lede { font-size: 12px; line-height: 1.6; }
  .body { font-size: 12px; }
  .eyebrow { font-size: 10px; }

  /* How it works: coat left, text right */
  .how__inner {
    grid-template-columns: 40% 1fr; gap: 16px;
    padding-top: 24px; padding-bottom: 32px; align-items: center;
  }
  .how__figure img { width: 100%; height: auto; }
  /* Brand strip + How it works share one phone screen */
  .houses { height: 46px; display: flex; align-items: center; }
  .houses__inner { width: 100%; padding-top: 0; padding-bottom: 0; }
  .how { min-height: calc(100vh - 46px); min-height: calc(100svh - 46px); }
  .how__figure { gap: 10px; }
  .how__figure figcaption { font-size: 7px; text-align: center; }
  .how__text { gap: 20px; }
  .how__lede { font-size: 12px; }
  .how__steps li { grid-template-columns: 22px 1fr; gap: 6px; padding: 12px 0; }
  .how__num { font-size: 14px; }
  .how__steps h3 { font-size: 9px; letter-spacing: 0.1em; margin-bottom: 4px; }
  .how__steps p { font-size: 11px; line-height: 1.5; }

  /* Product grids: two per row instead of one */
  .product-grid, .product-grid--preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .product-card { gap: 10px; }
  .product-card__brand { font-size: 9px; }
  .product-card__name { font-size: 16px; }
  .product-card__variant, .product-card__status { font-size: 10px; }
  .product-card__now { font-size: 14px; }
  .product-card__was { font-size: 11px; }
  .product-card__flag { font-size: 9px; padding: 4px 8px; top: 8px; left: 8px; }
  .product-card__remove { top: 2px; right: 2px; }
  .product-card__remove > span { width: 26px; height: 26px; }
  .badge--sm { font-size: 10px; }

  /* Text + panel splits stay two columns */
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: center; }
  .split .stack.gap-22 { gap: 12px; }
  .split .badge { font-size: 10px; padding: 4px 8px; }
  .panel { padding: 14px; gap: 10px !important; }
  .chart-card__head span:last-child { font-size: 10px !important; }
  .chart-card__head span[style*="font-size: 24px"] { font-size: 15px !important; }
  .chart-card__foot { font-size: 10px; padding-top: 8px; flex-direction: column; gap: 2px; }
  .alert-list { padding: 4px; gap: 0; }
  .alert-row__title { font-size: 11px; }
  .alert-row__hint { font-size: 9px; }
  .switch { width: 32px; height: 20px; }
  .switch::after { width: 14px; height: 14px; }
  [aria-pressed="true"] > .switch::after { left: 15px; }

  /* Honest by design: three columns, like desktop */
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .principles h3 { font-size: 12px; }

  /* App header: logo · nav · avatar in one row */
  .app-header__inner { flex-wrap: nowrap; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
  .brand { font-size: 18px; letter-spacing: 0.24em; }
  .app-nav { flex-wrap: nowrap; gap: 0; font-size: 12px; }
  .app-nav a { padding: 8px 9px; }
  .avatar { width: 36px; height: 36px; font-size: 12px; flex: none; }
  .app-header .btn--sm { font-size: 12px; padding: 9px 14px; white-space: nowrap; }

  .cta__inner { padding-top: 72px; padding-bottom: 72px; gap: 20px; }
  .cta h2 { font-size: 34px; }
  .cta p { font-size: 14px; }
}

/* Wishlist: alert settings */
.alert-group { display: flex; flex-direction: column; }
.alert-pct { padding: 0 16px 14px; gap: 6px; }
@media (max-width: 720px) {
  .alert-pct { padding: 0 8px 10px; gap: 4px; }
  .alert-pct .chip { font-size: 10px; padding: 6px 8px; }
}

/* ---------- Landing: Every price (blurred boutique scene + glass chart) ---------- */

.lux { position: relative; overflow: hidden; background: #2B241E; color: var(--on-dark); }
.lux__scene { position: absolute; inset: -60px; filter: blur(20px); transform: scale(1.04); }
.lux__scene > div { position: absolute; }
.lux__wall { inset: 0; background: linear-gradient(100deg, #2C241D 0%, #4F4034 28%, #6E5B4A 50%, #57483B 72%, #2A221C 100%); }
.lux__glow--1 { left: 18%; top: -10%; width: 34%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,230,200,0.38), rgba(255,230,200,0)); }
.lux__glow--2 { left: 58%; top: -6%; width: 30%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,236,214,0.30), rgba(255,236,214,0)); }
.lux__shelf { left: 6%; right: 6%; height: 2.4%; background: #1E1813; }
.lux__shelf--1 { top: 46%; }
.lux__shelf--2 { top: 82%; }
.lux__bag { border-radius: 22% 22% 10% 10%; }
.lux__bag--caramel { left: 12%; top: 30%; width: 12%; height: 16%; background: #9A6A43; }
.lux__bag--cream { left: 30%; top: 33%; width: 9%; height: 13%; background: #E6DCCB; }
.lux__bag--black { left: 62%; top: 29%; width: 13%; height: 17%; background: #17130F; }
.lux__bag--tan { left: 80%; top: 33%; width: 8%; height: 13%; background: #B98D63; }
.lux__bag--ivory { left: 44%; top: 66%; width: 14%; height: 16%; background: #EFE7DA; }
.lux__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,14,10,0.40) 0%, rgba(18,14,10,0.20) 45%, rgba(18,14,10,0.50) 100%); }
.lux__inner { position: relative; }
.lux__eyebrow { color: rgba(246,243,237,0.8); }
.lux__lede { color: rgba(246,243,237,0.88); }
.lux__badge { background: rgba(207,216,196,0.22); color: #E4EBDA; font-weight: 600; border: 1px solid rgba(207,216,196,0.35); }
.lux__badge--est { background: transparent; color: rgba(246,243,237,0.85); font-weight: 400; border: 1px dashed rgba(246,243,237,0.55); }

.glass-card {
  background: rgba(246,243,237,0.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(246,243,237,0.30);
  border-radius: var(--radius-card);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0;
  color: var(--on-dark);
}
.glass-card__name { font-family: var(--serif); font-size: 24px; }
.glass-card__meta { font-size: 13px; color: rgba(246,243,237,0.75); }
.glass-card__foot { border-top-color: rgba(246,243,237,0.22); }
.glass-card__drop { color: #CFD8C4; font-weight: 600; }

@media (max-width: 720px) {
  .lux .split { align-items: center; }
  .lux__badge { font-size: 10px; padding: 4px 8px; }
  .glass-card { padding: 14px; gap: 10px; }
  .glass-card__name { font-size: 15px; }
  .glass-card__meta { font-size: 10px; }
}

/* CTA on the light "How it works" background */
.cta--light { background: #FCFBF9; color: #3E2A1F; border-top: 1px solid var(--line); }
.cta--light p { color: #3E2A1F; }
/* Button in the warm boutique tones of the "Every price" block */
.cta--light .btn--light {
  background: linear-gradient(100deg, #2C241D 0%, #4F4034 28%, #6E5B4A 50%, #57483B 72%, #2A221C 100%);
  color: var(--on-dark);
  box-shadow: 0 8px 24px rgba(43, 36, 30, 0.18);
}
.cta--light .btn--light:hover { color: var(--on-dark); filter: brightness(1.12); background: linear-gradient(100deg, #2C241D 0%, #4F4034 28%, #6E5B4A 50%, #57483B 72%, #2A221C 100%); }

/* ---------- Wishlist: dark title band + light page ---------- */

body.page--light { background: #FCFBF9; }
.section--light { background: #FCFBF9; border-top: 1px solid var(--line); }

.page-hero { position: relative; overflow: hidden; background: var(--hero); color: var(--on-dark); }
.page-hero__inner { position: relative; }
.page-hero__title { padding-top: 96px; padding-bottom: 112px; text-align: center; }
.page-hero__title h1 { font-size: clamp(48px, 6vw, 96px); }

.app-header--dark { border-bottom-color: rgba(246,243,237,0.22); }
.app-header--dark a { color: var(--on-dark); }
.app-header--dark a:hover { color: #fff; }
.app-header--dark .app-nav a.is-active { background: rgba(246,243,237,0.16); }
.app-header--dark .avatar { background: var(--on-dark); color: var(--ink); }
.app-header--dark .avatar:hover { color: var(--ink); }
.app-header--dark a:focus-visible { outline-color: var(--on-dark); }

.page--light .page-main { padding-top: 40px; }

@media (max-width: 720px) {
  .page-hero__title { padding-top: 56px; padding-bottom: 64px; }
}
@media (max-width: 720px) {
  .collections { flex-wrap: nowrap; width: 100%; gap: 2px; }
  .collections__label { font-size: 10px; margin-right: 4px; }
  .collections button { font-size: 13px; padding: 10px 8px; }
  .collections .chip--icon { margin-left: auto; padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 360px) {
  .collections__label { font-size: 9px; letter-spacing: 0.08em; margin-right: 0; }
  .collections button { font-size: 12px; padding: 10px 6px; }
  .collections .chip--icon { padding: 8px 10px; font-size: 12px; gap: 6px; }
}

/* Wishlist: centred logo header + light title block */
.page-hero--light { background: #FCFBF9; color: var(--ink); border-bottom: 1px solid var(--line); }
.app-header--center .app-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.app-header--center .app-nav {
  justify-self: start; gap: 8px 28px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.app-header--center .app-nav a { padding: 10px 0; border-radius: 0; }
.app-header--center .app-nav a.is-active { background: none; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.app-header--center .brand { justify-self: center; padding-left: 0.32em; }
.app-header--center .avatar { justify-self: end; }

@media (max-width: 720px) {
  .app-header--center .app-nav { flex-direction: column; align-items: flex-start; gap: 0; font-size: 10px; letter-spacing: 0.14em; }
  .app-header--center .app-nav a { padding: 5px 0; }
  .app-header--center .brand { font-size: 20px; padding-left: 0.24em; }
}

/* Wishlist: dark photo bar behind the centred-logo header */
.page-hero--bar .app-header { border-bottom: 0; }
.page-hero--bar .app-header__inner { padding-top: 28px; padding-bottom: 28px; }
.app-header--dark.app-header--center .app-nav a.is-active { background: none; }
@media (max-width: 720px) {
  .page-hero--bar .app-header__inner { padding-top: 18px; padding-bottom: 18px; }
}

/* Wishlist title: smaller block, left-aligned */
.page-hero--light .page-hero__title { text-align: left; padding-top: 56px; padding-bottom: 48px; }
.page-hero--light .page-hero__title h1 { font-size: clamp(40px, 4.6vw, 72px); }
@media (max-width: 720px) {
  .page-hero--light .page-hero__title { padding-top: 32px; padding-bottom: 28px; }
}

/* ---------- Wishlist toolbar: editorial tabs ---------- */

.toolbar--lux {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 6px 0; gap: 8px 32px;
}
.lux-tabs { display: flex; align-items: center; gap: 0 22px; flex-wrap: wrap; }
.lux-tabs__label {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--ink-3); margin-right: 4px;
}
.lux-tabs button {
  font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-3); background: none; border: 0; cursor: pointer;
  padding: 16px 0; position: relative;
  transition: color .2s;
}
.lux-tabs button:hover { color: var(--ink); }
.lux-tabs button::after {
  content: ""; position: absolute; left: 0; right: 0.2em; bottom: 10px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.lux-tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.lux-tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
.lux-tabs__sep { width: 1px; height: 12px; background: var(--line-strong); }
.lux-tabs .lux-tabs__new { color: var(--ink-3); }
.lux-share {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 18px; padding-left: 22px !important;
  border-left: 1px solid var(--line) !important;
}
.lux-tabs .lux-share { color: var(--ink); }

/* undo the older collections styles inside the new toolbar */
.toolbar--lux .collections button { text-decoration: none; font-weight: inherit; }
.toolbar--lux .collections button[aria-pressed="true"] { font-weight: 500; }

@media (max-width: 720px) {
  .toolbar--lux { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .toolbar--lux .lux-tabs { flex-wrap: nowrap; gap: 0 14px; }
  .toolbar--lux .lux-tabs + .lux-tabs { border-top: 1px solid var(--line); }
  .lux-tabs__label { font-size: 13px; margin-right: 0; min-width: 76px; }
  .lux-tabs button { font-size: 10px; letter-spacing: 0.14em; padding: 14px 0; }
  .lux-tabs button::after { bottom: 8px; }
  .toolbar--lux .collections .lux-share { margin-left: auto; padding-left: 14px !important; font-size: 10px; padding: 14px 0; }
  .toolbar--lux .collections__label, .toolbar--lux .collections .chip--icon { all: unset; }
}
@media (max-width: 360px) {
  .lux-tabs__label { min-width: 0; font-size: 12px; }
  .toolbar--lux .lux-tabs { gap: 0 10px; }
  .lux-tabs button { letter-spacing: 0.1em; }
}
.lux-tabs button { white-space: nowrap; }

/* Real product photos inside the 4:5 image frame */
.art--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Wishlist: "Add a piece" ---------- */

.page-hero__title--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.add-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; padding: 15px 26px; }

.modal--add { width: min(560px, calc(100% - 32px)); }
.add-error { font-size: 13px; color: #8A3B2E; }
.add-samples { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.add-preview { display: flex; gap: 18px; align-items: center; }
.add-preview__img { width: 112px; flex: none; }
.add-preview__img.skeleton { aspect-ratio: 4 / 5; height: auto; }
.add-preview__name { font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.add-preview__price { font-size: 15px; font-weight: 600; margin-top: 6px; }
.add-loading { display: flex; flex-direction: column; gap: 16px; }
.add-manual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.add-manual .field:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
.add-manual .field:nth-child(1) { grid-row: 2; }
.add-manual .field__box input { padding: 11px 0; font-size: 15px; }

.skeleton {
  border-radius: 6px;
  background: linear-gradient(90deg, var(--sand) 0%, #F3EFE8 50%, var(--sand) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* A freshly added card glows once */
.product-card.is-new .product-card__media { animation: fresh-in 1.8s ease; }
@keyframes fresh-in {
  0% { box-shadow: 0 0 0 0 rgba(95, 104, 87, 0.0); transform: translateY(8px); opacity: 0; }
  25% { box-shadow: 0 0 0 3px rgba(95, 104, 87, 0.55); transform: none; opacity: 1; }
  100% { box-shadow: 0 0 0 0 rgba(95, 104, 87, 0); }
}

@media (max-width: 720px) {
  .page-hero__title--row { flex-wrap: nowrap; align-items: center; }
  .add-btn { padding: 11px 16px; font-size: 10px; letter-spacing: 0.12em; gap: 6px; white-space: nowrap; }
  .modal--add .modal__inner { padding: 20px; gap: 18px; }
  .add-preview__img { width: 84px; }
  .add-preview__name { font-size: 17px; }
  .add-manual { grid-template-columns: 1fr; }
  .add-manual .field:nth-child(n) { grid-row: auto; }
}
.modal { overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 720px) {
  .modal .title-md { font-size: 24px; }
}

/* "Add a piece": the viewer's own photo */
.add-photo { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: -6px; }
.add-photo__btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.add-photo #add-photo:focus-visible + .add-photo__btn { outline: 2px solid var(--ink); outline-offset: 2px; }
.add-photo__remove { border: 0; background: none; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 0; }
.add-photo .add-error { flex-basis: 100%; margin: 0; }
.add-photo-drop { cursor: pointer; position: relative; display: block; }
.add-photo-drop:hover::after {
  content: "+ Photo"; position: absolute; inset: auto 6px 6px 6px; text-align: center;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(251,249,245,0.92); padding: 5px 0; border-radius: 4px;
}

/* ---------- Wishlist: minimal product card ---------- */
/* Photo, then brand · two-word model · price · tracking status. Nothing else. */

.product-card--minimal { gap: 16px; }
.product-card--minimal .product-card__meta { gap: 3px; }
.product-card--minimal .product-card__brand { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; color: var(--ink-2); }
.product-card--minimal .product-card__name {
  font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-card--minimal .product-card__now { font-size: 14px; font-weight: 500; margin-top: 6px; }
.product-card--minimal .product-card__status { border: 0; padding: 0; font-size: 12px; color: var(--ink-3); }

/* The heart stays but only draws attention on hover (always visible on touch screens) */
.product-card--minimal .product-card__remove > span { background: rgba(251, 249, 245, 0.85); }
@media (hover: hover) {
  .product-card--minimal .product-card__remove { opacity: 0; transition: opacity .2s; }
  .product-card--minimal:hover .product-card__remove,
  .product-card--minimal .product-card__remove:focus-visible { opacity: 1; }
}

@media (max-width: 720px) {
  .product-card--minimal { gap: 10px; }
  .product-card--minimal .product-card__brand { font-size: 9px; letter-spacing: 0.14em; }
  .product-card--minimal .product-card__name { font-size: 16px; }
  .product-card--minimal .product-card__now { font-size: 13px; margin-top: 4px; }
  .product-card--minimal .product-card__status { font-size: 10px; }
}

/* ---------- Product page: price alerts for this piece ---------- */

.price-alerts { padding: 8px 0; }
.alert-target { display: flex; flex-direction: column; gap: 6px; padding: 0 16px 16px; }
.alert-target[hidden] { display: none; }
.alert-target .field__box { max-width: 240px; }
.alert-target .field__box input { padding: 11px 0; font-size: 15px; }

@media (max-width: 720px) {
  .alert-target { padding: 0 8px 10px; gap: 4px; }
  .alert-target .field__box { padding: 0 10px; }
  .alert-target .field__box input { padding: 8px 0; font-size: 13px; }
  .alert-target .small { font-size: 9px; }
}

/* =========================================================
   Product page: one piece
   ========================================================= */

.product-main--piece { gap: 56px; padding-top: 28px; }

.piece {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 6vw, 88px); align-items: start;
}
.piece__photo .art { border-radius: 2px; }
.piece__info { display: flex; flex-direction: column; gap: 28px; padding-top: 12px; position: sticky; top: 24px; }
.piece__title { display: flex; flex-direction: column; gap: 10px; }
.piece__brand { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.piece__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; }
.piece__meta { font-size: 14px; color: var(--ink-3); }

.piece__price { display: flex; flex-direction: column; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.piece__price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.piece__now { font-size: 32px; font-weight: 500; letter-spacing: -0.01em; }
.piece__was { font-size: 17px; color: var(--ink-3); }
.piece__price .badge { padding: 5px 10px; }
.piece__status { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }

.piece__facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.piece__facts div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.piece__facts dt { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.piece__facts dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }

.piece__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.piece__actions .btn--primary { flex: 1 1 220px; }
.piece__gift { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 1 auto; }
.piece__gift[aria-pressed="true"] { background: var(--sand); border-color: var(--ink); }

.piece-history__empty { margin: 0; padding: 28px 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.piece-missing { font-size: 16px; padding: 64px 0; }

@media (max-width: 720px) {
  .product-main--piece { gap: 40px; padding-top: 20px; }
  .piece { grid-template-columns: 1fr; gap: 24px; }
  .piece__info { position: static; gap: 20px; padding-top: 0; }
  .piece__name { font-size: 30px; }
  .piece__now { font-size: 26px; }
  .piece__facts { gap: 10px; }
  .piece__facts dt { font-size: 9px; letter-spacing: 0.12em; }
  .piece__facts dd { font-size: 12px; }
  .piece__actions .btn { flex: 1 1 100%; }
}

/* Chart legend: solid = recorded by us, dotted = the store's crossed-out price, dashed = your target */
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: var(--ink-3); }
.chart-legend:empty { display: none; }
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend::before { content: ""; width: 22px; height: 0; border-top: 2px solid var(--ink); }
.legend--store::before { border-top: 2px dotted var(--stone); }
.legend--target::before { border-top: 1.5px dashed var(--sage); }

/* ---------- Product page: price history on the dark boutique background ---------- */

.piece-lux .piece-lux__inner { position: relative; padding-top: 104px; padding-bottom: 104px; }
.piece-history { gap: 16px; padding: 28px; }
.piece-history .title-md { color: var(--on-dark); font-size: 28px; }
.piece-history .segmented { background: rgba(246,243,237,0.12); }
.piece-history .segmented button { color: rgba(246,243,237,0.85); }
.piece-history .segmented button[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); }
.piece-history .chart-legend { color: rgba(246,243,237,0.75); }
.piece-history .legend::before { border-top-color: var(--on-dark); }
.piece-history .legend--store::before { border-top: 2px dotted rgba(246,243,237,0.65); }
.piece-history .legend--target::before { border-top: 1.5px dashed #CFD8C4; }
.piece-history .stats { border-top-color: rgba(246,243,237,0.22); padding-top: 14px; }
.piece-history .stats span:first-child { color: rgba(246,243,237,0.7); }
.piece-history .stats span:last-child { color: var(--on-dark); font-size: 17px; }
.piece-history__empty { color: rgba(246,243,237,0.85); padding: 4px 0 0; }

.piece-where { padding-top: 80px; padding-bottom: 96px; }

@media (max-width: 720px) {
  .piece-lux .piece-lux__inner { padding-top: 48px; padding-bottom: 48px; }
  .piece-history { padding: 18px 16px; }
  .piece-history .title-md { font-size: 22px; }
  .piece-where { padding-top: 48px; padding-bottom: 64px; }
}

/* Compact card + text on the left, like the landing page's "Every price" block */
.segmented--sm { padding: 3px; }
.segmented--sm button { font-size: 12px; padding: 7px 12px; }
.glass-card__drop--muted { color: rgba(246,243,237,0.8); font-weight: 500; }
.piece-legend .legend {
  font-size: 13px; color: rgba(246,243,237,0.88);
  border: 1px solid rgba(246,243,237,0.32); border-radius: 4px; padding: 6px 12px;
}
.piece-legend .legend::before { border-top-color: var(--on-dark); width: 18px; }
.piece-legend .legend--store::before { border-top: 2px dotted rgba(246,243,237,0.7); }
.piece-legend .legend--target::before { border-top: 1.5px dashed #CFD8C4; }

@media (max-width: 720px) {
  .piece-lux .split { grid-template-columns: 1fr; gap: 28px; }
  .piece-lux .piece-lux__inner { padding-top: 56px; padding-bottom: 56px; }
  .piece-legend .legend { font-size: 11px; padding: 4px 8px; }
  .piece-history .glass-card__name { font-size: 20px; }
  .piece-history .glass-card__foot { flex-direction: row; font-size: 12px; }
}

/* Product page: photo about as tall as the details beside it; both scroll together */
.piece { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; }
.piece__info { position: static; padding-top: 0; }
@media (max-width: 720px) {
  .piece { grid-template-columns: 1fr; }
  .piece__photo { max-width: 340px; width: 100%; margin: 0 auto; }
}

/* ---------- Product page: price alerts as three tiles on the light page ---------- */

.piece-alerts { display: flex; flex-direction: column; gap: 20px; }
.piece-alerts__head { align-items: baseline; }
.alert-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.alert-tile {
  display: flex; flex-direction: column; gap: 18px;
  padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  transition: opacity .2s, border-color .2s;
}
.alert-tile:not(.is-off) { border-color: var(--line-strong); }
.alert-tile__toggle {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink);
}
.alert-tile__text { display: flex; flex-direction: column; gap: 4px; }
.alert-tile__title { font-size: 15px; font-weight: 500; }
.alert-tile__hint { font-size: 12px; color: var(--ink-3); }
.alert-tile__control { margin-top: auto; }
.alert-tile__control.chip-row { gap: 6px; }
.alert-tile__control .field__box { max-width: 180px; }
.alert-tile__control .field__box input { padding: 9px 0; font-size: 15px; }
.alert-tile.is-off .alert-tile__text,
.alert-tile.is-off .alert-tile__control { opacity: 0.55; }
.alert-tile.is-off .alert-tile__control:hover,
.alert-tile.is-off .alert-tile__control:focus-within { opacity: 1; }

@media (max-width: 720px) {
  .alert-tiles { grid-template-columns: 1fr; gap: 10px; }
  .alert-tile { padding: 16px; gap: 14px; }
}

/* Less space between the alert tiles and the price history band */
.product-main--piece { padding-bottom: 48px; }
@media (max-width: 720px) { .product-main--piece { padding-bottom: 32px; } }

/* Same piece in several stores */
.retailers td a { color: var(--ink); text-underline-offset: 3px; }
.retailers tr.is-best td { background: rgba(227, 230, 220, 0.35); }
.add-match { border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.add-match__text { margin: 0; font-size: 14px; line-height: 1.5; }
.add-match__choice { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.add-match__choice[hidden] { display: none; }
.add-match__choice input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }

/* Wishlist: sign-in / move-to-account banner */
.account-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 18px; background: var(--surface);
}
.account-banner p { margin: 0; font-size: 14px; color: var(--ink-2); }
.account-banner[hidden] { display: none; }
.avatar svg { display: block; }

/* Product page: add or change your own photo */
.piece__media { display: flex; flex-direction: column; gap: 10px; }
.piece__photo-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.piece__photo-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
  padding: 8px 0; border-bottom: 1px solid var(--line-strong);
}
.piece__photo-btn:hover { color: var(--ink); border-bottom-color: var(--ink); }
#piece-photo-input:focus-visible + .piece__photo-btn { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 720px) { .piece__media { max-width: 340px; width: 100%; margin: 0 auto; } .piece__photo { max-width: none; } }

/* Photos are shown whole, never cropped: wide store photos sit centred on the frame's background */
.art--photo img { object-fit: contain; }

/* =========================================================
   Design system v2 — sharp, monochrome, one paper colour
   (overrides the earlier rules above in one place)
   ========================================================= */

:root {
  --paper: #FAF8F4;          /* every light page */
  --frame: #F1EEE8;          /* photo frames, tiles, table */
  --chocolate: #5A4234;      /* small headings, accents */
  --champagne: #E6D5BE;      /* accent on dark backgrounds */
}

/* One paper colour */
body, body.page--light, .how, .cta--light, .page-hero--light, .section--light, .houses { background: var(--paper); }

/* Buttons: black rectangles, small spaced capitals */
.btn {
  border-radius: 0;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 17px 30px;
  transition: background-color .2s, color .2s, opacity .2s;
}
.btn--sm { font-size: 11px; padding: 13px 22px; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #000; color: var(--paper); }
.btn--light { border-radius: 0; }

/* Secondary actions: thin underlined text links */
.btn--outline, .btn--outline.btn--sm {
  background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  padding: 8px 0; color: var(--ink); font-size: 11px;
}
.btn--outline:hover { opacity: .6; color: var(--ink); }
.piece__gift, .piece__gift[aria-pressed="true"] { background: none; border-color: currentColor; }
.piece__gift[aria-pressed="true"] { color: var(--chocolate); }
.piece__actions { align-items: center; gap: 14px 28px; }
.piece__actions .btn--outline { flex: 0 0 auto; }
.gift-card__actions .btn--outline { align-self: center; width: auto; }
.buy__actions { align-items: center; gap: 14px 24px; }

/* Choices, fields, windows, tiles: square corners */
.chip { border-radius: 0; font-size: 12px; letter-spacing: 0.04em; }
.chip--sm { font-size: 11px; padding: 9px 13px; }
.segmented, .segmented button, .segmented--sm { border-radius: 0; }
.copy-row, .track-form, .field__box, .modal, .modal__note, .panel, .glass-card,
.alert-tile, .alert-list, .account-banner, .add-match, .retailers, .toast, .toast button,
.hero-form, .hero-form button, .art { border-radius: 0; }
.track-form button { border-radius: 0; }
.alert-tile { background: var(--frame); border-color: transparent; }
.alert-tile:not(.is-off) { border-color: var(--ink); background: var(--paper); }
.retailers { background: var(--frame); }
.modal { background: var(--paper); }

/* Photos: one neutral frame for every product photo */
.art--photo { background: var(--frame); }

/* Labels: monochrome */
.badge {
  border-radius: 0; background: transparent;
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 9px;
}
.badge--verified { color: var(--ink); border: 1px solid var(--ink); }
.badge--estimate { color: var(--ink-2); border: 1px dashed var(--ink-3); font-weight: 500; }
.badge--sm, .badge--estimate.badge--sm { font-size: 9px; padding: 3px 7px; }
.piece__price .badge { padding: 5px 9px; }
.retailers .badge { font-size: 9px; }
.retailers .badge--verified, .retailers .badge--estimate { padding: 4px 8px; }
.retailers tr.is-best td { background: var(--paper); }

.product-card__flag { border-radius: 0; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 8px; }
.product-card__flag--drop { color: var(--ink); }
.dot--drop { background: var(--ink); }
.gift-card__status--mine { color: var(--chocolate); }

/* On the dark bands */
.lux__badge { background: transparent; color: var(--on-dark); border: 1px solid rgba(246,243,237,0.75); font-weight: 500; }
.lux__badge--est { border: 1px dashed rgba(246,243,237,0.6); color: rgba(246,243,237,0.85); }
.glass-card__drop, .glass-card__drop--muted { color: var(--on-dark); }
.piece-legend .legend, .piece-history .segmented { border-radius: 0; }
.piece-legend .legend--target::before, .piece-history .legend--target::before { border-top-color: var(--champagne); }

/* Small headings in chocolate instead of green */
.eyebrow--sage, .eyebrow--sage-ink { color: var(--chocolate); }

/* Friends' page top bar: "Create your own" on the right */
.bar-link {
  justify-self: end; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(246,243,237,0.6); padding: 6px 0;
}
.bar-link:hover { color: #fff; }
@media (max-width: 720px) { .bar-link { font-size: 10px; letter-spacing: 0.1em; } }
@media (max-width: 720px) {
  .add-btn { padding: 12px 14px; font-size: 10px; letter-spacing: 0.12em; gap: 6px; }
  .page-hero--light .page-hero__title h1 { font-size: 34px; white-space: nowrap; }
}

/* ---------- Friends' page (Gift list) in the Wishlist style ---------- */
.shared-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; padding-top: 16px; }
.shared-head__summary { margin: 0; font-size: 14px; color: var(--ink-3); letter-spacing: 0.02em; }
.shared-head .shared-note { margin: 0; max-width: 340px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.shared-toolbar__note { letter-spacing: 0.04em; }
.gift-card__foot { border-top: 0; padding-top: 4px; }
.gift-card__actions { align-items: stretch; }
.gift-card__actions .btn--primary { width: 100%; }
.gift-card__status { font-size: 12px; letter-spacing: 0.04em; padding: 6px 0; }
.gift-card.is-taken .product-card__image { opacity: 0.55; }
@media (max-width: 720px) {
  .shared-head { align-items: flex-start; }
  .shared-toolbar__note { display: none; }
  .gift-card__actions .btn--sm { font-size: 10px; padding: 11px 8px; letter-spacing: 0.1em; }
}

/* Wishlist: loading placeholders and empty state */
.skeleton--photo { aspect-ratio: 4 / 5; border-radius: 0; }
.product-card.is-loading .skeleton { display: block; border-radius: 0; }
.empty { padding: 88px 20px 72px; gap: 16px; }
.empty__title { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin: 0; }
.empty__text { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.empty .btn { margin-top: 12px; }

/* Product page on phones: pinned Buy bar */
.buy-bar { display: none; }
@media (max-width: 720px) {
  .buy-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(250, 248, 244, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .buy-bar.is-visible { transform: none; }
  .buy-bar__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .buy-bar__name { font-family: var(--serif); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar__price { font-size: 13px; font-weight: 500; }
  .buy-bar .btn { flex: none; font-size: 10px; letter-spacing: 0.12em; padding: 13px 16px; }
  .piece-where { padding-bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) { .buy-bar { transition: none; } }

/* ---------- Motion: fade up on scroll, calm card hovers ---------- */
.has-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.has-motion .reveal.is-in { opacity: 1; transform: none; }
.product-grid .product-card.reveal.is-in:nth-child(4n+2) { transition-delay: .06s; }
.product-grid .product-card.reveal.is-in:nth-child(4n+3) { transition-delay: .12s; }
.product-grid .product-card.reveal.is-in:nth-child(4n+4) { transition-delay: .18s; }

.product-card__image { overflow: hidden; }
.product-card__image .art img, .product-card__image .art__figure { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.product-card__name { transition: opacity .2s; }
@media (hover: hover) {
  .product-card:hover .product-card__image .art img,
  .product-card:hover .product-card__image .art__figure { transform: scale(1.035); }
  a.product-card__name:hover { opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card__image .art img, .product-card__image .art__figure { transition: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 80px 20px; }
.notfound .display { margin: 0; }
.notfound p { margin: 0; max-width: 380px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.notfound__links { display: flex; gap: 14px 28px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 10px; }

/* ---------- One footer on every page ---------- */
.site-footer2 { background: #2B241E; color: var(--on-dark); margin-top: 0; }
.site-footer2__inner { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.site-footer2__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 40px; flex-wrap: wrap; }
.site-footer2__brand { font-family: var(--serif); font-size: 30px; letter-spacing: 0.3em; color: var(--on-dark); text-decoration: none; }
.site-footer2__brand:hover { color: #fff; }
.site-footer2__line { margin: 0; font-family: var(--serif); font-size: 18px; color: rgba(246,243,237,0.75); }
.site-footer2__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap;
  border-top: 1px solid rgba(246,243,237,0.18); padding-top: 22px;
}
.site-footer2__links { display: flex; gap: 10px 28px; flex-wrap: wrap; }
.site-footer2__links a, .site-footer2__region {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246,243,237,0.75); text-decoration: none;
}
.site-footer2__links a:hover, .site-footer2__region:hover { color: #fff; }
.site-footer2__region { display: inline-flex; gap: 10px; align-items: center; background: none; border: 0; padding: 10px 0; cursor: pointer; font-family: inherit; }
.site-footer2 a:focus-visible, .site-footer2 button:focus-visible { outline-color: var(--on-dark); }

.region-fields { display: grid; gap: 14px; }
.region-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.region-field select {
  appearance: none; -webkit-appearance: none; font-family: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink);
  border: 1px solid var(--line-strong); background: var(--paper); padding: 12px 40px 12px 14px; border-radius: 0; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23292824' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.region-field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

@media (max-width: 720px) {
  .site-footer2__inner { padding-top: 44px; padding-bottom: 28px; gap: 32px; }
  .site-footer2__brand { font-size: 24px; }
  .site-footer2__line { font-size: 15px; }
  .site-footer2__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Type scale v2 — fewer sizes, used the same way everywhere
   sans: 10 · 11 · 12 · 14 · 16      serif: 20 · 24 · 32 · 44 · 64 · 80
   ========================================================= */
:root {
  --t-xs: 10px; --t-s: 11px; --t-m: 12px; --t-body: 14px; --t-l: 16px;
  --h-6: 20px; --h-5: 24px; --h-4: 32px; --h-3: clamp(32px, 3.2vw, 44px); --h-2: clamp(40px, 4.4vw, 64px); --h-1: clamp(44px, 5.6vw, 80px);
}

/* body copy */
.body, .lede, .how__lede, .how__steps p, .empty__text, .shared-head .shared-note, .notfound p,
.account-banner p, .add-match__text, .modal__note, .price-block p { font-size: var(--t-body); line-height: 1.7; }
.lede { font-size: var(--t-l); }
.small, .product-card__variant, .product-card__status, .piece__meta, .piece__status, .alert-tile__hint,
.chart-legend, .shared-head__summary, .breadcrumb { font-size: var(--t-m); }
.piece__facts dd, .alert-tile__title, .retailers table { font-size: var(--t-body); }
.retailers th, .piece__facts dt, .lux-tabs button, .collections__label { font-size: var(--t-xs); }

/* serif headings */
.display { font-size: var(--h-2); }
.display--xl, .page-hero--light .page-hero__title h1 { font-size: var(--h-1); }
.title-md, .empty__title { font-size: var(--h-4); }
.piece__name { font-size: var(--h-3); }
.glass-card__name, .add-preview__name { font-size: var(--h-5); }
.product-card__name, .product-card--minimal .product-card__name { font-size: var(--h-6); }
.cta h2 { font-size: var(--h-1); }

/* one rhythm between sections */
.section, .how__inner, .piece-lux .piece-lux__inner, .cta__inner { padding-top: 112px; padding-bottom: 112px; }

@media (max-width: 720px) {
  :root { --h-6: 17px; --h-5: 20px; --h-4: 26px; --h-3: 30px; --h-2: 32px; --h-1: 36px; }
  .section, .piece-lux .piece-lux__inner, .cta__inner { padding-top: 64px; padding-bottom: 64px; }
  .how__inner { padding-top: 24px; padding-bottom: 32px; }
  .product-card--minimal .product-card__name { font-size: 16px; }
  .page-hero--light .page-hero__title h1 { font-size: 34px; }
}
/* the last strays onto the scale */
.how__steps h3, .glass-card__meta, .piece-legend .legend, .option__label, .field label { font-size: var(--t-m); }
.hero__aside p, .cta p { font-size: var(--t-l); }
.piece__was { font-size: var(--t-l); }
.site-footer2__line { font-size: var(--h-6); }
.badge, .product-card__flag { font-size: var(--t-xs); }
.how__steps h3 { letter-spacing: 0.16em; }
@media (max-width: 720px) {
  .split .lede, .lux__lede, .hero__aside p { font-size: 12px; line-height: 1.6; }
  .how__steps p { font-size: 12px; line-height: 1.55; }
  .lux .display { font-size: 28px; }
  .cta p { font-size: 14px; }
}
@media (max-width: 720px) { .cta h2 { font-size: 30px; } .lux__badge { font-size: 9px; } }

/* ---------- Sign in / create account ---------- */
.auth-tabs { gap: 0 18px; margin-top: -6px; }
.auth-input {
  font-family: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink);
  border: 1px solid var(--line-strong); background: var(--paper); padding: 13px 14px; border-radius: 0; width: 100%;
}
.auth-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.auth-password { position: relative; display: block; }
.auth-password .auth-input { padding-right: 64px; }
.auth-show {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; cursor: pointer; padding: 8px;
  font-family: inherit; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.auth-form .btn--primary { width: 100%; margin-top: 4px; }
.auth-link { align-self: center; }
.auth-note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); border-left: 2px solid var(--chocolate); padding: 4px 0 4px 12px; }
.auth-links { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.region-field[hidden], .auth-form [hidden] { display: none !important; }

/* ---------- Currency: "≈ in your currency" ---------- */
.product-card__approx { font-weight: 400; font-size: var(--t-m); color: var(--ink-3); margin-left: 6px; }
.piece__approx { margin: -2px 0 0; font-size: var(--t-m); color: var(--ink-3); letter-spacing: 0.02em; }
.where-approx { display: block; font-weight: 400; font-size: var(--t-m); color: var(--ink-3); }

/* ---------- Look for it in <country> ---------- */
.look { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.look__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 32px; flex-wrap: wrap; }
.look__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--h-5); }
.look__head .small { margin: 0; max-width: 520px; line-height: 1.6; }
.look__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line); }
.look__store {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  font-size: var(--t-m); letter-spacing: 0.14em; text-transform: uppercase;
}
.look__store:hover { color: var(--chocolate); }
.look__store--official { font-weight: 600; }
.look__store--intl { color: var(--ink-3); }
.look__arrow { font-size: 13px; letter-spacing: 0; }
.look__list { column-gap: 32px; }

/* ---------- Wishlist head: one calm block ---------- */
.page-hero--light { border-bottom: 0; }
.page-hero--light .page-hero__title { padding-top: 56px; padding-bottom: 28px; align-items: flex-end; }
.wl-head { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wl-count { margin: 0; font-size: var(--t-m); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); min-height: 1em; }
.add-btn { padding: 14px 22px; font-size: 11px; }

.wishlist-page-main, .page--light .page-main { padding-top: 0; }
.wl-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line);
}
.wl-tabs { display: flex; gap: 0 32px; overflow-x: auto; scrollbar-width: none; }
.wl-tabs::-webkit-scrollbar { display: none; }
.wl-tabs button {
  flex: none; background: none; border: 0; cursor: pointer; position: relative;
  padding: 18px 0 17px; font-family: inherit; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap;
}
.wl-tabs button:hover { color: var(--ink); }
.wl-tabs button::after {
  content: ""; position: absolute; left: 0; right: 0.2em; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.wl-tabs button[aria-pressed="true"] { color: var(--ink); }
.wl-tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
.wl-share {
  flex: none; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer;
  padding: 14px 0; font-family: inherit; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
}
.wl-share:hover { color: var(--chocolate); }

@media (max-width: 720px) {
  .page-hero--light .page-hero__title { padding-top: 32px; padding-bottom: 20px; align-items: flex-end; }
  .wl-count { font-size: 10px; letter-spacing: 0.12em; }
  .add-btn { width: 48px; height: 48px; padding: 0; justify-content: center; flex: none; }
  .add-btn svg { width: 18px; height: 18px; }
  .add-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wl-tabs { gap: 0 22px; }
  .wl-tabs button { font-size: 10px; letter-spacing: 0.14em; padding: 16px 0 15px; }
  .wl-share__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wl-share { padding: 12px 0 12px 12px; }
  .wl-share svg { width: 18px; height: 18px; }
}
@media (max-width: 360px) {
  .wl-tabs { gap: 0 12px; }
  .wl-tabs button { letter-spacing: 0.06em; }
}

/* ---------- Promo codes ---------- */
.codes-main { gap: 48px; padding-top: 8px; }
.codes-search { display: flex; gap: 0; max-width: 720px; border: 1px solid var(--ink); }
.codes-search input { flex: 1; min-width: 0; border: 0; background: var(--paper); padding: 16px 18px; font-family: inherit; font-size: 15px; color: var(--ink); }
.codes-search input:focus { outline: none; }
.codes-search .btn { flex: none; }
.codes-result { display: flex; flex-direction: column; gap: 20px; }
.codes-result__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.codes-result__head a { color: var(--ink-3); letter-spacing: 0.06em; }
.codes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.code { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); }
.code.is-failing { opacity: .55; }
.code__main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.code__value {
  flex: none; cursor: pointer; border: 1px dashed var(--ink); background: var(--frame); color: var(--ink);
  padding: 11px 16px; font-family: 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 15px; letter-spacing: 0.12em;
}
.code__value:hover { background: var(--paper); }
.code__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.code__note { font-size: var(--t-body); color: var(--ink); }
.code__stat { font-size: var(--t-m); color: var(--ink-3); }
.code__flag { text-transform: uppercase; letter-spacing: 0.12em; font-size: 10px; color: var(--chocolate); }
.code__vote { display: flex; gap: 6px; }
.codes-empty { margin: 0; font-size: var(--t-body); color: var(--ink-2); padding: 8px 0; }
.codes-add { display: flex; flex-direction: column; gap: 14px; background: var(--frame); padding: 22px; }
.codes-add__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--h-6); }
.codes-add__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px; }
.codes-section-title { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; font-size: var(--h-5); }
.codes-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.codes-tips .how__steps { max-width: 760px; }

/* product page: no discount → codes */
.piece__codes { margin: 0; font-size: var(--t-m); }
.piece__codes a { color: var(--ink); text-underline-offset: 3px; }

@media (max-width: 720px) {
  .codes-search { flex-direction: column; border: 0; gap: 8px; }
  .codes-search input { border: 1px solid var(--ink); }
  .codes-add__row { grid-template-columns: 1fr; }
  .code__value { font-size: 13px; padding: 9px 12px; }
}

/* Alerts page */
.alerts-main { gap: 56px; padding-top: 8px; }
.alerts-main > * { max-width: 880px; }
.alerts-block { display: flex; flex-direction: column; }
.alerts-block[hidden], .alerts-body[hidden], .alerts-unsub[hidden] { display: none; }
.alerts-body { display: flex; flex-direction: column; gap: 56px; }
.alerts-unsub { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--frame); border-left: 2px solid var(--chocolate); }
.alerts-unsub__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--h-5); }
.alerts-unsub__text { margin: 0; font-size: var(--t-body); line-height: 1.6; color: var(--ink-2); }
.alerts-unsub .buy__actions { margin: 0; }
.alerts-email { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.alerts-email__toggle { align-items: center; }
.alerts-email__toggle .alert-tile__title { font-family: var(--serif); font-weight: 400; font-size: var(--h-6); }
.alerts-email__toggle .alert-tile__hint { font-size: var(--t-m); line-height: 1.5; }
.alerts-email__toggle .alert-tile__hint strong { color: var(--ink); font-weight: 500; }
.alerts-email__toggle.is-off .alert-tile__title { color: var(--ink-3); }
.alerts-email__lang { margin: 0; display: flex; align-items: baseline; gap: 4px 14px; flex-wrap: wrap; color: var(--ink-3); }
.alerts-email__lang strong { color: var(--ink); font-weight: 500; }
.alerts-email__lang .auth-link { padding: 0; font-size: var(--t-m); }

.alerts-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.alerts-list:empty { display: none; }
.alert-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.alert-row__thumb { display: block; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--frame); }
.alert-row__thumb .art { width: 100%; height: 100%; }
.alert-row__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.alert-row__why { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chocolate); margin-bottom: 4px; }
.alert-row__brand { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.alert-row__name { font-family: var(--serif); font-size: 19px; line-height: 1.2; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-row__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.alert-row__price { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 15px; }
.alert-row__price strong { font-weight: 500; }
.alert-row__price s { color: var(--ink-3); font-size: 13px; }
.alert-row__rules { font-size: var(--t-m); color: var(--ink-3); margin-top: 4px; }
.alert-row__change { align-self: flex-start; margin-top: 6px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); text-underline-offset: 4px; }
.alert-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.alert-row__date { font-size: var(--t-m); color: var(--ink); }
.alert-row__mail { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.alert-row__toggle { align-items: center; width: auto; gap: 12px; }
.alert-row__state { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); min-width: 3em; text-align: right; }
.alert-row__toggle[aria-pressed="true"] .alert-row__state { color: var(--ink); }

@media (max-width: 720px) {
  .alerts-main, .alerts-body { gap: 44px; }
  .alerts-unsub { padding: 20px; }
  .alert-row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; }
  .alert-row__thumb { width: 56px; }
  .alert-row__name { font-size: 17px; }
  .alert-row__price { gap: 8px; font-size: 14px; flex-wrap: wrap; }
}

/* Sign in with Google / Apple */
.auth-social { display: flex; flex-direction: column; gap: 10px; }
.auth-social[hidden], .auth-provider[hidden] { display: none; }
.auth-provider {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  padding: 14px 18px; border: 1px solid var(--ink); background: var(--surface); color: var(--ink);
  font-family: inherit; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: background .15s;
}
.auth-provider:hover { background: var(--frame); }
.auth-provider:disabled { opacity: .5; cursor: progress; }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 8px 0 2px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Browser extension page */
.ext-main { gap: 64px; padding-top: 8px; }
.ext-main > section { max-width: 820px; }
.ext-intro { display: flex; flex-direction: column; gap: 24px; }
.ext-lead { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: var(--ink); }
.ext-get { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.ext-get .small { color: var(--ink-3); }
.ext-later { margin: 18px 0 0; color: var(--ink-3); }

/* Photo over its drawing: if the photo can't load, the drawing shows instead of an empty frame */
.art--photo img { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--frame); }
.add-photo__hint { margin: 0; color: var(--ink-3); flex-basis: 100%; }
@media (hover: none) { .add-photo__hint { display: none !important; } }

/* A store sale on a piece's card and page: "Black Friday · from 27 Nov" */
.product-card__sale, .piece__sale {
  display: inline-block; align-self: flex-start; margin-top: 2px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chocolate);
  border: 1px solid currentColor; padding: 3px 7px;
}
.product-card__sale.is-on, .piece__sale.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.piece__sale { margin: 0; }

/* Owner's Sales page */
.sales-main { gap: 48px; padding-top: 8px; }
.sales-main > * { max-width: 920px; }
.sales-body { display: flex; flex-direction: column; gap: 48px; }
.sales-body[hidden] { display: none; }
.sales-scan { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.sales-scan .codes-section-title { margin-bottom: 8px; }
.sales-scan .small { margin: 0; color: var(--ink-3); max-width: 560px; }
.sales-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.sales-list:empty { display: none; }
.sale-row { border: 1px solid var(--line-strong); background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.sale-row.is-confirmed { border-color: var(--ink); }
.sale-row__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.sale-row__store { font-family: var(--serif); font-size: var(--h-6); }
.sale-row__people { font-size: var(--t-m); color: var(--ink-3); }
.sales-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.sales-form select { width: 100%; }
.sale-row__sources { margin: 0; padding-left: 18px; font-size: var(--t-m); line-height: 1.5; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.sale-row__sources a { color: var(--ink); text-underline-offset: 3px; }
.sale-row__no { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #8A2E1F; }
.sale-row__actions { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.sales-help p { margin: 0; color: var(--ink-3); line-height: 1.6; }
.muted { color: var(--ink-3); }
.piece__check { margin: 0; display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.piece__check[hidden] { display: none; }
.piece__check .auth-link { padding: 0; font-size: 11px; }
.piece__check .small { color: var(--ink-2); }

/* Promo codes: step-by-step helper */
.codes-helper { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--ink); background: var(--surface); }
.codes-helper[hidden] { display: none; }
.codes-helper--out { border-color: var(--line-strong); background: var(--frame); }
.codes-helper__step { margin: 0; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chocolate); }
.codes-helper__row { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.codes-helper__code { font-size: 20px; padding: 14px 20px; }
.codes-helper__note { font-size: var(--t-body); color: var(--ink); }
.codes-helper__source { margin: 0; color: var(--ink-3); }
.codes-helper__source[hidden] { display: none; }
.codes-helper .buy__actions { margin: 0; }
.codes-tips-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: var(--t-body); line-height: 1.55; color: var(--ink-2); }
.codes-tips-list a { color: var(--ink); text-underline-offset: 3px; }
.codes-all-title { margin: 8px 0 0; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.codes-all-title[hidden] { display: none; }
#piece-check[hidden] { display: none; }

/* One background for every photo: white and light-grey studio backgrounds melt into the paper-coloured frame
   (multiply), so Zara's grey and Mytheresa's white sit side by side as one series. */
.art--photo { background: var(--frame); isolation: isolate; }
.art--photo img { background: none; mix-blend-mode: multiply; }
.art--photo:has(img) .art__figure { visibility: hidden; }
.sales-history__intro { margin: -8px 0 16px; }
.sales-history { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.sales-history:empty { display: none; }
.sales-history__store { border-top: 1px solid var(--ink); padding-top: 12px; }
.sales-history__store h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: var(--h-6); }
.sales-history__store ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: var(--t-m); color: var(--ink-2); }
.sales-history__year { font-size: 10px; letter-spacing: 0.14em; color: var(--ink-3); margin-right: 4px; }
.sales-history__next { color: var(--chocolate); margin-top: 4px; }

/* "Let ÉDITÉ know" under the add window's note */
.add-report { margin: 4px 0 0; }
.add-report .auth-link { padding: 0; font-size: var(--t-s, 13px); text-align: left; }

/* ---------- Stats (the owner's numbers) ---------- */
.stats-main { gap: 56px; padding-top: 8px; }
.stats-body { display: grid; gap: 56px; max-width: 980px; }
.stats-sub { margin: 28px 0 12px; font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.stats-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; }
@media (max-width: 720px) { .stats-two { grid-template-columns: 1fr; } }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.stat-tile__n { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--ink); }
.stat-tile__k { font-size: 13px; color: var(--ink-3); }
.stat-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stat-bar { display: grid; grid-template-columns: minmax(90px, 30%) 1fr 96px; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.stat-bar__k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-bar__track { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.stat-bar__fill { display: block; height: 100%; border-radius: 4px; background: var(--ink-2); }
.stat-bar:hover .stat-bar__fill { background: var(--ink); }
.stat-bar__v { font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px 8px; height: 180px; align-items: end; border-bottom: 1px solid var(--line-strong); padding-top: 18px; }
.stat-col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.stat-col__bar { width: 100%; max-width: 34px; border-radius: 4px 4px 0 0; background: var(--ink-2); }
.stat-col:hover .stat-col__bar { background: var(--ink); }
.stat-col__v { font-size: 12px; color: var(--ink-2); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.stat-col__k { position: absolute; top: 100%; margin-top: 6px; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.stat-cols + .stats-two { margin-top: 30px; }
.stats-body[hidden] { display: none; }
/* "Picks and news" box when creating an account */
.auth-news { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.auth-news[hidden] { display: none; }
.auth-news input { margin-top: 3px; accent-color: var(--ink); }
/* Promo codes: web search line, the top 3 */
.codes-web { margin: -4px 0 0; color: var(--ink-3); }
.code__rank { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.code__src { color: var(--ink-3); white-space: nowrap; }

/* ---------- One piece: calmer price block, facts as quiet rows, alerts on a lighter panel ---------- */
.piece__price { border-bottom: 0; padding-bottom: 4px; gap: 12px; }
.piece__status { font-size: 13px; }
.piece__check .auth-link { font-size: 10px; letter-spacing: .16em; color: var(--ink-3); border-bottom-color: var(--line-strong); }
.piece__codes { font-size: 13px; }
.piece__codes a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; letter-spacing: .02em; }
.piece__codes a::after { content: '→'; font-size: 12px; transition: transform .2s; }
.piece__codes a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.piece__codes a:hover::after { transform: translateX(3px); }

.piece__facts { display: block; border-top: 1px solid var(--line); }
.piece__facts div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line); }
.piece__facts dt { font-size: 10px; letter-spacing: .18em; }
.piece__facts dd { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

.piece-alerts { background: #FFFFFF; padding: 40px 44px 44px; gap: 8px; border: 1px solid var(--line); }
.piece-alerts__head { margin-bottom: 4px; }
.piece-alerts .alert-tiles { gap: 0 40px; }
.piece-alerts .alert-tile, .piece-alerts .alert-tile:not(.is-off) {
  background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 6px; gap: 14px; }
.piece-alerts .alert-tile.is-off .alert-tile__text { opacity: .5; }

@media (max-width: 720px) {
  .piece__facts div { grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; }
  .piece__facts dt { font-size: 9px; letter-spacing: .16em; }
  .piece__facts dd { font-size: 13px; }
  .piece-alerts { margin-inline: calc(-1 * var(--gutter)); padding: 36px var(--gutter) 28px; border: 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .piece-alerts .alert-tiles { gap: 0; }
  .piece-alerts .alert-tile, .piece-alerts .alert-tile:not(.is-off) { padding: 18px 0; }
  .piece-alerts .alert-tile:last-child { padding-bottom: 4px; }
}
/* Where to buy on phones: store · price · stock fit the screen (the "since" column is for larger screens) */
@media (max-width: 720px) {
  .retailers table { min-width: 0; table-layout: auto; }
  .retailers th:nth-child(4), .retailers td:nth-child(4) { display: none; }
  .retailers th, .retailers td { padding: 15px 10px; }
  .retailers th:first-child, .retailers td:first-child { padding-left: 16px; }
  .retailers th:nth-child(3), .retailers td:nth-child(3) { padding-right: 16px; text-align: right; }
  .retailers td:nth-child(3) { font-size: 12px; color: var(--ink-3); }
  .retailers .total { white-space: nowrap; }
  .retailers .total .badge { display: block; width: fit-content; margin-top: 6px; font-size: 9px; }
}
/* My size: sold-out sizes crossed out; a fourth tile fits beside the others on wide screens */
.size-chips { flex-wrap: wrap; gap: 6px; }
.size-chips .chip.is-soldout { text-decoration: line-through; color: var(--ink-3); }
.size-chips .chip.is-soldout[aria-pressed="true"] { color: var(--paper); }
#size-tile[hidden] { display: none; }
@media (min-width: 721px) { .piece-alerts .alert-tiles:has(#size-tile:not([hidden])) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Premium wishes for stores that block us */
.piece__premium, .add-premium { margin: 0; color: var(--ink-3); line-height: 1.55; }
.piece__premium[hidden], .add-premium[hidden] { display: none; }
.piece__premium .auth-link, .add-premium .auth-link { padding: 0; font-size: 10px; letter-spacing: .16em; color: var(--ink); vertical-align: baseline; }
