/* =====================================================================
   OHWEED CBD — Feuille de style principale (THÈME ÉMERAUDE + VERT NÉON)
   ---------------------------------------------------------------------
   Ambiance : fond émeraude très sombre, accent VERT NÉON (#38E07B),
   typo Playfair Display (titres serif chic) + Nunito Sans (corps) —
   identité OH GROUPE. Logo : cartouche OHWEED + badge CBD.
   badges éditoriaux, prix au gramme dégressif, sections contrastées.
   ---------------------------------------------------------------------
   SOMMAIRE
   1.  Variables de thème (:root)   ← PERSONNALISEZ ICI couleurs/polices
   2.  Reset & base
   3.  Typographie & utilitaires
   4.  Boutons & formulaires
   5.  Header / nav / annonce / chips catégories
   6.  Cartes produit (grammages, €/g dégressif)
   7.  Homepage (hero, slider catégories, réassurance, onglets, blog…)
   8.  Collection (filtres, tri, grille)
   9.  Fiche produit (galerie, grammages, onglets, avis, FAQ)
   10. Panier & checkout
   11. Pages contenu (légal, contact)
   12. Footer
   13. Drawer panier & toasts
   14. Responsive
   ===================================================================== */

/* ============ 1. VARIABLES DE THÈME ============ */
/* 🎨 Changez ces valeurs pour re-thémer tout le site instantanément. */
:root {
  /* Couleurs de marque (thème sombre — univers OHWEED / OH GROUPE) */
  --color-bg:          #07140D;   /* fond général émeraude très sombre */
  --color-surface:     #10261A;   /* cartes */
  --color-surface-2:   #163626;   /* cartes survolées / champs */
  --color-surface-alt: #0B1C13;   /* sections alternées */
  --color-accent:      #38E07B;   /* VERT NÉON (CTA, prix, highlights) */
  --color-accent-600:  #28C76A;   /* vert survol (plus saturé) */
  --color-accent-ink:  #06130C;   /* texte posé SUR le vert (sombre) */
  --color-heading:     #FFFFFF;   /* titres */
  --color-text:        #E7F3EB;   /* texte principal (blanc verdâtre) */
  --color-muted:       #8FCFA8;   /* texte secondaire (menthe) */
  --color-border:      #20432F;   /* bordures */
  --color-sale:        #FF3B3B;   /* accent rouge (erreurs, suppression) */
  --color-star:        #38E07B;   /* étoiles avis (vert néon) */
  /* Alias de compatibilité (le JS peut encore y référer) */
  --color-primary:     var(--color-accent);
  --color-primary-600: var(--color-accent-600);

  /* Typographie — identité OH GROUPE (Playfair Display + Nunito Sans) */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;   /* gros titres (serif chic) */
  --font-heading: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;   /* sous-titres / noms */
  --font-body:    "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo:    "Baloo 2", system-ui, sans-serif;   /* wordmark du cartouche logo */
  --fs-base: 16px;

  /* Rayons, ombres, espacements */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
  --shadow:    0 12px 30px rgba(0,0,0,.6);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.7);
  --glow:      0 0 0 1px var(--color-accent), 0 10px 40px rgba(56,224,123,.22);

  --container: 1240px;
  --gap: 22px;
  --header-h: 60px;

  /* Échelle de z-index */
  --z-header: 30;
  --z-drawer: 50;
  --z-toast:  60;
}

/* ============ 2. RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; background: var(--color-bg); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: transparent; /* laisse voir le fond animé (#bg-waves) */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fond animé WebGL (LineWaves) — canvas fixe derrière tout le contenu.
   Voir assets/js/line-waves.js (couleurs & réglages en haut du fichier). */
#bg-waves {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  display: block;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::placeholder { color: #7a7a7a; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }

