/* Styles propres au thème WordPress, en plus du design system (assets/ds/css/ds.css, à ne pas modifier).
   Ici : ce que WordPress et WooCommerce impriment eux-mêmes (contenu de l'éditeur, pagination, messages) et les petits écarts du thème. */

/* La barre d'administration (connecté) ne doit pas cacher l'en-tête collant. */
.admin-bar .dn-entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .dn-entete { top: 0; } }

/* Sélecteur de langue dans le menu mobile. */
.dn-langue--mobile { margin-top: var(--espace-3); justify-self: start; }

/* Contenu écrit dans l'éditeur (pages d'information). */
.dn-contenu > * { margin: 0; }
.dn-contenu h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; margin-top: var(--espace-6); }
.dn-contenu h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin-top: var(--espace-4); }
.dn-contenu p, .dn-contenu li { font-size: 17px; line-height: 27px; }
.dn-contenu ul, .dn-contenu ol { padding-left: 1.25em; display: grid; gap: var(--espace-2); }
.dn-contenu img { max-width: 100%; height: auto; }
.dn-contenu table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dn-contenu th, .dn-contenu td { text-align: left; padding: var(--espace-2) var(--espace-3); border-bottom: 1px solid var(--trait); }
.dn-contenu a { color: var(--encre); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Listes (recherche, archives). */
.dn-liste { display: grid; gap: var(--espace-6); }
.dn-liste__element { display: grid; gap: var(--espace-2); padding-bottom: var(--espace-6); border-bottom: 1px solid var(--trait); }

/* Recherche. */
.dn-recherche { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--espace-3); align-items: end; max-width: 560px; }
.dn-recherche input[type="search"] { box-shadow: inset 0 0 0 1.5px var(--trait-fort); }

/* Pagination de WordPress et de WooCommerce. */
.navigation.pagination, .woocommerce-pagination { margin-top: var(--espace-8); }
.nav-links, .woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: var(--espace-2); list-style: none; padding: 0; margin: 0; }
.page-numbers { display: inline-grid; place-items: center; min-width: var(--cible); min-height: var(--cible); padding: 0 14px; border-radius: var(--rayon-doux);
  box-shadow: inset 0 0 0 1.5px var(--trait-fort); color: var(--encre); text-decoration: none; font-weight: 600; }
a.page-numbers:hover { box-shadow: inset 0 0 0 2px var(--encre); }
.page-numbers.current { background: var(--encre); color: var(--papier); box-shadow: none; }
.page-numbers.dots { box-shadow: none; }

/* Messages de WooCommerce (ajout au panier, erreurs de formulaire) aux couleurs du composant Message. */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 var(--espace-6); padding: var(--espace-3) var(--espace-4); border-radius: var(--rayon-doux);
  display: flex; flex-wrap: wrap; gap: var(--espace-3); align-items: center; justify-content: space-between; font-size: 15px; line-height: 22px; }
.woocommerce-message { background: var(--succes-fond); color: var(--succes); }
.woocommerce-info { background: var(--papier-alt); color: var(--encre); }
.woocommerce-error { background: var(--erreur-fond); color: var(--erreur); display: grid; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; color: inherit; font-weight: 600; }

/* Grille de produits de WooCommerce, en attendant les cartes du design system (étape 3). */
ul.products { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--espace-6); }
ul.products li.product { display: grid; gap: var(--espace-2); align-content: start; }
ul.products li.product a { color: var(--encre); text-decoration: none; }
ul.products li.product img { width: 100%; height: auto; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
ul.products .woocommerce-loop-product__title { font-size: 16px; line-height: 22px; font-weight: 600; margin: var(--espace-2) 0 0; }
ul.products .price { font-family: var(--font-display); font-size: 24px; }
ul.products .button { display: none; }
@media (max-width: 1024px) { ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-4); } }
.woocommerce-result-count, .woocommerce-ordering { margin-bottom: var(--espace-4); color: var(--encre-douce); font-size: 15px; }
.term-description, .page-description { max-width: var(--texte-max); margin-bottom: var(--espace-8); display: grid; gap: var(--espace-3); }

