/* ============================================================
   SellerPivot — design tokens & base
   ============================================================ */
:root {
  --ink: #0B0808;
  --ink-2: #14100F;        /* surface basse */
  --ink-3: #1C1816;        /* surface plus haute */
  --line: #2A2422;         /* séparateur sombre */
  --line-2: #3A3230;
  --bone: #D1D6D8;         /* texte principal */
  --bone-soft: #B7BCBE;
  --bone-dim: #8A8F90;
  --sage: #98AEB3;         /* accent froid */
  --tan:  #967D6A;         /* accent chaud */
  --deep: #5D4D45;         /* brun profond */
  --paper: #E9E6E1;        /* inversé pour sections claires */
  --paper-2: #DCD7CF;

  --max: 1440px;
  --gut: clamp(20px, 4vw, 56px);
  --rad: 2px;

  --t-fast: 220ms cubic-bezier(.2,.6,.2,1);
  --t-med:  420ms cubic-bezier(.2,.6,.2,1);
  --t-slow: 800ms cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--ink); }
body {
  font-family: "Geist", "Geist Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ink);
  color: var(--bone);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--sage); color: var(--ink); }

/* Typo display */
.display-xl, .display-l, .display-m {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--bone);
}
.display-xl { font-size: clamp(56px, 9.2vw, 156px); }
.display-l  { font-size: clamp(44px, 6vw, 96px); }
.display-m  { font-size: clamp(32px, 4vw, 60px); letter-spacing: -0.03em; line-height: 1; }
.display-s  { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; line-height: 1.1; font-weight: 500; }

.eyebrow {
  font-family: "Geist Mono", ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.mono { font-family: "Geist Mono", ui-monospace, "SF Mono", monospace; font-size: 12px; letter-spacing: 0.04em; }

p { color: var(--bone-soft); }
p.lede { color: var(--bone); font-size: 18px; line-height: 1.5; max-width: 56ch; }

/* ============================================================
   Layout
   ============================================================ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}

main { display: block; }

section { position: relative; }

.section-edge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}
.section-edge .mono { color: var(--bone-dim); }
.section-edge .mono.right { text-align: right; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--ink) 86%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gut);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 18px; height: 18px;
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--bone);
}
.brand-mark::after { transform: translate(4px, 4px); border-color: var(--sage); }

.nav-links {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.nav-links a {
  font-size: 13px;
  color: var(--bone-soft);
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a.active { color: var(--bone); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--sage);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-tools .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--bone-soft);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.nav-tools .pill:hover { color: var(--bone); border-color: var(--bone-dim); }
.nav-tools .pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
}
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px;
  padding: 0 6px;
  background: var(--bone); color: var(--ink);
  border-radius: 999px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 500;
}
.cart-count.is-zero { background: transparent; color: var(--bone-dim); border: 1px solid var(--line-2); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Geist Mono", monospace;
  font-weight: 400;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
}
.btn .arrow {
  display: inline-block;
  transition: transform var(--t-med);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--bone);
  color: var(--ink);
}
.btn-primary:hover { background: var(--sage); }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--bone); background: var(--ink-3); }

.btn-tan {
  background: transparent;
  color: var(--tan);
  border-color: var(--tan);
}
.btn-tan:hover { background: var(--tan); color: var(--ink); }

/* link underline subtle */
.ulink {
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  font-size: 13px;
  color: var(--bone);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.ulink:hover { border-color: var(--bone); }
.ulink .arrow { transition: transform var(--t-med); display: inline-block; }
.ulink:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Product visual — stylized placeholder
   each .product-frame is a deep dark scene with the basket evoked
   ============================================================ */
.product-frame {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 70%, #1a1311 0%, #0a0807 60%, #050403 100%);
  isolation: isolate;
}
.product-frame::before {
  /* horizon line / studio floor */
  content: "";
  position: absolute; left: 0; right: 0; top: 62%; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--deep) 60%, transparent) 30%, color-mix(in oklab, var(--deep) 60%, transparent) 70%, transparent);
}
.product-frame::after {
  /* film grain */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1.2px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: .35;
  pointer-events: none;
}
.product-frame .label {
  position: absolute; top: 16px; left: 16px;
  font-family: "Geist Mono", monospace; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim);
  z-index: 3;
}
.product-frame .label.right { left: auto; right: 16px; text-align: right; }
.product-frame .label.bottom { top: auto; bottom: 16px; }