/* ============ 3. TYPOGRAPHIE & UTILITAIRES ============ */
h1, h2, h3, h4 { color: var(--color-heading); line-height: 1.05; }
h1, h2 { font-family: var(--font-display); font-weight: 800; text-transform: none; letter-spacing: -.01em; }
h3, h4 { font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--color-text); }
small { font-size: .85rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(48px, 8vw, 88px); }
.section--alt { background: var(--color-surface-alt); }
.muted { color: var(--color-muted); }
.center { text-align: center; }
.accent { color: var(--color-accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; font-size: .8rem; color: var(--color-accent);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--color-accent); }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--color-muted); margin-top: 12px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.lead { font-size: 1.15rem; color: var(--color-muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============ 4. BOUTONS & FORMULAIRES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 2px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-heading); font-weight: 800; font-size: .98rem;
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-600); box-shadow: 0 8px 28px rgba(56,224,123,.32); transform: translateY(-1px); }
.btn--accent { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--accent:hover { background: var(--color-accent-600); }
.btn--outline { background: transparent; border-color: var(--color-border); color: var(--color-heading); }
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--ghost { background: transparent; color: var(--color-accent); padding-inline: 8px; }
.btn--ghost:hover { color: var(--color-accent-600); }
.btn--dark { background: var(--color-surface-2); color: var(--color-heading); }
.btn--dark:hover { background: #1c3a28; }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .9rem; color: var(--color-heading); }
.input, .select, textarea.input {
  width: 100%; padding: 13px 14px; background: var(--color-surface-2); color: var(--color-text);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); transition: border-color .2s ease;
}
.input:focus, .select:focus, textarea.input:focus { border-color: var(--color-accent); outline: none; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============ 5. HEADER / NAV / ANNONCE / CHIPS ============ */
.announcement {
  background: var(--color-accent); color: var(--color-accent-ink); text-align: center; font-size: .85rem;
  letter-spacing: .02em; overflow: hidden;
}
.announcement__track { display: flex; gap: 56px; padding: 9px 0; white-space: nowrap; animation: marquee 30s linear infinite; }
.announcement__track span { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; text-transform: uppercase; }
.announcement__track span svg { width: 15px; height: 15px; }
.announcement:hover .announcement__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Mode « avant-goût » : bandeau sous le header + boutons de commande inactifs */
.preview-banner {
  background: linear-gradient(90deg, rgba(56,224,123,.16), rgba(56,224,123,.05) 60%, transparent), var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border); border-top: 2px solid var(--color-accent);
}
.preview-banner__inner { display: flex; align-items: center; gap: 18px; padding-block: 18px; }
.preview-banner__icon {
  flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 6px rgba(56,224,123,.15);
}
.preview-banner__icon svg { width: 28px; height: 28px; }
.preview-banner__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 3.2vw, 2.1rem); line-height: 1.1; color: var(--color-heading); }
.preview-banner__text { margin-top: 4px; color: var(--color-muted); font-size: .98rem; }
.btn--soon { background: var(--color-surface-2); color: var(--color-muted); border: 1.5px dashed var(--color-border); }
.btn--soon[disabled] { opacity: 1; }
.btn--soon { white-space: normal; text-align: center; justify-content: center; padding-inline: 18px; }
.btn--soon svg { width: 18px; height: 18px; }
.soon-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 18px; color: var(--color-accent); font-weight: 700; font-size: .92rem; }
.soon-note svg { width: 18px; height: 18px; flex-shrink: 0; }
.soon-screen__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 20px; background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 10px rgba(56,224,123,.14); }
.soon-screen__icon svg { width: 44px; height: 44px; }
.soon-screen .btn { max-width: 100%; white-space: normal; }
.soon-screen h1 { color: var(--color-heading); font-size: clamp(2rem, 5vw, 3rem); }
@media (max-width: 520px) {
  .preview-banner__inner { gap: 12px; padding-block: 14px; align-items: flex-start; }
  .preview-banner__icon { width: 40px; height: 40px; box-shadow: 0 0 0 4px rgba(56,224,123,.15); }
  .preview-banner__icon svg { width: 22px; height: 22px; }
  .preview-banner__text { font-size: .88rem; }
}

.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(8,8,8,.94); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; }
/* Cartouche "OHWEED + CBD" — gabarit commun OH GROUPE (déclinable par univers) */
.logo__cartouche {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  background: #0c1c12; border: 2px solid var(--color-border); border-radius: 10px;
  padding: 6px 13px 7px; transform: rotate(-2deg);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.logo:hover .logo__cartouche { border-color: var(--color-accent); box-shadow: 0 0 0 1px rgba(56,224,123,.4), 0 8px 22px rgba(56,224,123,.18); }
.logo__word { font-family: var(--font-logo); font-weight: 800; font-size: 1.18rem; line-height: 1; letter-spacing: .04em; color: #fff; }
.logo__chip { font-family: var(--font-logo); font-weight: 800; font-size: .56rem; letter-spacing: .3em; background: var(--color-accent); color: var(--color-accent-ink); border-radius: 4px; padding: 1px 11px; }
.logo__mark { width: 30px; height: 30px; color: var(--color-accent); }
.logo__mark svg { width: 100%; height: 100%; }
.logo__img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(56,224,123,.35); }
.logo__text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-heading); text-transform: uppercase; letter-spacing: -.01em; }
.logo__suffix { font-family: var(--font-heading); font-size: .6rem; font-weight: 800; letter-spacing: .2em; color: var(--color-accent); align-self: flex-start; margin-top: 3px; }

.nav { display: flex; gap: 24px; margin-inline: auto; }
.nav a { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; position: relative; padding: 6px 0; color: var(--color-text); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--color-accent); transition: width .25s ease; }
.nav a:hover { color: var(--color-heading); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav a.nav-accent { color: var(--color-accent); }

.header__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: none; background: transparent; border-radius: var(--radius-pill); cursor: pointer; color: var(--color-text); transition: background-color .2s ease, color .2s ease; }
.icon-btn:hover { background: var(--color-surface-2); color: var(--color-accent); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 4px; background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius-pill); font-size: .68rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cart-count[data-count="0"] { display: none; }
.nav-toggle { display: none; }

