/* Socle commun : remise à zéro + composants fonctionnels (tiroir, recherche,
   commande, textes légaux, formulaires). Aucune direction artistique ici : tout
   passe par les variables ci-dessous, que chaque boutique redéfinit dans styles.css. */
:root {
  --fond: #ffffff; --fond-2: #f5f5f3; --texte: #1a1a1a; --texte-doux: #666666;
  --accent: #222222; --accent-texte: #ffffff; --bord: #e4e4e0; --rayon: 4px;
  --police-titre: Georgia, serif; --police-texte: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.sans-defilement { overflow: hidden; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--police-texte); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--police-titre); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.evitement { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--fond); padding: 10px 14px; }
.evitement:focus { left: 8px; top: 8px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.a-completer { background: #fff3a3; color: #5c4a00; padding: 0 4px; font-style: normal; border-radius: 2px; }
.anim [data-apparait] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.anim [data-apparait].vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; } }

/* Tiroir panier */
.voile { position: fixed; inset: 0; background: rgba(20, 20, 20, .4); opacity: 0; transition: opacity .25s; z-index: 60; }
.voile.ouvert { opacity: 1; }
.tiroir { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--fond); z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .26s ease; }
.tiroir.ouvert { transform: none; }
.tiroir-entete { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--bord); }
.tiroir-entete h2 { margin: 0; font-size: 1.15rem; }
.tiroir-fermer { background: none; border: 0; font-size: 1.8rem; line-height: 1; padding: 4px 8px; }
.tiroir-liste { flex: 1; overflow-y: auto; padding: 8px 20px; }
.tiroir-pied { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bord); }
.tiroir-ligne { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 6px; }
.tiroir-note { font-size: .85rem; color: var(--texte-doux); margin-bottom: 12px; }
.tiroir-commander, .bouton, .achat-bouton, .formulaire button[type="submit"], .formulaire [data-confirmer], [data-payer], .barre-achat button {
  display: block; width: 100%; text-align: center; text-decoration: none; background: var(--accent); color: var(--accent-texte);
  border: 0; border-radius: var(--rayon); padding: 15px 18px; font-weight: 600; min-height: 48px;
}
.bouton { display: inline-block; width: auto; }
.tiroir-voir { display: block; text-align: center; padding: 10px; font-size: .9rem; }
.ligne-panier { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bord); }
.ligne-panier img { width: 72px; height: 96px; object-fit: cover; border-radius: var(--rayon); }
.ligne-corps { flex: 1; min-width: 0; }
.ligne-nom { display: block; text-decoration: none; font-weight: 600; }
.ligne-option { display: block; font-size: .85rem; color: var(--texte-doux); }
.ligne-bas { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.quantite { display: inline-flex; align-items: center; border: 1px solid var(--bord); border-radius: var(--rayon); }
.quantite button { background: none; border: 0; width: 36px; height: 36px; font-size: 1.1rem; }
.quantite span { min-width: 24px; text-align: center; }
.ligne-retirer { background: none; border: 0; padding: 6px 0 0; font-size: .8rem; color: var(--texte-doux); text-decoration: underline; }
.panier-vide { text-align: center; padding: 40px 10px; }
div.page-panier, .ck, .merci { max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; }
.panier-total { max-width: 420px; margin: 20px 0 0 auto; }
.merci { max-width: 640px; text-align: center; padding-top: 64px; }

/* Barre d'achat collée */
.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--fond); border-top: 1px solid var(--bord); transform: translateY(110%); transition: transform .2s; }
.barre-achat.visible { transform: none; }
.barre-achat-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .85rem; }
.barre-achat-texte span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-achat button { width: auto; padding: 12px 22px; min-height: 44px; }
@media (max-width: 899px) { .barre-achat { display: flex; } .page-produit { padding-bottom: 84px; } }

