/* 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:"Archivo Black";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/archivo-black-400.woff2) format("woff2")}
@font-face{font-family:"Chivo";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/chivo-400.woff2) format("woff2")}
@font-face{font-family:"Chivo";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/chivo-700.woff2) format("woff2")}
@font-face{font-family:"Chivo";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/chivo-400i.woff2) format("woff2")}

/* ==========================================================================
   Umbaro — le catalogue de vente par correspondance.
   Papier crème, encre brune, étiquettes orange, références en bleu catalogue,
   pages numérotées, petites cases à cocher, trame d'impression légère.
   ========================================================================== */
:root {
  --fond: #f6efe0; --fond-2: #efe4cf; --papier: #fffaf0;
  --texte: #2a211a; --texte-doux: #5e5247; --encre: #2a211a; --encre-forte: #1d1510;
  --accent: #e0631b; --accent-texte: #1d1510;
  --bleu: #2a4fa8; --vert: #2f7d4f;
  --bord: #d6c6a8; --rayon: 12px; --rayon-photo: 18px;
  --police-titre: "Archivo Black", "Arial Black", Impact, sans-serif;
  --police-texte: "Chivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --trame: radial-gradient(rgba(42, 33, 26, .055) .7px, transparent 1px);
  --carreaux: linear-gradient(rgba(42, 79, 168, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 79, 168, .12) 1px, transparent 1px);
  --coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4 6.6 11.6 12.8 4.6' fill='none' stroke='%23fffaf0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body { background-color: var(--fond); background-image: var(--trame); background-size: 4px 4px; font-size: 1rem; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.005em; }
a { text-underline-offset: 3px; }
::selection { background: var(--accent); color: var(--encre-forte); }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }

/* ---------------------------------------------------------------- éléments */
.surtitre { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); margin: 0 0 .6em; }
.petit-titre { font-family: var(--police-titre); font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 .6em; }
.folio { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: var(--bleu); background: var(--papier); border: 1.5px solid var(--bleu); border-radius: 999px; padding: 2px 9px; line-height: 1.4; }
.bouton, .achat-bouton, .tiroir-commander, [data-payer], .formulaire button[type="submit"], .formulaire [data-confirmer], .barre-achat button {
  background: var(--accent); color: var(--encre-forte); border: 2px solid var(--encre); border-radius: var(--rayon);
  font-family: var(--police-texte); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem;
  box-shadow: 3px 3px 0 var(--encre); transition: transform .12s ease, box-shadow .12s ease;
}
.bouton:hover, .achat-bouton:hover, .tiroir-commander:hover, .formulaire button[type="submit"]:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--encre); }
.bouton:active, .achat-bouton:active, .tiroir-commander:active, .barre-achat button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--encre); }
.bouton { padding: 14px 22px; }
.bouton-trait { background: var(--papier); }
.lien-page { display: inline-flex; align-items: center; min-height: 44px; color: var(--bleu); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.case { display: inline-block; width: 13px; height: 13px; border: 1.5px solid var(--encre); border-radius: 3px; flex: none; }
.etiquette {
  position: relative; display: inline-block; background: var(--accent); color: var(--encre-forte); font-family: var(--police-titre);
  font-size: .9rem; line-height: 1.2; padding: 5px 10px 5px 19px; border-radius: 4px 9px 9px 4px; transform: rotate(-2deg); white-space: nowrap;
}
.etiquette::before { content: ""; position: absolute; left: 6px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--fond); border: 1.5px solid var(--encre-forte); }
.etiquette-grande { font-size: 1.45rem; padding: 7px 16px 7px 28px; }
.etiquette-grande::before { left: 9px; width: 10px; height: 10px; margin-top: -5px; }
.rubrique-tete { position: relative; border-top: 4px double var(--encre); padding-top: 16px; margin-bottom: 18px; }
.rubrique-tete h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); margin: .3em 0 .15em; }
.rubrique-tete p { color: var(--texte-doux); margin: 0; }
.chapo { font-size: 1.06rem; }
.insecable { white-space: nowrap; }

/* ------------------------------------------------- entête : la couverture */
.couv { background: var(--fond); }
.couv-bande { display: flex; justify-content: space-between; gap: 12px; background: var(--bleu); color: var(--papier); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 16px; }
.couv-bande p { margin: 0; }
.couv-cat { display: none; }
.couv-barre { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; max-width: 1280px; margin: 0 auto; }
.logo { display: block; justify-self: center; text-decoration: none; }
.logo-svg { width: 146px; height: auto; }
.couv-barre svg { flex: none; }
.couv-bouton { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 8px; background: none; border: 0; border-radius: var(--rayon); font-weight: 700; font-size: .9rem; }
.couv-bouton svg { width: 24px; height: 24px; }
.couv-bouton span { display: none; }
.couv-menu { justify-self: start; }
.couv-actions { justify-self: end; display: flex; align-items: center; gap: 2px; }
.bon { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px 0 9px; text-decoration: none; background: var(--papier); border: 2px solid var(--encre); border-left-style: dashed; border-radius: 10px; font-weight: 700; font-size: .82rem; }
.bon svg { width: 22px; height: 22px; }
.bon-texte { display: none; }
.bon-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--encre-forte); font-size: .8rem; font-weight: 700; border: 1.5px solid var(--encre); }
.bon-n[data-n="0"] { background: var(--papier); }
.sommaire-ligne { border-top: 2px solid var(--encre); border-bottom: 4px double var(--encre); background: var(--papier); }
.sommaire-defile { display: flex; overflow-x: auto; scrollbar-width: none; max-width: 1280px; margin: 0 auto; }
.sommaire-defile::-webkit-scrollbar { display: none; }
.sommaire-defile a { flex: none; display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 12px 14px 10px; text-decoration: none; font-weight: 700; font-size: .92rem; border-right: 1.5px dotted var(--encre); white-space: nowrap; }
.sommaire-defile a:last-child { border-right: 0; }
.sommaire-defile a[aria-current="page"] { background: var(--accent); color: var(--encre-forte); }
.sm-page { font-size: .72rem; color: var(--bleu); letter-spacing: .04em; }
[aria-current="page"] .sm-page { color: var(--encre-forte); }