/* Barre de chips catégories (sous le header) */
.cat-strip { background: var(--color-surface-alt); border-bottom: 1px solid var(--color-border); }
.cat-strip__inner { display: flex; gap: 10px; padding: 12px 20px; overflow-x: auto; max-width: var(--container); margin-inline: auto; scrollbar-width: none; }
.cat-strip__inner::-webkit-scrollbar { display: none; }
.cat-pill { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: var(--radius-pill); font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .86rem; color: var(--color-text); transition: border-color .2s ease, color .2s ease; }
.cat-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.cat-pill svg { width: 15px; height: 15px; color: var(--color-accent); }

/* ============ 6. CARTES PRODUIT (grammages / €/g dégressif) ============ */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1;
  background: radial-gradient(120% 120% at 30% 15%, hsl(var(--hue,90) 30% 18%) 0%, #0c0c0c 70%);
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(46% 48% at 62% 74%, hsl(var(--hue,90) 80% 52% / .30), transparent 72%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 14px, transparent 14px 30px);
}
.ph__leaf { position: absolute; inset: 0; margin: auto; width: 38%; opacity: .45; color: hsl(var(--hue,90) 60% 60%); z-index: 2; }
/* Vraie photo produit (remplace le dégradé quand présente) */
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; }
.ph__label { position: absolute; left: 12px; bottom: 12px; z-index: 4; padding: 5px 11px; background: rgba(0,0,0,.66); border: 1px solid var(--color-border); border-radius: var(--radius-pill); font-family: var(--font-heading); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #fff; }

.product-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-4px); border-color: var(--color-accent); box-shadow: var(--glow); }
.product-card.is-soldout { opacity: .78; }
.product-card__media { position: relative; display: block; }
.product-card__media .ph { border-radius: 0; aspect-ratio: 1/1; }
.badge-row { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 5; display: flex; gap: 6px; align-items: flex-start; pointer-events: none; }
.badge { padding: 5px 10px; border-radius: var(--radius-pill); font-family: var(--font-heading); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.badge--accent { background: var(--color-accent); color: var(--color-accent-ink); }
.badge--dark { background: rgba(0,0,0,.72); color: #fff; border: 1px solid var(--color-border); }
.badge--right { margin-left: auto; }
.product-card__body { padding: 15px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card__name { font-family: var(--font-heading); font-weight: 800; font-size: 1.18rem; text-transform: uppercase; letter-spacing: .01em; color: var(--color-heading); line-height: 1.05; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-chip { padding: 3px 9px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: .03em; }
.spec-chip strong { color: var(--color-accent); }
.spec-chip--cbd { border-color: rgba(56,224,123,.4); color: var(--color-text); }

.from-perg { font-size: .82rem; color: var(--color-muted); }
.from-perg strong { color: var(--color-heading); font-weight: 800; }

/* Sélecteur de grammage */
.gram-row { display: flex; flex-wrap: wrap; gap: 6px; }
.gram { padding: 6px 10px; min-width: 40px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-2); color: var(--color-text); cursor: pointer; font-family: var(--font-heading); font-weight: 700; font-size: .8rem; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.gram:hover:not(:disabled) { border-color: var(--color-accent); }
.gram.is-active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.gram:disabled { opacity: .32; cursor: not-allowed; text-decoration: line-through; }

.price { display: flex; align-items: baseline; gap: 8px; }
.price__now { font-family: var(--font-heading); font-weight: 800; font-size: 1.42rem; color: var(--color-accent); }
.product-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 2px; }
.perg-label { font-size: .78rem; color: var(--color-muted); white-space: nowrap; }

/* Étoiles */
.stars { display: inline-flex; gap: 2px; color: var(--color-star); }
.stars svg { width: 15px; height: 15px; }
.rating-row { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--color-muted); }

.product-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(4, 1fr); }

/* ============ 7. HOMEPAGE ============ */
.hero { padding: clamp(14px, 2.4vw, 26px) 0 0; background: var(--color-bg); }
.hero__banner {
  position: relative; isolation: isolate;
  max-width: var(--container); margin-inline: auto;
  min-height: clamp(430px, 42vw, 560px);
  display: flex; align-items: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 74% center; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,20,13,.95) 0%, rgba(7,20,13,.82) 40%, rgba(7,20,13,.34) 70%, rgba(7,20,13,.60) 100%),
    radial-gradient(60% 85% at 16% 45%, rgba(56,224,123,.16), transparent 62%);
}
.hero__inner { width: 100%; padding-block: clamp(34px, 5vw, 60px); }
.hero__content { max-width: 560px; }
.hero__title { margin: 16px 0; font-size: clamp(2.25rem, 5vw, 3.7rem); }
.hero__title .hl { color: var(--color-accent); }
.hero__content .lead { margin-bottom: 26px; max-width: 480px; color: #D8D8D8; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; list-style: none; }
.hero__badges li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; background: rgba(20,20,20,.55); backdrop-filter: blur(6px);
  border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  font-family: var(--font-heading); font-weight: 700; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .04em; color: var(--color-text);
}
.hero__badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }
.hero__labtag {
  position: absolute; right: 20px; bottom: 20px; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  background: rgba(7,20,13,.72); backdrop-filter: blur(10px);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 12px 16px; box-shadow: var(--shadow);
}
.hero__labtag svg { width: 26px; height: 26px; color: var(--color-accent); }
.hero__labtag strong { color: var(--color-heading); font-size: .92rem; }