/* Bloc d'achat */
.achat-option { border: 0; padding: 0; margin: 0 0 14px; }
.achat-option legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.achat-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.achat-choix input { position: absolute; opacity: 0; width: 0; height: 0; }
.achat-choix span { display: block; min-width: 48px; min-height: 44px; padding: 10px 12px; text-align: center; border: 1px solid var(--bord); border-radius: var(--rayon); cursor: pointer; }
.achat-choix input:checked + span { background: var(--accent); color: var(--accent-texte); border-color: var(--accent); }
.achat-choix input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.achat-erreur { color: #a4262c; font-size: .9rem; margin: 0 0 10px; }
.fiche-infos { margin: 0; }
.fiche-infos > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--bord); }
.fiche-infos dt { color: var(--texte-doux); }
.fiche-infos dd { margin: 0; text-align: right; }
.bloc-conformite { font-size: .85rem; color: var(--texte-doux); }
.bloc-conformite p { margin-bottom: .5em; }
.avertissements { border: 1px solid #c98a00; background: #fff8e6; color: #5a4300; padding: 10px 12px; border-radius: var(--rayon); font-size: .9rem; margin: 12px 0; }
.avertissements p { margin: 0; font-weight: 600; }
.avertissements p + p { margin-top: 6px; }

/* Bas de pied de page */
.pied-legal { font-size: .82rem; }
.pied-legal p { margin: 0 0 8px; }
.grille-vide { padding: 28px 0; }
.logos-paiement { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.logos-paiement svg { width: 42px; height: 26px; }
.lien-retractation { font-weight: 600; text-decoration: underline; }

/* Recherche */
.recherche { position: fixed; inset: 0; z-index: 80; background: var(--fond); padding: 16px; overflow-y: auto; }
.recherche-barre { display: flex; gap: 8px; max-width: 720px; margin: 0 auto 16px; align-items: center; }
.recherche-barre input { flex: 1; min-width: 0; padding: 12px 14px; font-size: 1.05rem; border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--fond); }
.recherche-barre button { background: none; border: 0; font-size: 1.8rem; line-height: 1; padding: 4px 8px; }
.recherche-resultats { max-width: 720px; margin: 0 auto; }
.recherche-resultat { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bord); text-decoration: none; }
.recherche-resultat img { width: 60px; height: 80px; object-fit: cover; border-radius: var(--rayon); }
.recherche-resultat span { flex: 1; min-width: 0; }

