/* MA BOUTIQUE MODE — mise en page calquee sur thereformation.com (mesures dans MISE-EN-PAGE.md).
   Habillage propre : encre chaude #1d1c1a, fond blanc casse, gris sable #f4f2ee, accent brique #8f3b22 ;
   typo Hanken Grotesk (sans grotesque, meme famille et meme echelle que le modele) + Instrument Serif pour les titres
   (le modele utilise un serif de titrage). Logo = texte, aucune image de la marque. */
:root {
  --ink: #1d1c1a;
  --ink-2: #4a4743;
  --muted: #7b7670;
  --line: #e4e1dc;
  --line-2: #cfcac3;
  --bg: #fffefc;
  --sand: #f4f2ee;          /* footer, fonds neutres */
  --photo: #eef0f1;         /* fond des photos produit (gris tres clair du studio) */
  --accent: #8f3b22;        /* brique : prix barres, liens actifs, badges */
  --ann: #1d1c1a;           /* bandeau d'annonce */
  --gut: 24px;              /* marge laterale desktop (modele : 24 px) */
  --hd: 56px;
  --annh: 28px;
  --f: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.5 var(--f); letter-spacing: .01em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

/* ---------- Boutons : rectangles noirs pleins, coins droits (modele : 147 x 44, 14 px) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 28px; font-size: 14px; font-weight: 500; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0; transition: background .2s, color .2s; text-align: center; }
.btn:hover { background: #3a3835; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wide { width: 100%; }
.link-btn, .u-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.u-link { font-size: 16px; font-weight: 500; }
.hd-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; position: relative; }

/* ---------- Bandeau d'annonce (32 px, noir, texte a gauche, messages qui alternent) */
.ann { height: var(--annh); background: #1a1c1d; color: #fff; font-size: 10px; letter-spacing: 0.05em; display: flex; align-items: center; justify-content: center; padding: 0 10px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); }
.ann-inner { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1440px; margin: 0 auto; }
.ann-track { position: relative; width: 100%; height: var(--annh); max-width: 100%; }
.ann-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .5s; line-height: 1; font-weight: 600; text-transform: uppercase; text-align: center; padding: 0 4px; }
.ann-msg.is-on { opacity: 1; }
.ann-strong { font-weight: 800; }
.ann a { text-decoration: underline; text-underline-offset: 2px; color: inherit; }
.brand-seo { padding: 24px var(--gut) 28px; max-width: 1440px; margin: 0 auto; border-bottom: 1px solid var(--line); text-align: center; }
.brand-seo-in { max-width: 40rem; margin: 0 auto; }
.brand-seo h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 400; line-height: 1.05; margin: 0 0 8px; letter-spacing: -0.02em; }
.brand-seo h2 { font-size: 15px; font-weight: 600; margin: 0 0 6px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); }
.brand-seo h3 { font-size: 14px; font-weight: 500; margin: 0 0 10px; color: var(--ink-2); }
.brand-seo p { font-size: 14px; line-height: 1.55; margin: 0 auto; color: var(--ink-2); max-width: 36ch; }
.brand-seo a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Barre (56 px) : navigation a gauche, recherche + liens + panier a droite */
.hd { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.hd-in { height: var(--hd); padding: 0 var(--gut); display: flex; align-items: center; gap: 24px; }
.logo-m { display: none; }
.hd-nav { flex: 1; min-width: 0; }
.hd-nav > ul { display: flex; gap: 20px; }
.navlink { display: block; line-height: var(--hd); font-size: 16px; white-space: nowrap; position: relative; }
.navlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 16px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.navlink:hover::after, .navlink.is-on::after, .has-mega:hover > .navlink::after { transform: scaleX(1); }
.hd-act { display: flex; align-items: center; gap: 20px; }
.hd-search { display: flex; align-items: center; width: 156px; border-bottom: 1px solid var(--ink); }
.hd-q { flex: 1; min-width: 0; border: 0; background: transparent; padding: 2px 0; font-size: 16px; outline: none; }
.hd-q::placeholder { color: var(--ink); opacity: 1; }
.hd-search button svg { width: 16px; height: 16px; }
.hd-link, .cart-lbl { font-size: 16px; white-space: nowrap; }
.hd-link:hover, .cart-btn:hover .cart-lbl { text-decoration: underline; text-underline-offset: 3px; }
.cart-ico, .hd-search-m, .hd-burger { display: none; }

/* Logo Reformation (SVG local, meme logotype que thereformation.com) */
.logo-mark { display: block; width: auto; max-width: 100%; height: auto; }
.wm-row { padding: 0 var(--gut) 8px; display: flex; align-items: flex-end; gap: 18px; }
.wm-d, .wm-f { height: 79px; }
.wm-m { height: 28px; }
.wm-s { height: 26px; }
.wm-note { font-size: 13px; color: var(--muted); padding-bottom: 10px; }

/* Mega-menu pleine largeur : colonnes de liens + 2 vignettes photo a droite */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { visibility: visible; opacity: 1; }
.has-mega.mega-off .mega { visibility: hidden; opacity: 0; }
.mega-in { padding: 24px var(--gut) 32px; display: flex; justify-content: space-between; gap: 40px; }
.mega-cols { display: flex; gap: 64px; }
.mega-t { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.mega-col li a { display: block; font-size: 16px; line-height: 32px; }
.mega-col li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega-tiles { display: flex; gap: 1px; }
.mega-tile { width: 184px; }
.mega-tile img { width: 184px; height: 245px; object-fit: cover; background: var(--photo); }
.mega-tile span { display: block; font-size: 14px; margin-top: 6px; }

/* ---------- Tiroirs, overlay, modales */
.overlay { position: fixed; inset: 0; background: rgba(20, 19, 18, .35); z-index: 80; }
.drawer { position: fixed; z-index: 90; background: var(--bg); display: flex; flex-direction: column; overflow: auto; }
.drawer-right { right: 0; top: 0; bottom: 0; width: min(440px, 92vw); }
.drawer-top { left: 0; right: 0; top: 0; max-height: 85vh; }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gut); border-bottom: 1px solid var(--line); min-height: 56px; }
.drawer-hd strong { font-weight: 500; font-size: 16px; }
.search-input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; font-size: 20px; outline: none; background: transparent; }
.search-results { padding: 12px var(--gut) 24px; display: grid; gap: 8px; }
.s-item { display: flex; gap: 14px; align-items: center; padding: 4px 0; }
.s-item img { width: 56px; height: 75px; object-fit: cover; background: var(--photo); }
.s-item small { color: var(--muted); }
.s-all { font-weight: 500; text-decoration: underline; }
.s-count { color: var(--muted); font-size: 14px; }
.m-nav { padding: 8px var(--gut); }
.m-nav > li { border-bottom: 1px solid var(--line); }
.m-nav > li > a, .m-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 18px; cursor: pointer; list-style: none; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav details ul { padding: 0 0 12px 12px; }
.m-nav details li a { display: block; padding: 7px 0; font-size: 15px; }
.m-util { padding: 16px var(--gut); display: grid; gap: 10px; font-size: 15px; }
.m-lang { padding: 0 var(--gut) 24px; }
.modal { position: fixed; z-index: 95; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--bg); width: min(760px, 94vw); max-height: 88vh; overflow: auto; padding: 24px; }
.lightbox { width: auto; max-width: 96vw; padding: 0; background: #fff; }
.lightbox img { max-height: 92vh; width: auto; }
.lb-close { position: absolute; top: 6px; right: 6px; background: #fff; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; z-index: 120; display: flex; gap: 16px; align-items: center; font-size: 14px; }
.toast-act { text-decoration: underline; color: #fff; }
.cookie, .lang-sug { position: fixed; z-index: 110; max-width: 360px; background: var(--bg); border: 1px solid var(--line-2); box-shadow: 0 8px 32px rgba(0,0,0,.08); font-size: 12px; display: grid; gap: 8px; }
.cookie { left: auto; right: var(--gut); bottom: var(--gut); padding: 12px 14px; border-radius: 4px; }
.cookie-brand { font-family: var(--serif); font-size: 15px; margin: 0; letter-spacing: 0.02em; }
.cookie-tx { margin: 0; line-height: 1.45; color: var(--ink-2); }
.cookie-act { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.cookie a { text-decoration: underline; text-underline-offset: 2px; }
.btn-sm { padding: 6px 12px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.lang-sug { left: var(--gut); bottom: var(--gut); padding: 16px; }

/* ---------- Accueil (cadrage type thereformation.com : pleine largeur, cover, grilles bord a bord) */
.hero { position: relative; height: 810px; overflow: hidden; background: var(--photo); }
.hero-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; height: 100%; min-height: 0; }
.hero-media.hero-media--one { grid-template-columns: 1fr; }
.hero-media > a, .banner-media > a { display: block; height: 100%; min-height: 0; overflow: hidden; }
.hero-media > a:only-child, .banner-media > a:only-child { grid-column: 1 / -1; }
.home-cover { width: 100%; height: 100%; min-height: 0; }
.home-cover picture { display: block; width: 100%; height: 100%; }
.home-cover img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: var(--img-focus, center center); }
.hero-media img, .banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--img-focus, center center); display: block; }
.hero-tx { z-index: 1; position: absolute; left: var(--gut); top: 42%; max-width: 520px; padding: 0 24px 0 0; }
.hero--campaign .hero-tx { top: 57%; transform: translateY(-50%); }
.hero-tx::before { content: ''; position: absolute; inset: 0 0 0 calc(-1 * var(--gut)); background: rgba(255, 254, 252, .86); z-index: -1; }
.hero--campaign .hero-tx::before, .banner--campaign .banner-tx::before { display: none; }
.hero-title { font-family: var(--serif); font-size: 46px; line-height: 1.08; margin-bottom: 10px; }
.hero-sub { font-size: 16px; margin-bottom: 14px; max-width: 440px; }
/* 4 vignettes categorie 3:4, filet 1 px, legende sous l'image */
body.is-home .cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; margin: 0; }
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 24px var(--gut) 40px; }
.cat-tile { display: block; min-width: 0; }
.cat-tile-media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--photo); }
.cat-t { font-family: var(--serif); font-size: 16px; margin: 8px 0 0 var(--gut); }
body.is-home .cat-t { margin: 8px 0 0 12px; }
.cat-tile:hover .cat-t { text-decoration: underline; text-underline-offset: 3px; }
.chips-row { display: none; }
.banner { position: relative; height: 770px; overflow: hidden; background: var(--photo); }
.banner-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; height: 100%; min-height: 0; }
.banner-media.banner-media--one { grid-template-columns: 1fr; }
.banner-tx { z-index: 1; position: absolute; left: var(--gut); top: 190px; max-width: 520px; padding: 0 24px 0 0; }
.banner-tx::before { content: ''; position: absolute; inset: 0 0 0 calc(-1 * var(--gut)); background: rgba(255, 254, 252, .86); z-index: -1; }
.banner-title { font-family: var(--serif); font-size: 46px; line-height: 1.08; margin-bottom: 10px; }
body.is-home .row4 { padding: 0; }
.row4 { padding: 24px var(--gut) 24px; }
body.is-home .row4 .grid-4 { gap: 1px; }
.row-more { text-align: center; padding: 32px 0 40px; }
.row-more .btn { min-width: 147px; }