/* Ticker défilant (bandeau jaune sous le hero) */
.ticker { background: var(--color-accent); color: var(--color-accent-ink); overflow: hidden; border-block: 1px solid var(--color-accent-600); }
.ticker__track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker__group { display: flex; flex-shrink: 0; }
.ticker__group span {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 11px 34px; font-family: var(--font-heading); font-weight: 800;
  font-size: .9rem; text-transform: uppercase; letter-spacing: .03em;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Compteur de ventes en direct */
.live-counter { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--color-muted); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 0 rgba(56,224,123,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56,224,123,.5); } 70% { box-shadow: 0 0 0 10px rgba(56,224,123,0); } 100% { box-shadow: 0 0 0 0 rgba(56,224,123,0); } }
.live-counter strong { color: var(--color-heading); }

/* Slider catégories (hero secondaire, style Storm) */
.cat-slider { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.cat-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; border: 1px solid var(--color-border); transition: transform .22s ease, border-color .22s ease; }
.cat-hero:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.cat-hero .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.cat-hero::after { content: ""; position: absolute; inset: 0; z-index: 4; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.88)); }
.cat-hero__body { position: relative; z-index: 5; padding: 26px; width: 100%; }
.cat-hero__body h3 { color: #fff; font-size: 1.6rem; }
.cat-hero__body p { color: rgba(255,255,255,.72); font-size: .9rem; margin: 6px 0 14px; max-width: 320px; }
.cat-explore { display: inline-flex; align-items: center; gap: 6px; color: var(--color-accent); font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; }
.cat-explore svg { width: 16px; height: 16px; }

/* Bandeau réassurance / urgence (jaune) */
.trust { background: var(--color-accent); color: var(--color-accent-ink); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 24px; }
.trust__item { display: flex; align-items: center; gap: 13px; }
.trust__item svg { width: 28px; height: 28px; flex-shrink: 0; }
.trust__item strong { display: block; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; font-size: .95rem; }
.trust__item span { font-size: .8rem; opacity: .78; }

/* Bande « en direct » (noire, au-dessus du bandeau jaune) */
.livebar { background: var(--color-surface-alt); border-block: 1px solid var(--color-border); }
.livebar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding-block: 18px; text-align: center; }
.livebar__inner .rating-row { font-size: .92rem; }
.livebar__inner strong { color: var(--color-heading); }

/* Onglets best-sellers (filtres catégories sur l'accueil) */
.tab-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab-btn { padding: 10px 20px; border: 1.5px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-text); cursor: pointer; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .86rem; transition: all .18s ease; }
.tab-btn:hover { border-color: var(--color-accent); }
.tab-btn.is-active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.tab-btn .tab-count { opacity: .6; margin-left: 4px; }
.tab-btn.is-active .tab-count { opacity: .8; }

/* Catégories vedettes (grille bas de page) */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

/* Blog / articles */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.article-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .22s ease, border-color .22s ease; }
.article-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.article-card .ph { aspect-ratio: 16/9; border-radius: 0; }
.article-card__body { padding: 18px; }
.article-card__meta { font-size: .76rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.article-card__body h3 { font-size: 1.12rem; margin-bottom: 10px; }
.article-card__link { color: var(--color-accent); font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; }

/* Newsletter */
.newsletter { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(34px, 6vw, 58px); text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(56,224,123,.13), transparent 60%); }
.newsletter > * { position: relative; z-index: 2; }
.newsletter p { color: var(--color-muted); max-width: 480px; margin: 12px auto 26px; }
.newsletter__form { display: flex; gap: 12px; max-width: 500px; margin-inline: auto; }
@media (max-width: 520px) { .newsletter__form { flex-direction: column; } }