/* Textes légaux */
.legal { max-width: 780px; margin: 0 auto; padding: 40px 16px 72px; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal a { text-decoration: underline; }
.legal-intro { font-size: 1.1rem; color: var(--texte-doux); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--bord); }
.legal .tableau { overflow-x: auto; }
.legal-mise-a-jour { font-size: .85rem; color: var(--texte-doux); margin-top: 2.5em; }
.encadre { border: 1px solid var(--bord); background: var(--fond-2); padding: 16px 18px; border-radius: var(--rayon); margin: 1em 0; font-size: .95rem; }
.faq details { border-bottom: 1px solid var(--bord); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details div { padding-top: 10px; }

/* Formulaires */
.formulaire label, .ck-form label { display: block; margin-bottom: 14px; font-size: .92rem; font-weight: 600; }
.formulaire input:not([type="checkbox"]):not(.piege), .formulaire textarea, .formulaire select,
.ck-form input:not([type="checkbox"]), .ck-form select {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font-weight: 400; font-size: 16px; background: var(--fond); border: 1px solid var(--bord); border-radius: var(--rayon);
}
.bouton-secondaire { width: auto !important; margin-top: 8px; background: none !important; color: var(--texte) !important; border: 1px solid var(--bord) !important; }
.form-message { font-size: .92rem; margin: 10px 0 0; min-height: 1.2em; }
.form-message.ok { color: #1c6b3c; }
.form-message.erreur { color: #a4262c; }
.contact-grille { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grille { grid-template-columns: 1fr 1.3fr; } }
.newsletter-note { font-size: .78rem; margin: 8px 0 0; color: var(--texte-doux); }

/* Commande */
.ck h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.ck h2 { font-size: 1.1rem; }
.ck-grille { display: grid; gap: 28px; grid-template-columns: 1fr; }
.ck-resume { order: -1; background: var(--fond-2); padding: 16px; border-radius: var(--rayon); align-self: start; }
@media (min-width: 900px) { .ck-grille { grid-template-columns: 1.3fr 1fr; } .ck-resume { order: 0; position: sticky; top: 20px; } }
.ck-form section { margin-bottom: 26px; }
.ck-duo { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.ck-ligne { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.ck-ligne img { width: 56px; height: 74px; object-fit: cover; border-radius: var(--rayon); }
.ck-ligne div { flex: 1; min-width: 0; }
.ck-ligne span, .ck-ligne small { display: block; }
.ck-ligne small { color: var(--texte-doux); }
.ck-totaux { border-top: 1px solid var(--bord); margin-top: 8px; padding-top: 10px; }
.ck-totaux > div { display: flex; justify-content: space-between; padding: 3px 0; }
.ck-total { font-size: 1.15rem; font-weight: 600; margin-top: 6px; }
.ck-securite, .ck-note { font-size: .85rem; color: var(--texte-doux); margin: 10px 0; }
.ck-indisponible { padding: 14px; background: var(--fond-2); border-radius: var(--rayon); }
.ck-form .ck-cgv { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.ck-cgv input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
[data-payer]:disabled { opacity: .72; cursor: not-allowed; }

/* Consentement */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 480px; margin: 0 auto; background: var(--fond); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 14px 16px; box-shadow: 0 6px 24px rgba(0, 0, 0, .15); font-size: .9rem; }
.consent p { margin-bottom: 10px; }
.consent div { display: flex; gap: 8px; }
.consent button { flex: 1; padding: 10px; border: 1px solid var(--texte); background: var(--fond); border-radius: var(--rayon); }

@font-face{font-family:"Rubik";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/rubik-600.woff2) format("woff2")}
@font-face{font-family:"Rubik";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/rubik-700.woff2) format("woff2")}
@font-face{font-family:"Work Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/work-sans-400.woff2) format("woff2")}
@font-face{font-family:"Work Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/work-sans-600.woff2) format("woff2")}

/* ==========================================================================
   Drenvik — chaussettes & collants pour femme.
   Idée graphique : le nuancier et la grille de motifs. Fonds clairs, carrés
   de couleur, étiquettes de pointure, points et rayures. Vif mais lumineux.
   ========================================================================== */
:root {
  --fond: #fdfaf4;
  --fond-2: #f5efe2;
  --texte: #20242c;
  --texte-doux: #5c6472;
  --accent: #2f6df0;          /* bleu vif — blanc dessus = 4.6:1, AA */
  --accent-texte: #ffffff;
  --bord: #e7e0d0;
  --rayon: 10px;
  --police-titre: "Rubik", system-ui, sans-serif;
  --police-texte: "Work Sans", system-ui, sans-serif;

  /* Le nuancier : les couleurs qui tournent sur les filets et les carrés. */
  --jaune: #ffd23f;
  --corail: #ff6b6b;
  --menthe: #2fbf9f;
  --bleu: #2f6df0;
  --encre: #20242c;

  --ombre: 0 10px 28px rgba(32, 36, 44, .10);
  --max: 1180px;
}

body {
  background:
    radial-gradient(circle, rgba(32,36,44,.045) 1.4px, transparent 1.5px) 0 0 / 26px 26px,
    var(--fond);
  font-size: 17px;
}
h1, h2, h3, h4 { letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2.05rem); font-weight: 700; }
::selection { background: var(--jaune); color: var(--encre); }

.enveloppe { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 46px 0; }
.section-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-tete h1, .section-tete h2 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 3.4vw, 2.05rem); font-weight: 700; letter-spacing: -.01em; }
.section-tete h1::before, .section-tete h2::before { content: ""; width: 20px; height: 20px; border-radius: 5px; background: var(--accent); flex: none; }
.lien-tout { font-family: var(--police-titre); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--jaune); padding-bottom: 2px; }
.lien-tout:hover { border-color: var(--accent); }
.sur-titre { font-family: var(--police-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--accent); margin: 0 0 10px; }

/* boutons -------------------------------------------------------------------*/
.tiroir-commander, .bouton, .achat-bouton, .formulaire button[type="submit"],
.formulaire [data-confirmer], [data-payer], .barre-achat button, .newsletter button {
  font-family: var(--police-titre); font-weight: 600; letter-spacing: .01em;
  border-radius: 999px; transition: transform .12s ease, background .15s ease, box-shadow .15s;
}
.bouton:hover, .achat-bouton:hover, .tiroir-commander:hover, [data-payer]:not(:disabled):hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.bouton { padding: 14px 26px; }
.bouton-ligne { background: none; color: var(--texte); border: 2px solid var(--encre); border-radius: 999px; padding: 12px 24px; font-family: var(--police-titre); font-weight: 600; text-decoration: none; display: inline-block; }
.bouton-ligne:hover { background: var(--encre); color: var(--fond); }

/* entête --------------------------------------------------------------------*/
.entete { position: sticky; top: 0; z-index: 50; background: rgba(253,250,244,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bord); }
.entete-inner { max-width: var(--max); margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 14px; }
.marque { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--police-titre); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--encre); }
.marque-carre { width: 15px; height: 15px; border-radius: 4px; background: var(--accent); box-shadow: 3px 3px 0 var(--jaune); }
.entete-nav { display: none; gap: 20px; margin-left: 18px; }
.entete-nav a { text-decoration: none; font-family: var(--police-titre); font-weight: 500; font-size: .98rem; color: var(--texte); padding: 4px 0; border-bottom: 2px solid transparent; }
.entete-nav a:hover { border-color: var(--accent); }
.entete-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icone { background: none; border: 0; padding: 9px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--texte); position: relative; min-width: 44px; min-height: 44px; }
.icone:hover { background: var(--fond-2); }
.icone svg { width: 22px; height: 22px; }
.compteur { position: absolute; top: 3px; right: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--corail); color: #fff; font-family: var(--police-texte); font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.entete-menu { display: inline-flex; }
@media (min-width: 900px) { .entete-nav { display: flex; } .entete-menu { display: none; } }