/* ---------- Petits utilitaires (remplacent les styles en ligne des maquettes) ---------- */
.dn-badge--gauche { justify-self: start; }
.dn-pile { display: grid; gap: var(--espace-3); align-content: start; }
.dn-marge-bas { margin-bottom: var(--espace-8); }
.dn-ariane-haut { padding-block: var(--espace-4); }

/* ---------- Accueil ---------- */
.accueil-passeport { position: relative; }
.accueil-passeport .dn-tampon { position: absolute; }
.accueil-passeport .dn-tampon:first-child { left: 16%; top: 18%; }
.accueil-passeport .dn-tampon:last-child { right: 14%; bottom: 16%; }
.accueil-univers-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.accueil-sur-mesure { box-shadow: none; border-radius: 0; }
.accueil-sur-mesure__tampon { right: 40px; top: 28px; }
.recit .dn-photo { overflow: hidden; margin: 0; }
.recit .dn-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 640px) { .accueil-sur-mesure__tampon { top: auto; bottom: 52px; right: 16px; } }

/* ---------- Combinaison : onglets ---------- */
.combi-ancres a[aria-selected="true"] { background: var(--encre); color: var(--papier); box-shadow: none; }
.combi-ancres a[aria-selected="true"] span { color: inherit; opacity: .8; }
.combi-onglet[hidden] { display: none; }
.combi-onglet--passeport { background: var(--papier-alt); }
.combi-grille { padding-top: var(--espace-10, 40px); }
.tete-foot__texte { color: var(--encre-douce); max-width: 52ch; }
/* « Tout pour la Belgique / Tout pour l'Italie » : le filigrane maillot du bandeau (.dn-bandeau), même tuile, même
   taille et même mélange par pays ; le motif se poursuit d'une moitié à l'autre. */
.combi-pays { --dn-motif-base: clamp(64px, 10vw, 176px); }
.combi-pays a { position: relative; isolation: isolate; }
.combi-pays a::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--dn-motif-maillot); background-repeat: repeat; background-size: calc(8 * var(--dn-motif-base)) auto; }
.combi-pays a:first-child::before { mix-blend-mode: var(--pays-a-motif); background-position: right top; }
.combi-pays a:last-child::before { mix-blend-mode: var(--pays-b-motif); background-position: 0 calc(-6 * 0.8763 * var(--dn-motif-base)); }

/* ---------- Filtres des pages de liste ---------- */
.dn-filtres { display: flex; flex-wrap: wrap; align-items: end; gap: var(--espace-3) var(--espace-4); margin-bottom: var(--espace-6); }
.dn-filtres__champ { display: grid; gap: 6px; min-width: 160px; }
.dn-filtres__champ label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.dn-filtres select { min-height: var(--cible); padding: 8px 36px 8px 12px; border: 0; border-radius: var(--rayon-doux); background: var(--papier); color: var(--encre);
  box-shadow: inset 0 0 0 1.5px var(--trait-fort); font: inherit; appearance: auto; }
.dn-filtres select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dn-filtres__effacer { align-self: center; color: var(--encre-douce); font-size: 15px; }
.js .dn-filtres__envoyer { display: none; }
.dn-liste-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--espace-3); margin-bottom: var(--espace-4); color: var(--encre-douce); font-size: 15px; }
.dn-vide { display: grid; gap: var(--espace-3); justify-items: start; padding: var(--espace-8); background: var(--papier-alt); border-radius: var(--rayon-doux); }