/* ============ 8. COLLECTION ============ */
.page-head { background: var(--color-surface-alt); padding-block: clamp(38px, 6vw, 62px); border-bottom: 1px solid var(--color-border); }
.breadcrumb { display: flex; gap: 8px; font-size: .84rem; color: var(--color-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.breadcrumb a:hover { color: var(--color-accent); }

.collection-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filters { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.filters h3 { font-size: 1.05rem; margin-bottom: 14px; }
.filter-group { padding-block: 16px; border-top: 1px solid var(--color-border); }
.filter-group:first-of-type { border-top: none; padding-top: 0; }
.filter-group h4 { font-size: .76rem; letter-spacing: .1em; color: var(--color-muted); margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: .92rem; }
.check input { width: 17px; height: 17px; accent-color: var(--color-accent); cursor: pointer; }

.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.collection-toolbar .count { color: var(--color-muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap .select { width: auto; padding: 10px 34px 10px 14px; }
.filters-toggle { display: none; }
.collection-grid { grid-template-columns: repeat(3, 1fr); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--color-muted); }

/* ============ 9. FICHE PRODUIT ============ */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.gallery__main .ph { aspect-ratio: 1/1; border-radius: var(--radius-lg); border: 1px solid var(--color-border); cursor: zoom-in; }
/* Zoom « loupe » : la photo grossit et suit le curseur (voir product.js) */
.gallery__main .ph__img { transition: transform .18s ease; will-change: transform; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery__thumb { border: 2px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; padding: 0; background: none; transition: border-color .15s ease, box-shadow .15s ease; }
.gallery__thumb:hover { border-color: var(--color-accent); }
.gallery__thumb .ph { aspect-ratio: 1/1; border-radius: 0; }
.gallery__thumb.is-active { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent), 0 6px 18px rgba(56,224,123,.25); }

.pdp__info { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp__cat { font-family: var(--font-heading); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--color-muted); }
.pdp__title { margin: 8px 0 12px; }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 4px; }
.pdp__price .price__now { font-size: 2.1rem; }
.pdp__perg { color: var(--color-muted); font-size: .92rem; margin-bottom: 20px; }
.pdp__perg strong { color: var(--color-heading); }
.pdp__desc { color: var(--color-muted); margin-bottom: 24px; }
.option { margin-bottom: 20px; }
.option__label { display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; margin-bottom: 10px; color: var(--color-heading); }
.option__values { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border: 1.5px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-text); cursor: pointer; font-family: var(--font-heading); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.chip:hover:not(:disabled) { border-color: var(--color-accent); }
.chip.is-active { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.chip:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.chip small { display: block; font-size: .68rem; font-weight: 600; opacity: .7; text-transform: none; letter-spacing: 0; margin-top: 1px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--color-border); border-radius: var(--radius-pill); overflow: hidden; background: var(--color-surface); }
.qty button { width: 42px; height: 46px; border: none; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--color-heading); }
.qty button:hover { background: var(--color-surface-2); color: var(--color-accent); }
.qty input { width: 46px; height: 46px; text-align: center; border: none; background: transparent; color: var(--color-heading); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp__buy { display: flex; gap: 14px; align-items: center; margin: 26px 0; flex-wrap: wrap; }
.pdp__assurance { display: grid; gap: 10px; padding: 20px; background: var(--color-surface-alt); border: 1px solid var(--color-border); border-radius: var(--radius); }
.pdp__assurance li { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.pdp__assurance svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; }

/* Onglets */
.tabs { border-top: 1px solid var(--color-border); margin-top: 20px; }
.tabs__nav { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid var(--color-border); padding-bottom: 12px; }
.tabs__btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 12px 20px; border: none; border-radius: 10px; background: none; cursor: pointer; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; color: var(--color-muted); }
.tabs__btn.is-active { color: var(--color-accent); }
.tabs__panel { display: none; padding-top: 28px; max-width: 760px; }
.tabs__panel.is-active { display: block; }
.tabs__panel ul { display: grid; gap: 8px; }
.tabs__panel li { padding-left: 22px; position: relative; color: var(--color-muted); }
.tabs__panel li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }

/* Avis */
.reviews-summary { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.reviews-summary__score { text-align: center; }
.reviews-summary__score strong { font-family: var(--font-display); font-size: 3.2rem; color: var(--color-accent); display: block; line-height: 1; }
.review { padding: 22px 0; border-top: 1px solid var(--color-border); }
.review__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.review__author { font-weight: 800; color: var(--color-heading); }
.review__date { color: var(--color-muted); font-size: .85rem; }
.review h4 { font-family: var(--font-heading); text-transform: none; letter-spacing: 0; margin: 8px 0 4px; color: var(--color-heading); }

/* FAQ / accordéon */
.accordion__item { border-top: 1px solid var(--color-border); }
.accordion__item:last-child { border-bottom: 1px solid var(--color-border); }
.accordion__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.02rem; color: var(--color-heading); }
.accordion__btn:hover { color: var(--color-accent); }
.accordion__btn svg { width: 20px; height: 20px; color: var(--color-accent); transition: transform .25s ease; flex-shrink: 0; }
.accordion__btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion__panel p { padding-bottom: 20px; color: var(--color-muted); }

/* ============ 10. PANIER & CHECKOUT ============ */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-lines { display: grid; gap: 16px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px; }
.cart-line .ph { aspect-ratio: 1/1; border-radius: var(--radius-sm); }
.cart-line__name { font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; color: var(--color-heading); }
.cart-line__meta { font-size: .84rem; color: var(--color-muted); }
.cart-line__remove { background: none; border: none; color: var(--color-muted); cursor: pointer; font-size: .82rem; text-decoration: underline; padding: 0; margin-top: 6px; }
.cart-line__remove:hover { color: var(--color-sale); }
.cart-line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-line__right strong { color: var(--color-accent); font-family: var(--font-heading); font-size: 1.1rem; }
.cart-line .qty button { width: 34px; height: 36px; }
.cart-line .qty input { width: 38px; height: 36px; }

.summary { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 26px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary h3 { margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--color-muted); }
.summary__row--total { border-top: 1px solid var(--color-border); margin-top: 8px; padding-top: 16px; font-size: 1.3rem; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; color: var(--color-heading); }
.summary__row--total span:last-child { color: var(--color-accent); }
.summary__row--promo { color: var(--color-accent); font-weight: 700; }
.summary__row { gap: 12px; }
.summary__row span:last-child { white-space: nowrap; } /* un montant ne se coupe jamais (« 75,84 € ») */

/* Code promo (page de paiement) */
.promo-box { margin-top: 16px; padding: 16px; border: 1px dashed var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-alt); }
.promo-box__title { display: block; font-weight: 700; font-size: .9rem; color: var(--color-heading); margin-bottom: 10px; }
.promo-box__row { display: flex; gap: 8px; }
.promo-box__row .input { flex: 1; min-width: 0; padding: 11px 12px; text-transform: uppercase; letter-spacing: .04em; }
.promo-box__row .input::placeholder { text-transform: none; letter-spacing: 0; }
.promo-box__btn { white-space: nowrap; padding-inline: 16px; }
.promo-box__msg { margin-top: 10px; font-size: .85rem; }
.promo-box__msg.is-ok { color: var(--color-accent); }
.promo-box__msg.is-error { color: #ff6b6b; }
.promo-box__applied { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--color-accent); border-radius: var(--radius-sm); background: rgba(56, 224, 123, .1); color: var(--color-heading); font-size: .9rem; }
.promo-box__remove { background: none; border: 0; color: var(--color-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 4px; }
.promo-box__remove:hover { color: var(--color-heading); }
.ship-progress { margin: 4px 0 18px; }
.ship-progress__bar { height: 8px; background: var(--color-surface-2); border-radius: var(--radius-pill); overflow: hidden; margin-top: 8px; }
.ship-progress__fill { height: 100%; background: var(--color-accent); transition: width .4s ease; }
.ship-progress p { font-size: .82rem; color: var(--color-muted); }

.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.checkout-block { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.checkout-block h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.checkout-block h3 .step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; font-family: var(--font-heading); font-weight: 800; }
.pay-methods { display: flex; gap: 12px; flex-wrap: wrap; }
.pay-methods .chip { display: flex; align-items: center; gap: 8px; }
.mini-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .9rem; }
.mini-line__ph { display: flex; gap: 12px; align-items: center; }
.mini-line__ph .ph { width: 52px; aspect-ratio: 1/1; border-radius: var(--radius-sm); }
.order-success { text-align: center; max-width: 520px; margin: 40px auto; }
.order-success svg { width: 72px; height: 72px; color: var(--color-accent); margin: 0 auto 20px; }