/* menu mobile ---------------------------------------------------------------*/
.menu { position: fixed; inset: 0 0 0 auto; width: min(360px, 100%); background: var(--fond); z-index: 70; transform: translateX(100%); transition: transform .26s ease; padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.menu.ouvert { transform: none; }
.menu-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.menu-tete span { font-family: var(--police-titre); font-weight: 700; font-size: 1.2rem; }
.menu-fermer { background: none; border: 0; font-size: 2rem; line-height: 1; padding: 4px 8px; }
.menu a { text-decoration: none; font-family: var(--police-titre); font-weight: 600; font-size: 1.3rem; padding: 14px 10px; border-radius: 10px; display: flex; align-items: center; gap: 12px; color: var(--encre); }
.menu a:hover { background: var(--fond-2); }
.menu a .pastille { width: 14px; height: 14px; border-radius: 4px; flex: none; }

/* hero ----------------------------------------------------------------------*/
.hero { padding: 20px 0 10px; }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 16px; display: grid; gap: 20px; grid-template-columns: 1fr; }
.hero-media { order: -1; position: relative; border-radius: 18px; overflow: hidden; border: 6px solid var(--encre); box-shadow: 8px 8px 0 var(--jaune); }
.hero-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.hero-txt { align-self: center; }
.hero-nuancier { display: flex; gap: 8px; margin-bottom: 16px; }
.hero-nuancier span { width: 30px; height: 30px; border-radius: 7px; }
.hero h1 { font-family: var(--police-titre); font-weight: 700; font-size: clamp(2.3rem, 8.5vw, 3.7rem); line-height: 1.02; margin: 0 0 14px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sous { font-size: 1.1rem; color: var(--texte-doux); max-width: 30ch; margin: 0 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 820px) {
  .hero-inner { grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: stretch; padding-top: 14px; }
  .hero-media { order: 0; box-shadow: 12px 12px 0 var(--jaune); }
  .hero-media img { height: 100%; aspect-ratio: auto; }
}

/* familles ------------------------------------------------------------------*/
.familles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.famille { position: relative; text-decoration: none; color: var(--encre); border-radius: var(--rayon); padding: 18px 16px 58px; min-height: 130px; overflow: hidden; display: flex; flex-direction: column; border: 2px solid var(--encre); background: var(--fond); }
.famille b { font-family: var(--police-titre); font-weight: 700; font-size: 1.3rem; }
.famille span { font-size: .9rem; color: var(--texte-doux); margin-top: 4px; }
.famille .fleche { position: absolute; bottom: 14px; left: 16px; font-family: var(--police-titre); font-weight: 600; font-size: .9rem; }
.famille .motif { position: absolute; right: -14px; bottom: -14px; width: 86px; height: 86px; border-radius: 14px; opacity: .9; }
.famille:hover { transform: translateY(-3px); box-shadow: var(--ombre); transition: transform .14s, box-shadow .14s; }
.famille:nth-child(1) .motif { background: repeating-linear-gradient(45deg, var(--bleu) 0 10px, #5f93ff 10px 20px); }
.famille:nth-child(2) .motif { background: radial-gradient(var(--corail) 32%, transparent 34%) 0 0 / 22px 22px, var(--jaune); }
.famille:nth-child(3) .motif { background: repeating-linear-gradient(var(--menthe) 0 9px, #7fdcc6 9px 18px); }
.famille:nth-child(4) .motif { background: conic-gradient(var(--jaune) 25%, var(--corail) 0 50%, var(--menthe) 0 75%, var(--bleu) 0); }
@media (min-width: 760px) { .familles { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* grille produits -----------------------------------------------------------*/
.grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 680px) { .grille { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 980px) { .grille { grid-template-columns: repeat(4, 1fr); } }

.carte { position: relative; background: var(--fond); border: 1px solid var(--bord); border-top: 6px solid var(--filet, var(--accent)); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; transition: transform .14s ease, box-shadow .14s ease; }
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte > a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.carte-media { position: relative; aspect-ratio: 1 / 1; background: var(--fond-2); overflow: hidden; }
.carte-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.carte:hover .carte-media img { transform: scale(1.04); }
.carte-taille { position: absolute; left: 10px; bottom: 10px; background: var(--fond); border: 1.5px solid var(--encre); border-radius: 6px; font-family: var(--police-titre); font-weight: 600; font-size: .74rem; padding: 3px 8px; }
.carte-corps { padding: 12px 13px 15px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.carte-nom { font-family: var(--police-titre); font-weight: 600; font-size: 1.02rem; line-height: 1.2; }
.carte-coul { font-size: .82rem; color: var(--texte-doux); }
.carte-prix { margin-top: auto; padding-top: 8px; font-family: var(--police-titre); font-weight: 700; font-size: 1.1rem; }
.carte-ajout { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--encre); color: #fff; font-size: 1.3rem; line-height: 1; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, background .15s; }
.carte:hover .carte-ajout, .carte-ajout:focus-visible { opacity: 1; transform: none; }
.carte-ajout:hover { background: var(--accent); }
@media (hover: none) { .carte-ajout { opacity: 1; transform: none; } }

/* barre d'outils boutique ---------------------------------------------------*/
.barre-outils { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre { font-family: var(--police-titre); font-weight: 600; font-size: .9rem; background: var(--fond); border: 1.5px solid var(--bord); border-radius: 999px; padding: 8px 15px; min-height: 40px; color: var(--texte); }
.filtre:hover { border-color: var(--encre); }
.filtre.actif { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.tri-boite { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--texte-doux); }
.tri-boite select { font-family: var(--police-texte); border: 1.5px solid var(--bord); border-radius: 999px; padding: 9px 14px; background: var(--fond); min-height: 40px; }
.compte { font-size: .88rem; color: var(--texte-doux); margin: 0 0 14px; }
.grille-vide { text-align: center; padding: 40px 16px; border: 2px dashed var(--bord); border-radius: var(--rayon); }
.grille-vide p { margin: 0 0 14px; color: var(--texte-doux); }

/* fiche produit -------------------------------------------------------------*/
.fiche { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 26px 0 40px; }
.fil-ariane { font-size: .85rem; color: var(--texte-doux); margin: 18px 0 0; }
.fil-ariane a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--bord); }
.galerie { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.galerie img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--rayon); border: 1px solid var(--bord); }
.galerie img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.fiche-info { align-self: start; }
.fiche-cat { font-family: var(--police-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--accent); }
.fiche-info h1 { font-family: var(--police-titre); font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.5rem); margin: 8px 0 6px; letter-spacing: -.02em; }
.fiche-prix { font-family: var(--police-titre); font-weight: 700; font-size: 1.5rem; margin: 0 0 4px; }
.fiche-prix small { font-weight: 400; font-size: .72rem; color: var(--texte-doux); }
.fiche-resume { font-size: 1.08rem; color: var(--texte); margin: 10px 0 18px; }
.fiche-matiere { display: inline-flex; align-items: center; gap: 8px; font-family: var(--police-titre); font-weight: 600; font-size: .9rem; background: var(--fond-2); border-radius: 999px; padding: 7px 14px; margin-bottom: 18px; }
.fiche-matiere::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--jaune); }
.achat { margin: 0 0 18px; }
.achat-option legend { font-family: var(--police-titre); }
.promesses { list-style: none; padding: 16px; margin: 18px 0; display: grid; gap: 10px; background: var(--fond-2); border-radius: var(--rayon); }
.promesses li { display: flex; align-items: center; gap: 10px; font-size: .94rem; }
.promesses li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--menthe); flex: none; }
.fiche-texte { max-width: 640px; }
.fiche-texte p { color: var(--texte); }
.fiche details { border-top: 1px solid var(--bord); padding: 14px 0; }
.fiche details summary { cursor: pointer; font-family: var(--police-titre); font-weight: 600; }
.fiche details[open] summary { margin-bottom: 10px; }
.lien-produits { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) {
  .fiche { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
  .fiche-media { position: sticky; top: 86px; }
  .lien-produits { grid-template-columns: repeat(4, 1fr); }
}

/* barre d'achat collée (surcharge marque) -----------------------------------*/
.barre-achat { background: var(--fond); border-top: 1px solid var(--bord); box-shadow: 0 -6px 20px rgba(32,36,44,.08); }
.barre-achat-texte strong { font-family: var(--police-titre); }

/* réassurance ---------------------------------------------------------------*/
.reassurance { border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); background: var(--fond-2); }
.reassurance-inner { max-width: var(--max); margin: 0 auto; padding: 22px 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.reassurance-inner > div { display: flex; gap: 11px; align-items: flex-start; min-width: 0; }
.reassurance-inner > div > div { min-width: 0; }
.reassurance .carre { width: 16px; height: 16px; border-radius: 4px; margin-top: 3px; flex: none; }
.reassurance b { font-family: var(--police-titre); font-weight: 600; display: block; font-size: .96rem; }
.reassurance span { font-size: .84rem; color: var(--texte-doux); }
@media (min-width: 760px) { .reassurance-inner { grid-template-columns: repeat(4, 1fr); } }

/* coffrets band -------------------------------------------------------------*/
.coffrets { display: grid; gap: 16px; grid-template-columns: 1fr; }
.coffret { display: grid; grid-template-columns: 1fr; border: 2px solid var(--encre); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--encre); background: var(--fond); }
.coffret-media { aspect-ratio: 16 / 10; }
.coffret-media img { width: 100%; height: 100%; object-fit: cover; }
.coffret-corps { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.coffret-corps .etq { font-family: var(--police-titre); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.coffret-corps h3 { font-family: var(--police-titre); font-weight: 700; font-size: 1.5rem; margin: 0; }
.coffret-corps p { color: var(--texte-doux); margin: 0; font-size: .95rem; }
.coffret-corps .bas { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.coffret-corps .bas strong { font-family: var(--police-titre); font-size: 1.3rem; }
.coffret:hover { box-shadow: var(--ombre); transform: translateY(-3px); transition: transform .14s, box-shadow .14s; }
@media (min-width: 740px) { .coffrets { grid-template-columns: 1fr 1fr; } .coffret { grid-template-columns: 1fr 1fr; } .coffret-media { aspect-ratio: auto; } }

/* newsletter ----------------------------------------------------------------*/
.bloc-news { background: var(--encre); color: var(--fond); border-radius: 18px; padding: 32px 22px; text-align: center; margin: 10px 0; }
.bloc-news h2 { color: var(--fond); }
.bloc-news h2::before { display: none; }
.bloc-news p { color: #cfd4de; max-width: 44ch; margin: 0 auto 18px; }
.newsletter { display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; margin: 0 auto; }
.newsletter input[type="email"] { flex: 1; min-width: 180px; padding: 13px 16px; font-size: 16px; border: 0; border-radius: 999px; background: var(--fond); color: var(--texte); }
.newsletter button { background: var(--accent); color: #fff; border: 0; padding: 13px 24px; }
.newsletter .newsletter-note { width: 100%; color: #aeb5c2; font-size: .76rem; margin: 4px 0 0; }
.newsletter .newsletter-note a { color: var(--jaune); }
.newsletter .form-message { width: 100%; color: var(--jaune); }

/* pied de page --------------------------------------------------------------*/
.pied { background: var(--fond); border-top: 1px solid var(--bord); margin-top: 20px; }
.pied-inner { max-width: var(--max); margin: 0 auto; padding: 44px 16px 24px; }
.pied-haut { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 30px; }
.pied-marque .marque { font-size: 1.6rem; }
.pied-marque p { margin: 12px 0 0; color: var(--texte-doux); max-width: 32ch; font-size: .92rem; }
.pied-col h3 { font-family: var(--police-titre); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 12px; color: var(--texte-doux); }
.pied-col ul { display: grid; gap: 9px; }
.pied-col a { text-decoration: none; color: var(--texte); font-size: .95rem; }
.pied-col a:hover { color: var(--accent); }
.pied-legal { border-top: 1px solid var(--bord); padding-top: 18px; color: var(--texte-doux); }
.pied-legal a { color: var(--texte); }
.pied-legal .logos-paiement { margin: 10px 0; }
.pied-legal-copy { font-family: var(--police-titre); font-weight: 600; color: var(--texte); }
@media (min-width: 760px) { .pied-haut { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; } }

/* pages légales / contenu ---------------------------------------------------*/
.legal h1 { font-family: var(--police-titre); font-weight: 700; letter-spacing: -.02em; overflow-wrap: break-word; }
.legal h2 { font-family: var(--police-titre); }
.legal a { text-decoration-color: var(--accent); }
.encadre { border-left: 4px solid var(--accent); }
.faq summary { font-family: var(--police-titre); }
.contact-infos h2, .ck h1, .ck h2, .merci h1, .page-panier h1 { font-family: var(--police-titre); }

/* commander : entête allégé -------------------------------------------------*/
.entete-ck .entete-inner { justify-content: space-between; }
.entete-ck .retour-panier { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--police-titre); font-weight: 600; font-size: .95rem; color: var(--texte); }

/* divers --------------------------------------------------------------------*/
.tiroir-entete h2, .page-panier h1 { font-family: var(--police-titre); }
.recherche-barre input { font-family: var(--police-texte); }
.evitement { font-family: var(--police-titre); font-weight: 600; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  .carte, .famille, .coffret, .bouton, .achat-bouton { transition: none; }
  .carte:hover { transform: none; }
}