/* ---------- Fiche produit ---------- */
.galerie__bande { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; }
.galerie__bande::-webkit-scrollbar { display: none; }
.galerie__photo { flex: 0 0 100%; margin: 0; scroll-snap-align: start; display: grid; place-items: center; }
.galerie__photo img { width: 100%; height: 100%; object-fit: contain; }
.galerie__points span.actif { background: var(--encre); width: 20px; }
.galerie__points span:first-child:not(.actif) { width: 8px; background: var(--trait); }
.js .galerie__points span:first-child { width: 8px; background: var(--trait); }
.js .galerie__points span.actif { background: var(--encre); width: 20px; }
.achat__resume p + p { margin-top: var(--espace-2); }
.achat__public { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--rayon-rond); background: var(--papier-alt); justify-self: start; }
.achat__public a { display: inline-grid; place-items: center; min-height: 40px; padding: 0 20px; border-radius: var(--rayon-rond); color: var(--encre); text-decoration: none; font-weight: 600; font-size: 15px; }
.achat__public a[aria-current="page"] { background: var(--encre); color: var(--papier); }
.achat__public a:not([aria-current]):hover { box-shadow: inset 0 0 0 2px var(--encre); }
.dn-icone--texte { vertical-align: -4px; margin-right: 4px; }
.achat__logos { display: contents; }
.achat__logos img { height: 24px; width: auto; }
.dn-flocage__champs--numero { grid-template-columns: 96px; }
.dn-avis__moyenne { color: var(--encre-douce); }
.dn-avis__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--espace-4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.dn-avis__un { display: grid; gap: var(--espace-2); padding: var(--espace-6); background: var(--papier-alt); border-radius: var(--rayon-doux); }
.dn-avis__note { color: var(--encre); letter-spacing: .1em; }
.dn-avis .dn-section__tete { margin-bottom: var(--espace-4); }
.page-fiche .dn-section.dn-avis { padding-top: 0; }

/* ---------- Avis clients de l'accueil ---------- */
.accueil-avis__resume { color: var(--encre-douce); font-size: 15px; }
.accueil-avis__resume strong { color: var(--encre); font-family: var(--font-display); font-size: 28px; font-weight: 400; letter-spacing: .02em; margin-right: 2px; }
.accueil-avis blockquote { margin: 0; }
/* Les avis cités se partagent toute la largeur (auto-fit) : pas de colonne vide à droite sur grand écran. */
.accueil-avis .dn-avis__liste { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- La presse en parle (inc/presse.php) ---------- */
.dn-presse__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--espace-4); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.dn-presse__un { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--espace-2); padding: var(--espace-6); background: var(--papier); border-radius: var(--rayon-doux); box-shadow: inset 0 0 0 1px var(--trait); }
.dn-presse__media { font-family: var(--font-display); font-size: 36px; line-height: 1; letter-spacing: .02em; color: var(--encre); }
.dn-presse__texte { color: var(--encre); }
.dn-presse__lien { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-1) var(--espace-3); margin-top: var(--espace-2); }
.dn-section:not(.dn-section--alt).dn-presse .dn-presse__un { background: var(--papier-alt); box-shadow: none; }
.accueil-avis .dn-avis__auteur a { color: inherit; }

/* ---------- Ils portent leurs 2 nations (inc/portent.php) ---------- */
/* Fond « tribune » (sombre) : la section tranche entre les univers et les combinaisons. Sur téléphone,
   le mur défile à l'horizontale (dn-defile) ; au-delà, grille de 3 ou 4 colonnes, la première photo sur 2 × 2. */
.portent { background: var(--papier); color: var(--encre); }
.portent__appel { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-1) var(--espace-3); color: var(--encre-douce); }
.portent__mur { list-style: none; padding: 0; margin: 0; gap: var(--espace-4); }
.portent__un { position: relative; min-width: 0; }
/* La photo passe sous la légende (z-index -1 dans la figure isolée) : la légende reste dans le flux, et le lien
   étendu (::after) se cale sur la figure, pas sur la légende. */