.couv-legere .couv-barre { padding: 10px 12px; }
.couv-legere { border-bottom: 4px double var(--encre); }
.couv-retour { justify-self: start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 700; font-size: .85rem; color: var(--bleu); text-decoration: none; }
.couv-retour svg { width: 22px; height: 22px; }
.couv-retour span { display: none; }
.couv-cadenas { justify-self: end; font-size: .78rem; font-weight: 700; color: var(--texte-doux); text-transform: uppercase; letter-spacing: .08em; }

/* Le sommaire en tiroir (menu mobile) */
.menu { position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: min(400px, 92vw); overflow-y: auto; padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  background-color: var(--fond); background-image: var(--trame); background-size: 4px 4px; border-right: 3px solid var(--encre); transform: translateX(-102%); transition: transform .26s ease; }
.menu.ouvert { transform: none; }
.menu-tete { display: flex; justify-content: space-between; align-items: center; border-bottom: 4px double var(--encre); padding-bottom: 8px; margin-bottom: 8px; }
.menu-titre { font-family: var(--police-titre); font-size: 2.1rem; margin: 0; }
.menu-fermer { width: 44px; height: 44px; font-size: 2rem; line-height: 1; background: var(--papier); border: 2px solid var(--encre); border-radius: 10px; }
.menu-liste { list-style: none; margin: 0 0 18px; padding: 0; }
.menu-liste a, .sommaire-liste a { display: flex; align-items: baseline; gap: 8px; min-height: 48px; padding: 12px 0 8px; text-decoration: none; }
.pt-nom { font-family: var(--police-titre); font-size: 1.3rem; line-height: 1.1; }
.pt-n { font-size: .8rem; color: var(--texte-doux); white-space: nowrap; }
.pt-points { flex: 1; min-width: 16px; border-bottom: 2.5px dotted var(--encre); transform: translateY(-4px); }
.pt-page { font-weight: 700; color: var(--bleu); white-space: nowrap; }
.menu-liste a:hover .pt-nom, .sommaire-liste a:hover .pt-nom { color: var(--bleu); }
.menu-annexes { border-top: 1.5px solid var(--encre); padding-top: 8px; }
.menu-annexes a { display: block; padding: 11px 0; font-weight: 700; }
.menu-note { font-size: .82rem; color: var(--texte-doux); margin-top: 16px; }

/* ----------------------------------------------------------------- accueil */
.couverture { padding: 14px 16px 8px; max-width: 1280px; margin: 0 auto; }
.couverture-photo { position: relative; margin: 0; border: 2px solid var(--encre); border-radius: var(--rayon-photo); overflow: hidden; background: var(--papier); }
.couverture-photo > a { display: block; }
.couverture-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 70%; }
.chapo-suite { display: none; }
.couverture-photo .folio { position: absolute; top: 10px; left: 10px; z-index: 1; }
.tampon { position: absolute; right: 10px; top: 10px; z-index: 1; display: grid; place-items: center; width: 102px; height: 102px; margin: 0; border-radius: 50%;
  background: rgba(255, 250, 240, .92); border: 3px solid var(--bleu); box-shadow: inset 0 0 0 4px rgba(255, 250, 240, .92), inset 0 0 0 6px var(--bleu);
  color: var(--bleu); font-family: var(--police-titre); font-size: .82rem; line-height: 1.05; text-align: center; text-transform: uppercase; transform: rotate(-12deg); padding: 14px; }
.couverture-legende { margin: 0; padding: 9px 12px; border-top: 2px solid var(--encre); font-size: .8rem; color: var(--texte-doux); background: var(--papier); }
.couverture-legende a { color: var(--texte); font-weight: 700; }
.couverture-texte { padding: 16px 2px 0; }
.couverture-texte h1 { font-size: clamp(2.25rem, 10.4vw, 4.7rem); line-height: .98; margin: 0 0 .3em; }
.couverture-texte .chapo { margin-bottom: 1em; }
.couverture-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 14px; }
.garanties { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; }
.garanties li, .fiche-promesses li, .edito-encart li { position: relative; padding-left: 21px; }
.garanties li::before, .fiche-promesses li::before, .edito-encart li::before, .points li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 14px; height: 14px; border: 1.5px solid var(--encre); border-radius: 3px;
  background: var(--vert) var(--coche) center / 12px no-repeat; }