/* ============ 11. PAGES CONTENU ============ */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin: 40px 0 14px; font-size: 1.6rem; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--color-muted); margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ul li { margin-bottom: 8px; }
.prose a { color: var(--color-accent); text-decoration: underline; }

.story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.story__visual .ph { aspect-ratio: 4/3; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-info svg { width: 24px; height: 24px; color: var(--color-accent); flex-shrink: 0; margin-top: 3px; }
.contact-info strong { color: var(--color-heading); }
.value-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px; }
.value-card svg { width: 32px; height: 32px; color: var(--color-accent); margin-bottom: 14px; }

/* ============ 12. FOOTER ============ */
.footer { background: #05100A; color: var(--color-muted); padding-block: 58px 30px; margin-top: 40px; border-top: 1px solid var(--color-border); }
.footer a { color: var(--color-muted); transition: color .2s ease; }
.footer a:hover { color: var(--color-accent); }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 42px; border-bottom: 1px solid var(--color-border); }
.footer__brand .logo__text { color: #fff; }
/* Mention d'appartenance au groupe (sans lien, boutiques à venir) */
.footer__group { font-size: .82rem; color: var(--color-muted); margin: 2px 0 18px; }
.footer__group strong { color: var(--color-accent); font-weight: 800; letter-spacing: .03em; }
.footer__brand p { color: var(--color-muted); margin: 16px 0 20px; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; margin-bottom: 16px; }
.footer__col li { margin-bottom: 10px; font-size: .92rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid var(--color-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer__social a:hover { border-color: var(--color-accent); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .78rem; color: #6a6a6a; }
.footer__disclaimer { max-width: 720px; }

/* ============ 13. DRAWER PANIER & TOASTS ============ */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.68); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: var(--z-drawer); }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: var(--color-bg); border-left: 1px solid var(--color-border); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s ease; z-index: var(--z-drawer); display: flex; flex-direction: column; }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--color-border); }
.drawer__head h3 { margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; display: grid; gap: 14px; align-content: start; }
.drawer__foot { padding: 20px 22px; border-top: 1px solid var(--color-border); background: var(--color-surface); }
.drawer__foot .summary__row--total { border: none; margin: 0 0 14px; padding: 0; }
.drawer-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.drawer-line .ph { aspect-ratio: 1/1; border-radius: var(--radius-sm); }
.drawer-line__name { font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; font-size: .92rem; color: var(--color-heading); }
.drawer-line__meta { font-size: .8rem; color: var(--color-muted); }
.drawer-line__remove { background: none; border: none; cursor: pointer; color: var(--color-muted); font-size: 1.3rem; line-height: 1; }
.drawer-line__remove:hover { color: var(--color-sale); }
.drawer__empty { text-align: center; color: var(--color-muted); padding: 40px 0; }