.portent__photo { position: relative; isolation: isolate; display: grid; align-content: end; margin: 0; height: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon-doux); background: var(--papier-alt); }
.portent__image { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.portent__legende { display: grid; gap: var(--espace-1); padding: var(--espace-12) var(--espace-3) var(--espace-3);
	background: linear-gradient(180deg, rgba(15, 18, 24, 0) 0%, rgba(15, 18, 24, .82) 70%); color: #FFFFFF; font-size: 15px; line-height: 20px; font-weight: 600; }
.portent__paire { display: flex; align-items: center; gap: var(--espace-2); }
.portent__paire a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.portent__paire a:hover { text-decoration-color: currentColor; }
.portent__paire a:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; border-radius: 2px; }
.portent__drapeau { display: block; width: 24px; height: 18px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); }
.portent__credit { font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .78); }
/* Une seule paire : toute la photo est cliquable (le lien s'étend sur la carte). */
.portent__un--lien .portent__paire a::after { content: ""; position: absolute; inset: 0; }
@media (prefers-reduced-motion: no-preference) {
	.portent__image { transition: transform .4s ease; }
	.portent__un--lien:hover .portent__image { transform: scale(1.03); }
}
@media (min-width: 641px) {
	.portent__mur { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; }
	.portent__un--vedette { grid-column: span 2; grid-row: span 2; }
	.portent__un--vedette .portent__photo { aspect-ratio: auto; }
	.portent__un--vedette .portent__legende { padding: var(--espace-16) var(--espace-6) var(--espace-6); font-size: 18px; line-height: 24px; }
	.portent__un--vedette .portent__drapeau { width: 32px; height: 24px; }
}
@media (min-width: 1024px) {
	.portent__mur { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Pays ---------- */
.pays-tete__grille { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--espace-6); align-items: center; margin-top: var(--espace-4); }
.pays-tete__drapeau { width: 96px; height: 72px; }
.pays-tete__couture { margin-top: var(--espace-6); }
.pays-combis { display: grid; gap: var(--espace-3); margin-top: var(--espace-6); }
@media (max-width: 640px) { .pays-tete__grille { grid-template-columns: 1fr; gap: var(--espace-3); } .pays-tete__drapeau { width: 64px; height: 48px; } }

/* ---------- Univers ---------- */
.univers-tete { position: relative; overflow: hidden; }
.univers-tete .dn-tribune__contenu { padding-block: var(--espace-8) var(--espace-12); display: grid; gap: var(--espace-4); }
.univers-tete--passeport { background: var(--papier-alt); }
.univers-tete__texte { color: var(--encre-douce); max-width: 56ch; font-size: 17px; line-height: 26px; }
.univers-tete .dn-ariane a, .univers-tete .dn-ariane ol { color: var(--encre-douce); }
.univers-sous { display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.univers-sous a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: var(--rayon-rond); font-weight: 600; font-size: 15px; }
.univers-sous a { color: var(--encre); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--trait-fort); }
.univers-sous a:hover { box-shadow: inset 0 0 0 2px var(--encre); }
.univers-sous a[aria-current="page"] { background: var(--encre); color: var(--papier); box-shadow: none; }
.dn-marge-haut { margin-top: var(--espace-6); }

/* ---------- Folklore ---------- */
.folklore-histoire p:first-child { font-size: 20px; line-height: 30px; }
.folklore-carte { grid-template-columns: minmax(0, 1fr); }
.folklore-carte__duo { min-height: 120px; }
.folklore-carte__visuel { aspect-ratio: 3 / 2; }
.folklore-carte .dn-passeport__corps { display: grid; gap: var(--espace-2); }

/* ---------- Panier, paiement, compte (blocs WooCommerce) ---------- */
.dn-boutique-page { font-size: 16px; }
.dn-boutique-page a { color: var(--encre); }
.dn-boutique-page .wc-block-components-button:not(.is-link),
.dn-boutique-page .wc-block-cart__submit-button,
.dn-boutique-page .woocommerce-button, .dn-boutique-page .woocommerce-Button, .dn-boutique-page button.button {
  min-height: var(--cible); border: 0; border-radius: var(--rayon-doux); background: var(--bouton); color: var(--sur-bouton); font-family: var(--font-texte, inherit); font-weight: 600;
  box-shadow: inset 0 -4px 0 0 var(--pays-a); text-decoration: none; }