/* The basket itself drawn from CSS — restrained, geometric */
.basket {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -42%);
  width: 56%;
  aspect-ratio: 25 / 18;
  z-index: 2;
}
.basket-body {
  position: absolute; inset: 0;
  border: 1.5px solid color-mix(in oklab, var(--bone) 70%, transparent);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 22%, color-mix(in oklab, var(--bone) 4%, transparent) 100%);
  box-shadow:
    inset 0 -20px 40px -20px color-mix(in oklab, var(--bone) 18%, transparent),
    0 30px 60px -20px rgba(0,0,0,0.8);
}
.basket-rim {
  position: absolute; top: 0; left: -2%; right: -2%; height: 8%;
  border: 1.5px solid color-mix(in oklab, var(--bone) 78%, transparent);
  border-radius: 6px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--bone) 10%, transparent), transparent);
}
.basket-slots {
  position: absolute; inset: 18% 8% 22% 8%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}
.basket-slots > i {
  display: block;
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--bone) 8%, transparent));
  border-left: 1px solid color-mix(in oklab, var(--bone) 14%, transparent);
}
.basket-floor {
  position: absolute; bottom: 0; left: 6%; right: 6%; height: 14%;
  border-top: 1px dashed color-mix(in oklab, var(--bone) 22%, transparent);
}
.basket-handle {
  position: absolute; top: 30%; height: 18%; width: 14%;
  border: 1.5px solid color-mix(in oklab, var(--bone) 65%, transparent);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.basket-handle.l { left: -6%; transform: rotate(-90deg); transform-origin: right center; }
.basket-handle.r { right: -6%; transform: rotate(90deg); transform-origin: left center; }
/* reflection on floor */
.basket-shadow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, 18%) scaleY(-1);
  width: 56%;
  aspect-ratio: 25 / 18;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 60%);
          mask-image: linear-gradient(to bottom, black 0%, transparent 60%);
}