.sommaire { max-width: 860px; margin: 34px auto 0; padding: 0 16px; }
.sommaire-liste { list-style: none; padding: 0; margin: 0; }
.sommaire-liste li { border-bottom: 1.5px solid var(--bord); padding-bottom: 8px; }
.sommaire-liste p { font-size: .88rem; color: var(--texte-doux); margin: 0; }
.sommaire-liste .pt-nom { font-size: 1.45rem; }

.double { max-width: 1280px; margin: 40px auto 0; padding: 0 16px; }
.double-photo { position: relative; margin: 0; }
.double-photo > a { display: block; }
.double-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 62%; border: 2px solid var(--encre); border-radius: var(--rayon-photo); background: var(--papier); }
.double-photo .folio { position: absolute; top: 10px; left: 10px; }
.double-photo figcaption { font-size: .8rem; color: var(--texte-doux); padding: 6px 4px 0; font-style: italic; }
.double-photo figcaption a { color: var(--texte); font-weight: 700; font-style: normal; }
.double-page { position: relative; margin-top: 12px; padding: 18px 16px 16px; background: var(--papier); border: 2px solid var(--encre); border-radius: var(--rayon-photo); }
.folio-droit { position: absolute; top: 12px; right: 12px; }
.double-page h2 { font-size: clamp(2.2rem, 10vw, 3.6rem); line-height: 1; margin: .1em 0 .25em; }
.double-accroche { color: var(--texte-doux); }
.liste-cat { border-top: 2px solid var(--encre); }
.liste-cat li:nth-child(n+7) { display: none; }
.liste-cat a { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: baseline; min-height: 52px; padding: 11px 0 9px; border-bottom: 1.5px dashed var(--bord); text-decoration: none; }
.lc-ref { font-size: .78rem; font-weight: 700; color: var(--bleu); letter-spacing: .04em; }
.lc-nom { font-weight: 700; line-height: 1.25; }
.lc-nom small { display: block; font-weight: 400; font-size: .78rem; color: var(--texte-doux); }
.lc-prix { font-family: var(--police-titre); font-size: .95rem; white-space: nowrap; }
.liste-cat a:hover .lc-nom { color: var(--bleu); text-decoration: underline; }
.lien-suite { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--bleu); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.lien-suite::after { content: "→"; margin-left: 6px; text-decoration: none; }

.bon-encart { max-width: 1280px; margin: 44px auto 0; padding: 0 16px; }
.bon-feuille { position: relative; padding: 18px 16px 20px; background-color: var(--papier); background-image: var(--carreaux); background-size: 16px 16px;
  border: 2px solid var(--encre); border-top: 3px dashed var(--encre); border-radius: 4px 4px var(--rayon-photo) var(--rayon-photo); }
.bon-entete { display: flex; justify-content: space-between; gap: 10px; border-bottom: 2px solid var(--encre); padding-bottom: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu); }
.bon-feuille h2 { font-size: clamp(1.6rem, 6.4vw, 2.6rem); margin: .6em 0 .6em; max-width: 18ch; }
.bon-etapes { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.bon-etapes li { display: flex; gap: 12px; align-items: flex-start; background: var(--papier); padding: 2px 0; }
.bon-etapes span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--encre); border-radius: 6px; font-family: var(--police-titre); background: var(--accent); color: var(--encre-forte); }
.bon-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; }

.mentions { max-width: 1280px; margin: 36px auto 0; padding: 14px 16px 0; }
.mentions p { font-size: .76rem; line-height: 1.5; color: var(--texte-doux); border-top: 1.5px solid var(--encre); padding-top: 10px; margin: 0; }

