/* ============================================================
   MARTELUX V2 — Charte unifiée Makera
   Toutes les pages partagent ce CSS via <link rel="stylesheet">.
   Composants partagés : header, footer, boutons, formulaires,
   cartes produit, modales, badges, états, theme dark/light.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root,
body[data-theme="dark"] {
  --bg:           #0E0E10;
  --bg-2:         #16161B;
  --bg-3:         #1E1E24;
  --surface:      #1A1A1F;
  --surface-hi:   #22222A;
  --ink:          #F0F0F0;
  --ink-soft:     rgba(240,240,240,0.78);
  --ink-dim:      rgba(240,240,240,0.55);
  --ink-mute:     rgba(240,240,240,0.35);
  --accent:       #FF6900;
  --accent-hover: #FF8533;
  --accent-soft:  rgba(255,105,0,0.15);
  --accent-line:  rgba(255,105,0,0.35);
  --line:         rgba(255,255,255,0.08);
  --line-2:       rgba(255,255,255,0.15);
  --ok:           #22C55E;
  --warn:         #F59E0B;
  --err:          #EF4444;
  --info:         #3B82F6;

  --radius-sm: 3px;
  --radius:    6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.25);
  --shadow:    0 4px 14px rgba(0,0,0,.35);
  --shadow-lg: 0 16px 60px rgba(0,0,0,.5);

  --container: 1400px;

  --transition: .18s ease;

  /* Compat luxury (utilisées dans le HTML inline hérité) — alias des vars Makera */
  --gold:        var(--accent);
  --gold-light:  var(--accent-hover);
  --gold-pale:   var(--accent-soft);
  --cream:       var(--bg);
  --warm:        var(--bg-3);
  --white:       var(--surface);
  --muted:       var(--ink-dim);
  --border:      var(--line);
  --red:         var(--err);
  --green:       var(--ok);
  --blue:        var(--info);

  /* V2.11 — backdrop des modales : theme-aware (sombre en dark, voile blanc en light) */
  --modal-backdrop: rgba(14,14,16,0.78);
}

body[data-theme="light"] {
  --bg:           #FBF6EE;
  --bg-2:         #F4EFE5;
  --bg-3:         #ECE5D6;
  --surface:      #FFFFFF;
  --surface-hi:   #F8F3E8;
  --ink:          #1A1208;
  --ink-soft:     rgba(26,18,8,0.78);
  --ink-dim:      rgba(26,18,8,0.55);
  --ink-mute:     rgba(26,18,8,0.35);
  --accent:       #C6892A;
  --accent-hover: #A8721E;
  --accent-soft:  rgba(198,137,42,0.12);
  --accent-line:  rgba(198,137,42,0.35);
  --line:         rgba(0,0,0,0.10);
  --line-2:       rgba(0,0,0,0.18);
  /* V2.11 — voile blanc translucide en mode clair (au lieu du backdrop sombre) */
  --modal-backdrop: rgba(26,18,8,0.55);
  /* V2.11 — alias luxury REDÉFINIS dans le bloc light. CSS custom properties
     ne ré-évaluent pas les `var(...)` à l'héritage, donc il faut explicitement
     redéfinir les alias dans chaque bloc de thème pour qu'ils prennent les
     bonnes valeurs (sinon le mode clair garde les valeurs sombres du :root). */
  --gold:        #C6892A;
  --gold-light:  #A8721E;
  --gold-pale:   rgba(198,137,42,0.12);
  --cream:       #FBF6EE;
  --warm:        #ECE5D6;
  --white:       #FFFFFF;
  --muted:       rgba(26,18,8,0.55);
  --border:      rgba(0,0,0,0.10);
}

html, body {
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; }
img, video, canvas, svg { max-width: 100%; }
img, video { height: auto; }

/* ── PROMO BAR partagée (injectée par components.js) ──────────── */
/* Format unique pour toutes les pages : countdown 4 cells + texte + CTA */
.promo-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink-soft);
}
.promo-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  flex-wrap: wrap;
}
.promo-text {
  color: var(--ink);
  font-weight: 500;
}
.promo-link {
  color: var(--accent);
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.promo-link:hover { background: var(--accent); color: #fff; }

.countdown {
  display: flex;
  gap: 8px;
}
.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
}
.countdown-cell .num {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-cell .lbl {
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 2px;
}

@media (max-width: 700px) {
  .promo-inner { flex-direction: column; gap: 12px; padding: 6px 16px; }
}

/* ── HEADER partagé ──────────────────────────────────────────── */
header.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand em { font-style: normal; color: var(--accent); }
/* V5 — Logo Martelux à gauche du texte de marque */
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  object-fit: contain;
  background: var(--cream, #FAF6EE);
  transition: transform .25s ease;
}
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.05); }
body[data-theme="dark"] .brand-logo {
  background: rgba(255,255,255,.08);
}