.dn-boutique-page .wc-block-components-button:not(.is-link):hover { background: var(--bouton-survol, var(--bouton)); }
.dn-boutique-page .wc-block-components-button:not(.is-link) .wc-block-components-button__text { color: var(--sur-bouton); }
.dn-boutique-page .wc-block-components-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dn-boutique-page .wc-block-components-totals-item__label, .dn-boutique-page .wc-block-components-product-name { font-weight: 600; }
.dn-boutique-page .wc-block-components-text-input input, .dn-boutique-page .wc-block-components-combobox .components-combobox-control__input,
.dn-boutique-page .wc-blocks-components-select__select { border-radius: var(--rayon-doux); }
.dn-boutique-page .wc-block-components-product-metadata { font-size: 14px; color: var(--encre-douce); }

/* ---------- Page de remerciement (woocommerce/checkout/thankyou.php) ---------- */
.dn-merci { display: grid; gap: var(--espace-8); grid-template-columns: minmax(0, 1fr); align-items: start; max-width: 1080px;
  grid-template-areas: "intro" "suite" "commande" "adresses" "actions"; }
.dn-merci > * { grid-column: 1 / -1; } /* instructions de paiement et autres ajouts : toute la largeur */
.dn-merci__intro { grid-area: intro; display: grid; gap: var(--espace-6); }
.dn-merci__suite { grid-area: suite; }
.dn-merci__commande { grid-area: commande; }
.dn-merci__adresses { grid-area: adresses; }
.dn-merci__actions { grid-area: actions; }
@media (min-width: 900px) {
  .dn-merci { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 48px;
    grid-template-areas: "intro intro" "commande suite" "commande adresses" "actions actions"; }
}
.dn-merci h2.dn-h3 { margin: 0 0 var(--espace-4); }
.dn-merci__chapeau { margin: 0; max-width: 38em; font-size: 20px; line-height: 30px; }
.dn-merci__chapeau strong { font-weight: 600; overflow-wrap: anywhere; }
.dn-merci__note { margin: 0; padding: var(--espace-3) var(--espace-4); border-radius: var(--rayon-doux); background: var(--papier-alt); }
.dn-merci__recap-boite { overflow: hidden; border-radius: var(--rayon-doux); background: var(--papier-alt); }
.dn-merci__recap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--trait); }
.dn-merci__recap > div { display: grid; gap: 4px; align-content: start; padding: var(--espace-4) var(--espace-6); background: var(--papier-alt); }
.dn-merci__recap dt { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-douce); }
.dn-merci__recap dd { margin: 0; font-family: var(--font-display); font-size: 26px; line-height: 1.1; letter-spacing: 0.02em; overflow-wrap: break-word; }
@media (max-width: 720px) {
  .dn-merci__recap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dn-merci__recap > div { padding: var(--espace-3) var(--espace-4); }
  .dn-merci__recap dd { font-size: 24px; }
}
.dn-merci__suite { padding: var(--espace-6); border-radius: var(--rayon-doux); background: var(--papier-alt); }
.dn-merci__etapes { display: grid; gap: var(--espace-4); margin: 0; padding: 0; list-style: none; }
.dn-merci__etapes li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--espace-3); align-items: start; }
.dn-merci__etapes .dn-icone { box-sizing: border-box; width: 40px; height: 40px; padding: 8px; border-radius: var(--rayon-rond); background: var(--papier); color: var(--encre); }
.dn-merci__etapes strong { display: block; font-size: 17px; line-height: 24px; }
.dn-merci__etapes p { margin: 2px 0 0; font-size: 15px; line-height: 22px; color: var(--encre-douce); }
.dn-merci__etapes a { font-weight: 600; }
.dn-merci__articles { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.dn-merci__article { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: var(--espace-4); align-items: start; padding-block: var(--espace-4); border-bottom: 1px solid var(--trait); }
.dn-merci__article a { text-decoration: none; }
.dn-merci__vignette { display: block; width: 88px; height: 88px; object-fit: cover; border-radius: var(--rayon-doux); background: var(--papier-alt); }
.dn-merci__nom { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2); margin: 0 0 var(--espace-2); font-size: 17px; line-height: 24px; font-weight: 600; }
.dn-merci__nom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dn-merci__quantite { color: var(--encre-douce); font-weight: 400; }
.dn-merci__metas { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.dn-merci__metas > div { display: inline-flex; gap: 4px; padding: 4px 10px; border-radius: var(--rayon-rond); background: var(--papier-alt); font-size: 14px; line-height: 20px; }
.dn-merci__metas dt { color: var(--encre-douce); }
.dn-merci__metas dt::after { content: "\00a0:"; }
.dn-merci__metas dd { margin: 0; font-weight: 600; }
.dn-merci__prix { margin: 0; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .dn-merci__article { grid-template-columns: 64px minmax(0, 1fr); }
  .dn-merci__vignette { width: 64px; height: 64px; }
  .dn-merci__prix { grid-column: 2; }
}
.dn-merci__totaux { display: grid; gap: var(--espace-2); max-width: 380px; margin: var(--espace-4) 0 0 auto; }
.dn-merci__totaux > div { display: flex; justify-content: space-between; gap: var(--espace-4); }
.dn-merci__totaux dt { color: var(--encre-douce); }
.dn-merci__totaux dd { margin: 0; text-align: right; }
.dn-merci__totaux .dn-merci__total { padding-top: var(--espace-3); border-top: 1px solid var(--trait); font-size: 18px; font-weight: 600; }
.dn-merci__total dt { color: var(--encre); }
.dn-merci__total small { display: block; font-size: 13px; font-weight: 400; color: var(--encre-douce); }
.dn-merci__adresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--espace-4); }
.dn-merci__adresse { padding: var(--espace-4) var(--espace-6); border-radius: var(--rayon-doux); box-shadow: inset 0 0 0 1px var(--trait); }
.dn-merci__adresse-titre { margin: 0 0 var(--espace-2); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-douce); }
.dn-merci address { font-style: normal; font-size: 15px; line-height: 22px; overflow-wrap: anywhere; }
.dn-merci__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3) var(--espace-6); margin: 0; }
.dn-merci__aide { color: var(--encre-douce); }
.dn-merci__aide a { font-weight: 600; }
@media (max-width: 560px) { .dn-merci__actions .dn-bouton { width: 100%; } }