/* -------------------------------------------- boutique et rubriques */
.catalogue { max-width: 1280px; margin: 0 auto; padding: 22px 16px 24px; }
.cat-tete { border-bottom: 4px double var(--encre); padding-bottom: 12px; }
.cat-tete h1 { font-size: clamp(2.2rem, 10vw, 4.4rem); line-height: 1; margin: 0 0 .2em; }
.cat-chapo { display: none; color: var(--texte-doux); margin: 0; max-width: 60ch; }
.filtres { margin: 10px 0 4px; }
.filtre-ligne { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1.5px dotted var(--bord); }
.filtre-titre { flex: none; width: 74px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu); }
.filtre-cases { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 4px 2px; min-width: 0; }
.filtre-cases::-webkit-scrollbar { display: none; }
.filtre { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px 0 10px; border: 1.5px solid var(--encre); border-radius: 10px; background: var(--papier); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.filtre::before { content: ""; width: 15px; height: 15px; border: 1.5px solid var(--encre); border-radius: 3px; background: #fff; flex: none; }
.filtre.actif { background: var(--accent); color: var(--encre-forte); }
.filtre.actif::before { background: var(--encre) var(--coche) center / 12px no-repeat; }
.filtre[data-filtre="multicolore"] .case { background: conic-gradient(#f2c230 0 25%, #d3201f 0 50%, #2a4fa8 0 75%, #2f7d4f 0) !important; }
.outils-tri { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 14px; }
.compte { margin: 0; font-weight: 700; }
.tri { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; }
.tri select { min-height: 44px; font-size: 16px; padding: 0 34px 0 12px; border: 1.5px solid var(--encre); border-radius: 10px; background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%232a211a' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; appearance: none; -webkit-appearance: none; color: var(--texte); max-width: 52vw; }
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
.carte { position: relative; display: flex; flex-direction: column; background: var(--papier); border: 1.5px solid var(--encre); border-radius: 14px; transition: transform .28s ease; }
.carte-lien { flex: 1; display: block; padding: 7px 7px 0; text-decoration: none; }
.carte-photo { display: block; }
.carte-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; background: #fff; }
.carte-ref { display: flex; justify-content: space-between; gap: 6px; margin: 8px 2px 3px; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--bleu); }
.carte-page { color: var(--texte-doux); }
.carte-nom { font-size: .98rem; line-height: 1.15; margin: 0 2px 4px; }
.carte-allure { display: block; margin: 0 2px; font-size: .76rem; color: var(--texte-doux); }
.carte-bas { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 10px 8px 10px 7px; }
.cases { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 2px; min-width: 0; }
.cases .case { width: 10px; height: 10px; border-width: 1.2px; }
.case-ici { outline: 2px solid var(--accent); outline-offset: 1px; }
.carte::after { content: ""; position: absolute; top: -1.5px; right: -1.5px; width: 0; height: 0; border-top-right-radius: 14px; background: linear-gradient(225deg, var(--fond) 50%, #e3d3b4 50%); transition: width .25s ease, height .25s ease; pointer-events: none; }
.grille-vide { text-align: center; padding: 34px 16px; border: 2px dashed var(--encre); border-radius: var(--rayon-photo); background: var(--papier); margin-top: 6px; }
.grille-vide-titre { font-family: var(--police-titre); font-size: 1.3rem; }
.autres-rubriques { margin-top: 40px; border-top: 4px double var(--encre); padding-top: 14px; }
.autres-rubriques ul { display: flex; flex-wrap: wrap; gap: 10px; }
.autres-rubriques a { display: inline-flex; align-items: baseline; gap: 8px; min-height: 48px; padding: 12px 16px; border: 1.5px solid var(--encre); border-radius: var(--rayon); background: var(--papier); text-decoration: none; font-family: var(--police-titre); font-size: 1.05rem; }
.autres-rubriques .sm-page { font-family: var(--police-texte); font-weight: 700; }

/* ------------------------------------------------------------- la fiche */
.fiche { max-width: 1280px; margin: 0 auto; padding: 6px 16px 24px; }
.ariane { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: .82rem; color: var(--texte-doux); }
.ariane a { display: inline-block; padding: 12px 0; color: var(--bleu); font-weight: 700; }
.fiche-photos { position: relative; }
.fiche-photos > .folio { position: absolute; top: 10px; left: 10px; z-index: 1; }
.vues { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vues::-webkit-scrollbar { display: none; }
.vue { flex: 0 0 86%; margin: 0; scroll-snap-align: start; }
.vue:only-child { flex-basis: 100%; }
.vue img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--encre); border-radius: var(--rayon-photo); background: #fff; }
.fiche-texte { padding-top: 14px; }
.fiche-ref { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bleu); }
.fiche-ref strong { font-family: var(--police-titre); font-weight: 400; font-size: 2.5rem; line-height: 1; letter-spacing: .03em; color: var(--encre); }
.fiche-ref span { color: var(--texte-doux); letter-spacing: .04em; }
.fiche-texte h1 { font-size: clamp(1.75rem, 7.4vw, 2.7rem); line-height: 1.02; margin: .25em 0 .2em; }
.fiche-allure { color: var(--texte-doux); margin-bottom: .7em; }
.fiche-prix { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 1em; }
.fiche-prix small { color: var(--texte-doux); font-size: .85rem; }
.descriptif { font-size: 1.04rem; line-height: 1.6; border-left: 3px solid var(--accent); padding-left: 12px; }
.points { margin: 0 0 18px; display: grid; gap: 6px; }
.points li { position: relative; padding-left: 24px; font-size: .95rem; }
.coloris-dispo { margin: 0 0 18px; padding: 12px 0 0; border-top: 1.5px dotted var(--encre); }
.coloris-dispo ul { display: flex; flex-wrap: wrap; gap: 8px; }
.coloris-case { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 10px; border: 1.5px solid var(--encre); border-radius: 10px; background: var(--papier); font-size: .86rem; font-weight: 700; text-decoration: none; }
.coloris-case .case { width: 16px; height: 16px; }
a.coloris-case:hover { border-color: var(--bleu); color: var(--bleu); }
.coloris-ici { border: 2.5px solid var(--accent); }
.coloris-note { font-size: .84rem; color: var(--texte-doux); margin: 8px 0 0; }
.achat-mi { border-top: 2px solid var(--encre); padding-top: 14px; }
.achat-option legend { font-family: var(--police-titre); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
/* 21 pointures, du 36 au 46 par demi-pointure : une grille de 7 cases sur
   3 lignes, la petite case à cocher au-dessus du chiffre pour tenir en 390 px. */
.achat-option { min-width: 0; }
.achat-choix { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.achat-choix label { min-width: 0; }
.achat-choix span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 56px; padding: 7px 2px 6px; border: 1.5px solid var(--encre); border-radius: 8px; background: var(--papier); font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.achat-choix span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--encre); border-radius: 3px; background: #fff; flex: none; }
@media (hover: hover) { .achat-choix span:hover { border-color: var(--bleu); color: var(--bleu); } }
.achat-choix input:checked + span { background: var(--accent); color: var(--encre-forte); border-color: var(--encre); }
.achat-choix input:checked + span::before { background: var(--encre) var(--coche) center / 11px no-repeat; }
.achat-choix input:focus-visible + span { outline: 3px solid var(--bleu); }
.achat-rappel { margin: 10px 0 2px; font-size: .9rem; color: var(--texte-doux); }
.achat-rappel.coche { color: var(--encre); font-weight: 700; }
.achat-guide { font-size: .86rem; color: var(--texte-doux); margin: 0 0 12px; }
.achat-guide a { display: inline-block; padding: 10px 6px 10px 0; color: var(--bleu); font-weight: 700; }
.achat-bouton { min-height: 56px; font-size: 1rem; }
.achat-erreur { font-weight: 700; }
.fiche-promesses { display: grid; gap: 6px; margin: 18px 0; font-size: .9rem; }
.volet { border-top: 2px solid var(--encre); }
.volet:last-child { border-bottom: 2px solid var(--encre); }
.volet summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; list-style: none; font-family: var(--police-titre); font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.volet summary::-webkit-details-marker { display: none; }
.volet summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--encre); border-radius: 6px; font-family: var(--police-texte); font-size: 1.2rem; background: var(--papier); }
.volet[open] summary::after { content: "−"; }
.volet > :not(summary) { margin-bottom: 14px; }
.volet-note { font-size: .86rem; color: var(--texte-doux); }
.fiche-infos > div { border-bottom: 1.5px dotted var(--bord); }
.meme-page { margin-top: 44px; }
.grille-4 .carte-nom { font-size: .95rem; }
.barre-achat { background: var(--papier); border-top: 4px double var(--encre); }
/* Mobile : la pointure et le bouton remontent sous le prix, le descriptif suit. */
@media (max-width: 899px) {
  .fiche-texte { display: flex; flex-direction: column; }
  .fiche-texte > .achat, .fiche-texte > .avertissements { order: 1; }
  .fiche-texte > .fiche-promesses { order: 2; margin-top: 14px; }
  .fiche-texte > .coloris-dispo { order: 3; }
  .fiche-texte > .descriptif { order: 4; margin-top: 4px; }
  .fiche-texte > .points { order: 5; }
  .fiche-texte > .volet { order: 6; }
}
.barre-achat-texte span { font-weight: 700; }
.barre-achat-texte strong { font-family: var(--police-titre); font-weight: 400; }

/* ---------------------------------------------------------- notre histoire */
.edito { max-width: 1180px; margin: 0 auto; padding: 24px 16px 20px; }
.edito-tete { position: relative; border-bottom: 4px double var(--encre); padding-bottom: 14px; margin-bottom: 20px; }
.edito-tete .folio { margin-bottom: 12px; }
.edito-tete h1 { font-size: clamp(2.4rem, 11vw, 5rem); line-height: .98; margin: 0 0 .2em; }
.edito-corps p { font-size: 1.04rem; line-height: 1.65; }
.edito-corps h2 { font-size: 1.35rem; margin: 1.4em 0 .5em; break-after: avoid; }
.lettrine::first-letter { float: left; font-family: var(--police-titre); font-size: 3.6em; line-height: .9; margin: .04em .08em 0 0; color: var(--accent); }
.edito-encart { margin-top: 26px; padding: 18px; background-color: var(--papier); background-image: var(--carreaux); background-size: 16px 16px; border: 2px solid var(--encre); border-radius: var(--rayon-photo); }
.edito-encart ul { display: grid; gap: 8px; margin-bottom: 18px; }
.edito-encart li { background: var(--papier); }

/* ------------------------------------------------ pages pratiques et légales */
.feuillet { padding-top: 26px; }
.ft-long { display: none; }
.feuillet-tete { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding-bottom: 6px; border-bottom: 1.5px solid var(--encre); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.legal h1 { font-size: clamp(1.75rem, 7.2vw, 2.9rem); line-height: 1.04; overflow-wrap: normal; hyphens: manual; }
.legal-entete { border-bottom: 4px double var(--encre); margin-bottom: 8px; padding-bottom: 6px; }
.legal-intro { color: var(--texte-doux); }
.legal h2 { position: relative; font-size: 1.22rem; padding-left: 22px; margin-top: 2.1em; }
.legal h2::before { content: ""; position: absolute; left: 0; top: .22em; width: 13px; height: 13px; border: 1.5px solid var(--encre); border-radius: 3px; background: var(--accent); }
.legal h3 { font-family: var(--police-texte); font-weight: 700; font-size: 1.02rem; }
.legal a { color: var(--bleu); font-weight: 700; }
.legal table { border: 1.5px solid var(--encre); background: var(--papier); }
.legal th { background: var(--fond-2); font-weight: 700; }
.legal th, .legal td { border-bottom: 1px solid var(--bord); }
.encadre { background-color: var(--papier); background-image: var(--carreaux); background-size: 16px 16px; border: 2px dashed var(--encre); border-radius: var(--rayon); }
.feuillet-pied { display: flex; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 8px; border-top: 1.5px solid var(--encre); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.faq details { border-bottom: 1.5px dashed var(--bord); padding: 0; }
.faq summary { display: flex; align-items: flex-start; gap: 12px; min-height: 52px; padding: 14px 0; list-style: none; font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; flex: none; width: 17px; height: 17px; margin-top: .15em; border: 1.5px solid var(--encre); border-radius: 3px; background: #fff; }
.faq details[open] summary::before { background: var(--encre) var(--coche) center / 13px no-repeat; }
.faq details div { padding: 0 0 14px 29px; }
.formulaire label, .ck-form label { font-weight: 700; }
.formulaire input:not([type="checkbox"]):not(.piege), .formulaire textarea, .formulaire select,
.ck-form input:not([type="checkbox"]), .ck-form select, .nl input[type="email"] {
  background: var(--papier); border: 1.5px solid var(--encre); border-radius: 10px; min-height: 48px; font-size: 16px; color: var(--texte); }
.formulaire input:focus, .formulaire textarea:focus, .ck-form input:focus, .ck-form select:focus, .nl input:focus { outline: 3px solid var(--bleu); outline-offset: 1px; }
.formulaire button[type="submit"], .formulaire [data-confirmer] { margin-top: 6px; }
.contact-infos { padding: 18px; background-color: var(--papier); background-image: var(--carreaux); background-size: 16px 16px; border: 2px solid var(--encre); border-radius: var(--rayon-photo); align-self: start; }
.contact-infos p { background: var(--papier); }
.contact-grille h2 { font-size: 1.35rem; }
.form-message.ok { color: var(--vert); font-weight: 700; }

/* ------------------------------------------------- tiroir : le bon de commande */
.voile { background: rgba(42, 33, 26, .45); }
.tiroir { background-color: var(--papier); background-image: var(--carreaux); background-size: 16px 16px; border-left: 3px solid var(--encre); }
.tiroir-entete { background: var(--fond); border-bottom: 3px dashed var(--encre); padding: 14px 16px 12px 20px; }
.tiroir-entete h2 { font-size: 1.35rem; }
.tiroir-entete h2::before { content: "N° à remplir en ligne"; display: block; font-family: var(--police-texte); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); margin-bottom: 4px; }
.tiroir-fermer { width: 44px; height: 44px; border: 2px solid var(--encre) !important; border-radius: 10px; background: var(--papier) !important; }
.ligne-panier { background: var(--papier); border-bottom: 1.5px dashed var(--encre); padding: 14px 0; }
.ligne-panier img { width: 76px; height: 76px; object-fit: cover; border: 1.5px solid var(--encre); border-radius: 10px; background: #fff; }
.ligne-nom { font-family: var(--police-titre); font-weight: 400; font-size: 1rem; line-height: 1.15; }
.ligne-option { color: var(--bleu); font-weight: 700; margin-top: 3px; }
.ligne-bas strong { font-family: var(--police-titre); font-weight: 400; }
.quantite { border: 1.5px solid var(--encre); border-radius: 8px; background: #fff; }
.quantite button { width: 44px; height: 44px; }
.ligne-retirer { color: var(--texte-doux); padding: 10px 0 0; min-height: 34px; }
.tiroir-pied { background: var(--fond); border-top: 4px double var(--encre); }
.tiroir-ligne strong { font-family: var(--police-titre); font-weight: 400; font-size: 1.3rem; }
.tiroir-note { color: var(--texte-doux); }
.tiroir-voir { color: var(--bleu); font-weight: 700; min-height: 44px; padding-top: 12px; }
.panier-vide { padding: 48px 10px; }
.panier-vide p { font-family: var(--police-titre); font-size: 1.2rem; }
.panier-vide a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; margin-top: 6px; background: var(--accent); color: var(--encre-forte); border: 2px solid var(--encre); border-radius: var(--rayon); box-shadow: 3px 3px 0 var(--encre); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; font-size: .9rem; }
div.page-panier h1 { font-size: clamp(2rem, 8.6vw, 3.4rem); border-bottom: 4px double var(--encre); padding-bottom: 8px; }
.panier-lignes { background-color: var(--papier); border: 2px solid var(--encre); border-radius: var(--rayon-photo); padding: 0 16px; }
.panier-lignes .ligne-panier:last-child { border-bottom: 0; }
.panier-total { background: var(--papier); border: 2px solid var(--encre); border-radius: var(--rayon-photo); padding: 16px; }

/* --------------------------------------------------------------- recherche */
.recherche { background-color: var(--fond); background-image: var(--trame); background-size: 4px 4px; }
.recherche-barre input { min-height: 52px; font-size: 1.05rem; background: var(--papier); border: 2px solid var(--encre); border-radius: var(--rayon); }
.recherche-barre button { width: 48px; height: 48px; border: 2px solid var(--encre) !important; border-radius: 10px; background: var(--papier) !important; }
.recherche-resultats::before { content: "Index des paires"; display: block; font-family: var(--police-titre); font-size: 1.1rem; border-bottom: 4px double var(--encre); padding-bottom: 6px; margin-bottom: 4px; }
.recherche-resultat { border-bottom: 1.5px dashed var(--bord); min-height: 64px; }
.recherche-resultat img { width: 60px; height: 60px; border: 1.5px solid var(--encre); border-radius: 8px; background: #fff; }
.recherche-resultat span { font-weight: 700; }
.recherche-resultat strong { font-family: var(--police-titre); font-weight: 400; }
.recherche-vide { color: var(--texte-doux); }

/* ---------------------------------------------- commande, confirmation */
.ck h1 { font-size: clamp(1.8rem, 7.4vw, 2.8rem); border-bottom: 4px double var(--encre); padding-bottom: 8px; }
.ck-form { counter-reset: etape; }
.ck-form section { background: var(--papier); border: 2px solid var(--encre); border-radius: var(--rayon-photo); padding: 16px; }
.ck-form section > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.ck-form section > h2::before { counter-increment: etape; content: counter(etape); display: grid; place-items: center; width: 30px; height: 30px; flex: none; border: 2px solid var(--encre); border-radius: 6px; background: var(--accent); color: var(--encre-forte); font-size: 1rem; }
.ck-valider { background-image: var(--carreaux) !important; background-size: 16px 16px !important; }
.ck-resume { background-color: var(--papier); background-image: var(--carreaux); background-size: 16px 16px; border: 2px dashed var(--encre); border-radius: var(--rayon-photo); }
.ck-resume h2 { font-size: 1.1rem; }
.ck-ligne { background: var(--papier); }
.ck-ligne img { width: 56px; height: 56px; border: 1.5px solid var(--encre); border-radius: 8px; background: #fff; }
.ck-ligne span { font-weight: 700; }
.ck-totaux { border-top: 2px solid var(--encre); background: var(--papier); }
.ck-total { font-family: var(--police-titre); font-weight: 400; }
.ck-indisponible { background: var(--papier); border: 2px dashed var(--encre); }
.ck-cgv input { accent-color: var(--accent); }
.ck-securite, .ck-note { color: var(--texte-doux); }
.merci h1 { font-size: clamp(2rem, 8vw, 3.4rem); }
.merci { background: var(--papier); border: 2px solid var(--encre); border-radius: var(--rayon-photo); margin-top: 32px; margin-bottom: 0; }

/* ---------------------------------------------------- le dos du catalogue */
.dos { margin-top: 56px; padding: 30px 16px calc(22px + env(safe-area-inset-bottom)); background: var(--fond-2); border-top: 4px double var(--encre); }
.dos-grille, .dos-code, .dos .pied-legal, .dos-liens-ligne { max-width: 1280px; margin-left: auto; margin-right: auto; }
.dos-grille { display: grid; gap: 26px; }
.dos-titre { font-family: var(--police-titre); font-size: .98rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .6em; }
.dos-titre-nl { margin-top: 1.4em; }
.dos-marque p { font-size: .92rem; max-width: 46ch; }
.dos-col ul li a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dotted var(--bord); text-decoration: none; font-size: .94rem; }
.dos-col ul li a:hover { color: var(--bleu); text-decoration: underline; }
.dos-col ul li a span { color: var(--bleu); font-weight: 700; font-size: .8rem; }
.nl { display: flex; flex-wrap: wrap; gap: 8px; max-width: 440px; }
.nl input[type="email"] { flex: 1 1 180px; min-width: 0; padding: 0 12px; }
.nl button { min-height: 48px; padding: 0 16px; background: var(--accent); color: var(--encre-forte); border: 2px solid var(--encre); border-radius: var(--rayon); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.nl .form-message, .nl .newsletter-note { flex-basis: 100%; }
.nl .form-message:empty { min-height: 0; margin: 0; }
.nl .newsletter-note a { color: var(--bleu); }
.dos-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; padding: 14px 0; border-top: 1.5px dashed var(--encre); border-bottom: 1.5px dashed var(--encre); }
.code-barres { width: 150px; height: auto; }
.dos-code p { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .14em; color: var(--texte-doux); }
.dos .pied-legal { padding-top: 16px; }
.pied-legal-coord a, .pied-legal-liens a { color: var(--bleu); }
.pied-legal-coord a { display: inline-block; padding: 6px 0; }
.pied-legal-liens a { display: inline-block; padding: 8px 0; }
.logos-paiement svg { width: 46px; height: 29px; }
.pied-legal-copy { color: var(--texte-doux); }
.dos-leger { margin-top: 36px; }
.dos-liens-ligne { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: .84rem; border-bottom: 1.5px dashed var(--encre); padding-bottom: 8px; }
.dos-liens-ligne a { display: inline-block; padding: 9px 0; }

/* --------------------------------------------------------------------- 404 */
.introuvable { max-width: 760px; margin: 0 auto; padding: 40px 16px 20px; }
.introuvable h1 { font-size: clamp(2rem, 8.6vw, 3.6rem); line-height: 1.02; }
.sommaire-court { margin: 20px 0 26px; }

/* -------------------------------------------------------------- tablettes */
@media (min-width: 600px) {
  .couv-cat, .ft-long { display: inline; }
  .cat-chapo { display: block; }
  .couverture-photo img { aspect-ratio: 1; object-position: 50% 50%; }
  .chapo-suite { display: inline; }
  .logo-svg { width: 190px; }
  .bon-texte { display: inline; }
  .couv-retour span { display: inline; }
  .tampon { width: 124px; height: 124px; font-size: .95rem; right: 16px; top: 16px; }
}
@media (min-width: 760px) {
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
  .carte-nom { font-size: 1.08rem; }
  .cases { gap: 3px; }
  .cases .case { width: 12px; height: 12px; border-width: 1.5px; }
  .filtre-cases { flex-wrap: wrap; overflow: visible; }
  .dos-grille { grid-template-columns: 1fr 1fr; }
  .bon-etapes { grid-template-columns: repeat(3, 1fr); }
  .bon-feuille { padding: 26px 28px; }
}

/* ----------------------------------------------------------------- bureau */
@media (min-width: 900px) {
  .couv-bande { padding: 7px 28px; }
  .couv-barre { padding: 12px 28px; grid-template-columns: 1fr auto 1fr; }
  .logo-svg { width: 240px; }
  .couv-bouton span { display: inline; }
  .couv-bouton { padding: 0 12px; }
  .couv-menu { border: 2px solid var(--encre); background: var(--papier); }
  .sommaire-defile { justify-content: center; }
  .sommaire-defile a { padding: 13px 22px 11px; font-size: 1rem; }

  .couverture { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 30px 28px 10px; }
  .couverture-texte { padding: 0; }
  .couverture-texte h1 { font-size: clamp(3.4rem, 5.6vw, 5.4rem); }
  .chapo { font-size: 1.15rem; max-width: 34ch; }

  .sommaire { margin-top: 64px; max-width: 1280px; padding: 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 56px; align-items: start; }
  .sommaire .rubrique-tete { position: sticky; top: 20px; }
  .sommaire .rubrique-tete h2 { font-size: clamp(3rem, 5vw, 4.6rem); }
  .liste-cat li:nth-child(n+7) { display: list-item; }

  .double { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: 64px; padding: 0 28px; }
  .double-photo { padding: 18px; background: var(--papier); border: 2px solid var(--encre); border-right: 0; border-radius: var(--rayon-photo) 0 0 var(--rayon-photo); }
  .double-photo .folio { top: 28px; left: 28px; }
  .double-photo img { aspect-ratio: 4 / 5; object-position: 50% 50%; }
  .double-page { margin: 0; padding: 34px 34px 26px; border-radius: 0 var(--rayon-photo) var(--rayon-photo) 0; box-shadow: inset 14px 0 0 -12px var(--bord); }
  .double-page::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; border-left: 2px dashed var(--bord); }
  .double-inverse .double-photo { order: 2; border-right: 2px solid var(--encre); border-left: 0; border-radius: 0 var(--rayon-photo) var(--rayon-photo) 0; }
  .double-inverse .double-page { border-radius: var(--rayon-photo) 0 0 var(--rayon-photo); }
  .double-inverse .double-page::before { left: auto; right: -1px; border-left: 0; border-right: 2px dashed var(--bord); }
  .double-inverse .folio-droit { right: auto; left: 12px; }
  .double-inverse .double-page .surtitre { margin-top: 26px; }
  .double-inverse .double-photo .folio { left: auto; right: 28px; }
  .double-page h2 { font-size: clamp(3rem, 4.6vw, 4.4rem); }
  .liste-cat a { grid-template-columns: 70px 1fr auto; }

  .bon-encart, .mentions { padding-left: 28px; padding-right: 28px; }
  .bon-encart { margin-top: 64px; }
  .mentions p { columns: 2; column-gap: 40px; }

  .catalogue { padding: 34px 28px 30px; }
  .cat-tete { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 36px; }
  .cat-tete .surtitre { grid-column: 1 / -1; }
  .cat-chapo { padding-bottom: 10px; }

  .fiche { padding: 6px 28px 30px; }
  .fiche-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .fiche-photos { position: sticky; top: 16px; }
  .vues { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; }
  .vue { flex: none; }
  .vue-principale, .vue:nth-child(2):last-child { grid-column: 1 / -1; }
  .vue:nth-child(2):last-child img { aspect-ratio: 16 / 10; }
  .fiche-texte { padding-top: 0; }

  .edito { padding: 40px 28px 20px; }
  .edito-corps { columns: 2; column-gap: 44px; column-rule: 1.5px solid var(--bord); }
  .edito-corps p { break-inside: avoid-column; }
  .edito-encart { max-width: 520px; }

  .dos { padding: 40px 28px 28px; }
  .dos-grille { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
}
@media (min-width: 1100px) {
  .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* -------------------------------------------------- pages qui se tournent */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .carte:hover { transform: rotate(-1.2deg) translateY(-3px); }
  .carte:hover::after { width: 30px; height: 30px; }
  .double-photo img { transition: transform .35s ease; }
  .double-photo:hover img { transform: rotate(-.8deg) scale(1.01); }
  .couverture-photo:hover .tampon { transform: rotate(-6deg); }
  .tampon { transition: transform .3s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .carte:hover, .double-photo:hover img { transform: none; }
  .carte::after { display: none; }
}