nav.main-nav { display: flex; gap: 28px; justify-content: center; }
/* V2.14t — Lien Mon compte ajouté dans nav.main-nav uniquement pour le menu
   mobile. On le masque sur desktop puisqu'il est déjà dans .header-actions. */
nav.main-nav a.mobile-only { display: none; }
nav.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--transition);
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--accent); }
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; gap: 12px; align-items: center; }
.header-actions a, .header-actions button {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  line-height: 1.2;
}
.header-actions a:hover, .header-actions button:hover {
  background: var(--bg-2);
  color: var(--ink);
}
.header-actions .cart {
  border: 1px solid var(--line-2);
  padding: 6px 12px;
}
.header-actions .cart:hover { border-color: var(--accent); background: var(--accent-soft); }
.header-actions .cart .badge {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 2px;
}
.header-actions .admin-link { color: var(--accent); font-weight: 600; }
.header-actions .theme-toggle {
  font-size: 1.05rem;
  padding: 6px 8px;
}

/* Mobile burger */
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: 6px 10px;
  font-size: 18px;
}

/* ── FOOTER partagé ──────────────────────────────────────────── */
footer.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 48px 24px 24px;
  margin-top: 64px;
  color: var(--ink-soft);
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer__col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.site-footer__col p, .site-footer__col li {
  font-size: 13px;
  line-height: 1.7;
}
.site-footer__col ul { list-style: none; }
.site-footer__col a { color: var(--ink-soft); }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__brand .brand { font-size: 24px; margin-bottom: 12px; display: block; }
.site-footer__bottom {
  max-width: var(--container);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer__bottom .made-in {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

/* ── BOUTONS partagés ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 40px;
}
.btn:hover { background: var(--surface-hi); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover { background: #c93333; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; min-height: 32px; }
.btn-lg { padding: 14px 24px; font-size: 15px; min-height: 48px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── FORMULAIRES partagés ────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
}
.field-help { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
.field-error { font-size: 12px; color: var(--err); margin-top: 4px; }

.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.alert-error { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.35); color: #fca5a5; }
.alert-ok    { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.35); color: #86efac; }
.alert-info  { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.35); color: #93c5fd; }
.alert-warn  { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.35); color: #fcd34d; }
body[data-theme="light"] .alert-error { color: #b91c1c; }
body[data-theme="light"] .alert-ok    { color: #166534; }
body[data-theme="light"] .alert-info  { color: #1d4ed8; }
body[data-theme="light"] .alert-warn  { color: #92400e; }

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--surface-hi);
  color: var(--ink-soft);
}
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-ok     { background: rgba(34,197,94,.15);  color: #4ade80; }
.badge-warn   { background: rgba(245,158,11,.15); color: #fbbf24; }
.badge-err    { background: rgba(239,68,68,.15);  color: #f87171; }
.badge-info   { background: rgba(59,130,246,.15); color: #60a5fa; }
.badge-mute   { background: var(--surface-hi); color: var(--ink-mute); }

/* ── CARTES PRODUIT partagées ────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,105,0,.12);
}
.product-card .visual {
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card .visual img { width: 100%; height: 100%; object-fit: cover; }
/* V2.4 — Pour les sphères : image visible entière (pas de crop), fond Makera dark */
.product-card[data-slug="sphere"] .visual { background: var(--bg-2); }
.product-card[data-slug="sphere"] .visual img { object-fit: contain; padding: 8px; }

/* V4 — Bandeau « Inclus dans le coffret » qui s'affiche pendant tout le flow coffret.
   Sticky en haut du viewport. Masque les prix unitaires des items en CSS. */
#coffret-banner {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 999999;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 50%, var(--accent) 100%);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .65rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(0,0,0,.15);
  animation: cb-in .35s ease-out;
}
@keyframes cb-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }
#coffret-banner .cb-icon { font-size: 1.1rem; margin-right: .4rem; }
#coffret-banner .cb-text strong { font-weight: 700; }
#coffret-banner .cb-hint { font-size: .68rem; opacity: .85; font-style: italic; }
body[data-theme="light"] #coffret-banner { color: #fff; }
body.is-coffret-flow { padding-top: 46px; }
/* Cache les prix unitaires pendant le flow coffret (cards format + sphère + ailleurs) */
body.is-coffret-flow .fmt-price,
body.is-coffret-flow #spherePriceDisplay,
body.is-coffret-flow #previewPrice,
body.is-coffret-flow .price-tag,
body.is-coffret-flow [data-coffret-hide-price] {
  display: none !important;
}