/* variant colour theming */
.product-frame.sage .basket-body,
.product-frame.sage .basket-rim,
.product-frame.sage .basket-handle { border-color: color-mix(in oklab, var(--sage) 70%, transparent); }
.product-frame.sand .basket-body,
.product-frame.sand .basket-rim,
.product-frame.sand .basket-handle { border-color: color-mix(in oklab, var(--tan) 75%, transparent); }
.product-frame.noir .basket-body,
.product-frame.noir .basket-rim,
.product-frame.noir .basket-handle { border-color: color-mix(in oklab, var(--bone) 60%, transparent); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: calc(100vh - 65px);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 64px 0 28px;
  position: relative;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 48px;
  align-items: end;
  padding: 0 var(--gut);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-copy { padding-bottom: 24px; }
.hero-copy .eyebrow { margin-bottom: 24px; display: block; }
.hero-copy h1 { margin: 0 0 28px; }
.hero-copy h1 em { font-style: normal; color: var(--sage); }
.hero-copy .lede { margin-bottom: 36px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-meta {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 48px;
}
.hero-meta .cell .k { display: block; margin-bottom: 8px; }
.hero-meta .cell .v { font-size: 15px; color: var(--bone); }

@media (max-width: 900px) {
  .hero-stage { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { aspect-ratio: 1/1; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

/* ============================================================
   Benefits row
   ============================================================ */
.benefits {
  padding: 120px 0 100px;
  border-top: 1px solid var(--line);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.benefit {
  background: var(--ink);
  padding: 40px 32px 36px;
  min-height: 280px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: background var(--t-med);
}
.benefit:hover { background: var(--ink-2); }
.benefit .num {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--sage);
  letter-spacing: 0.16em;
}
.benefit h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 18ch;
}
.benefit p {
  margin: 0;
  font-size: 14px;
  color: var(--bone-soft);
  max-width: 36ch;
}
.benefit .glyph {
  position: absolute;
  right: 24px; top: 28px;
  width: 56px; height: 56px;
  opacity: 0.9;
}

@media (max-width: 760px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Product preview block (home)
   ============================================================ */
.preview {
  padding: 120px 0 140px;
  border-top: 1px solid var(--line);
}
.preview-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}
.preview-head h2 { margin: 0; }

.preview-stage {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
}
.preview-card {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-med);
}
.preview-card:hover { border-color: var(--line-2); }
.preview-card .ribbon {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
  z-index: 3;
}
.preview-card .ribbon h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.preview-card .ribbon .price {
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  color: var(--bone);
}
.preview-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 32px;
}
.preview-mini {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
@media (max-width: 900px) {
  .preview-stage { grid-template-columns: 1fr; }
  .preview-mini { aspect-ratio: 4/3; }
}

/* ============================================================
   Manifesto
   ============================================================ */
.manifesto {
  padding: 140px 0 140px;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
  align-items: start;
}
.manifesto-grid h2 { margin: 0; max-width: 8ch; }
.manifesto-body p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--bone);
  max-width: 60ch;
  margin: 0 0 22px;
}
.manifesto-body p:last-child { margin-bottom: 0; }
.manifesto-body .sig {
  margin-top: 32px;
  display: flex; gap: 12px; align-items: center;
  font-size: 12px;
  color: var(--bone-dim);
  font-family: "Geist Mono", monospace;
  letter-spacing: 0.08em;
}
@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  background: var(--ink);
}
.footer-top {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  margin-bottom: 80px;
}
.footer-mark .display-l { margin: 0; }
.footer-mark p { max-width: 32ch; margin-top: 20px; color: var(--bone-soft); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  font-weight: 400;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--bone-soft);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--bone); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  text-transform: uppercase;
}
.footer-bottom .legal a { color: var(--bone-dim); margin-right: 20px; }
.footer-bottom .legal a:hover { color: var(--bone); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Boutique
   ============================================================ */
.page-head {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-head .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}
.page-head h1 { margin: 0; }
.page-head .crumbs {
  display: flex; gap: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 18px;
}
.page-head .crumbs a:hover { color: var(--bone); }
.page-head .crumbs .sep { color: var(--line-2); }

.boutique-grid {
  padding: 80px 0 140px;
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 48px;
}
.boutique-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.shop-card {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: stretch;
  text-decoration: none;
}
.shop-card .vis {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: border-color var(--t-med);
}
.shop-card:hover .vis { border-color: var(--bone-dim); }
.shop-card .meta {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 14px;
  padding: 8px 4px;
}
.shop-card .meta .ref { color: var(--bone-dim); font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em; }
.shop-card .meta h3 { margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.shop-card .meta .desc { font-size: 14px; color: var(--bone-soft); max-width: 40ch; }
.shop-card .meta .row {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.shop-card .meta .price {
  font-family: "Geist Mono", monospace;
  font-size: 16px;
}

.boutique-aside {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  display: flex; flex-direction: column; gap: 32px;
}
.aside-block h4 {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  font-weight: 400;
  margin: 0 0 14px;
}
.aside-block p { margin: 0; font-size: 14px; color: var(--bone-soft); }

@media (max-width: 900px) {
  .boutique-grid { grid-template-columns: 1fr; }
  .boutique-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .shop-card { grid-template-columns: 1fr; }
}

/* ============================================================
   Fiche produit
   ============================================================ */
.product-page {
  padding: 56px 0 120px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: start;
}
.gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
}
.gallery .thumbs {
  display: flex; flex-direction: column;
  gap: 12px;
}
.gallery .thumb {
  aspect-ratio: 1/1;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.gallery .thumb.active { border-color: var(--bone); }
.gallery .thumb:hover { border-color: var(--bone-dim); }

.gallery .main {
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.gallery .thumb .basket,
.gallery .thumb .basket-shadow { width: 70%; transform: translate(-50%, -40%); }
.gallery .thumb .label { display: none; }

.product-info { position: sticky; top: 96px; padding-top: 12px; }
.product-info .crumbs {
  display: flex; gap: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-dim); margin-bottom: 22px;
}
.product-info .ref { margin-top: 4px; color: var(--bone-dim); font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.16em; }
.product-info h1 { margin: 14px 0 6px; font-size: clamp(32px, 3.5vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.product-info .price {
  display: flex; gap: 14px; align-items: baseline;
  font-family: "Geist Mono", monospace;
  font-size: 22px;
  color: var(--bone);
  margin: 18px 0 8px;
}
.product-info .price .tva { font-size: 11px; color: var(--bone-dim); letter-spacing: 0.14em; text-transform: uppercase; }

.product-summary {
  font-size: 15px; color: var(--bone-soft); margin: 24px 0 28px;
  max-width: 44ch;
}

.opt-group { margin-top: 24px; }
.opt-label {
  display: flex; justify-content: space-between;
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 12px;
}
.opt-label .val { color: var(--bone); }

.swatches { display: flex; gap: 10px; }
.swatch {
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  position: relative;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.swatch[data-color="noir"]  { background: #1a1716; }
.swatch[data-color="sand"]  { background: #b89f88; }
.swatch[data-color="sage"]  { background: #98aeb3; }
.swatch.active { border-color: var(--bone); }
.swatch.active::after {
  content: ""; position: absolute; inset: -5px;
  border: 1px solid var(--bone);
}

.qty {
  display: inline-grid;
  grid-template-columns: 44px 56px 44px;
  border: 1px solid var(--line-2);
  height: 44px;
}
.qty button { color: var(--bone); font-size: 18px; }
.qty .v {
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace; font-size: 14px;
  border-left: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
}

.add-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 28px;
}
.add-row .btn { justify-content: center; padding: 16px 28px; }

.notice {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--bone-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.notice svg { stroke: var(--sage); }

.tabs {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding-top: 0;
}
.tab-heads {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
}
.tab-head {
  padding: 22px 0;
  margin-right: 36px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-dim);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}
.tab-head.active { color: var(--bone); border-bottom-color: var(--bone); }
.tab-body { display: none; padding: 40px 0; }
.tab-body.active { display: block; }
.tab-body h4 { margin: 0 0 12px; font-size: 16px; font-weight: 500; color: var(--bone); }
.tab-body p { max-width: 70ch; margin: 0 0 12px; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec-row .k {
  color: var(--bone-dim);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .product-page { grid-template-columns: 1fr; }
  .product-info { position: static; }
  .gallery { grid-template-columns: 60px 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Panier
   ============================================================ */
.cart-page { padding: 56px 0 120px; }
.cart-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 64px;
}
.cart-lines { border-top: 1px solid var(--line); }
.cart-line {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-line .vis {
  width: 120px; aspect-ratio: 1/1;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cart-line .vis .basket,
.cart-line .vis .basket-shadow { width: 70%; transform: translate(-50%, -40%); }
.cart-line .vis .label { display: none; }
.cart-line .info h3 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.cart-line .info .v { font-size: 12px; color: var(--bone-dim); font-family: "Geist Mono", monospace; letter-spacing: 0.08em; margin-top: 6px; text-transform: uppercase; }
.cart-line .info .actions { margin-top: 14px; display: flex; gap: 16px; align-items: center; }
.cart-line .info .remove { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim); cursor: pointer; }
.cart-line .info .remove:hover { color: var(--tan); }
.cart-line .price-col { font-family: "Geist Mono", monospace; font-size: 16px; text-align: right; }

.cart-empty {
  padding: 80px 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  border: 1px dashed var(--line);
}
.cart-empty h2 { margin: 0; }
.cart-empty p { margin: 0; max-width: 36ch; }

.cart-summary {
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 96px;
}
.cart-summary h3 {
  margin: 0 0 22px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  font-weight: 400;
}
.cart-summary .row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  color: var(--bone-soft);
  border-bottom: 1px solid var(--line);
}
.cart-summary .row.total {
  color: var(--bone);
  font-size: 18px;
  padding-top: 22px;
  border-bottom: 0;
}
.cart-summary .btn { width: 100%; justify-content: center; margin-top: 22px; }

@media (max-width: 900px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

/* ============================================================
   Long-form text pages (CGV, mentions, confidentialité, à propos)
   ============================================================ */
.longform {
  padding: 56px 0 140px;
  display: grid;
  grid-template-columns: 3fr 8fr;
  gap: 96px;
  align-items: start;
}
.longform-toc {
  position: sticky;
  top: 96px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.longform-toc h4 {
  font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-dim); font-weight: 400;
  margin: 0 0 18px;
}
.longform-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.longform-toc li { counter-increment: toc; padding: 4px 0; font-size: 13px; }
.longform-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: "Geist Mono", monospace;
  font-size: 11px; color: var(--bone-dim);
  margin-right: 10px;
  letter-spacing: 0.06em;
}
.longform-toc a { color: var(--bone-soft); }
.longform-toc a:hover { color: var(--bone); }

.longform-body { max-width: 70ch; }
.longform-body h2 {
  margin: 0 0 8px;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.longform-body .lede { margin-top: 0; margin-bottom: 56px; }
.longform-body article {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
}
.longform-body article .n {
  font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--sage);
  padding-top: 6px;
}
.longform-body article h3 {
  margin: 0 0 14px;
  font-size: 20px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--bone);
}
.longform-body article p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; }
.longform-body article ul { margin: 12px 0 12px 18px; padding: 0; }
.longform-body article ul li { font-size: 14.5px; color: var(--bone-soft); margin-bottom: 6px; line-height: 1.6; }
.longform-body article strong { color: var(--bone); font-weight: 500; }

@media (max-width: 900px) {
  .longform { grid-template-columns: 1fr; gap: 32px; }
  .longform-toc { position: static; }
  .longform-body article { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact-page {
  padding: 56px 0 140px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  align-items: start;
}
.contact-side h1 { margin: 0 0 24px; }
.contact-side .lede { margin-bottom: 40px; }
.contact-side .channels { display: grid; gap: 18px; border-top: 1px solid var(--line); padding-top: 22px; }
.contact-side .channels .ch {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 8px 0;
}
.contact-side .channels .k { color: var(--bone-dim); font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-side .channels .v { color: var(--bone); font-size: 14px; }

.contact-form {
  border: 1px solid var(--line);
  padding: 40px;
  display: grid; gap: 22px;
}
.field { display: grid; gap: 8px; }
.field label {
  font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-dim);
}
.field input, .field textarea, .field select {
  background: transparent;
  color: var(--bone);
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
  font: 400 15px/1.5 "Geist", sans-serif;
  outline: none;
  transition: border-color var(--t-fast);
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--bone); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row {
  display: grid; gap: 22px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.form-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px;
}
.form-bottom small { color: var(--bone-dim); font-size: 12px; max-width: 36ch; }

@media (max-width: 900px) {
  .contact-page { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 28px; }
}

/* ============================================================
   À propos
   ============================================================ */
.about {
  padding: 56px 0 140px;
}
.about-hero {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 96px;
}
.about-hero h1 { margin: 0; }
.about-hero p { margin: 0; max-width: 50ch; font-size: 17px; color: var(--bone); }

.about-body {
  padding: 96px 0;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
}
.about-body .label {
  font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-dim);
}
.about-body article { margin-bottom: 48px; }
.about-body article:last-child { margin-bottom: 0; }
.about-body h3 { margin: 0 0 14px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.about-body p { margin: 0 0 12px; max-width: 60ch; font-size: 16px; line-height: 1.65; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 64px;
}
.principle {
  background: var(--ink);
  padding: 32px 28px;
  min-height: 200px;
}
.principle .num { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--tan); letter-spacing: 0.12em; }
.principle h4 { margin: 14px 0 12px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.principle p { font-size: 13px; color: var(--bone-soft); margin: 0; max-width: 30ch; }

@media (max-width: 900px) {
  .about-hero, .about-body { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .principles { grid-template-columns: 1fr; }
}

/* ============================================================
   Cart toast
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--bone);
  color: var(--ink);
  padding: 14px 20px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 100;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity var(--t-fast), transform var(--t-fast);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Photos produit injectées — cadres principaux .product-frame
   ============================================================ */
.product-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-frame > .product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 2;
  background: var(--ink-2);
}

.product-frame:has(> .product-image) .basket { display: none; }

.product-frame > .product-image[data-fit="contain"] {
  object-fit: contain;
  padding: 8%;
}

/* ============================================================
   Photos produit injectées — vignettes .thumb (fiche produit)
   ============================================================ */
.product-page .thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-page .thumb > .product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 2;
  background: var(--ink-2);
}

.product-page .thumb:has(> .product-image) .basket { display: none; }