/* ---------- Toutes les combinaisons ---------- */
.combis-index { margin: var(--espace-4) 0 var(--espace-2); }
.combis-groupe { margin-top: var(--espace-10, 40px); scroll-margin-top: 96px; }
.combis-groupe__titre { display: flex; align-items: center; gap: var(--espace-3); margin-bottom: var(--espace-4); }
.combis-groupe__titre .dn-drapeau { width: 36px; height: 27px; border-radius: 2px; box-shadow: 0 0 0 1px var(--trait); }
.combis-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--espace-4); }
@media (max-width: 560px) { .combis-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-3); } }

/* ---------- Pages d'information : FAQ en <details> (sans JavaScript), formulaire de contact ---------- */
.dn-faq { border-bottom: 1px solid var(--trait); padding-block: var(--espace-2); }
.dn-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--espace-4); align-items: center; min-height: var(--cible);
  font-weight: 600; font-size: 17px; line-height: 24px; }
.dn-faq summary::-webkit-details-marker { display: none; }
.dn-faq summary::after { content: "+"; font-family: var(--font-display); font-size: 28px; line-height: 1; }
.dn-faq[open] summary::after { content: "\2013"; }
.dn-faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dn-faq > :not(summary) { margin: 0 0 var(--espace-3); }
.dn-contenu .wpcf7 form { display: grid; gap: var(--espace-4); }
.dn-contenu .wpcf7 label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.dn-contenu .wpcf7 input:not([type=submit]):not([type=checkbox]), .dn-contenu .wpcf7 textarea, .dn-contenu .wpcf7 select { width: 100%; min-height: var(--cible); padding: 10px 14px; border: 0;
  border-radius: var(--rayon-doux); background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--trait-fort); font: inherit; color: var(--encre); }
