/* Boutique Glucks 2027 — feuille de style du thème.
   Charte de la campagne : bleu #00329e, rose #f90290 (rose foncé #db027f pour le texte et les boutons), blanc dominant,
   Anton pour les titres, Lato pour le texte. Aplats, pas de dégradés.
   Plan : 1 base · 2 bandeau du haut · 3 boutons et petits éléments · 4 accueil · 5 produits · 6 fiche produit (galerie,
   vue 3D, plein écran) · 7 panier (lignes, tiroir, page), paiement, confirmation, suivi de commande, contact ·
   8 pages de texte · 9 pied de page · 10 page d'attente. */

@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/anton-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/anton-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1. Base ---------- */

:root {
  --bleu: #00329e;
  --bleu-fonce: #002478;
  --rose: #f90290;
  --rose-fonce: #db027f;
  --rose-nuit: #b4026a;
  --encre: #0d0d0d;
  --doux: #5c5c57;
  --ligne: rgba(0, 50, 158, 0.16);
  --givre: #f4f6fb;
  --blanc: #ffffff;
  --titre: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --texte: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rayon: 6px;
  --rayon-l: 14px;
  --ombre: 0 22px 44px -26px rgba(0, 36, 120, 0.55);
  --gouttiere: clamp(18px, 4vw, 40px);
  --haut: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--haut) + 16px); }
body { margin: 0; background: var(--blanc); color: var(--encre); font-family: var(--texte); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--bleu); text-underline-offset: 3px; }
a:hover { color: var(--rose-fonce); }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; line-height: 1.12; letter-spacing: 0.01em; color: var(--bleu); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 2px; }
.conteneur { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gouttiere); }
.evitement { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--bleu); color: #fff; padding: 10px 14px; border-radius: var(--rayon); }
.evitement:focus { top: 8px; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }
.ic--petit { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }

/* D'une page à l'autre : fondu, et l'image d'un objet glisse de sa carte à sa fiche (navigateurs qui savent faire). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.26s; }
::view-transition-group(*) { animation-duration: 0.38s; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- 2. Bandeau du haut ---------- */