/* V4 — Produits "À venir" : carte non-cliquable, opacité légère, ruban diagonal */
.product-card.is-soon {
  cursor: not-allowed;
  opacity: .72;
  position: relative;
}
.product-card.is-soon:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}
.product-card.is-soon .visual { position: relative; }
.product-card.is-soon .visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.soon-overlay-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--accent);
  color: var(--bg);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  z-index: 2;
}
body[data-theme="light"] .soon-overlay-badge { color: #fff; background: #C6892A; }
.product-card .state.soon {
  color: var(--accent);
  font-weight: 700;
}

/* V2.8 / V2.14h — Halo highlight pour la carte ciblée par un slide hero (?highlight=ID).
   Couleurs adaptatives au thème (orange en dark, doré en light) via --halo-rgb. */
:root, body[data-theme="dark"] { --halo-rgb: 255,105,0; }
body[data-theme="light"]       { --halo-rgb: 198,137,42; }

.product-card.is-highlight {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--halo-rgb),0.30), 0 0 40px 8px rgba(var(--halo-rgb),0.55), 0 0 80px 12px rgba(var(--halo-rgb),0.25);
  transform: translateY(-2px);
  animation: mxHaloPulse 1.6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
/* V2.14k — Badge "Sélectionné depuis l'accueil" placé À L'INTÉRIEUR de la
   carte (top: 10px), car le parent .product-card a overflow:hidden — un top
   négatif tronquait le badge à moitié. Le badge se pose maintenant en
   overlay sur la zone visuelle, parfaitement lisible. */
.product-card.is-highlight::before {
  content: '✨ Sélectionné depuis l\'accueil';
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(var(--halo-rgb),0.4);
  animation: mxHaloLabelBounce 1.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mxHaloPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(var(--halo-rgb),0.30), 0 0 40px 8px rgba(var(--halo-rgb),0.55), 0 0 80px 12px rgba(var(--halo-rgb),0.25); }
  50%      { box-shadow: 0 0 0 6px rgba(var(--halo-rgb),0.50), 0 0 60px 14px rgba(var(--halo-rgb),0.75), 0 0 110px 22px rgba(var(--halo-rgb),0.40); }
}
@keyframes mxHaloLabelBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.product-card .body { padding: 14px 16px; }
.product-card .badge { margin-bottom: 8px; }
.product-card .label { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.product-card .sub { font-size: 13px; color: var(--ink-dim); margin-bottom: 10px; }
.product-card .meta { display: flex; justify-content: space-between; align-items: baseline; }
.product-card .price { font-size: 18px; font-weight: 700; color: var(--accent); }
.product-card .state { font-size: 12px; color: var(--ink-mute); }
.product-card .state.soon { color: var(--warn); }

/* ── SECTIONS génériques ─────────────────────────────────────── */
main.page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;
}
.page-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.page-sub {
  font-size: 16px;
  color: var(--ink-dim);
  margin-bottom: 32px;
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ── MODALES partagées ───────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(4px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
}
.modal-overlay.open,
.modal-overlay[style*="display:flex"],
.modal-overlay[style*="display: flex"] { display: flex !important; }
.modal-box {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  width: min(900px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title { font-size: 16px; font-weight: 600; }
.modal-close {
  background: var(--surface-hi);
  color: var(--ink);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--accent); color: #fff; }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ── UTILS ───────────────────────────────────────────────────── */
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.spacer { flex: 1; }
.muted { color: var(--ink-dim); }
.center { text-align: center; }
.hidden { display: none !important; }
.loader {
  text-align: center;
  padding: 48px 24px;
  color: var(--ink-dim);
  font-size: 14px;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 760px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    padding: 12px 16px;
    gap: 12px;
  }
  /* V2.14o — Menu mobile (hamburger) : confort de lecture amélioré.
     Items plus hauts (touch targets), texte plus grand, fond contrasté avec
     ombre portée pour signaler clairement qu'il s'agit d'un panneau flottant.
     Chaque ligne a un chevron à droite pour signaler la navigation. */
  nav.main-nav {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0;
    flex-direction: column;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    gap: 0;
    z-index: 99;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    padding: 16px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
  }
  nav.main-nav a:last-child { border-bottom: none; }
  /* V2.14t — Mon compte visible dans le menu hamburger */
  nav.main-nav a.mobile-only { display: flex; }
  nav.main-nav a::after { display: none; }
  /* Chevron ›  à droite pour signaler la navigation */
  nav.main-nav a::before {
    content: '›';
    position: static;
    margin-left: auto;
    color: var(--accent);
    font-size: 22px;
    font-weight: 400;
    transform: none;
    background: none;
    height: auto;
  }
  nav.main-nav a:hover,
  nav.main-nav a:active,
  nav.main-nav a.active { color: var(--accent); background: var(--accent-soft); }
  .header-actions { gap: 4px; }
  .header-actions .label { display: none; }
  .burger { display: inline-flex; font-size: 22px; }

  main.page { padding: 24px 16px; }
  .page-title { font-size: 26px; }
  .products-grid { gap: 14px; }

  .site-footer__inner { grid-template-columns: 1fr; }
  footer.site-footer { padding: 32px 16px 20px; margin-top: 40px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