.dn-contenu .wpcf7 input[type=submit] { justify-self: start; min-height: var(--cible); padding: 0 24px; border: 0; border-radius: var(--rayon-doux); background: var(--bouton); color: var(--sur-bouton);
  font: inherit; font-weight: 600; cursor: pointer; }
.dn-tailles__liste--larges { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }

/* ---------- Sur-mesure ---------- */
.dn-sur-mesure { grid-template-columns: minmax(0, 1fr); }
.dn-sur-mesure__pays { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-3); }
.dn-sur-mesure__choix { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--espace-2) var(--espace-6); }
.dn-sur-mesure__choix legend { width: 100%; margin-bottom: var(--espace-2); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.dn-case { display: inline-flex; align-items: center; gap: var(--espace-2); min-height: var(--cible); cursor: pointer; font-weight: 600; }
.dn-case input { width: 22px; height: 22px; accent-color: var(--encre); }
@media (max-width: 480px) { .dn-sur-mesure__pays { grid-template-columns: 1fr; } }
.dn-sur-mesure textarea { width: 100%; padding: 10px 14px; border: 0; border-radius: var(--rayon-doux); background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--trait-fort); font: inherit; color: var(--encre); resize: vertical; }
.dn-sur-mesure textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dn-demande-erreurs { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.dn-demande-envoyee { padding: var(--espace-4); font-size: 16px; line-height: 24px; }
.dn-demande-envoyee .dn-icone { width: 24px; height: 24px; }
.dn-demande-envoyee a { color: inherit; font-weight: 600; }
.dn-etapes { counter-reset: etape; list-style: none; margin: 0; }
.dn-etapes li { counter-increment: etape; display: grid; grid-template-columns: 28px 1fr; gap: var(--espace-2); }
.dn-etapes li::before { content: counter(etape); font-family: var(--font-display); font-size: 22px; line-height: 22px; }
.dn-notices { padding-top: var(--espace-4); }

/* ---------- Folklore : tes deux géants (Ducasse d'Ath, inc/geants.php) ---------- */
.dn-duo { grid-template-columns: minmax(0, 1fr); }
/* La photo du duo choisi reste à l'écran pendant le choix (ordinateur) ; sur téléphone, la vignette de la barre d'achat la remplace. */
@media (min-width: 961px) { .fiche--duo .galerie { position: sticky; top: calc(var(--entete-hauteur) + 24px); } }
.dn-achat-collant__vignette { flex: none; width: 48px; height: 48px; border-radius: var(--rayon-doux); object-fit: cover; background: var(--papier-alt); }
.dn-duo__cote { border: 0; padding: 0; margin: 0; min-width: 0; }
.dn-duo__cote legend { float: none; display: block; padding: 0; margin-bottom: var(--espace-2); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.dn-duo__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--espace-2); }
.dn-duo__choix span { justify-content: start; justify-items: start; grid-template-columns: 14px 1fr; gap: var(--espace-2); padding: 6px 12px; text-align: left; line-height: 18px; }
.dn-duo__choix span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--pastille); box-shadow: 0 0 0 1.5px var(--papier); }
.dn-duo__choix input:disabled + span { text-decoration: none; opacity: .45; }
.dn-geants { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--espace-3); }
.dn-geant a { display: grid; gap: 4px; height: 100%; padding: var(--espace-4); padding-left: calc(var(--espace-4) + 10px); border-radius: var(--rayon-doux); background: var(--papier-alt);
  color: inherit; text-decoration: none; box-shadow: inset 6px 0 0 var(--pastille); }