.topbar { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--ligne); }
.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } }
@media (max-width: 600px) { .admin-bar .topbar { top: 0; } }
.topbar__int { display: flex; align-items: center; gap: 28px; min-height: var(--haut); }
.topbar__accueil { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bleu); }
.topbar .topbar__logo { height: 46px; width: auto; display: block; }
.topbar__mot { font-family: var(--titre); text-transform: uppercase; font-size: 17px; letter-spacing: 0.04em; padding-left: 12px; border-left: 2px solid var(--rose); line-height: 1.5; white-space: nowrap; }
.topbar__nav { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: 15px; }
.topbar__nav a { display: inline-flex; align-items: center; gap: 6px; color: var(--encre); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s, color 0.2s; }
.topbar__nav a:hover { color: var(--bleu); border-bottom-color: var(--rose); }
.panier { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--bleu); border-radius: var(--rayon); color: var(--bleu); font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.panier:hover { background: var(--bleu); color: #fff; }
.panier__ic { width: 20px; height: 20px; }
.panier__nb { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--rose-fonce); color: #fff; font-size: 12.5px; line-height: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.panier__nb.est-vide { display: none; }
@media (max-width: 860px) { .topbar__nav { display: none; } .panier { margin-left: auto; } .topbar .topbar__logo { height: 40px; } :root { --haut: 60px; } }
@media (max-width: 420px) { .panier__mot { display: none; } .topbar__mot { font-size: 15px; } }

.apercu { margin: 0; padding: 9px var(--gouttiere); background: var(--givre); border-bottom: 1px solid var(--ligne); color: var(--bleu); font-size: 14px; font-weight: 700; text-align: center; }

/* ---------- 3. Boutons et petits éléments ---------- */

.btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1.5px solid var(--rose-fonce); border-radius: var(--rayon);
  background: var(--rose-fonce); color: #fff; font-family: var(--texte); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--rose-nuit); border-color: var(--rose-nuit); color: #fff; }
.btn:active, .woocommerce button.button:active { transform: translateY(1px); }
.btn__ic { width: 18px; height: 18px; flex: none; transition: transform 0.2s; }
.btn:hover .btn__ic { transform: translateX(3px); }
.btn--large { min-height: 56px; padding: 15px 28px; font-size: 17px; }
.btn--petit { min-height: 42px; padding: 9px 14px; font-size: 14.5px; gap: 8px; }
.btn--contour { background: transparent; color: var(--bleu); border-color: var(--bleu); }
.btn--contour:hover { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.woocommerce a.button.disabled, .woocommerce button.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce button.button.alt.disabled { background: #c9ccd6; border-color: #c9ccd6; color: #fff; opacity: 1; cursor: not-allowed; padding: 12px 22px; }
.woocommerce button.button.alt.disabled:hover, .woocommerce button.button:disabled:hover { background: #c9ccd6; color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--rose-fonce); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--rose-nuit); color: #fff; }
.lien { font-weight: 700; color: var(--bleu); text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; }
.lien:hover { color: var(--rose-fonce); }

.sur { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--rose-fonce); font-weight: 700; font-size: 16px; }
.sur__ic { width: 18px; height: 18px; flex: none; }

/* Étiquette cadeau : le prix. */
.etiquette { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 5px 14px 5px 30px; background: var(--givre); color: var(--bleu); font-weight: 700; font-size: 17px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%); }
.etiquette::before { content: ''; position: absolute; left: 14px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--blanc); box-shadow: 0 0 0 1.5px var(--rose-fonce); }
.etiquette--vide { color: var(--doux); font-weight: 400; font-size: 15px; }
.etiquette .woocommerce-Price-amount { color: inherit; }

/* Compte à rebours */
.compte__libelle { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.compte__chiffres { display: flex; gap: 10px; }
.compte__case { display: grid; justify-items: center; gap: 2px; min-width: 62px; padding: 10px 8px 8px; border: 1px solid var(--ligne); border-radius: var(--rayon); }
.compte__n { font-family: var(--titre); font-size: 34px; line-height: 1; color: var(--bleu); font-variant-numeric: tabular-nums; }
.compte__u { font-size: 12.5px; color: var(--doux); }

/* Repères : paiement, livraison, retours */
.reperes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.reperes__un { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--doux); }
.reperes__un strong { color: var(--encre); }
.reperes__ic { width: 26px; height: 26px; flex: none; color: var(--bleu); margin-top: 1px; }

/* Neige : un canevas posé par boutique.js dans les zones [data-neige] */
[data-neige] { position: relative; }
.neige { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
[data-neige] > .conteneur, [data-neige] > header, [data-neige] > main, [data-neige] > footer { position: relative; z-index: 1; }

/* ---------- 4. Accueil ---------- */

.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(40px, 7vw, 92px); overflow: hidden; }
.hero__int { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.hero__titre { font-size: clamp(42px, 6.6vw, 86px); max-width: 11ch; }
.hero__sous { margin: 22px 0 0; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--doux); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin: 30px 0 0; }
/* Le slogan, tel que fourni : posé sur le blanc, sans cadre ni ornement. Son rose est celui du fichier des graphistes. */
.hero__visuel { justify-self: end; width: min(100%, 330px); }
.hero__slogan { width: 100%; height: auto; }
.slogan { display: block; color: var(--bleu); }
.slogan__rose { fill: #e6007e; }
.slogan__blanc { fill: #fff; }
.slogan__encre { fill: currentColor; }
/* Sans le slogan (page d'attente en place, ou slogan masqué) : l'accroche tient seule. */
.hero--seul .hero__int { grid-template-columns: minmax(0, 1fr); }
.hero--seul .hero__titre { max-width: 16ch; }
@media (max-width: 860px) {
  .hero__int { grid-template-columns: 1fr; }
  .hero__visuel { justify-self: start; width: min(58vw, 230px); order: -1; }
  .hero__titre { max-width: 14ch; }
}

.veille { background: var(--bleu); color: #fff; padding: clamp(34px, 5vw, 60px) 0; overflow: hidden; }
.veille__int { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px 60px; }
.veille__titre { color: #fff; font-size: clamp(30px, 4vw, 48px); }
.veille__sous { margin: 12px 0 0; max-width: 34em; color: rgba(255, 255, 255, 0.86); }
.jours { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.jours__jour { display: grid; gap: 1px; min-width: 74px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--rayon); font-size: 13px; line-height: 1.3; }
.jours__n { font-weight: 700; }
.jours__date { color: rgba(255, 255, 255, 0.8); }
.jours__jour.est-passe { border-color: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.55); text-decoration: line-through; }
.jours__jour.est-passe .jours__date { color: inherit; }
.jours__jour.est-en-cours { background: #fff; border-color: #fff; color: var(--bleu); }
.jours__jour.est-en-cours .jours__date { color: var(--rose-fonce); font-weight: 700; }
.compte--veille .compte__libelle { color: #fff; }
.compte--veille .compte__case { border-color: rgba(255, 255, 255, 0.45); min-width: 76px; padding: 14px 10px 10px; }
.compte--veille .compte__n { color: #fff; font-size: clamp(38px, 4.4vw, 54px); }
.compte--veille .compte__u { color: rgba(255, 255, 255, 0.82); }
@media (max-width: 520px) { .compte--veille .compte__case { min-width: 0; flex: 1; } .compte--veille { width: 100%; } .jours { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .jours__jour { min-width: 0; padding: 8px 6px; font-size: 12px; } }

.collection { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 76px); }
.tete { margin: 0 0 clamp(26px, 4vw, 44px); }
.tete__titre { font-size: clamp(32px, 4.4vw, 54px); }
.tete__sous { margin: 12px 0 0; color: var(--doux); font-size: 18px; max-width: 40em; }

.infos { padding: clamp(40px, 6vw, 76px) 0; border-top: 1px solid var(--ligne); }
.reperes--accueil { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.infos__cgv { margin: 30px 0 0; }
@media (max-width: 760px) { .reperes--accueil { grid-template-columns: 1fr; gap: 20px; } }

.soutien { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--ligne); }
.soutien__int { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.soutien__phrase { margin: 0; font-family: var(--titre); text-transform: uppercase; color: var(--bleu); font-size: clamp(24px, 3vw, 36px); line-height: 1.1; max-width: 20em; text-wrap: balance; }
.soutien__liens { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- 5. Produits ---------- */

.objets, .woocommerce ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 34px); }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.objets__li, .woocommerce ul.products li.product { float: none; width: auto; margin: 0; padding: 0; }
.objets--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.objets--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
.objets--1 { grid-template-columns: minmax(0, 360px); }
@media (max-width: 1040px) { .objets, .objets--3, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* La carte : l'objet posé sur un fond givré. Au survol (souris), le fond s'incline vers le pointeur — les angles
   --rx et --ry sont tenus par boutique.js — et l'objet avance. */
.objet { display: flex; flex-direction: column; height: 100%; }
.objet__lien { display: block; text-decoration: none; color: inherit; border-radius: var(--rayon-l); }
.objet__scene { position: relative; display: block; perspective: 900px; }
.objet__visuel { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--givre); border-radius: var(--rayon-l); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s; }
.objet .objet__visuel img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s; }
.objet.est-survole .objet__visuel { transition-duration: 0.12s, 0.35s; box-shadow: var(--ombre); }
.objet__lien:hover .objet__visuel img, .objet__lien:focus-visible .objet__visuel img { transform: scale(1.07); }
.objet__3d { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 20px; background: var(--blanc); color: var(--bleu); font-size: 12.5px; font-weight: 700; line-height: 1.3; pointer-events: none; }
.objet__nom { position: relative; margin: 18px 0 0; padding-bottom: 9px; font-size: clamp(21px, 2vw, 26px); transition: color 0.2s; }
.objet__nom::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--rose); transition: width 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.objet__lien:hover .objet__nom::after, .objet__lien:focus-visible .objet__nom::after { width: 64px; }
.objet__accroche { margin: 8px 0 0; color: var(--doux); font-size: 15px; line-height: 1.45; }
.objet__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-top: auto; padding-top: 16px; }
.objet__etat { font-weight: 700; color: var(--doux); font-size: 14.5px; }
.objet--epuise .objet__visuel img { filter: grayscale(1); opacity: 0.6; }
@media (max-width: 560px) {
  .objet__bas { flex-direction: column; align-items: stretch; }
  .objet__bas .etiquette { align-self: flex-start; }
  .objet .btn--petit { padding-inline: 8px; }
  .objet .btn--petit .btn__ic { display: none; }
  .objet__3d { left: 8px; top: 8px; font-size: 11.5px; padding: 4px 9px 4px 7px; }
}

/* Images qui arrivent : elles apparaissent en fondu une fois chargées (classe posée par boutique.js). */
.js-pret .objet__visuel img[loading='lazy']:not(.est-charge), .js-pret .ligne__visuel img[loading='lazy']:not(.est-charge), .js-pret .galerie__vignette img:not(.est-charge) { opacity: 0; }
.ligne__visuel img, .galerie__vignette img { transition: opacity 0.4s; }

/* ---------- 6. Fiche produit ---------- */

/* « main.page » et non « .page » : WordPress pose aussi la classe « page » sur <body> pour toute page (accueil, panier,
   paiement…), et la marge se retrouvait au-dessus du bandeau du haut. */
main.page { padding: clamp(28px, 4.5vw, 56px) 0 clamp(48px, 7vw, 88px); }
.page__titre, .woocommerce-products-header__title { font-size: clamp(34px, 5vw, 60px); margin: 0 0 clamp(22px, 3vw, 36px); }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(26px, 5vw, 68px); align-items: start; }
.woocommerce div.product div.summary, .woocommerce #content div.product div.summary { float: none; width: auto; margin: 0; }

/* Galerie : une scène carrée, des vignettes dessous. Sur grand écran elle reste en vue pendant que la colonne de
   droite défile ; sa taille suit la hauteur de la fenêtre, pour qu'elle tienne toujours entière à l'écran. */
.galerie { min-width: 0; }
.galerie__scene { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--rayon-l); background: var(--givre); cursor: zoom-in; }
.galerie__vue { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity 0.35s; }
.galerie__vue[hidden] { display: none; }
.galerie__vue.est-active { opacity: 1; }
.galerie__vue img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.galerie__vue--tour { cursor: default; }
.galerie__loupe { position: absolute; inset: 0; z-index: 2; background-color: var(--givre); background-repeat: no-repeat; background-blend-mode: multiply; opacity: 0; pointer-events: none; transition: opacity 0.22s; }
.galerie__scene.est-zoomee .galerie__loupe { opacity: 1; }
.galerie__agrandir, .visionneuse__fermer, .visionneuse__nav, .tiroir__fermer { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--blanc); color: var(--bleu); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; }
.galerie__agrandir:hover, .visionneuse__fermer:hover, .visionneuse__nav:hover, .tiroir__fermer:hover { background: var(--bleu); color: #fff; }
.galerie__agrandir { position: absolute; z-index: 3; right: 12px; top: 12px; }
.galerie__agrandir:hover { transform: scale(1.08); }
.galerie__vignettes { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.galerie__vignette { width: 78px; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--givre); cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.galerie__vignette img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.galerie__vignette:hover { transform: translateY(-3px); }
.galerie__vignette.est-active { border-color: var(--bleu); }
.galerie__vignette--tour { display: grid; place-content: center; justify-items: center; gap: 1px; border-color: var(--ligne); background: var(--blanc); color: var(--bleu); font: 700 13px/1 var(--texte); }
.galerie__ic3d { width: 32px; height: 32px; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.galerie__vignette--tour:hover .galerie__ic3d, .galerie__vignette--tour.est-active .galerie__ic3d { transform: rotateY(180deg); }
@media (min-width: 861px) and (min-height: 560px) {
  .galerie { position: sticky; top: calc(var(--haut) + 20px); }
  .admin-bar .galerie { top: calc(var(--haut) + 52px); }
  .galerie__scene { max-width: max(300px, calc(100vh - var(--haut) - 170px)); max-width: max(300px, calc(100svh - var(--haut) - 170px)); }
  .admin-bar .galerie__scene { max-width: max(300px, calc(100svh - var(--haut) - 202px)); }
}

/* Vue 3D : 36 vues de l'objet rangées dans une seule image ; fiche.js déplace l'image d'une vue à l'autre. */
.tour { position: relative; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; outline-offset: -4px; border-radius: var(--rayon-l); }
.tour.est-saisi { cursor: grabbing; }
.tour__image { position: absolute; inset: 0; background-repeat: no-repeat; mix-blend-mode: multiply; opacity: 0; transition: opacity 0.4s; }
.tour.est-pret .tour__image { opacity: 1; }
.tour__attente { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; margin: 0; color: var(--doux); font-size: 15px; }
.tour__attente::before { content: ''; width: 34px; height: 34px; border: 3px solid var(--ligne); border-top-color: var(--bleu); border-radius: 50%; animation: tourne 0.8s linear infinite; }
.tour.est-pret .tour__attente { display: none; }
.tour.est-en-panne .tour__attente::before { content: none; }
.tour__aide { position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 20px; background: var(--blanc); color: var(--bleu); font-size: 13.5px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.tour.est-pret .tour__aide { opacity: 1; }
.tour.a-tourne .tour__aide { opacity: 0; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* Plein écran : les images en grand, une flèche de chaque côté, les vignettes en bas. */
.visionneuse { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--givre); color: var(--encre); }
.visionneuse::backdrop { background: var(--givre); }
.visionneuse[open] { animation: visionneuse-entre 0.25s ease-out; }
@keyframes visionneuse-entre { from { opacity: 0; transform: scale(0.98); } }
.visionneuse__int { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
.visionneuse__scene { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.visionneuse__image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.visionneuse__scene.est-zoomee .visionneuse__image { cursor: zoom-out; transform: scale(2.4); }
.visionneuse__tour { width: min(100vw, calc(100dvh - 130px)); aspect-ratio: 1 / 1; }
.visionneuse__fermer { position: absolute; z-index: 3; right: 16px; top: 16px; }
.visionneuse__nav { position: absolute; z-index: 3; top: 50%; margin-top: -22px; }
.visionneuse__nav--prec { left: 16px; }
.visionneuse__nav--suiv { right: 16px; }
.visionneuse__bas { display: flex; justify-content: center; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--blanc); }
.visionneuse__bas .galerie__vignette { width: 64px; }

.fiche__retour { margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.fiche__retour a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.fiche__retour a .ic { transition: transform 0.2s; }
.fiche__retour a:hover .ic { transform: translateX(-3px); }
.fiche__retour a:hover span { text-decoration: underline; }
.woocommerce div.product .product_title { font-size: clamp(40px, 5.4vw, 68px); margin: 0 0 16px; }
.fiche__prix { margin: 0 0 18px; }
.fiche__prix .etiquette { font-size: 21px; min-height: 44px; padding: 7px 18px 7px 34px; }
.fiche__prix .etiquette--vide { font-size: 16px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--doux); font-size: 18px; margin: 0 0 22px; }
.woocommerce div.product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.fiche__note { margin: 0 0 22px; padding: 12px 16px; background: var(--givre); border-left: 3px solid var(--bleu); font-size: 15.5px; }

.woocommerce div.product form.cart { margin: 0 0 8px; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { content: none; }
.woocommerce div.product form.cart:not(.variations_form), .woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.woocommerce div.product form.cart .button { float: none; flex: 1 1 220px; min-height: 56px; font-size: 17px; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.achat__total { font-variant-numeric: tabular-nums; }
.achat__total:not(:empty)::before { content: '·'; margin-right: 10px; opacity: 0.7; }
.woocommerce div.product form.cart .button.est-occupe { opacity: 0.75; pointer-events: none; }
.woocommerce div.product form.cart .button.est-ajoute, .btn.est-ajoute { background: var(--bleu); border-color: var(--bleu); }
.btn.est-occupe { opacity: 0.7; pointer-events: none; }
.fiche__achat-retour { margin: 0 0 18px; min-height: 8px; font-weight: 700; font-size: 15.5px; color: var(--rose-fonce); }
.fiche__achat-retour:not(:empty) { margin-top: 10px; padding: 10px 14px; background: #fdeef6; border-left: 3px solid var(--rose-fonce); }
.qte, .woocommerce .quantity { display: inline-flex; align-items: stretch; border: 1.5px solid var(--bleu); border-radius: var(--rayon); overflow: hidden; background: #fff; }
.qte .qty, .woocommerce .quantity .qty { width: 52px; min-height: 44px; border: 0; padding: 0; text-align: center; font: 700 17px var(--texte); color: var(--encre); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qte .qty::-webkit-outer-spin-button, .qte .qty::-webkit-inner-spin-button, .woocommerce .quantity .qty::-webkit-outer-spin-button, .woocommerce .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qte__btn { width: 44px; border: 0; background: transparent; color: var(--bleu); font-size: 22px; line-height: 1; cursor: pointer; transition: background 0.15s; }
.qte__btn:hover { background: var(--givre); }
.woocommerce div.product form.cart table.variations { margin: 0 0 18px; border: 0; width: 100%; }
.woocommerce div.product form.cart table.variations tr { display: block; }
.woocommerce div.product form.cart table.variations th, .woocommerce div.product form.cart table.variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart table.variations th.label { margin: 0 0 8px; }
.woocommerce div.product form.cart table.variations label { font-weight: 700; font-size: 15px; }
.woocommerce div.product form.cart table.variations select { min-width: 180px; min-height: 48px; margin: 0; padding: 8px 12px; border: 1.5px solid var(--bleu); border-radius: var(--rayon); font: 400 16px var(--texte); background: #fff; }
.woocommerce div.product form.cart .reset_variations { display: none !important; }
.tailles { display: flex; flex-wrap: wrap; gap: 8px; }
.tailles__une { min-width: 56px; min-height: 48px; padding: 8px 14px; border: 1.5px solid var(--bleu); border-radius: var(--rayon); background: #fff; color: var(--bleu); font: 700 16px var(--texte); cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.tailles__une:hover { background: var(--givre); transform: translateY(-2px); }
.tailles__une[aria-pressed='true'] { background: var(--bleu); color: #fff; }
.tailles__une:disabled { border-color: #c9ccd6; color: #a3a7b3; background: #fff; text-decoration: line-through; cursor: not-allowed; transform: none; }
.tailles.est-a-choisir { animation: secoue 0.4s; }
@keyframes secoue { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.a-des-tailles select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.woocommerce div.product .woocommerce-variation-price, .woocommerce div.product .woocommerce-variation-description { display: none; }
.woocommerce div.product .stock, .woocommerce div.product p.stock { margin: 0 0 12px; font-weight: 700; font-size: 15px; color: var(--doux); }
.woocommerce div.product .out-of-stock { color: var(--rose-fonce); }
.compte--fiche { margin: 14px 0 24px; }
.compte--fiche .compte__case { min-width: 56px; padding: 8px 6px 6px; }
.compte--fiche .compte__n { font-size: 26px; }
.reperes--fiche { margin-top: 14px; padding: 22px 0 0; border-top: 1px solid var(--ligne); }
.fiche__details { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ligne); }
.fiche__details h2 { font-size: 24px; margin: 0 0 12px; }
.autres { margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(30px, 5vw, 56px); border-top: 1px solid var(--ligne); }
.autres__titre { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 26px; }
@media (max-width: 860px) {
  .woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
}

/* Téléphone : quand le bouton d'achat sort de l'écran, une barre le garde sous le pouce. */
.barre-achat { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom)); background: var(--blanc); border-top: 1px solid var(--ligne); box-shadow: 0 -14px 30px -24px rgba(0, 36, 120, 0.55); transform: translateY(110%); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.barre-achat.est-visible { transform: none; }
.barre-achat__nom { flex: 1; min-width: 0; overflow: hidden; font-family: var(--titre); font-size: 17px; text-transform: uppercase; color: var(--bleu); white-space: nowrap; text-overflow: ellipsis; }
.barre-achat .btn { flex: none; }
@media (min-width: 861px) { .barre-achat { display: none; } }

/* ---------- 7. Panier : lignes, totaux, tiroir, page ---------- */

.lignes { list-style: none; margin: 0; padding: 0; }
.ligne { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 4px 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--ligne); transition: opacity 0.2s; }
.ligne:last-child { border-bottom: 0; }
.ligne__visuel { display: block; width: 88px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: var(--givre); }
.ligne__visuel img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.ligne__corps { min-width: 0; }
.ligne__nom { margin: 0; font-family: var(--titre); font-size: 21px; line-height: 1.15; text-transform: uppercase; color: var(--bleu); }
.ligne__nom a { color: inherit; text-decoration: none; }
.ligne__nom a:hover { color: var(--rose-fonce); }
.ligne__detail, .ligne__unite { margin: 4px 0 0; font-size: 14.5px; color: var(--doux); }
.ligne__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.ligne .qte .qty { width: 44px; min-height: 38px; font-size: 16px; }
.ligne .qte__btn { width: 38px; font-size: 20px; }
.ligne__retirer { padding: 4px 0; border: 0; background: none; color: var(--doux); font: 400 14.5px var(--texte); text-decoration: underline; cursor: pointer; }
.ligne__retirer:hover { color: var(--rose-fonce); }
.ligne__total { margin: 0; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ligne.est-occupee { opacity: 0.5; pointer-events: none; }
.ligne.est-retiree { opacity: 0.25; pointer-events: none; }
.ligne.est-nouvelle { animation: ligne-nouvelle 1.6s ease-out; }
@keyframes ligne-nouvelle { 0%, 35% { background: var(--givre); box-shadow: 0 0 0 10px var(--givre); } 100% { background: transparent; box-shadow: 0 0 0 10px transparent; } }
.lignes--tiroir .ligne { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 14px; padding: 16px 0; }
.lignes--tiroir .ligne__visuel { width: 72px; }
.lignes--tiroir .ligne__nom { font-size: 19px; }
.lignes--tiroir .ligne__unite { display: none; }
@media (max-width: 480px) {
  .ligne { grid-template-columns: 72px minmax(0, 1fr); }
  .ligne__visuel { width: 72px; }
  .ligne__total { grid-column: 2; margin-top: 8px; }
}

.totaux { margin: 0 0 16px; }
.totaux__ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 7px 0; font-size: 16px; }
.totaux__ligne dt { color: var(--doux); }
.totaux__ligne dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.totaux__ligne--total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.totaux__ligne--total dt { color: var(--encre); font-weight: 700; }
.totaux__ligne--total dd { font-size: 23px; color: var(--bleu); }
.panier__livraison { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; font-size: 14.5px; color: var(--doux); }
.panier__livraison .ic { margin-top: 3px; color: var(--bleu); }
.panier__message { margin: 0; font-size: 15px; font-weight: 700; color: var(--bleu); }
.panier__message:empty { display: none; }

.vide { padding: clamp(30px, 6vw, 72px) 20px; text-align: center; }
.vide__ic { width: 56px; height: 56px; color: var(--bleu); }
.vide__titre { margin: 12px 0 6px; font-family: var(--titre); font-size: 28px; line-height: 1.15; text-transform: uppercase; color: var(--bleu); }
.vide__texte { margin: 0 0 20px; color: var(--doux); }

/* Tiroir : le panier, à droite de l'écran, sans quitter la page. */
.tiroir { position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--blanc); color: var(--encre); box-shadow: -30px 0 60px -40px rgba(0, 36, 120, 0.6); }
.tiroir::backdrop { background: rgba(0, 36, 120, 0.42); }
.tiroir[open] { animation: tiroir-entre 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tiroir[open]::backdrop { animation: voile-entre 0.34s ease-out; }
.tiroir.est-sortant { animation: tiroir-sort 0.22s ease-in forwards; }
.tiroir.est-sortant::backdrop { animation: voile-sort 0.22s ease-in forwards; }
@keyframes tiroir-entre { from { transform: translateX(100%); } }
@keyframes tiroir-sort { to { transform: translateX(100%); } }
@keyframes voile-entre { from { opacity: 0; } }
@keyframes voile-sort { to { opacity: 0; } }
.tiroir__int { display: grid; grid-template-rows: auto auto minmax(0, 1fr); height: 100%; }
.tiroir__tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--ligne); }
.tiroir__titre { font-size: 26px; }
.tiroir__fermer { background: var(--givre); }
.tiroir__message:not(:empty) { padding: 11px 24px; background: var(--givre); }
.tiroir__corps { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.tiroir__corps > .vide { align-self: center; }
.tiroir__lignes { overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px; }
.tiroir__pied { padding: 18px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ligne); }
.tiroir__commander { display: flex; width: 100%; }
.tiroir__liens { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 16px 0 0; font-size: 15px; }
.lien--bouton { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; }
.panier__nb.est-change { animation: bond 0.45s cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes bond { 40% { transform: scale(1.45); } }

/* Page « Panier » : les lignes à gauche, le récapitulatif à droite. */
.page--tunnel .conteneur { max-width: 1100px; }
.panier-page { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.panier-page:has(> .vide) { display: block; }
.panier-page__lignes .ligne:first-child { padding-top: 4px; }
.panier-page__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 0; }
.js .panier-page__maj { display: none; }
.page--tunnel .panier__message:not(:empty) { margin: 0 0 18px; padding: 11px 16px; background: var(--givre); border-left: 4px solid var(--bleu); }
.recap { position: sticky; top: calc(var(--haut) + 20px); padding: 24px; border-radius: var(--rayon-l); background: var(--givre); }
.admin-bar .recap { top: calc(var(--haut) + 52px); }
.recap__titre { margin: 0 0 12px; font-size: 24px; }
.recap__reperes { list-style: none; display: grid; gap: 8px; margin: 18px 0 0; padding: 0; font-size: 14px; color: var(--doux); }
.recap__reperes li { display: flex; align-items: center; gap: 8px; }
.recap__reperes .ic { color: var(--bleu); }
.woocommerce .wc-proceed-to-checkout { padding: 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; margin: 0; min-height: 56px; padding: 14px 18px; font-size: 16.5px; }
@media (max-width: 900px) {
  .panier-page { grid-template-columns: minmax(0, 1fr); }
  .recap { position: static; }
}

/* Les étapes de la commande. */
.etapes { list-style: none; display: flex; margin: 0 0 clamp(24px, 3.4vw, 38px); padding: 0; }
.etapes__une { flex: 1; padding: 0 12px 12px 0; border-bottom: 3px solid var(--ligne); color: var(--doux); font-size: 15px; font-weight: 700; }
.etapes__une > a, .etapes__une > span { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.etapes__une > a:hover .etapes__mot { text-decoration: underline; }
.etapes__n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 14px; font-variant-numeric: tabular-nums; }
.etapes__ic { width: 15px; height: 15px; }
.etapes__une.est-faite { border-bottom-color: var(--bleu); color: var(--bleu); }
.etapes__une.est-en-cours { border-bottom-color: var(--rose-fonce); color: var(--bleu); }
.etapes__une.est-en-cours .etapes__n { border-color: var(--bleu); background: var(--bleu); color: #fff; }
@media (max-width: 560px) {
  .etapes__une:not(.est-en-cours) { flex: 0 0 50px; }
  .etapes__une:not(.est-en-cours) .etapes__mot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- 7 bis. Paiement ---------- */

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { position: relative; list-style: none; margin: 0 0 24px; padding: 14px 18px; border: 0; border-left: 4px solid var(--bleu); border-radius: 0; background: var(--givre); color: var(--encre); font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { content: none; }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { content: none; }
.woocommerce-error { border-left-color: var(--rose-fonce); background: #fdeef6; display: block; }
.woocommerce-error li { margin: 0; padding: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { float: none; order: 2; min-height: 40px; padding: 8px 16px; font-size: 15px; background: transparent; color: var(--bleu); border-color: var(--bleu); }
.woocommerce-message .button:hover, .woocommerce-info .button:hover { background: var(--bleu); color: #fff; border-color: var(--bleu); }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { font-weight: 700; }

.woocommerce table.shop_table { border: 1px solid var(--ligne); border-radius: var(--rayon-l); border-collapse: separate; border-spacing: 0; margin: 0 0 24px; width: 100%; font-size: 16px; }
.woocommerce table.shop_table th { font-weight: 700; font-size: 14px; color: var(--doux); padding: 12px 16px; text-align: left; }
.woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--ligne); vertical-align: middle; }
.woocommerce table.shop_table tfoot th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tbody th { border-top: 1px solid var(--ligne); color: var(--encre); font-size: 16px; }
.woocommerce table.shop_table .amount { font-variant-numeric: tabular-nums; }
.woocommerce table.shop_table dl.variation, .woocommerce table.shop_table .wc-item-meta { margin: 4px 0 0; padding: 0; font-size: 14.5px; color: var(--doux); list-style: none; }
.woocommerce table.shop_table dl.variation dt, .woocommerce table.shop_table dl.variation dd { display: inline; float: none; margin: 0; padding: 0; }
.woocommerce table.shop_table dl.variation dd p, .woocommerce table.shop_table .wc-item-meta p { display: inline; margin: 0; }
.woocommerce ul#shipping_method { margin: 0; padding: 0; list-style: none; }
.woocommerce ul#shipping_method li { margin: 0; padding: 0; text-indent: 0; }
.woocommerce .woocommerce-shipping-destination, .woocommerce .woocommerce-shipping-calculator { font-size: 14.5px; color: var(--doux); margin: 6px 0 0; }
.recap-objet { display: inline-flex; align-items: center; gap: 12px; vertical-align: middle; }
.recap-objet__visuel { flex: none; width: 52px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: var(--givre); }
.recap-objet__visuel img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.recap-objet__texte { display: grid; gap: 2px; }
.recap-objet__nom { font-weight: 700; }
.recap-objet__detail { font-size: 14px; color: var(--doux); }
.woocommerce #order_review .shop_table .product-total { width: 1%; white-space: nowrap; text-align: right; }
.woocommerce #order_review .shop_table tfoot td { white-space: nowrap; }

/* Paiement : coordonnées à gauche, récapitulatif et paiement à droite (collant). */
.woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: 'avis avis' 'coord titre' 'coord recap'; gap: 0 clamp(24px, 4vw, 52px); align-items: start; }
.woocommerce form.checkout > * { grid-area: avis; }
.woocommerce form.checkout > #customer_details { grid-area: coord; }
.woocommerce form.checkout > #order_review_heading { grid-area: titre; }
.woocommerce form.checkout > #order_review { grid-area: recap; position: sticky; top: calc(var(--haut) + 20px); }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-1, .woocommerce-page .col2-set .col-2 { float: none; width: auto; }
.woocommerce form.checkout h3, .woocommerce-order h2, .woocommerce-column__title { font-size: 26px; margin: 0 0 16px; }
.woocommerce form.checkout #order_review_heading { margin-bottom: 16px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; margin: 0 0 5px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.woocommerce form .form-row .required { color: var(--rose-fonce); text-decoration: none; }
.woocommerce form .form-row .optional { font-weight: 400; color: var(--doux); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid #b8c2dc; border-radius: var(--rayon); background: #fff; color: var(--encre); font: 400 17px var(--texte); line-height: 1.3; transition: border-color 0.15s, box-shadow 0.15s; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { outline: 0; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(0, 50, 158, 0.18); }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--rose-fonce); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: #b8c2dc; }
.woocommerce form .form-row .checkout-inline-error-message { margin: 5px 0 0; color: var(--rose-fonce); font-size: 14.5px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 27px; color: var(--encre); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last { width: calc(50% - 8px); }
.woocommerce form .form-row .woocommerce-form__label-for-checkbox, .woocommerce form .form-row label.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15.5px; line-height: 1.45; cursor: pointer; }
.woocommerce form .form-row input[type='checkbox'] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--bleu); }
.btq-cases { margin: 14px 0 24px; padding: 16px 18px; border-radius: var(--rayon-l); background: var(--givre); }
.btq-cases .optional { display: none; }
.woocommerce form.checkout h3#ship-to-different-address { font-family: var(--texte); text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 700; color: var(--encre); margin: 6px 0 14px; }
.woocommerce form.checkout h3#ship-to-different-address label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.woocommerce form.checkout h3#ship-to-different-address input { width: 20px; height: 20px; margin: 0; accent-color: var(--bleu); }
.btq-cases .form-row:last-child { margin-bottom: 0; }
.woocommerce #order_review .shop_table { background: #fff; }
.woocommerce #order_review .shop_table th, .woocommerce #order_review .shop_table td { font-size: 15.5px; }
.woocommerce #order_review .shop_table td.product-total, .woocommerce #order_review .shop_table tfoot td { text-align: right; }
.woocommerce #order_review .order-total .amount { font-size: 21px; color: var(--bleu); }
.woocommerce-checkout #payment { background: var(--givre); border: 0; border-radius: var(--rayon-l); }
.woocommerce-checkout #payment ul.payment_methods { padding: 16px 18px; border-bottom: 1px solid var(--ligne); margin: 0; list-style: none; }
.woocommerce-checkout #payment ul.payment_methods li { margin: 0; line-height: 1.5; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; }
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 24px; margin-left: 6px; vertical-align: middle; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border: 1px solid var(--ligne); border-radius: 4px; margin: 10px 0 0; padding: 14px; color: var(--encre); font-size: 15px; }
.woocommerce-checkout #payment div.payment_box::before { content: none; }
.woocommerce-checkout #payment .woocommerce-info { background: #fff; margin: 0; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 18px; margin: 0; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text, .woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper { font-size: 14.5px; color: var(--doux); line-height: 1.5; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { margin: 0 0 12px; }
.woocommerce-checkout #payment #place_order { float: none; display: flex; width: 100%; min-height: 58px; margin: 14px 0 0; font-size: 18px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle, .woocommerce-checkout .woocommerce-form-login-toggle { margin-bottom: 20px; }
@media (max-width: 900px) {
  .woocommerce form.checkout { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: 'avis' 'coord' 'titre' 'recap'; }
  .woocommerce form.checkout > #order_review { position: static; }
  .woocommerce form.checkout > #order_review_heading { margin-top: 12px; }
}
@media (max-width: 480px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last { width: 100%; float: none; } }

/* Confirmation */
.confirmation__tete { margin: 0 0 clamp(26px, 4vw, 40px); }
.confirmation__coche { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 0 20px; border-radius: 50%; background: var(--bleu); color: #fff; animation: pose 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
.confirmation__ic { width: 32px; height: 32px; stroke-width: 2.4; stroke-dasharray: 22; stroke-dashoffset: 22; animation: trace 0.45s 0.3s ease-out forwards; }
@keyframes pose { from { transform: scale(0.4); opacity: 0; } }
@keyframes trace { to { stroke-dashoffset: 0; } }
.confirmation .confirmation__titre { margin-bottom: 14px; }
.confirmation__texte { max-width: 40em; margin: 0; font-size: 18px; color: var(--doux); }
.confirmation__texte strong { color: var(--encre); overflow-wrap: anywhere; }
.confirmation__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 22px 0 0; }

/* ---------- 7 ter. Suivre ma commande, contact ---------- */

.page--formulaire .conteneur { max-width: 900px; }
.avis { margin: 0 0 22px; padding: 12px 16px; border-left: 4px solid var(--bleu); background: var(--givre); font-size: 16px; }
.avis--erreur { border-left-color: var(--rose-fonce); background: #fdeef6; }
.suivi__intro, .contact__intro { max-width: 38em; margin: 0 0 26px; font-size: 18px; color: var(--doux); }
.suivi__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 30px; padding: 18px 24px; border-radius: var(--rayon-l); background: var(--givre); }
.suivi__ref { margin: 0; font-size: 14.5px; color: var(--doux); }
.suivi__ref strong { display: block; font: 700 25px/1.25 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: 0.04em; color: var(--bleu); }
.suivi__etat { margin: 0; padding: 7px 15px; border-radius: 20px; background: var(--bleu); color: #fff; font-size: 14.5px; font-weight: 700; }
.suivi__etat--cancelled, .suivi__etat--failed, .suivi__etat--refunded { background: var(--doux); }
.suivi__etat--pending, .suivi__etat--on-hold { background: var(--blanc); color: var(--bleu); box-shadow: inset 0 0 0 1.5px var(--bleu); }
.frise { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 36px; padding: 0; }
.frise__etape { position: relative; display: grid; align-content: start; gap: 3px; padding: 34px 14px 0 0; font-size: 15px; }
.frise__etape::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: var(--ligne); }
.frise__etape.est-fait::before { background: var(--bleu); }
.frise__point { position: absolute; left: 0; top: 0; width: 21px; height: 21px; border: 3px solid var(--ligne); border-radius: 50%; background: var(--blanc); }
.frise__etape.est-fait .frise__point { border-color: var(--bleu); background: var(--bleu); }
.frise__etape.est-en-cours .frise__point { border-color: var(--rose-fonce); animation: battement 1.8s ease-in-out infinite; }
@keyframes battement { 0%, 100% { box-shadow: 0 0 0 0 rgba(219, 2, 127, 0.3); } 50% { box-shadow: 0 0 0 7px rgba(219, 2, 127, 0); } }
.frise__titre { font-weight: 700; }
.frise__etape.est-a-venir .frise__titre { color: var(--doux); font-weight: 400; }
.frise__detail { font-size: 14px; color: var(--doux); }
@media (max-width: 640px) {
  .frise { grid-template-columns: minmax(0, 1fr); }
  .frise__etape { padding: 0 0 22px 36px; }
  .frise__etape:last-child { padding-bottom: 0; }
  .frise__etape::before { left: 9px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .frise__etape:last-child::before { content: none; }
}
.suivi__bloc { margin: 0 0 32px; }
.suivi__bloc h2 { margin: 0 0 10px; font-size: 23px; }
.suivi__bloc--deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.suivi__bloc--deux > div { padding: 22px 24px; border: 1px solid var(--ligne); border-radius: var(--rayon-l); }
.suivi address { font-style: normal; line-height: 1.6; }
.suivi__notes { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.suivi__notes li { padding: 14px 18px; border-left: 4px solid var(--rose); background: var(--givre); }
.suivi__notes li p:last-child { margin-bottom: 0; }
.suivi__date { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--doux); }
.suivi .totaux { max-width: 360px; margin: 6px 0 0 auto; }
@media (max-width: 640px) { .suivi__bloc--deux { grid-template-columns: minmax(0, 1fr); } .suivi .totaux { max-width: none; } }

.formulaire { display: grid; gap: 18px; max-width: 660px; }
.formulaire__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.champ { display: grid; gap: 6px; margin: 0; }
.champ label { font-size: 15px; font-weight: 700; }
.champ__option { font-weight: 400; color: var(--doux); }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid #b8c2dc; border-radius: var(--rayon); background: #fff; color: var(--encre); font: 400 17px/1.4 var(--texte); transition: border-color 0.15s, box-shadow 0.15s; }
.champ textarea { resize: vertical; min-height: 150px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 0; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(0, 50, 158, 0.18); }
.champ.est-erreur input, .champ.est-erreur select, .champ.est-erreur textarea { border-color: var(--rose-fonce); }
.formulaire__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__retour { margin: 0; font-weight: 700; }
.formulaire__retour:empty { display: none; }
.formulaire__retour.est-erreur { padding: 12px 16px; border-left: 4px solid var(--rose-fonce); background: #fdeef6; color: var(--rose-nuit); }
.formulaire__envoi { margin: 0; }
.formulaire__note { margin: 0; font-size: 13.5px; color: var(--doux); }
.formulaire.est-en-cours .btn { opacity: 0.6; pointer-events: none; }
.suivi__form { max-width: 440px; }
.contact__turnstile { min-height: 65px; }
.contact__merci { max-width: 660px; padding: 28px 30px; border-radius: var(--rayon-l); background: var(--givre); }
.contact__merci-titre { margin: 0 0 8px; font-family: var(--titre); font-size: 30px; line-height: 1.15; text-transform: uppercase; color: var(--bleu); }
@media (max-width: 560px) { .formulaire__duo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 8. Pages de texte ---------- */

.page--texte .conteneur { max-width: 820px; }
.prose { font-size: 17.5px; line-height: 1.65; }
.prose h2 { font-size: 26px; margin: 1.7em 0 0.5em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.page--404 { text-align: left; }

/* ---------- 9. Pied de page ---------- */

.pied { border-top: 3px solid var(--rose); padding: clamp(36px, 5vw, 56px) 0 28px; font-size: 15.5px; }
.pied__haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px 40px; }
.pied .pied__img { width: 132px; height: auto; display: block; }
.pied__election { margin: 16px 0 0; font-size: 13px; font-weight: 700; color: var(--doux); }
.pied__titre { margin: 0 0 12px; font-weight: 700; font-size: 13.5px; color: var(--doux); }
.pied__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pied__col a { color: var(--bleu); font-weight: 700; text-decoration: none; }
.pied__col a:hover { color: var(--rose-fonce); text-decoration: underline; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--ligne); font-size: 14px; color: var(--doux); }
.pied__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pied__legal a { color: var(--doux); }
.pied__copie { margin: 0; }
@media (max-width: 760px) { .pied__haut { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }

/* ---------- 10. Page d'attente ---------- */

body.attente { background: var(--blanc); }
.attente__page { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.attente__tete { padding: clamp(22px, 4vw, 40px) var(--gouttiere) 0; text-align: center; }
.attente__logo { width: clamp(120px, 14vw, 160px); display: inline-block; }
.attente__corps { width: 100%; max-width: 660px; margin: 0 auto; padding: clamp(28px, 6vh, 64px) var(--gouttiere) clamp(32px, 6vh, 64px); text-align: center; align-self: center; }
.attente__titre { font-size: clamp(40px, 7.4vw, 78px); }
.attente__texte { margin: 22px auto 0; max-width: 32em; color: var(--doux); font-size: clamp(17px, 1.7vw, 19.5px); }
.compte--attente { margin: 30px 0 0; }
.compte--attente .compte__chiffres { justify-content: center; }
.compte--attente .compte__libelle { color: var(--bleu); font-size: 16px; }
.compte--attente .compte__case { min-width: 72px; padding: 12px 8px 9px; background: #fff; }
.compte--attente .compte__n { font-size: clamp(34px, 5vw, 46px); }
.attente__objets { list-style: none; display: flex; justify-content: center; gap: clamp(14px, 4vw, 30px); margin: 34px 0 0; padding: 0; color: var(--bleu); }
.attente__objets li { display: grid; place-items: center; width: clamp(52px, 12vw, 68px); aspect-ratio: 1; border: 1px solid var(--ligne); border-radius: 50%; background: #fff; }
.attente__objet { width: 54%; height: 54%; }
/* Guirlande : les quatre objets sont accrochés à un fin ruban rose qui traverse l'écran. */
.attente__objets { position: relative; }
.attente__objets::before { content: ''; position: absolute; z-index: 0; top: 50%; left: 50%; width: 100vw; height: 3px; margin-top: -1.5px; background: var(--rose-fonce); transform: translateX(-50%) rotate(-1.2deg); }
.attente__objets li { position: relative; z-index: 1; }
.prevenir { margin: 36px auto 0; max-width: 520px; text-align: left; }
.prevenir__label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 15px; }
.prevenir__ligne { display: flex; gap: 10px; }
.prevenir__champ { flex: 1; min-width: 0; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--bleu); border-radius: var(--rayon); background: #fff; font: 400 17px var(--texte); color: var(--encre); }
.prevenir__champ:focus { outline: 0; box-shadow: 0 0 0 3px rgba(0, 50, 158, 0.2); }
.prevenir__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prevenir__case { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 15px; line-height: 1.45; cursor: pointer; }
.prevenir__case input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--bleu); }
.prevenir__retour { margin: 14px 0 0; font-weight: 700; min-height: 1.5em; }
.prevenir__retour.est-ok { color: var(--bleu); }
.prevenir__retour.est-erreur { color: var(--rose-fonce); }
.prevenir.est-envoye .prevenir__ligne, .prevenir.est-envoye .prevenir__label, .prevenir.est-envoye .prevenir__case, .prevenir.est-envoye .prevenir__note { display: none; }
.prevenir.est-envoye { text-align: center; }
.prevenir.est-envoye .prevenir__retour { font-size: 19px; }
.prevenir__note { margin: 6px 0 0; font-size: 13.5px; color: var(--doux); }
.prevenir.est-en-cours .btn { opacity: 0.6; pointer-events: none; }
.attente__pied { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 18px var(--gouttiere) 24px; font-size: 13.5px; color: var(--doux); }
.attente__pied a { color: var(--doux); }
@media (max-width: 480px) { .prevenir__ligne { flex-direction: column; } .prevenir__ligne .btn { width: 100%; } }