.toast-stack { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: var(--z-toast); display: grid; gap: 10px; width: min(420px, 92vw); }
.toast { background: var(--color-accent); color: var(--color-accent-ink); padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: toast-in .3s ease; font-weight: 700; font-size: .92rem; }
.toast svg { width: 20px; height: 20px; flex-shrink: 0; }
@keyframes toast-in { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============ 13b. ABONNEMENT (palier 50 g verrouillé + modale) ============ */
/* Palier abonnement sur les cartes (.gram) */
.gram--sub { border-style: dashed; border-color: var(--color-accent); color: var(--color-accent); display: inline-flex; align-items: center; gap: 4px; }
.gram--sub:hover:not(:disabled) { background: rgba(56,224,123,.1); }
.gram--sub.is-active { background: var(--color-accent); border-style: solid; color: var(--color-accent-ink); }
.gram__lock svg { width: .82em; height: .82em; vertical-align: -1px; }

/* Palier abonnement sur la fiche produit (.chip) */
.chip--sub { border-style: dashed; border-color: var(--color-accent); color: var(--color-accent); }
.chip--sub.is-active { background: var(--color-accent); border-style: solid; color: var(--color-accent-ink); }
.chip--sub small { opacity: .9; }
.chip__lock svg { width: .85em; height: .85em; vertical-align: -1px; }

/* Bouton « S'abonner » (au lieu d'Ajouter) */
.btn--sub { background: transparent; color: var(--color-accent); border: 2px solid var(--color-accent); }
.btn--sub:hover { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 8px 28px rgba(56,224,123,.28); }
.btn--sub svg { width: 18px; height: 18px; }

/* Modale d'abonnement */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.72); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; z-index: 60; }
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal { position: fixed; top: 50%; left: 50%; width: min(460px, 92vw); max-height: 90vh; overflow-y: auto; transform: translate(-50%, -46%) scale(.98); opacity: 0; visibility: hidden; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), var(--glow); transition: opacity .25s ease, transform .25s ease, visibility .25s ease; z-index: 61; }
.modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__body { padding: 34px 30px 28px; }
.sub-modal { text-align: center; }
.sub-modal__lock { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(56,224,123,.12); color: var(--color-accent); margin-bottom: 14px; }
.sub-modal__lock svg { width: 26px; height: 26px; }
.sub-modal__eyebrow { display: inline-block; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--color-accent); margin-bottom: 6px; }
.sub-modal h3 { margin: 0 0 12px; }
.sub-modal p { color: var(--color-muted); font-size: .92rem; }
.sub-modal__perks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; text-align: left; }
.sub-modal__perks li { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.sub-modal__perks svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }
.sub-modal__form { display: grid; gap: 12px; margin-top: 18px; }
.sub-modal__form input { width: 100%; padding: 13px 16px; background: var(--color-surface-2); border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text); font-size: .95rem; }
.sub-modal__form input:focus { outline: none; border-color: var(--color-accent); }
.sub-modal__note { font-size: .76rem; color: #6a6a6a; margin-top: 14px; }

/* ============ 13c. COMPTES CLIENTS & FIDÉLITÉ ============ */
/* Zone compte dans le header */
.account-wrap { position: relative; display: inline-flex; }
.account-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 2px var(--color-bg); }
.account-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 240px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; z-index: 55; }
.account-menu__head { padding: 10px 12px 12px; border-bottom: 1px solid var(--color-border); margin-bottom: 6px; display: grid; gap: 2px; }
.account-menu__head strong { color: var(--color-heading); }
.account-menu__head span { font-size: .8rem; color: var(--color-muted); word-break: break-all; }
.account-menu__item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; background: none; border: none; border-radius: var(--radius-sm); color: var(--color-text); cursor: pointer; font-size: .9rem; font-family: inherit; }
.account-menu__item:hover { background: var(--color-surface-2); color: var(--color-accent); }
.account-menu__item svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Badge de statut fidélité */
.account-badge { display: inline-block; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .68rem; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-surface-2); color: var(--color-muted); border: 1px solid var(--color-border); width: fit-content; }
.account-badge.is-member { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }

/* Modale connexion / inscription */
.auth-modal { text-align: center; }
.auth-modal h3 { margin: 4px 0 10px; }
.auth-modal__msg { color: var(--color-muted); font-size: .9rem; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; }
.auth-tabs { display: flex; gap: 6px; background: var(--color-surface-2); padding: 4px; border-radius: var(--radius-pill); margin: 14px 0 18px; }
.auth-tab { flex: 1; padding: 9px 12px; border: none; border-radius: var(--radius-pill); background: none; color: var(--color-muted); cursor: pointer; font-family: var(--font-heading); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .02em; }
.auth-tab.is-active { background: var(--color-accent); color: var(--color-accent-ink); }
.auth-form { display: grid; gap: 12px; text-align: left; }
.auth-form input { width: 100%; padding: 13px 16px; background: var(--color-surface-2); border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text); font-size: .95rem; }
.auth-form input:focus { outline: none; border-color: var(--color-accent); }
.auth-error { color: var(--color-sale); font-size: .85rem; margin: 0; }
.auth-link { background: none; border: none; padding: 0; color: var(--color-accent); text-decoration: underline; cursor: pointer; font: inherit; }
.auth-link:hover { opacity: .8; }
.account-form { display: grid; gap: 12px; max-width: 420px; }
.account-form input { width: 100%; padding: 13px 16px; background: var(--color-surface-2); border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text); font-size: .95rem; }
.account-form input:focus { outline: none; border-color: var(--color-accent); }
.account-form label { font-weight: 700; font-size: .85rem; color: var(--color-heading); }
.account-msg { font-size: .88rem; margin: 0; }
.account-msg--error { color: var(--color-sale); }
.account-msg--ok { color: var(--color-accent); }
.account-card--alert { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }

/* Page « Mon compte » */
.account-empty { text-align: center; padding: 30px 0; }
.account-empty .sub-modal__lock { margin-bottom: 14px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.account-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; }
.account-card--member { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.orders-table { display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 14px; align-items: center; padding: 14px; background: var(--color-surface-2); border-radius: var(--radius-sm); }
.order-row strong { color: var(--color-heading); }

/* Incitation SMS (champ téléphone du checkout) */
.field-hint { font-size: .82rem; color: var(--color-muted); margin: 8px 0 10px; line-height: 1.45; padding: 10px 13px; background: var(--color-surface-2); border-left: 3px solid var(--color-accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.field-hint strong { color: var(--color-text); }
.opt-in { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .88rem; color: var(--color-text); user-select: none; }
.opt-in input { width: 18px; height: 18px; accent-color: var(--color-accent); flex: none; cursor: pointer; }

/* ============ 14. RESPONSIVE ============ */
@media (max-width: 1024px) {
  .pdp, .contact-layout { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout, .collection-layout { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .pdp__info { position: static; }
  .product-grid, .collection-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Menu principal : 7 liens depuis la rubrique Accessoires (12 oct. 2026).
   Jamais de retour à la ligne dans un lien ; version compacte jusqu'à 1280 px ;
   menu « burger » en dessous de 1100 px (sinon il déborde sur les icônes). */
.nav a { white-space: nowrap; }
@media (max-width: 1280px) {
  .nav { gap: 16px; }
  .nav a { font-size: .84rem; }
}
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 8px 20px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions { margin-left: auto; } /* menu replié : icônes calées à droite */
}
@media (max-width: 820px) {
  .order-row { grid-template-columns: 1fr; gap: 6px; }
  .account-menu { width: 220px; }
  /* Hero mobile : texte en bas, image visible en haut */
  .hero__banner { min-height: 500px; align-items: flex-end; }
  .hero__bg { object-position: 62% center; }
  .hero__overlay { background: linear-gradient(180deg, rgba(7,20,13,.45) 0%, rgba(7,20,13,.5) 42%, rgba(7,20,13,.93) 100%), radial-gradient(80% 60% at 50% 100%, rgba(56,224,123,.14), transparent 60%); }
  .hero__labtag { display: none; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .collection-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-slider { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .value-cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .product-grid, .collection-grid, .blog-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 10px; }
  .hero__banner { min-height: 460px; border-radius: var(--radius); }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__badges li { padding: 6px 11px; font-size: .72rem; }
  .ticker__group span { padding: 10px 22px; font-size: .8rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .product-card__body { padding: 12px 12px 15px; }
  .gram { min-width: 34px; padding: 6px 7px; font-size: .74rem; }
  /* Ligne panier : quantité + prix passent sous le nom (évitait un débordement horizontal) */
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .cart-line__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