.dn-geant a:hover { box-shadow: inset 6px 0 0 var(--pastille), inset 0 0 0 2px var(--encre); }
.dn-geant a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dn-geant__dessin { display: block; height: 168px; margin: calc(-1 * var(--espace-4)) calc(-1 * var(--espace-4)) var(--espace-2) calc(-1 * var(--espace-4) - 10px); border-radius: var(--rayon-doux) var(--rayon-doux) 0 0; background: var(--pastille); overflow: hidden; }
.dn-geant__dessin img { display: block; width: auto; height: 100%; }
.dn-geant__nom { font-family: var(--font-display); font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.dn-geant__role { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
@media (max-width: 480px) { .dn-duo__liste { grid-template-columns: 1fr 1fr; } }

/* ---------- Guide des tailles de la fiche (inc/guide-tailles.php) ---------- */
/* Fenêtre <dialog> : le tableau du produit seul. Sur téléphone, elle monte du bas et prend presque tout l'écran ;
   le tableau défile en largeur dans son cadre, la colonne des tailles reste visible. */
html:has(.dn-guide[open]) { overflow: hidden; }
.dn-guide { width: min(680px, calc(100vw - 2 * var(--espace-4))); max-width: none; max-height: min(720px, calc(100dvh - 2 * var(--espace-6)));
  padding: 0; border: 0; border-radius: var(--rayon-doux); background: var(--papier); color: var(--encre); box-shadow: var(--ombre-flottante); overflow: hidden; }
.dn-guide[open] { display: flex; }
.dn-guide::backdrop { background: rgba(21, 26, 37, .6); }
.dn-guide__boite { display: flex; flex-direction: column; min-height: 0; width: 100%; }
.dn-guide__tete { display: flex; align-items: center; justify-content: space-between; gap: var(--espace-3);
  padding: var(--espace-3) var(--espace-3) var(--espace-3) var(--espace-6); border-bottom: 1px solid var(--trait); }
.dn-guide__tete .dn-h3 { margin: 0; }
.dn-guide__fermer { flex: none; }
.dn-guide__fermer .dn-icone { width: 20px; height: 20px; }
.dn-guide__corps { display: grid; grid-auto-rows: max-content; gap: var(--espace-4); padding: var(--espace-6); overflow-y: auto; overscroll-behavior: contain; }
.dn-guide__corps p { font-size: 15px; line-height: 22px; color: var(--encre-douce); }
.dn-guide__defile { overflow-x: auto; overscroll-behavior-x: contain; border-radius: var(--rayon-doux); box-shadow: inset 0 0 0 1px var(--trait); }
.dn-guide__defile:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dn-guide__defile table { min-width: 520px; }
.dn-guide__defile th { font-size: 13px; line-height: 18px; vertical-align: bottom; background: var(--papier-alt); }
.dn-guide__defile th, .dn-guide__defile td { white-space: nowrap; }
.dn-guide__defile tbody tr:last-child td { border-bottom: 0; }
.dn-guide__defile th:first-child, .dn-guide__defile td:first-child { position: sticky; left: 0; font-weight: 600; background: var(--papier); box-shadow: inset -1px 0 0 var(--trait); }
.dn-guide__defile th:first-child { background: var(--papier-alt); }
@media (max-width: 640px) {
  .dn-guide { width: 100vw; max-height: calc(100dvh - var(--espace-8)); margin: auto 0 0; border-radius: var(--rayon-doux) var(--rayon-doux) 0 0; }
  .dn-guide__tete { padding-left: var(--espace-4); }
  .dn-guide__corps { padding: var(--espace-4) var(--espace-4) calc(var(--espace-6) + env(safe-area-inset-bottom, 0px)); }
}
/* Page Guide des tailles : les ancres des fiches ne passent pas sous l'en-tête collant. */
.dn-contenu h2[id] { scroll-margin-top: calc(var(--entete-hauteur) + var(--espace-4)); }

/* ---------- Aperçu d'une collection masquée (inc/collections.php, administrateur seulement) ---------- */
.dn-apercu-masque { margin: 0; padding: var(--espace-2) var(--espace-4); background: var(--or); color: var(--nuit); font-size: 14px; line-height: 20px; text-align: center; }
.dn-apercu-masque a { color: inherit; font-weight: 600; text-decoration: underline; }