/* ---------- Cartes produit (photo 3:4, 2e photo au survol, nom + prix 14 px, nombre de coloris 12 px) */
.grid { display: grid; gap: 1px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; min-width: 0; }
.card-media { position: relative; background: var(--photo); }
.card-img { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.card-img .ci-2 { opacity: 0; }
@media (hover: hover) { .card:hover .ci-2 { opacity: 1; } }
.badge { position: absolute; left: 10px; top: 10px; background: var(--bg); font-size: 12px; padding: 3px 8px; z-index: 2; }
.badge-new { color: var(--ink); }
.card-plus { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; z-index: 3; }
.card:hover .card-plus, .card-plus:focus-visible { opacity: 1; }
.card-tx { padding: 12px 12px 36px; font-size: 14px; line-height: 1.55; }
.card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-colors { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.price { font-size: 14px; }
/* Ajout rapide : choix de taille pose sur le bas de la photo */
.qa { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--bg); padding: 12px; z-index: 4; box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }
.qa-t { font-size: 13px; margin-bottom: 8px; }
.qa-t span { color: var(--muted); }
.qa-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.qa-size { min-width: 40px; height: 34px; padding: 0 8px; border: 1px solid var(--line-2); font-size: 13px; }
.qa-size:hover:not([disabled]) { border-color: var(--ink); }
.qa-size.is-oos { color: var(--muted); text-decoration: line-through; cursor: not-allowed; background: var(--sand); }

/* Carrousel pleine largeur (modele : 4 cartes de 360 px, fleches rondes 40 px aux extremites) */
.track-wrap { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3px) / 4); gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > .card { scroll-snap-align: start; }
.trk-btn { position: absolute; top: calc((100vw / 4) * 4 / 6); transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 5; }
.trk-prev { left: var(--gut); background: rgba(255, 255, 255, .7); }
.trk-next { right: var(--gut); background: var(--ink); color: #fff; }
.trk-btn:disabled { opacity: .35; cursor: default; }

/* ---------- PLP */
.crumbs { padding: 12px var(--gut) 0; font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a:hover { text-decoration: underline; }
.crumb-sep { color: var(--muted); }
.plp-hd { padding: 0 0 8px; }
.plp-hd .crumbs { padding-top: 4px; }
.plp-hd h1 { font-family: var(--serif); font-size: 40px; line-height: 1.3; padding: 18px var(--gut) 0; }
.plp-pg { font-size: 24px; color: var(--muted); }
.plp-intro { padding: 2px var(--gut) 0; font-size: 16px; max-width: 900px; }
.plp-intro a { text-decoration: underline; text-underline-offset: 2px; }
.sub-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; padding: 22px var(--gut) 0; }
.sub-tile img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; background: var(--photo); }
.sub-tile span { display: block; font-size: 14px; margin-top: 6px; }
.sub-tile:hover span { text-decoration: underline; text-underline-offset: 3px; }
.plp-bar { display: flex; align-items: center; gap: 24px; padding: 40px var(--gut) 14px; }
.quick-f { display: flex; gap: 24px; flex: 1; flex-wrap: wrap; }
.qf { font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
.qf:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-badge { background: var(--ink); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.plp-count { font-size: 14px; color: var(--muted); }
.sort-wrap { display: flex; align-items: center; gap: 4px; font-size: 16px; }
.sort { border: 0; background: transparent; font-size: 16px; padding: 0 2px; cursor: pointer; appearance: none; -webkit-appearance: none; field-sizing: content; text-decoration: underline; text-underline-offset: 3px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gut); }
.active-filters:not(:empty) { padding-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); padding: 6px 12px; font-size: 13px; }
.chip.is-on { border-color: var(--ink); }
.plp-empty { padding: 40px var(--gut); }
.plp-more { text-align: center; padding: 48px 0 24px; }
.more-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; }
.more-btn svg { width: 22px; height: 22px; }
.more-btn:hover span { text-decoration: underline; text-underline-offset: 4px; }
.plp-seo { padding: 32px 32px 48px; font-size: 13px; line-height: 1.75; max-width: 1440px; }
.plp-seo h2 { font-size: 13px; font-weight: 700; margin: 14px 0 6px; font-family: var(--f); }
.plp-seo a { text-decoration: underline; text-underline-offset: 2px; }
.plp-seo .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.home-seo { border-top: 1px solid var(--line); margin-top: 40px; }
/* Tiroir des filtres */
.f-drawer { width: min(420px, 94vw); }
.f-body { flex: 1; overflow: auto; padding: 0 var(--gut); }
.f-group { border-bottom: 1px solid var(--line); }
.f-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 16px; cursor: pointer; }
.f-group summary::-webkit-details-marker { display: none; }
.f-group[open] summary svg { transform: rotate(45deg); }
.f-opts { padding: 0 0 16px; display: grid; gap: 10px; }
.f-size { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.f-opt { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.f-opt small { color: var(--muted); }
.f-opt input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.f-size .f-opt { border: 1px solid var(--line-2); justify-content: center; padding: 8px 4px; gap: 4px; font-size: 14px; position: relative; }
.f-size .f-opt input { position: absolute; opacity: 0; }
.f-size .f-opt:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.f-size .f-opt:has(input:checked) small { color: #ddd; }
.f-size .f-opt small { font-size: 11px; }
.f-sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); background: conic-gradient(#c6553b, #d9b54a, #5f7f4c, #3d5c8f, #7b4d8f, #c6553b); flex: none; }
.side-ft { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px var(--gut); border-top: 1px solid var(--line); }

/* ---------- PDP : galerie mosaique 2 colonnes bord a bord (modele : 496 x 661, filet 1 px) + colonne d'achat 400 px */
.pdp { display: grid; grid-template-columns: minmax(0, 993fr) minmax(0, 447fr); align-items: start; }
.pdp-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bg); }
.gal-cell { display: block; background: var(--photo); cursor: zoom-in; }
.gal-cell img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; }
.pdp-gal[data-n="1"] { grid-template-columns: 1fr; }
.pdp-tx { padding: 0 var(--gut) 40px 23px; }
.pdp-sticky { position: sticky; top: calc(var(--hd) + 8px); max-width: 400px; padding-top: 6px; }
.pdp-name { font-size: 18px; line-height: 1.3; font-family: var(--f); }
.pdp-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pdp-price { font-size: 14px; margin: 10px 0 0; }
.pdp-color { margin-top: 28px; }
.v-label { font-size: 14px; margin-bottom: 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 32px; height: 32px; border-radius: 50%; padding: 3px; border: 1px solid transparent; }
.sw span { display: block; width: 100%; height: 100%; border-radius: 50%; background-size: 420%; background-position: center 38%; border: 1px solid rgba(0, 0, 0, .1); }
.sw.is-on { border-color: var(--ink); }
.sg-link { display: inline-block; font-size: 14px; margin-top: 24px; }
.size-sel { position: relative; margin-top: 10px; }
.size-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 12px; border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 500; text-align: left; }
.size-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.size-list { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border: 1px solid var(--line-2); border-top: 0; z-index: 10; max-height: 320px; overflow: auto; }
.size-opt { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; font-size: 15px; text-align: left; }
.size-opt:hover, .size-opt:focus-visible { background: var(--sand); }
.size-opt[aria-selected="true"] { font-weight: 600; }
.size-opt.is-oos span { color: var(--muted); text-decoration: line-through; }
.size-opt small { font-size: 13px; color: var(--muted); text-decoration: underline; }
.size-msg { font-size: 13px; color: var(--accent); margin-top: 8px; }
.fit-tip { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.add-btn { margin-top: 24px; font-size: 16px; }
.buy-now { margin-top: 8px; font-size: 16px; }
.pdp-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.pdp-desc { margin-top: 28px; font-size: 14px; line-height: 1.55; display: grid; gap: 10px; }
.seo-links a { text-decoration: underline; text-underline-offset: 2px; }
.acc { margin-top: 28px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 16px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h2 { font-size: 14px; font-weight: 500; font-family: var(--f); }
.acc summary svg { width: 16px; height: 16px; }
.acc details[open] summary svg { transform: rotate(45deg); }
.acc details > :not(summary) { padding: 0 16px 16px; font-size: 14px; }
.acc ul { display: grid; gap: 6px; list-style: disc; padding-left: 34px !important; }
.acc a, .acc .link-btn { text-decoration: underline; }
.reseller { font-size: 12px; color: var(--muted); margin-top: 20px; }
.pdp-sec { padding: 56px 0 0; }
.pdp-h { font-size: 22px; padding: 0 var(--gut) 18px; font-family: var(--f); }
.pdp-narrow { padding-left: var(--gut); padding-right: var(--gut); max-width: 900px; }
.pdp-narrow .pdp-h { padding-left: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; cursor: pointer; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 15px; font-weight: 500; }
.faq summary svg { flex: none; width: 16px; height: 16px; }
.faq[open] summary svg { transform: rotate(45deg); }
.faq p { padding: 0 0 14px; font-size: 14px; }
.faq a { text-decoration: underline; }
.crumbs-pdp { padding: 48px var(--gut) 40px; }
/* Guide des tailles */
.sg-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sg-hd h2 { font-family: var(--serif); font-size: 30px; }
.sg-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.sg-tab { padding: 10px 0; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.sg-tab.is-on { border-color: var(--ink); }
.sg-table-wrap { overflow-x: auto; margin: 0 0 18px; }
.sg-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.sg-table caption { text-align: left; font-weight: 500; padding: 0 0 8px; }
.sg-table th, .sg-table td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; white-space: nowrap; }
.sg-table thead th { font-weight: 500; background: var(--sand); }
.sg-how { list-style: disc; padding-left: 20px; font-size: 14px; display: grid; gap: 4px; margin-bottom: 12px; }

/* ---------- Panier (tiroir droit + page) */
.cart-drawer .drawer-hd { padding: 14px var(--gut); }
.cart-drawer { box-shadow: -8px 0 32px rgb(0 0 0 / 6%); }
.cart-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart-main { flex: 1; padding: 0 var(--gut); overflow: auto; }
.cart-main--clean { padding-top: 8px; }
.cart-promo-badge { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; }
.cart-cap-meter { height: 2px; background: var(--line); margin-bottom: 10px; }
.cart-cap-meter span { display: block; height: 100%; background: var(--ink); transition: width 0.25s ease; }
.cart-cap-hint { font-size: 12px; color: var(--ink-2); line-height: 1.45; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-free { padding: 16px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.cart-bar { display: block; height: 3px; background: var(--line); margin-top: 8px; }
.cart-bar span { display: block; height: 100%; background: var(--ink); }
.c-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.c-thumb img { width: 90px; height: 120px; object-fit: cover; background: var(--photo); }
.c-name { font-weight: 500; }
.c-var, .c-unit { color: var(--ink-2); font-size: 13px; }
.c-oos { color: var(--accent); font-size: 13px; }
.c-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.c-rm { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); margin-top: 10px; }
.qty button { width: 32px; height: 32px; }
.qty button:disabled { opacity: .3; }
.qty span { min-width: 24px; text-align: center; }
.cart-rec { padding: 20px 0 8px; border-top: 1px solid var(--line); margin-top: 8px; }
.cart-rec-h { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 10px; }
.cart-rec-in { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.cart-rec-card { flex: 0 0 108px; scroll-snap-align: start; text-decoration: none; color: inherit; }
.cart-rec-card img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; background: var(--photo); }
.cart-rec-t { display: block; font-size: 11px; margin-top: 6px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-rec-p { font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.cart-sum { position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--line); padding: 16px var(--gut) 18px; display: grid; gap: 6px; font-size: 14px; }
.cart-sum--clean { gap: 8px; padding-top: 14px; }
.cart-sum--clean .sum-promo { color: var(--ink-2); font-size: 13px; }
.cart-sum--clean .sum-cap { font-size: 11px; color: var(--ink-2); line-height: 1.4; margin: 4px 0 0; }
.sum-tier-note { font-size: 11px; color: var(--ink-2); margin: 0; line-height: 1.35; }
.cart-cap { max-width: min(400px, 92vw); padding: 24px; text-align: center; }
.cart-cap-in { display: grid; gap: 14px; }
.cart-cap-t { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0; }
.cart-cap-d { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.sum-row { display: flex; justify-content: space-between; }
.sum-row.tot { font-size: 16px; font-weight: 600; padding-top: 6px; }
.sum-row small { font-weight: 400; color: var(--muted); font-size: 12px; }
.sum-warn { color: var(--accent); font-size: 13px; }
.go-checkout { margin-top: 8px; }
.sum-cgv { font-size: 12px; color: var(--muted); }
.sum-cgv a { text-decoration: underline; }
.sum-links { display: flex; justify-content: space-between; font-size: 13px; padding-top: 4px; }
.sum-links a { text-decoration: underline; }
.cart-empty { padding: 32px var(--gut); display: grid; gap: 16px; justify-items: start; }
.cart-page-wrap { max-width: 900px; margin: 0 auto; padding: 24px var(--gut) 64px; }
.cart-page-wrap h1 { font-family: var(--serif); font-size: 40px; margin-bottom: 12px; }
.cart-page .cart-main, .cart-page .cart-sum { padding-left: 0; padding-right: 0; }
.cart-page .cart-sum { position: static; }

/* ---------- Pages simples */
.cms { max-width: 860px; padding: 18px var(--gut) 64px; display: grid; gap: 14px; font-size: 16px; }
.cms h1 { font-family: var(--serif); font-size: 40px; line-height: 1.2; margin-bottom: 8px; }
.cms h2 { font-size: 20px; margin-top: 12px; }
.cms a { text-decoration: underline; text-underline-offset: 2px; }
.cms .btn { text-decoration: none; }
.cms ul { list-style: disc; padding-left: 22px; display: grid; gap: 4px; }

/* ---------- Footer (modele : fond gris clair, 2 moities separees par un filet, ~520 px) */
.ft { background: var(--sand); display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; }
.ft-l { padding: 40px var(--gut) 48px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; }
.ft-logo { display: block; margin-left: calc(-1 * var(--gut) + 12px); }
.ft-quote { font-family: var(--serif); font-size: 48px; line-height: 1.04; margin: 120px 0 40px; max-width: 600px; }
.ft-copy { font-size: 14px; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11px; margin-top: 14px; }
.ft-legal a:hover, .ft-legal .link-btn:hover { text-decoration: underline; }
.ft-legal .link-btn { text-decoration: none; font-size: 11px; }
.ft-company { font-size: 11px; color: var(--muted); margin-top: 10px; }
.ft-r { padding: 0 var(--gut) 40px; }
.ft-news { display: flex; gap: 8px; align-items: flex-end; padding: 74px 0 34px; border-bottom: 1px solid var(--line-2); margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); }
.ft-news input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 16px; font-size: 16px; outline: none; }
.ft-news .btn { padding: 0 18px; }
.ft-social { display: flex; gap: 20px; padding: 42px 16px 22px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.ft-acc { border-bottom: 1px solid var(--line-2); }
.ft-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 57px; padding: 0 16px; font-size: 14px; font-weight: 500; cursor: pointer; }
.ft-acc summary::-webkit-details-marker { display: none; }
.ft-acc summary svg { width: 14px; height: 14px; }
.ft-acc[open] summary svg { transform: rotate(45deg); }
.ft-acc-in { padding: 0 16px 18px; font-size: 14px; display: grid; gap: 10px; }
.ft-acc-in li { padding: 3px 0; }
.ft-acc-in a:hover { text-decoration: underline; }
.ft-pay { color: var(--muted); font-size: 12px; }
.ft-country { padding: 18px 16px 0; }
.lang-sw { font-size: 14px; font-weight: 500; position: relative; }
.lang-sw.is-single { display: flex; align-items: center; gap: 8px; }
.lang-sw summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.lang-sw summary::-webkit-details-marker { display: none; }
.lang-sw svg { width: 16px; height: 16px; }
.lang-sw ul { position: absolute; bottom: 100%; left: 0; background: var(--bg); border: 1px solid var(--line-2); padding: 6px 0; min-width: 180px; }
.lang-sw ul a { display: block; padding: 6px 14px; }

/* ---------- Tablette */
@media (max-width: 1200px) {
  .hd-nav > ul { gap: 14px; }
  .navlink, .hd-link, .cart-lbl, .hd-q { font-size: 15px; }
  .hd-search { width: 120px; }
  .pdp { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}
@media (max-width: 1080px) {
  .hd-link { display: none; }
}

/* ---------- Mobile (modele a 390 : logo dans la barre + recherche / panier / menu, grilles 2 colonnes) */
@media (max-width: 900px) {
  :root { --gut: 16px; --hd: 54px; }
  .hd-nav, .hd-search, .cart-lbl, .wm-row { display: none; }
  .logo-m { display: block; flex: 1; margin-left: -2px; }
  .hd-in { gap: 4px; }
  .hd-act { gap: 4px; margin-right: -8px; }
  .hd-search-m, .hd-burger { display: inline-flex; }
  .cart-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .cart-ico { display: inline-flex; position: relative; }
  .cart-count-m { position: absolute; top: -4px; right: -8px; font-size: 10px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
  .wm-m { height: 27px; }
  .hd-icon svg, .cart-ico svg { width: 22px; height: 22px; }
  .hero { height: 520px; }
  .hero-media { grid-template-columns: 1fr; }
  .hero-media a:not(:first-child) { display: none; }
  .hero-tx { top: auto; bottom: 28px; right: var(--gut); max-width: none; padding: 16px 16px 16px 0; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 14px; }
  body.is-home .cat-tiles { grid-template-columns: 1fr 1fr; gap: 1px; padding: 0; }
  .cat-tiles { grid-template-columns: 1fr 1fr; padding: 16px var(--gut) 8px; row-gap: 14px; }
  body.is-home .cat-t { margin: 8px 0 10px 12px; font-size: 15px; }
  .cat-t { font-size: 15px; }
  body.is-home .hero--campaign .hero-tx { top: auto; bottom: 28px; transform: none; }
  body.is-home .hero--campaign .home-cover { --img-focus: 50% 28%; }
  .chips-row { display: flex; gap: 32px; overflow-x: auto; padding: 14px var(--gut) 20px; font-size: 16px; white-space: nowrap; scrollbar-width: none; }
  .banner { height: 560px; }
  .banner-media { grid-template-columns: 1fr; }
  .banner-media a:not(:first-child) { display: none; }
  .banner-tx { top: auto; bottom: 28px; }
  .banner-title { font-size: 32px; }
  .row4 { padding: 16px 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .row4 .grid-4 { padding: 0 var(--gut); }
  .card-tx { padding: 10px 40px 26px 8px; font-size: 13px; }
  .price { font-size: 13px; }
  .card-plus { opacity: 1; top: calc(100% + 4px); bottom: auto; right: 2px; background: transparent; width: 32px; height: 32px; }
  .qa { left: 4px; right: 4px; bottom: 4px; padding: 10px; }
  .track { grid-auto-columns: 46%; }
  .trk-btn { display: none; }
  .plp-hd h1 { font-size: 28px; padding-top: 12px; }
  .plp-intro { font-size: 14px; }
  .sub-tiles { display: flex; overflow-x: auto; gap: 1px; scrollbar-width: none; padding-top: 16px; }
  .sub-tile { flex: 0 0 24%; min-width: 92px; }
  .sub-tile span { font-size: 12px; }
  .plp-bar { padding: 28px var(--gut) 12px; gap: 12px; }
  .quick-f { gap: 14px; }
  .qf, .sort-wrap, .sort { font-size: 14px; }
  .qf[data-group="coupe"], .qf[data-group="prix"], .plp-count { display: none; }
  .sort-wrap > span { display: none; }
  .plp-seo { padding: 24px var(--gut) 32px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pdp-gal::-webkit-scrollbar { display: none; }
  .gal-cell { flex: 0 0 92%; scroll-snap-align: start; }
  .pdp-gal[data-n="1"] .gal-cell { flex-basis: 100%; }
  .pdp-tx { padding: 22px var(--gut) 24px; }
  .pdp-sticky { position: static; max-width: none; }
  .pdp-name { font-size: 17px; }
  .pdp-h { font-size: 19px; }
  .crumbs-pdp { padding: 32px var(--gut) 24px; }
  .ft { grid-template-columns: 1fr; }
  .ft-l { border-right: 0; order: 2; padding-top: 32px; }
  .ft-r { order: 1; }
  .ft-news { padding-top: 24px; padding-bottom: 24px; }
  .ft-social { flex-wrap: wrap; padding-top: 24px; }
  .wm-f, .wm-d { height: 56px; }
  .ft-quote { font-size: 32px; margin: 40px 0 28px; }
  .modal { padding: 18px; }
  .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .lang-sug { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .ann { font-size: 9px; letter-spacing: 0.04em; padding: 0 6px; }
  .ann-msg { font-size: 9px; }
  .brand-seo { padding: 20px var(--gut) 24px; }
  .cart-rec-in { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Marques de fiche, version suisse (DDP), date de mise a jour, liens « dans le même rayon » */
.pdp-brand { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.ddp { margin: 8px 0 12px; padding: 8px 12px; background: var(--sand); border-left: 2px solid var(--accent); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.hero-tx .ddp { max-width: 420px; }
.plp-grid + .ddp, .plp-bar + .ddp { margin: 8px 24px; }
.updated { font-size: 12px; color: var(--muted); margin-top: 16px; }
.same-rayon { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: 14px; }
.same-rayon a { text-decoration: underline; text-underline-offset: 2px; }
.home-faq { margin-top: 24px; }
@media (max-width: 760px) { .plp-grid + .ddp, .plp-bar + .ddp { margin: 8px 16px; } }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line, #e7e4de); vertical-align: top; overflow-wrap: anywhere; }
.specs th { width: 38%; font-weight: 500; color: var(--ink-2); padding-right: 12px; }
/* Mobile : le mot-symbole du footer et le logo de la barre ne doivent jamais elargir la page (390 px, police de secours comprise) */
@media (max-width: 900px) {
  .ft-l, .ft-r { min-width: 0; }
  .wm-f, .wm-d { height: min(56px, 10.5vw); }
  .logo-m { min-width: 0; overflow: hidden; }
  .wm-m { height: min(27px, 6.4vw); }
}
