/* =================================================================
   GREEN DAY CONCEPT — e-commerce (structure type Personaliz)
   Charte 2026 : vert foncé en couleur dominante (à la place de l'orange)
   ================================================================= */

/* @font-face retiré : Unbounded via Google Fonts */

:root {
  /* Palette charte */
  --vert-fonce: #2B6E43;
  --vert-fonce-d: #215634;
  --vert-fonce-dd: #18402a;
  --vert-clair: #DAE49B;
  --vert-clair-d: #c7d57f;
  --vert-clair-t: #eef3d9;     /* teinte très claire */
  --beige: #FFFDEE;
  --noir: #1D1D1B;
  --blanc: #FFFFFF;
  --orange: #EA5045;
  --lie: #B61669;
  --bleu: #BDE3FA;
  --bleu-d: #1f87c7;

  /* neutres */
  --ink: #20221f;            /* texte principal */
  --ink-2: #5b605a;          /* texte secondaire */
  --line: #e7e7e0;           /* bordures */
  --soft: #f4f5f0;           /* fonds image produit */
  --soft-2: #eef1ea;

  --font-display: "Unbounded", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(20,22,18,.06);
  --shadow-md: 0 10px 30px rgba(20,22,18,.10);
  --shadow-card: 0 6px 24px rgba(20,22,18,.08);

  --container: 1600px;
  --gutter: clamp(16px, 2.5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--blanc);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--noir); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(40px, 5vw, 68px); }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
.section-head { margin-bottom: clamp(22px, 3vw, 34px); }
.section-head p { color: var(--ink-2); margin-top: 8px; max-width: 760px; font-size: 1rem; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.picto { width: 1em; height: 1em; display: inline-block; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  padding: 12px 22px; border-radius: var(--r-pill);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .12s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--vert-fonce); color: #fff; }
.btn--primary:hover { background: var(--vert-fonce-d); box-shadow: 0 8px 22px rgba(43,110,67,.28); }
.btn--outline { background: #fff; color: var(--vert-fonce); box-shadow: inset 0 0 0 1.5px var(--vert-fonce); }
.btn--outline:hover { background: var(--vert-fonce); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--vert-fonce); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--vert-fonce); }
.link-arrow svg { width: 17px; height: 17px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* =================================================================
   TOP BAR (fine)
   ================================================================= */
.topbar { background: var(--vert-fonce); color: #fff; font-size: .8rem; }
/* ⭐⭐ BANDEAU VERT FIGÉ EN HAUT (07/10/2026, Virgil « le vert disparaît dès qu'on descend » +
   « ce n'est pas le bon vert »). UNE SEULE CAUSE pour les deux : Safari échantillonne la bande tout
   en HAUT DE LA FENÊTRE et la ré-évalue PENDANT LE SCROLL. Bandeau qui défile ⇒ (a) il passe au
   blanc dès qu'on descend, (b) à moitié sorti il se mélange au blanc du header → mesuré #4A906B au
   lieu de #2B6E43. En figeant le bandeau, la zone échantillonnée est 100 % verte en permanence.
   ⚠️ `position:sticky` ne marcherait PAS : le scroll se fait sur <body> et le bandeau ne pourrait
   pas sortir de son parent #header, qui défile. D'où `fixed` + compensation sur <main>.
   ⚠️ z-index 500 : au-dessus du contenu (max 200) mais SOUS les modales (9000+). */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 500; }
body > main { padding-top: 38px; }
@media (max-width: 640px) { body > main { padding-top: 34px; } }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar__left { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar__left .picto { color: var(--vert-clair); font-size: 1em; }
.topbar__right { display: inline-flex; align-items: center; gap: 22px; }
.topbar__right a { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.topbar__right a:hover { opacity: 1; }
.topbar__right svg { width: 15px; height: 15px; }

/* =================================================================
   HEADER
   ================================================================= */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header__main { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px); height: 100px; }
.header__logo { flex: none; }
.header__logo img { height: 52px; width: auto; }
.search {
  flex: 1; max-width: 840px;
  display: flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 4px 4px 20px; transition: border-color .18s ease, box-shadow .18s ease;
}
.search:focus-within { border-color: var(--vert-fonce); box-shadow: 0 0 0 4px rgba(43,110,67,.10); }
.search input { flex: 1; border: none; outline: none; background: none; font-size: .95rem; padding: 9px 0; color: var(--ink); }
.search button { width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--vert-fonce); color: #fff; display: grid; place-items: center; transition: background .16s ease; }
.search button:hover { background: var(--vert-fonce-d); }
.header__tools { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); margin-left: auto; }
.help { display: flex; align-items: center; gap: 9px; }
.help svg { width: 26px; height: 26px; color: var(--vert-fonce); }
.help b { display: block; font-size: .82rem; color: var(--ink); font-weight: 600; line-height: 1.2; }
.help span { font-size: .76rem; color: var(--ink-2); }
.rating { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.rating .stars { color: #00b67a; font-size: .82rem; letter-spacing: 1px; }
.rating small { font-size: .68rem; color: var(--ink-2); }
.rating b { font-size: .72rem; }
.header__icon { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink); font-size: .68rem; position: relative; }
.header__icon svg { width: 24px; height: 24px; }
.header__icon:hover { color: var(--vert-fonce); }
.header__icon .count { position: absolute; top: -6px; right: 2px; background: var(--orange); color: #fff; font-size: .62rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; }

/* Nav */
.nav { background: #fff; }
.nav__inner { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); height: 52px; overflow-x: auto; scrollbar-width: none; }
.nav__inner::-webkit-scrollbar { display: none; }
.nav a { font-size: .9rem; font-weight: 500; color: var(--ink); white-space: nowrap; position: relative; padding: 6px 0; transition: color .15s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--vert-fonce); border-radius: 3px; transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.nav a:hover { color: var(--vert-fonce); }
.nav a:hover::after { transform: scaleX(1); }
.nav .sep { width: 1px; height: 18px; background: var(--ink-2); flex: none; }
.nav .nav-hl { color: var(--orange); font-weight: 600; }

/* =================================================================
   HERO
   ================================================================= */
.hero { padding-top: clamp(16px, 2vw, 26px); }
.hero__grid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 16px; }
.hero__grid > * { min-width: 0; }
.hero__banner {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  min-height: 420px; display: flex; align-items: center;
  background:
    radial-gradient(120% 140% at 85% 20%, #357c4e 0%, var(--vert-fonce) 45%, var(--vert-fonce-dd) 100%);
  color: #fff;
}
.hero__banner .swoosh { position: absolute; inset: 0; pointer-events: none; }
.hero__banner .swoosh path { fill: none; stroke: var(--vert-clair); stroke-width: 16; opacity: .55; stroke-linecap: round; }
.hero__banner .collage { position: absolute; right: 4%; top: 0; bottom: 0; width: 46%; }
.hero__banner .collage .it {
  position: absolute; border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-md);
  display: grid; place-items: center; color: var(--vert-fonce);
}
.hero__banner .collage .it.a { width: 150px; height: 150px; top: 16%; right: 30%; transform: rotate(-6deg); font-size: 3.4rem; animation: floaty 6s ease-in-out infinite; }
.hero__banner .collage .it.b { width: 130px; height: 130px; top: 44%; right: 4%; transform: rotate(5deg); font-size: 3rem; background: var(--vert-clair); animation: floaty 7s ease-in-out infinite .5s; }
.hero__banner .collage .it.c { width: 116px; height: 116px; bottom: 8%; right: 36%; transform: rotate(8deg); font-size: 2.6rem; background: var(--bleu); animation: floaty 6.5s ease-in-out infinite .9s; }
@keyframes floaty { 0%,100%{ transform: translateY(0) rotate(var(--r,0)); } 50%{ transform: translateY(-12px) rotate(var(--r,0)); } }
.hero__banner .copy { position: relative; z-index: 3; padding: clamp(28px, 4vw, 56px); max-width: 56%; }
.hero__banner h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.hero__banner h1 .pop { color: var(--vert-clair); }
.hero__banner p { color: rgba(255,255,255,.88); font-size: 1rem; margin-bottom: 26px; max-width: 30ch; }

.hero__promos { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.promo {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 22px; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--orange); min-height: 200px;
  transition: transform .2s ease;
}
.promo:hover { transform: translateY(-3px); }
.promo--2 { background: var(--lie); }
.promo .date { font-size: .76rem; opacity: .9; font-weight: 500; }
.promo .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; margin: 6px 0; }
.promo .desc { font-size: .9rem; max-width: 22ch; }
.promo .code { align-self: flex-start; margin-top: 12px; background: rgba(0,0,0,.18); padding: 7px 14px; border-radius: var(--r-pill); font-size: .78rem; font-weight: 600; }
.promo .pdeco { position: absolute; right: -10px; bottom: -10px; font-size: 6rem; opacity: .16; }

/* =================================================================
   CATÉGORIES
   ================================================================= */
.cats-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 3/4; padding: 16px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--vert-fonce); transition: transform .2s ease, box-shadow .2s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* ⭐ TITRE DE CARTE CATÉGORIE (oct. 2026, Virgil « les textes sont trop petits et pas marquants ») :
   calé sur les proportions du visuel d'origine — mesuré dessus, le mot occupe 42 % de la largeur et
   sa capitale 6,9 % de la hauteur, en Unbounded centré. ⚠️ Une taille FIXE ne marche pas : à 1,48 rem
   « Logistique » et « Boutiques » débordent (mesuré 158 px pour 153 dispo). D'où `cqw` : la taille suit
   la LARGEUR DE LA CARTE, donc le rapport texte/carte est constant à tous les écrans, comme sur le
   visuel. 14cqw ⇒ 21,4 px sur une carte de 185 px (« Logistique » = 143 px, il reste 10 px de marge).
   Le `font-size` en rem juste avant est le repli pour un navigateur sans container queries. */
.cat { container-type: inline-size; }
.cat h3 {
  color: #fff; font-family: var(--font-display); font-weight: 800;
  text-align: center; line-height: 1.05; letter-spacing: -.01em;
  font-size: 1.25rem; font-size: clamp(1rem, 14cqw, 1.5rem);
}
.cat .pic {
  position: absolute; right: -6px; bottom: -6px; font-size: 5.4rem; opacity: .9;
}
.cat .pic.tint { color: var(--vert-clair); }
/* ⭐ CARTE CATÉGORIE AVEC VISUEL (oct. 2026) — la carte est DÉJÀ en aspect-ratio 3/4, donc les
   visuels 750×1000 tombent pile, sans recadrage. Le titre reste en HTML (SEO + libellé modifiable),
   posé sur la zone de fond uni en haut du visuel. Les catégories sans visuel gardent leur bloc
   coloré à picto : la section fonctionne même si la série est incomplète. */
.cat--img { background-size: cover; background-position: center; }
.cat--img h3 { color: var(--vert-fonce); }
.cat--alt1 { background: var(--vert-fonce-d); }
.cat--alt2 { background: #347b4d; }

/* =================================================================
   PRODUITS
   ================================================================= */
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 12px 2px; font-size: .92rem; font-weight: 500; color: var(--ink-2); position: relative; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--vert-fonce); font-weight: 600; }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--vert-fonce); border-radius: 3px; }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, border-color .2s ease; }
.prod:hover { box-shadow: var(--shadow-card); border-color: transparent; }
.prod__media { position: relative; aspect-ratio: 1/1; background: var(--soft); display: grid; place-items: center; }
.prod__media .picto { font-size: 3.6rem; }
.prod__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 85%; }
.badge { font-size: .66rem; font-weight: 600; padding: 4px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.badge--best { background: var(--vert-clair); color: var(--noir); }
.badge--fr { background: var(--bleu); color: #0c5a86; }
.badge--promo { background: var(--orange); color: #fff; }
.badge--express { background: var(--lie); color: #fff; }
.prod__fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink); transition: background .15s, color .15s; }
.prod__fav:hover, .prod__fav.on { background: var(--lie); color: #fff; }
.prod__body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod__name { font-size: .92rem; font-weight: 600; line-height: 1.35; color: var(--ink); min-height: 2.4em; transition: color .15s; }
.prod__name:hover, .prod__name:focus { color: var(--vert-fonce) !important; }
.prod__dots { display: flex; align-items: center; gap: 5px; }
.prod__dots span { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.prod__dots .more { width: auto; height: auto; border-radius: 0; box-shadow: none; font-size: .74rem; font-weight: 600; color: var(--ink-2); margin-left: 5px; line-height: 1; }
.prod__dots span:not(.more) { cursor: default; }
.prod__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod__price { text-align: right; margin-left: auto; }
.prod__price small { display: block; font-size: .66rem; color: var(--ink-2); }
.prod__price b { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--noir); }

/* Carrousel (flèches) */
.carousel { position: relative; }
.car-track { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.car-track::-webkit-scrollbar { display: none; }
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; background: var(--vert-fonce); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-md); transition: background .15s, transform .15s;
}
.car-arrow:hover { background: var(--vert-fonce-d); }
.car-arrow:active { transform: translateY(-50%) scale(.94); }
.car-arrow--prev { left: -10px; }
.car-arrow--next { right: -10px; }

/* Thèmes */
.theme { flex: 0 0 auto; width: 180px; }
.theme__img { aspect-ratio: 1/1; border-radius: var(--r-md); background: var(--soft); display: grid; place-items: center; margin-bottom: 10px; transition: transform .2s ease; }
.theme__img .picto { font-size: 3rem; }
.theme:hover .theme__img { transform: translateY(-4px); }
.theme span { display: block; text-align: center; font-size: .9rem; font-weight: 500; }

/* =================================================================
   BANNIÈRE VIDÉO / MARQUE
   ================================================================= */
.brandband {
  position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 320px;
  background: linear-gradient(120deg, var(--vert-fonce), var(--vert-fonce-dd));
  display: grid; place-items: center; color: #fff; text-align: center; padding: 40px;
}
.brandband .marquee-bg { position: absolute; inset: 0; opacity: .12; display: flex; align-items: center; }
.brandband .play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; margin: 0 auto 18px; transition: transform .2s, background .2s; }
.brandband .play:hover { transform: scale(1.06); background: rgba(255,255,255,.28); }
.brandband .play svg { width: 30px; height: 30px; fill: #fff; stroke: none; margin-left: 4px; }
.brandband h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.brandband p { color: rgba(255,255,255,.85); margin-top: 10px; max-width: 50ch; }

/* =================================================================
   RÉFÉRENCES
   ================================================================= */
.refs { text-align: center; }
.refs h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.refs__marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.refs__track { display: flex; align-items: center; width: max-content; animation: refs-scroll 40s linear infinite; }
.refs__track img { max-height: clamp(40px, 4.6vw, 56px); max-width: 160px; width: auto; height: auto; object-fit: contain; margin-right: clamp(46px, 5.5vw, 88px); flex: 0 0 auto; }
.refs__marquee:hover .refs__track { animation-play-state: paused; }
@keyframes refs-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .refs__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 22px; } }

/* =================================================================
   BLOG
   ================================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.post { border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s ease, transform .2s ease; }
.post:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.post__img { aspect-ratio: 16/10; display: grid; place-items: center; color: #fff; }
.post__img .picto { font-size: 3rem; opacity: .9; }
.post__body { padding: 16px; }
.post__date { font-size: .74rem; color: var(--ink-2); }
.post__title { font-size: .98rem; font-weight: 600; font-family: var(--font-body); margin-top: 6px; line-height: 1.35; }

/* =================================================================
   AVIS
   ================================================================= */
/* ===== AVIS clients — carrousel (fond blanc, esprit du site) ===== */
.reviews-wrap { text-align: center; background: #fff; }
.reviews-wrap h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.reviews2__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 8px; text-align: left; scrollbar-width: none; }
.reviews2__track::-webkit-scrollbar { display: none; }
.rev2 { position: relative; overflow: hidden; flex: 0 0 clamp(300px, 40vw, 520px); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 13px; }
.rev2__quote { position: absolute; top: 0; right: 18px; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--vert-clair); opacity: .55; pointer-events: none; }
.rev2__stars { color: #f5b301; letter-spacing: 2px; font-size: .95rem; }
.rev2__text { font-size: .92rem; line-height: 1.6; color: var(--ink-2); flex: 1; margin: 0; }
.rev2__who { display: flex; align-items: center; gap: 11px; margin-top: 4px; }
.rev2__ava { width: 42px; height: 42px; border-radius: 50%; background: var(--vert-fonce); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .8rem; flex: 0 0 auto; }
.rev2__id { display: flex; flex-direction: column; line-height: 1.3; }
.rev2__id b { color: var(--ink); font-size: .9rem; font-weight: 600; }
.rev2__id span { color: var(--ink-2); font-size: .78rem; }
.reviews2__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: clamp(6px, 1vw, 12px); }
.reviews2__note { grid-column: 2; margin: 0; text-align: center; font-size: .95rem; color: var(--ink-2); }
.reviews2__note b { color: var(--vert-fonce); font-weight: 600; }
.reviews2__nav { grid-column: 3; justify-self: end; display: flex; gap: 12px; }
@media (max-width: 700px) { .reviews2__foot { grid-template-columns: 1fr; } .reviews2__note, .reviews2__nav { grid-column: 1; justify-self: center; } }
.reviews2__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--vert-fonce); display: grid; place-items: center; cursor: pointer; padding: 0; appearance: none; -webkit-appearance: none; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.reviews2__arrow:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; }
.reviews2__arrow svg { width: 19px; height: 19px; }

/* =================================================================
   SEO + RÉASSURANCE
   ================================================================= */
.seo { padding-top: clamp(16px, 2vw, 30px); }
.seo h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 14px; max-width: 60ch; }
.seo__text { position: relative; max-height: 168px; overflow: hidden; transition: max-height .4s ease; }
.seo__text.open { max-height: 1400px; }
.seo__text p { color: var(--ink-2); font-size: .92rem; margin-bottom: 12px; }
.seo__text::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, #fff); pointer-events: none; transition: opacity .3s; }
.seo__text.open::after { opacity: 0; }
.seo__more { margin-top: 16px; font-weight: 600; color: var(--vert-fonce); text-decoration: underline; }

.reassure { background: var(--vert-clair-t); }
.reassure__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.reassure__it { text-align: center; padding: 6px; }
.reassure__it svg { width: 30px; height: 30px; color: var(--vert-fonce); margin: 0 auto 10px; }
.reassure__it b { display: block; font-size: .92rem; color: var(--ink); font-weight: 600; }
.reassure__it span { font-size: .78rem; color: var(--ink-2); }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: var(--noir); color: rgba(255,255,255,.72); padding-top: clamp(44px, 5vw, 66px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 40px; }
.footer__brand img { height: 58px; width: auto; margin-bottom: 18px; }
.footer__brand address { font-style: normal; font-size: .88rem; line-height: 1.7; margin-bottom: 12px; }
.footer__brand .tel { font-weight: 600; color: #fff; text-decoration: underline; font-size: .95rem; }
.footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.footer__socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--vert-fonce); color: #fff; display: grid; place-items: center; transition: background .15s, transform .15s; }
.footer__socials a:hover { background: var(--vert-fonce-d); transform: translateY(-2px); }
.footer__col h4 { color: #fff; font-size: .98rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.footer__col a { display: block; padding: 5px 0; font-size: .88rem; color: rgba(255,255,255,.7); transition: color .15s, padding-left .15s; }
.footer__col a:hover { color: var(--vert-clair); padding-left: 4px; }
.footer__news p { font-size: .88rem; margin-bottom: 14px; }
.footer__news form { display: flex; background: rgba(255,255,255,.08); border-radius: var(--r-pill); padding: 5px; }
.footer__news input { flex: 1; background: none; border: none; outline: none; color: #fff; padding: 9px 16px; font-size: .88rem; }
.footer__news input::placeholder { color: rgba(255,255,255,.5); }
.footer__news button { background: var(--vert-fonce); color: #fff; border-radius: var(--r-pill); padding: 9px 20px; font-weight: 600; font-size: .85rem; transition: background .15s; }
.footer__news button:hover { background: var(--vert-fonce-d); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: .82rem; color: rgba(255,255,255,.6); }

/* =================================================================
   REVEAL
   ================================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =================================================================
   MENU MOBILE
   ================================================================= */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: #fff; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; padding: 18px var(--gutter); overflow-y: auto; }
.mobile-menu.open { transform: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-menu__head img { height: 38px; }
.mobile-menu__head .header__icon { width: 44px; height: 44px; justify-content: center; }
.mobile-menu__head .header__icon svg { width: 26px; height: 26px; }
.mobile-menu a.m-link { font-size: 1.05rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.mobile-menu a.m-link .picto { color: var(--vert-fonce); font-size: 1.2rem; }
.mobile-menu .btn { margin-top: 20px; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1100px) {
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .reassure__grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .help span, .rating small { display: none; }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__promos { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .header__main { height: 70px; }
  .help, .rating { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header__main { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 12px; }
  .header__tools { margin-left: auto; }
}
@media (max-width: 680px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__banner .collage { display: none; }
  .hero__banner .copy { max-width: 100%; }
  .hero__promos { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .blog-grid, .reviews { grid-template-columns: 1fr; }
  .reassure__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .prod-grid { gap: 12px; }
}

/* ---- Polish mobile : header compact, topbar, espacements ---- */
@media (max-width: 880px) {
  .header__logo img { height: 42px; }
  .header__tools .btn--outline { display: none !important; }   /* Devis express -> menu burger */
  .header__main { padding-block: 10px; gap: 14px; }
  .header__tools { gap: 18px; }
}
@media (max-width: 640px) {
  .topbar__left { display: none; }
  .topbar__right a:not([href^="tel"]) { display: none; }
  .topbar .container { height: 34px; }
  .reviews-wrap h2, .refs h2 { margin-bottom: clamp(22px, 6vw, 34px); }
  .tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
}
@media (max-width: 430px) {
  .header__logo img { height: 38px; }
  .header__icon svg { width: 22px; height: 22px; }
  .header__tools { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }


/* ===================================================================
   SURCHARGES PrestaShop classic — battre #header (ID) et .container Bootstrap
   =================================================================== */
#header { color: var(--ink); padding: 0; background: transparent; box-shadow: none; }
#header .container, .topbar .container, .header .container { width: 100% !important; max-width: var(--container) !important; padding-inline: var(--gutter) !important; }
.topbar .container { display: flex !important; align-items: center !important; justify-content: space-between !important; }
/* topbar : aligner le bloc droit (made in France) avec le panier */
#header .topbar__right { margin-left: auto; padding-right: 14px; }
/* nav : couleurs GDC (classic met du #24b9d7) */
#header a { color: var(--ink); }
#header a:hover { color: var(--vert-fonce); }
#header .nav a { color: var(--ink) !important; }
#header .nav a:hover { color: var(--vert-fonce) !important; }
#header .nav .nav-hl { color: var(--orange) !important; }
#header .nav a::after, #header .nav a:hover::after { background: var(--vert-fonce) !important; }
/* topbar liens : blancs sur fond vert */
#header .topbar a, #header .topbar a:hover { color: #fff !important; }
#header .topbar__left .picto { color: var(--vert-clair) !important; }
/* header tools : survol vert */
#header .header__icon:hover { color: var(--vert-fonce) !important; }
#header .help b { color: var(--ink) !important; }
/* bouton « Devis express » : texte vert, hover blanc-sur-vert */
#header a.btn--outline { color: var(--vert-fonce) !important; background: #fff !important; box-shadow: inset 0 0 0 1.5px var(--vert-fonce) !important; }
#header a.btn--outline:hover { color: #fff !important; background: var(--vert-fonce) !important; }
#header a.btn--primary, #header a.btn--primary:hover { color: #fff !important; }


/* ===================================================================
   HOME : sections pleine largeur (sortir du conteneur du layout)
   =================================================================== */
.gdc-home { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.page-index .breadcrumb, .page-index nav.breadcrumb { display: none !important; }
#content.page-home { padding: 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.page-home #main, .page-index #main { margin: 0 !important; }
.page-index #content-wrapper { padding: 0 !important; }
.page-index #wrapper .container > .row { margin: 0 !important; }


/* ===================================================================
   RÉGLAGES HOME : fond blanc (classic met du gris) + hero collé au header
   =================================================================== */
#wrapper, #content-wrapper, .page-content { background: #fff !important; }
/* ⭐⭐ LE VERT EST SUR <body>, PAS SUR <html> (07/10/2026) : Safari teinte sa barre — et peint le
   rebond élastique — avec le fond du <body>. Le poser sur <html> n'a RIEN donné (vérifié chez
   Virgil : rebond resté blanc alors que le CSS était bien chargé, en no-cache). Le blanc de la
   page redescend donc sur <main>, qui porte 100 % du contenu sur TOUTES les pages (vérifié :
   accueil, catégorie, fiche, panier, login, 404). min-height pour qu'une page courte ne laisse
   pas apparaître de vert sous le contenu. */
body { background: var(--vert-fonce) !important; }
body > main { background: #fff; min-height: 100vh; }
/* ⭐ TEINTE VERTE DE LA BARRE DU NAVIGATEUR (07/10/2026, Virgil « vert jusqu'au bout comme en haut »).
   ⚠️ Safari ne regarde PAS le contenu affiché en haut de page : il prend le fond du CANVAS. Notre
   bandeau vert de 38 px ne compte donc pas, et <html> n'ayant aucun fond, c'est le blanc de <body>
   qui remontait → barre blanche. On pose le vert sur <html> : <body> reste blanc et le recouvre,
   la page est visuellement INCHANGÉE, mais Safari (macOS et iOS) teinte enfin sa barre.
   Bonus : le rebond élastique en haut de page devient vert au lieu de blanc.
   (La meta theme-color de head.tpl reste utile : c'est elle qui sert sur Chrome Android.) */
html { background-color: var(--vert-fonce) !important; }   /* cohérence, mais ce n'est PAS lui que Safari lit */
.page-index #wrapper { padding-top: 0 !important; }
.page-index #content-wrapper, .page-index #main, .page-index #content.page-home { padding-top: 0 !important; margin-top: 0 !important; }
.page-index #notifications { margin: 0 !important; }
.page-index .container > .row { margin-top: 0 !important; }


/* ===================================================================
   ONGLETS best-sellers (battre .tabs/.tab de la page produit classic)
   + SEO largeur de lecture + section ventes beige
   =================================================================== */
.gdc-home .tabs { display: flex !important; gap: 24px !important; border-bottom: 1px solid var(--line) !important; margin-bottom: 26px !important; overflow-x: auto; }
.gdc-home .tab { background: none !important; border: 0 !important; float: none !important; padding: 12px 2px !important; position: relative !important; color: var(--ink-2) !important; font-weight: 500 !important; white-space: nowrap; }
.gdc-home .tab:hover { color: var(--ink) !important; }
.gdc-home .tab.is-active { color: var(--vert-fonce) !important; }
.gdc-home .tab.is-active::after { content: "" !important; position: absolute !important; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--vert-fonce) !important; border-radius: 3px; }
.seo__text { max-width: 820px; }
#ventes { background: var(--soft) !important; }


/* ===================================================================
   RESET « boîte blanche » autour des onglets best-sellers (#ventes)
   =================================================================== */
#ventes .container, #ventes .section-head, #ventes .tabs, #ventes #tabs {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
#ventes .tabs, #ventes #tabs {
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 0 !important;
}


/* ===================================================================
   FOCUS (pas de cadre noir au clic) + SURVOL (pas de bleu classic dans la home)
   =================================================================== */
*:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
button:focus:not(:focus-visible), .btn:focus:not(:focus-visible), .tab:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
.gdc-home .post:hover, .gdc-home .theme:hover { color: inherit !important; }
.gdc-home .promo:hover { color: #fff !important; }


/* ===================================================================
   FOOTER (porter la maquette dans #footer de classic — battre l'ID)
   Le wrapper <footer id="footer"> de classic est déjà pleine largeur :
   on le neutralise et on laisse .footer (fond noir) le remplir.
   =================================================================== */
#footer { background: transparent !important; padding: 0 !important; margin: 0 !important; color: rgba(255,255,255,.72); }
#footer .footer { background: var(--noir) !important; }
#footer .footer .container { width: 100% !important; max-width: var(--container) !important; padding-inline: var(--gutter) !important; }
/* liens des colonnes : battre #footer a (ID) de classic (sinon gris/bleu) */
#footer .footer__col a { color: rgba(255,255,255,.7) !important; }
#footer .footer__col a:hover { color: var(--vert-clair) !important; padding-left: 4px; }
#footer .footer__col h4 { color: #fff !important; }
#footer .footer__brand .tel { color: #fff !important; }
#footer .footer__socials a { color: #fff !important; background: var(--vert-fonce) !important; }
#footer .footer__socials a:hover { color: #fff !important; background: var(--vert-fonce-d) !important; }
#footer .footer__bottom { color: rgba(255,255,255,.6) !important; }
#footer a:hover { color: var(--vert-clair); }
/* newsletter : champ + bouton (battre styles input/btn de classic) */
#footer .footer__news input { color: #fff !important; background: none !important; border: 0 !important; box-shadow: none !important; }
#footer .footer__news button { color: #fff !important; background: var(--vert-fonce) !important; border: 0 !important; }
#footer .footer__news button:hover { background: var(--vert-fonce-d) !important; }
/* logo footer = logo GDC horizontal (badge + wordmark blanc) sur fond sombre */
#footer .footer__brand img { height: 58px !important; width: auto !important; }


/* ===================================================================
   HOME : supprimer l'écart blanc entre la fin de la home et le footer
   (les wrappers du layout classic ajoutent un padding/margin bas)
   =================================================================== */
.page-index #wrapper, .page-index #content-wrapper, .page-index #main,
.page-index #content.page-home { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.page-index #footer { margin-top: 0 !important; }
/* VRAIE cause de la bande blanche : le <footer class="page-footer"> vide
   intercalé a margin-bottom:1.563rem (theme.css : #main .page-footer).
   Mesuré en repro local = exactement 25px. */
.page-index .page-footer { margin-bottom: 0 !important; }


/* ===================================================================
   FICHE PRODUIT : prix HT (principal) + TTC (secondaire)
   =================================================================== */
.gdc-ht-label { font-size: .5em; font-weight: 700; color: var(--ink-2); vertical-align: super; margin-left: 3px; letter-spacing: .02em; }
.gdc-price-ttc { font-size: .9rem; color: var(--ink-2); font-weight: 500; margin-top: 3px; }

/* Carte produit best-sellers : vraie photo produit (Midocean) */
.prod__media .prod__img { width: 100%; height: 100%; object-fit: contain; padding: 16px; mix-blend-mode: multiply; }
.prod[data-url]:not([data-url=""]) { cursor: pointer; }

/* ===================================================================
   MINIATURE catégorie/listing = carte .prod GDC (surcharge classic)
   =================================================================== */
.prod--mini { width: 100%; height: 100%; }
.prod__media-link { display: block; width: 100%; height: 100%; }
.prod__buy { border-top: 1px solid var(--line); padding-top: 12px; }
.prod__add { width: 100%; }
.prod__add:hover { color: #fff; }
.badge--new { background: var(--vert-clair); color: var(--noir); }
.badge--discount, .badge--on-sale { background: var(--orange); color: #fff; }
.badge--pack { background: var(--bleu); color: #0c5a86; }
.badge--out-of-stock, .badge--out_of_stock { background: #e7e7e0; color: var(--ink-2); }
/* la colonne Bootstrap devient un flex pour des cartes de hauteur égale */
.products .product { display: flex; margin-bottom: 20px; }


/* ===================================================================
   PAGE CATÉGORIE (:is(#category, #search)) — reskin GDC : pleine largeur, en-tête,
   chips sous-catégories, barre de tri, pagination, grille 4 colonnes
   =================================================================== */
/* 1. Layout : .row empilée → en-tête/cartes/filtres/produits en pleine largeur.
   (l'en-tête et les cartes sont remontés au-dessus de .row par custom.js) */
:is(#category, #search) .container { max-width: var(--container); width: 100%; padding-inline: var(--gutter); }
:is(#category, #search) #wrapper { background: #fff !important; }
:is(#category, #search) #main { margin: 0 !important; }
:is(#category, #search) .container > .row { display: flex; flex-wrap: wrap; margin: 0; }
:is(#category, #search) #left-column { order: 0; flex: 0 0 100%; max-width: 100%; width: 100%; padding: 0; }
:is(#category, #search) #content-wrapper { order: 1; flex: 0 0 100%; max-width: 100%; width: 100%; padding: 0; }
/* blocs inutiles de la colonne : menu catégories, fournisseurs, marques */
:is(#category, #search) #left-column .block-categories,
:is(#category, #search) #left-column #search_filters_suppliers,
:is(#category, #search) #left-column #search_filters_brands,
:is(#category, #search) #left-column #search_filter_controls { display: none !important; }

/* 2. Fil d'Ariane */
:is(#category, #search) .breadcrumb { background: none; border: 0; padding: 20px 0 2px; margin: 0; }
:is(#category, #search) .breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
:is(#category, #search) .breadcrumb li { display: inline-flex; align-items: center; font-size: .82rem; color: var(--ink-2); }
:is(#category, #search) .breadcrumb li::after { content: "\203A"; margin: 0 9px; color: #b8bcae; }
:is(#category, #search) .breadcrumb li:last-child::after { content: none; }
:is(#category, #search) .breadcrumb li a { color: var(--ink-2); }
:is(#category, #search) .breadcrumb li a:hover { color: var(--vert-fonce); }
:is(#category, #search) .breadcrumb li:last-child span { color: var(--ink); font-weight: 600; }

/* 3. En-tête catégorie ÉPURÉ (Header C) : titre + phrase décalée + filet 5 couleurs */
:is(#category, #search) .block-category.gdc-cat-head { display: block; position: static; overflow: visible; background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0; min-height: 0; padding: 6px 0 2px !important; margin: 12px 0 0 !important; }
:is(#category, #search) .gdc-cat-head h1, :is(#category, #search) .block-category h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.02; letter-spacing: -.015em; color: var(--vert-fonce); margin: 0; text-transform: uppercase; }
:is(#category, #search) .gdc-cat-tagline, :is(#category, #search) .gdc-cat-desc { color: var(--ink-2); margin: 13px 0 0; max-width: 640px; font-size: 1.05rem; }
:is(#category, #search) .gdc-cat-filet { display: flex; gap: 6px; margin: 18px 0 0; }
:is(#category, #search) .gdc-cat-filet span { width: 34px; height: 5px; border-radius: 3px; }
:is(#category, #search) .gdc-cat-filet span:nth-child(1) { background: var(--vert-fonce); }
:is(#category, #search) .gdc-cat-filet span:nth-child(2) { background: var(--bleu); }
:is(#category, #search) .gdc-cat-filet span:nth-child(3) { background: var(--orange); }
:is(#category, #search) .gdc-cat-filet span:nth-child(4) { background: var(--vert-clair); }
:is(#category, #search) .gdc-cat-filet span:nth-child(5) { background: var(--lie); }
@media (max-width: 700px) { :is(#category, #search) .gdc-cat-filet span { width: 26px; } }

/* 4. Sous-catégories = BLOCS COLORÉS (palette GDC) + picto signature (Piste C).
   Aplats de couleur = clairement des catégories, jamais confondues avec un produit. */
:is(#category, #search) .gdc-subcats-block { margin: 26px 0 10px; }
:is(#category, #search) .gdc-subcats-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--noir); margin: 0 0 18px; }
:is(#category, #search) .gdc-subcats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
:is(#category, #search) .gdc-subcat-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 142px; border-radius: var(--r-lg); padding: 18px 18px 16px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
:is(#category, #search) .gdc-subcat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
:is(#category, #search) .gdc-subcat-picto { display: block; width: 34px; height: 34px; }
:is(#category, #search) .gdc-subcat-picto svg { width: 100%; height: 100%; display: block; fill: currentColor; }
:is(#category, #search) .gdc-subcat-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.15; margin-top: 14px; }
/* couleurs des blocs (cyclique sur 5) + contraste picto / nom */
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+1) { background: var(--vert-fonce); color: #fff; }
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+1) .gdc-subcat-picto { color: var(--vert-clair); }
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+2) { background: var(--bleu); color: #0c5a86; }
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+2) .gdc-subcat-picto { color: var(--bleu-d); }
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+3) { background: var(--orange); color: #fff; }
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+3) .gdc-subcat-picto { color: #ffd9d3; }
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+4) { background: var(--vert-clair); color: #20431f; }
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+4) .gdc-subcat-picto { color: var(--vert-fonce); }
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+5) { background: var(--lie); color: #fff; }
:is(#category, #search) .gdc-subcats .gdc-subcat-card:nth-child(5n+5) .gdc-subcat-picto { color: #f4c0d1; }
@media (max-width: 980px) { :is(#category, #search) .gdc-subcats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { :is(#category, #search) .gdc-subcats { grid-template-columns: repeat(2, 1fr); gap: 12px; } :is(#category, #search) .gdc-subcat-card { min-height: 120px; } }

/* 5. Barre tri + compteur */
:is(#category, #search) .products-selection { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
:is(#category, #search) .products-selection .total-products { display: block !important; flex: 0 0 auto; max-width: none; padding: 0; margin: 0; color: var(--ink-2); font-weight: 500; }
:is(#category, #search) .products-selection .total-products p { margin: 0; }
:is(#category, #search) .products-selection > .col-lg-7 { flex: 0 0 auto; max-width: none; padding: 0; }
:is(#category, #search) .sort-by-row { display: flex !important; align-items: center; gap: 12px; margin: 0; flex-wrap: nowrap; }
:is(#category, #search) .sort-by-row .sort-by { display: inline !important; padding: 0; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
:is(#category, #search) .products-sort-order { padding: 0; }
:is(#category, #search) .products-sort-order .select-title { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; padding: 9px 16px; font-weight: 600; color: var(--ink); font-size: .9rem; }
:is(#category, #search) .products-sort-order .select-title:hover { border-color: var(--vert-fonce); color: var(--vert-fonce); }
:is(#category, #search) .products-sort-order .select-title .material-icons { font-size: 18px; }
:is(#category, #search) .products-sort-order .dropdown-menu { border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 6px; margin-top: 6px; min-width: 220px; }
:is(#category, #search) .products-sort-order .dropdown-menu .select-list { display: block; padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink); font-size: .88rem; }
:is(#category, #search) .products-sort-order .dropdown-menu .select-list:hover { background: var(--vert-clair-t); color: var(--vert-fonce-d); }
:is(#category, #search) .products-sort-order .dropdown-menu .select-list.current { color: var(--vert-fonce); font-weight: 600; }
:is(#category, #search) .filter-button, :is(#category, #search) .products-selection .showing { display: none !important; }

/* 6. Grille produits — 4 colonnes pleine largeur */
:is(#category, #search) #js-product-list .products.row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; }
:is(#category, #search) #js-product-list .products .product { width: auto; max-width: none; flex: none; float: none; margin: 0 !important; padding: 0; }
@media (max-width: 1280px) { :is(#category, #search) #js-product-list .products.row { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 820px)  { :is(#category, #search) #js-product-list .products.row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; } }
@media (max-width: 440px)  { :is(#category, #search) #js-product-list .products.row { grid-template-columns: 1fr; } }

/* 7. Pagination */
:is(#category, #search) nav.pagination { display: flex; flex-direction: column-reverse; align-items: center; gap: 14px; margin: 32px 0 8px; padding: 0; }
:is(#category, #search) nav.pagination > div { width: auto; max-width: none; margin: 0; padding: 0; flex: 0 0 auto; text-align: center; }
:is(#category, #search) nav.pagination .col-md-4 { color: var(--ink-2); font-size: .85rem; }
:is(#category, #search) .page-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; }
:is(#category, #search) .page-list li { margin: 0; }
:is(#category, #search) .page-list li a, :is(#category, #search) .page-list li span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; background: #fff; transition: border-color .16s ease, color .16s ease, background .16s ease; }
:is(#category, #search) .page-list li a:hover { border-color: var(--vert-fonce); color: var(--vert-fonce); }
:is(#category, #search) .page-list li.current a, :is(#category, #search) .page-list li.current span { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; }
:is(#category, #search) .page-list li .spacer { border: 0; background: none; min-width: auto; }
:is(#category, #search) .page-list li .disabled { opacity: .45; pointer-events: none; }

/* 8. Mobile */
@media (max-width: 820px) {
  :is(#category, #search) .products-selection { flex-wrap: wrap; gap: 10px; }
  :is(#category, #search) .breadcrumb { padding-top: 14px; }
}

/* ===================================================================
   9. Titre « Nos produits » + barre de filtres horizontale (facettes)
   =================================================================== */
:is(#category, #search) .gdc-products-head { margin: 30px 0 16px; padding-top: 26px; border-top: 1px solid var(--line); }
/* page recherche : le template facettes enveloppe certains filtres dans un div.magnitude → aplatir pour la barre horizontale */
:is(#category, #search) #search_filters .magnitude { display: contents; }
:is(#category, #search) .gdc-products-head h2,
:is(#category, #search) .gdc-products-head h1 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--noir); margin: 0; text-transform: none; letter-spacing: 0; }

/* la barre = #search_filters en flex horizontal */
:is(#category, #search) #search_filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 4px; padding: 0; border: 0; background: none; }
:is(#category, #search) #search_filters > .h6 { margin: 0 12px 0 0; padding: 0; color: var(--ink-2); font-weight: 500; font-size: .85rem; text-transform: none !important; letter-spacing: 0; }
:is(#category, #search) #search_filters > .h6::after { content: " :"; }
:is(#category, #search) #search_filters .facet { position: relative; margin: 0; padding: 0; border: 0; }
:is(#category, #search) #search_filters .facet > .title { display: none !important; }            /* toggle mobile natif inutilisé */
:is(#category, #search) #search_filters .facet > .facet-title { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 8px 9px; width: auto !important; max-width: none !important; overflow: visible !important; text-overflow: clip !important; flex: 0 0 auto; border: 0; background: none; color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; white-space: nowrap; transition: color .15s ease; }
:is(#category, #search) #search_filters .facet > .facet-title::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .5; flex: 0 0 auto; }
:is(#category, #search) #search_filters .facet > .facet-title:hover { color: var(--vert-fonce); }
:is(#category, #search) #search_filters .facet.is-open > .facet-title { color: var(--vert-fonce); }
:is(#category, #search) #search_filters .facet.is-open > .facet-title::after { opacity: .9; }

/* popover : la <ul> (cases) ou le slider prix. Rendu hors-flux, masqué par
   visibility (et non display:none) pour que le slider calcule sa largeur. */
:is(#category, #search) #search_filters .facet > ul,
:is(#category, #search) #search_filters .facet > .faceted-slider { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; min-width: 230px; max-width: 320px; max-height: 320px; overflow-y: auto; display: block !important; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .14s ease, transform .14s ease; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 6px; margin: 0; }
:is(#category, #search) #search_filters .facet.is-open > ul,
:is(#category, #search) #search_filters .facet.is-open > .faceted-slider { visibility: visible; opacity: 1; transform: translateY(0); }
:is(#category, #search) #search_filters .facet > .faceted-slider { padding: 22px 16px 14px; }

/* items de facette = liste épurée comme le menu Tri (cases masquées, compteur collé au nom) */
:is(#category, #search) #search_filters .facet li { margin: 0; width: auto; }
:is(#category, #search) #search_filters .facet .custom-checkbox { display: none !important; }
:is(#category, #search) #search_filters .facet-label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer; font-size: .88rem; font-weight: 400; color: var(--ink); }
:is(#category, #search) #search_filters .facet-label:hover { background: var(--vert-clair-t); }
:is(#category, #search) #search_filters .facet .search-link { color: var(--ink); display: inline-flex; align-items: center; gap: 7px; width: auto !important; overflow: visible !important; text-overflow: clip !important; white-space: nowrap; }
:is(#category, #search) #search_filters .facet .facet-label a { width: auto !important; overflow: visible !important; text-overflow: clip !important; }
:is(#category, #search) #search_filters .facet .magnitude { color: var(--ink-2); font-weight: 400; font-size: .82em; white-space: nowrap; }
/* valeur sélectionnée = vert, comme l'option courante du tri */
:is(#category, #search) #search_filters .facet-label:has(input:checked) .search-link { color: var(--vert-fonce); font-weight: 600; }
:is(#category, #search) #search_filters .facet-label:has(input:checked) .magnitude { color: var(--vert-fonce); }
/* pastille couleur (facette Couleur) */
:is(#category, #search) #search_filters .facet .color { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); display: inline-block; }

/* slider prix (jQuery UI) aux couleurs GDC */
:is(#category, #search) #search_filters .ui-slider { background: var(--line); border: 0; height: 5px; border-radius: 999px; margin: 6px 0 12px; }
:is(#category, #search) #search_filters .ui-slider .ui-slider-range { background: var(--vert-fonce); }
:is(#category, #search) #search_filters .ui-slider .ui-slider-handle { background: #fff; border: 2px solid var(--vert-fonce); border-radius: 50%; width: 16px; height: 16px; top: -6px; }

/* Ligne 1 : [Filtrer par] [pills] ........ [Effacer tout] [Trier par ▾]
   (le tri est déplacé ici par custom.js ; la barre native est masquée) */
:is(#category, #search) #search_filters > .h6 { order: -1; }
:is(#category, #search) #js-product-list-top { display: none !important; }
/* groupe de droite (créé par custom.js) : toujours ferré à droite */
:is(#category, #search) #search_filters .gdc-bar-right { order: 50; margin-left: auto; display: inline-flex; align-items: center; gap: 14px; flex: 0 0 auto; }
:is(#category, #search) #search_filters .clear-all-wrapper { margin: 0; }
:is(#category, #search) #search_filters .js-search-filters-clear-all { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border: 0; background: none; color: var(--ink-2); font-weight: 500; font-size: .84rem; border-radius: var(--r-pill); cursor: pointer; }
:is(#category, #search) #search_filters .js-search-filters-clear-all:hover { color: var(--orange); background: var(--soft); }
:is(#category, #search) #search_filters .js-search-filters-clear-all .material-icons { font-size: 16px; }
/* tri compact (bulle réduite à la largeur du contenu) */
:is(#category, #search) #search_filters .sort-by-row { display: inline-flex !important; align-items: center; gap: 9px; margin: 0; flex: 0 0 auto; }
:is(#category, #search) #search_filters .sort-by-row .sort-by { display: inline !important; padding: 0; margin: 0; color: var(--ink-2); font-weight: 500; font-size: .85rem; white-space: nowrap; max-width: none; }
:is(#category, #search) #search_filters .products-sort-order { width: auto !important; max-width: none !important; flex: 0 0 auto; padding: 0; margin: 0; }
:is(#category, #search) #search_filters .products-sort-order .select-title { display: inline-flex; align-items: center; gap: 7px; height: auto; padding: 8px 2px; border: 0 !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; transition: color .15s ease; }
:is(#category, #search) #search_filters .products-sort-order .select-title:hover { color: var(--vert-fonce); }
:is(#category, #search) #search_filters .products-sort-order .select-title .material-icons { display: none; }
:is(#category, #search) #search_filters .products-sort-order .select-title::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .5; flex: 0 0 auto; }

/* Ligne 2 : [Filtres actifs (chips verts)] .......... [compteur ferré à droite] */
:is(#category, #search) #gdc-row2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 26px; min-height: 22px; }
:is(#category, #search) #gdc-row2 .gdc-count { order: 3; margin-left: auto; color: var(--ink-2); font-weight: 500; font-size: .9rem; white-space: nowrap; }
:is(#category, #search) #gdc-row2 #js-active-search-filters { order: 1; margin: 0 !important; }
:is(#category, #search) #js-active-search-filters.active_filters { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; box-shadow: none !important; }
:is(#category, #search) .active-filter-title { margin: 0; padding: 0; color: var(--ink-2); font-weight: 600; font-size: .8rem; text-transform: none; letter-spacing: 0; }
:is(#category, #search) #js-active-search-filters ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
:is(#category, #search) .active_filters .filter-block { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 8px 6px 13px; background: var(--vert-clair-t); color: var(--vert-fonce-d); border-radius: var(--r-pill); font-size: .84rem; font-weight: 500; }
:is(#category, #search) .active_filters .filter-block a { display: inline-flex; align-items: center; color: var(--vert-fonce-d); margin: 0; }
:is(#category, #search) .active_filters .filter-block a .material-icons { font-size: 16px; }
:is(#category, #search) .active_filters .filter-block a:hover { color: var(--orange); }

/* barre de filtres : repli mobile (scroll horizontal) */
@media (max-width: 820px) {
  :is(#category, #search) #search_filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  :is(#category, #search) .gdc-products-head { margin-top: 22px; padding-top: 20px; }
}

/* 10. Bas de page catégorie : bloc SEO thématique riche (réutilise .seo + tableaux/listes) */
:is(#category, #search) .gdc-cat-seo { margin: 42px 0 14px; padding-top: 32px; border-top: 1px solid var(--line); }
:is(#category, #search) .gdc-cat-seo h2 { font-family: var(--font-display); font-weight: 700; color: var(--noir); }
:is(#category, #search) .gdc-cat-seo .seo__text { max-width: 880px; }
/* repli/dépli « Voir plus » en CSS PUR (case cachée + label, pas de JS) */
:is(#category, #search) .gdc-seo-toggle { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
:is(#category, #search) .gdc-cat-seo .gdc-seo-toggle:checked ~ .seo__text { max-height: 9000px; }
:is(#category, #search) .gdc-cat-seo .gdc-seo-toggle:checked ~ .seo__text::after { opacity: 0; }
:is(#category, #search) .gdc-cat-seo .seo__more { cursor: pointer; }
:is(#category, #search) .gdc-cat-seo .seo__more::after { content: "Voir plus"; }
:is(#category, #search) .gdc-cat-seo .gdc-seo-toggle:checked ~ .seo__more::after { content: "Voir moins"; }
:is(#category, #search) .gdc-cat-seo h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--noir); margin: 24px 0 10px; }
:is(#category, #search) .gdc-cat-seo p { color: var(--ink-2); font-size: .92rem; line-height: 1.7; margin: 0 0 12px; }
:is(#category, #search) .gdc-cat-seo ul, :is(#category, #search) .gdc-cat-seo ol { color: var(--ink-2); font-size: .92rem; margin: 0 0 14px; padding-left: 20px; }
:is(#category, #search) .gdc-cat-seo ul { list-style: disc; }
:is(#category, #search) .gdc-cat-seo ol { list-style: decimal; }
:is(#category, #search) .gdc-cat-seo li { margin-bottom: 7px; line-height: 1.6; }
:is(#category, #search) .gdc-cat-seo strong { color: var(--ink); font-weight: 600; }
:is(#category, #search) .gdc-cat-seo table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: .9rem; }
:is(#category, #search) .gdc-cat-seo th { text-align: left; background: var(--vert-clair-t); color: var(--vert-fonce-d); font-weight: 600; padding: 10px 12px; }
:is(#category, #search) .gdc-cat-seo td { padding: 10px 12px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
:is(#category, #search) .gdc-cat-seo tbody tr td:first-child { font-weight: 500; color: var(--ink); width: 40%; }
@media (max-width: 560px) { :is(#category, #search) .gdc-cat-seo th, :is(#category, #search) .gdc-cat-seo td { padding: 8px 9px; font-size: .85rem; } }

/* ===================================================================
   FICHE PRODUIT (surcharge classic, structure GDC)
   =================================================================== */
.gdc-product { max-width: 1480px; margin: 0 auto; padding: 6px 0 56px; }
/* proportions calées sur personaliz : photo ≈ 42% de la zone de contenu, colonne d'achat ≈ 1/3 */
/* Colonne galerie dimensionnée sur la MÊME contrainte que la photo (880px OU la hauteur visible) :
   sur portable 14-16" la photo est plafonnée par 100vh → sans ça, la colonne gardait sa largeur
   de grand écran et laissait un GROS BLANC à droite de la photo (signalé Virgil). La colonne
   d'achat absorbe l'espace libéré (plafonnée 640px) et l'ensemble est centré. */
.gdc-prod-hero { display: grid !important; grid-template-columns: minmax(0, min(880px, max(520px, 100vh - 40px))) minmax(430px, 560px); justify-content: center; column-gap: clamp(36px, 4vw, 72px); row-gap: 0; align-items: start; margin: 0; }
.gdc-prod-hero > .col-md-6 { width: auto; max-width: none; flex: none; float: none; padding: 0; }
/* Détails produit (Description | Réassurance · Personnalisation | Caractéristiques) : même grille 2 colonnes que le hero, désormais séparés par le configurateur quand il est ouvert */
.gdc-prod-rows { display: grid; grid-template-columns: 1.04fr .96fr; column-gap: 46px; row-gap: 0; align-items: start; }

/* --- galerie : vignettes COULEUR à gauche (générées par custom.js), grande photo à droite --- */
.gdc-gallery { padding: 0; position: relative; }
.gdc-gallery .gdc-gallery-grid { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 16px; align-items: start; position: relative; height: auto; }
.gdc-color-thumbs { position: absolute; top: 0; left: 0; width: 84px; height: 100%; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scroll-behavior: smooth; }
.gdc-color-thumbs::-webkit-scrollbar { width: 4px; }
.gdc-color-thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.gdc-cthumb { flex: 0 0 auto; }
.gdc-thumbs-more { position: sticky; bottom: 0; flex: 0 0 auto; width: 84px; min-height: 22px; border: 0; background: linear-gradient(to top, #fff 45%, rgba(255,255,255,0)); color: var(--ink-2); cursor: pointer; font-size: 1rem; line-height: 1; display: none; }
.gdc-thumbs-more.show { display: block; }
.gdc-cthumb { width: 84px; height: 84px; border-radius: 12px; border: 1.5px solid var(--line); background: #f4f4f3; padding: 7px; cursor: pointer; overflow: hidden; transition: border-color .15s; }
.gdc-cthumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
.gdc-cthumb.is-on, .gdc-cthumb:hover { border-color: var(--vert-fonce); }
.gdc-gallery .images-container { display: block; height: auto; grid-column: 2; }  /* col.2 : la bande de vignettes (col.1) est en position absolue, hors flux */
.gdc-prod-hero > .gdc-gallery-col { align-self: start; position: sticky; top: 80px; }
/* plafond LARGEUR (880px, proportion personaliz) ET HAUTEUR (calc(100vh-40px)) → sur portable 14"/16" le cadre carré rentre en entier dans la hauteur visible (plus besoin de scroller pour voir tout le produit) ; centré pour rester aligné avec la scène de perso (zéro saut) */
.gdc-gallery, #content.gdc-gallery { height: auto; max-width: min(880px, calc(100vh - 40px)) !important; width: 100%; margin-inline: auto; }
/* grande photo CARRÉE (façon personaliz) — ne s'étire plus à la hauteur de la colonne d'achat */
.gdc-gallery .product-cover { position: relative; width: 100%; background: #f4f4f3; border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; height: auto; min-height: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; }
/* produit agrandi DANS le cadre (sans changer le cadre) : on zoome l'image, le blanc autour est rogné par overflow:hidden */
.gdc-gallery .product-cover img, .gdc-gallery .js-qv-product-cover { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: auto; mix-blend-mode: multiply; transform: scale(1.12); }
.gdc-gallery .product-cover .layer { position: absolute; inset: auto 14px 14px auto; width: 40px; height: 40px; border-radius: 50%; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b6e43' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='20' y1='20' x2='15.5' y2='15.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 20px; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.08); opacity: 0; cursor: zoom-in; transition: opacity .15s; }
.gdc-gallery .product-cover .layer i { display: none; }  /* on remplace le glyphe 'search' (ligature non rendue) par la loupe SVG en fond */
.gdc-gallery .product-cover:hover .layer { opacity: 1; }
.gdc-gallery .mask { display: none; }
.gdc-product .scroll-box-arrows { display: none !important; }
.gdc-gallery .product-flags { position: absolute; top: 14px; left: 94px; margin: 0; padding: 0; list-style: none; z-index: 2; display: flex; gap: 6px; }
.gdc-gallery .product-flags li { background: var(--vert-clair); color: var(--vert-fonce-d); font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin: 0; }

/* --- en-tête infos --- */
.gdc-buy-col { padding-top: 4px; }
.gdc-eyebrow { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: 8px; }
.gdc-eyebrow .gdc-eb-ref { color: var(--vert-fonce); }
.gdc-prod-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.15rem); line-height: 1.06; letter-spacing: -.01em; text-transform: uppercase; color: var(--noir); margin: 0 0 12px; }
.gdc-prod-sub { color: var(--ink-2); margin: 0; font-size: .96rem; line-height: 1.55; }
.gdc-rating { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .85rem; color: var(--ink-2); }
.gdc-rating .stars { color: #f0a91b; letter-spacing: 1px; font-size: .95rem; }
.gdc-price-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gdc-buy-col .tax-shipping-delivery-label { display: none; }
.gdc-buy-col .product-prices { margin: 0; padding: 0; border: 0; }
.gdc-price-row .product-price { margin: 0; display: block; }
.gdc-price-row .current-price { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.gdc-price-row .current-price-value { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--noir); }
.gdc-price-row .gdc-ht-label { font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.gdc-price-row .gdc-price-ttc { font-size: .85rem; color: var(--ink-2); width: 100%; margin: 3px 0 0; }
.gdc-buy-col .gdc-ap { font-size: .78rem; color: var(--ink-2); margin-right: 4px; }
.gdc-deg { font-size: .74rem; background: var(--vert-clair-t); color: var(--vert-fonce-d); padding: 6px 12px; border-radius: 999px; font-weight: 500; white-space: nowrap; }

/* --- sélecteur couleur (points GDC) --- */
.gdc-prod-information .product-variants { margin: 0; }
.gdc-prod-information .product-variants-item { margin: 20px 0 0; }
.gdc-prod-information .product-variants .control-label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.gdc-prod-information .product-variants ul { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.gdc-prod-information .product-variants li { margin: 0; float: none; list-style: none; }
.gdc-prod-information .input-color, .gdc-prod-information .input-radio { position: absolute; opacity: 0; width: 0; height: 0; }
.gdc-prod-information .product-variants .color { display: block; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; border: 2px solid #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 1.5px var(--line); background-size: cover; background-position: center; margin: 0; transition: transform .12s, box-shadow .12s; }
.gdc-prod-information .product-variants .color:hover { transform: scale(1.07); }
.gdc-prod-information .input-color:checked + .color { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 2px var(--vert-fonce); }
.gdc-prod-information .radio-label { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .86rem; }
.gdc-prod-information .input-radio:checked + .radio-label { border-color: var(--vert-fonce); color: var(--vert-fonce); font-weight: 600; }
.gdc-prod-information .form-control-select { height: 46px; border-radius: 10px; border: 1.5px solid var(--line); max-width: 280px; padding: 0 12px; font-family: var(--font); }

/* --- quantité + boutons --- */
.gdc-buyrow { margin-top: 24px; }
.gdc-prod-information .product-add-to-cart { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.gdc-prod-information .product-add-to-cart > .control-label { display: none; }
.gdc-prod-information .input-group-btn-vertical, .gdc-prod-information .bootstrap-touchspin-up, .gdc-prod-information .bootstrap-touchspin-down { display: none !important; }
.gdc-prod-information .product-quantity { display: flex; gap: 0; align-items: stretch; margin: 0; width: 100%; }
.gdc-prod-information .product-quantity .qty { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 12px 0 0; flex: 0 0 auto; }
.gdc-prod-information .gdc-qbtn { width: 38px; border: 0; background: #f5f5ef; color: var(--ink); cursor: pointer; font-size: 1.15rem; line-height: 1; font-family: var(--font); }
.gdc-prod-information .gdc-qbtn:hover { background: var(--vert-clair-t); }
.gdc-prod-information #quantity_wanted { height: 52px; width: 48px; border: 0; text-align: center; font-weight: 600; font-size: 1rem; font-family: var(--font); -moz-appearance: textfield; }
.gdc-prod-information #quantity_wanted::-webkit-outer-spin-button, .gdc-prod-information #quantity_wanted::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gdc-prod-information .product-quantity .add { flex: 1; margin: 0; }
.gdc-product .wishlist-button-add, .gdc-product .wishlist-button-product, .gdc-product .wishlist-button, .gdc-product [data-button-action="add-to-wishlist"] { display: none !important; }
.gdc-prod-information .add-to-cart { width: 100%; height: 52px; background: var(--vert-fonce); color: #fff; border: 0; border-radius: 12px; font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background .15s; }
.gdc-prod-information .add-to-cart:hover:not([disabled]) { background: var(--vert-fonce-d); }
.gdc-prod-information .add-to-cart[disabled] { opacity: .5; cursor: not-allowed; }
.gdc-prod-information .add-to-cart .material-icons { font-size: 1.2rem; line-height: 1; margin: 0; display: inline-flex; align-items: center; }
.gdc-btn-devis { display: flex; width: 100%; height: 52px; margin-top: 8px; padding: 0 22px; border-radius: 12px; border: 1.5px solid var(--vert-fonce); color: var(--vert-fonce); background: #fff; font-weight: 600; font-size: .92rem; align-items: center; justify-content: center; white-space: nowrap; }
.gdc-btn-devis:hover { background: var(--vert-clair-t); color: var(--vert-fonce); }
/* dispo / qté-min : masqués par défaut (zéro hauteur dès l'insertion par PrestaShop → pas de poussée des boutons au changement de couleur) ; affichés uniquement si vrai contenu via .gdc-on (ajouté en JS) */
.gdc-prod-information #product-availability { order: -1; align-self: flex-start; display: none; align-items: center; gap: 6px; font-size: .84rem; color: var(--ink-2); margin: 0 0 4px; }
.gdc-prod-information #product-availability.gdc-on { display: inline-flex; }
.gdc-prod-information #product-availability .material-icons { font-size: 1rem; }
.gdc-prod-information .product-available { color: var(--vert-fonce); }
.gdc-prod-information .product-minimal-quantity { order: -1; font-size: .8rem; color: var(--ink-2); margin: 0 0 4px; display: none; }
.gdc-prod-information .product-minimal-quantity.gdc-on { display: block; }
/* Bas de fiche : on masque les avis/commentaires (id contenant product-comment, dont #empty-product-comment) mais on GARDE « N autres produits dans la même catégorie » (.featured-products) */
.gdc-product [id*="product-comment"] { display: none !important; }

/* --- réassurance --- */
.gdc-reassure { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; list-style: none; margin: 0; padding: 0; }
.gdc-reassure li { display: flex; gap: 11px; align-items: flex-start; font-size: .82rem; color: var(--ink-2); margin: 0; }
.gdc-reassure .ic { color: var(--vert-fonce); font-size: 1.2rem; line-height: 1; flex: none; }
.gdc-reassure b { display: block; color: var(--ink); font-weight: 600; font-size: .85rem; }

/* --- bas de fiche --- */
.gdc-prod-below { display: grid; grid-template-columns: 1.4fr .9fr; gap: 50px; align-items: start; margin-top: 56px; }
/* Rangée 2 : Description (gauche) alignée avec Réassurance + Caractéristiques (droite), séparées par un filet */
.gdc-r2 { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.gdc-r3 { margin-top: 26px; }
/* --- Détails : col. GAUCHE (Description clampée + Personnalisation en bas) | col. DROITE (Caractéristiques = donne la HAUTEUR) ---
   La description a flex-basis:0 → elle ne « pousse » pas la hauteur : elle REMPLIT l'espace laissé par les
   Caractéristiques et se clampe (Voir plus) si son contenu déborde → les 2 colonnes finissent PILE au même bas. --- */
.gdc-prod-rows { display: flex; align-items: stretch; }
.gdc-col-left { flex: 1.04; min-width: 0; display: flex; flex-direction: column; }
.gdc-specs-cell { flex: .96; min-width: 0; display: flex; flex-direction: column; }
/* le tableau S'ÉTIRE pour remplir sa colonne (rangées réparties) → il suit la hauteur de la col. gauche */
.gdc-specs-cell .gdc-specs { flex: 1; display: flex; flex-direction: column; }
.gdc-specs-cell .gdc-specs .row { flex: 1; align-items: center; }
/* min-height FIXE sur la CELLULE (≈ titre + 160px de texte) : garantit un minimum de description
   visible ; si le tableau est plus court, il s'étire (rangées réparties) pour suivre. */
.gdc-prod-desc { flex: 1 1 0; min-height: 214px; display: flex; flex-direction: column; }
.gdc-desc-clamp { flex: 1 1 0; min-height: 0; overflow: hidden; }
/* « Voir plus » ouvert : la cellule ET le texte reprennent leur taille naturelle (la colonne grandit) */
.gdc-prod-desc:has(.gdc-desc-toggle:checked) { flex: 0 0 auto; min-height: 0; }
.gdc-perso-cell { flex: none; margin-top: 26px; }
/* --- « Voir plus » (JS pose .is-clamp si le texte déborde de l'espace dispo) --- */
.gdc-desc-more { display: none; }
.gdc-prod-desc.is-clamp .gdc-desc-clamp {
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.gdc-prod-desc.is-clamp .gdc-desc-toggle:checked ~ .gdc-desc-clamp { flex: 0 0 auto; overflow: visible;
  -webkit-mask-image: none; mask-image: none; }
.gdc-prod-desc.is-clamp .gdc-desc-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  font-weight: 600; font-size: .9rem; color: var(--vert-fonce); cursor: pointer; }
.gdc-prod-desc.is-clamp .gdc-desc-more::before { content: "Voir plus"; }
.gdc-prod-desc.is-clamp .gdc-desc-toggle:checked ~ .gdc-desc-more::before { content: "Voir moins"; }
.gdc-prod-desc.is-clamp .gdc-desc-more::after { content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.gdc-prod-desc.is-clamp .gdc-desc-toggle:checked ~ .gdc-desc-more::after { transform: rotate(225deg) translateY(-2px); }
.gdc-cell .gdc-sec { margin-top: 0; }
.gdc-cell .gdc-perso-card { margin-top: 24px; }
.gdc-product .gdc-sec { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; color: var(--noir); letter-spacing: -.01em; margin: 0 0 16px; }
.gdc-prod-desc .rte { color: #3a3d38; line-height: 1.7; }
.gdc-prod-desc .rte p { margin: 0 0 14px; }
.gdc-prod-desc h2.gdc-sec ~ h2.gdc-sec, .gdc-prod-desc .rte + h2.gdc-sec { margin-top: 30px; }
.gdc-specs { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gdc-specs .row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; font-size: .88rem; border-bottom: 1px solid var(--line); margin: 0; }
.gdc-specs .row:last-child { border-bottom: 0; }
.gdc-specs .row:nth-child(odd) { background: #faf9f3; }
.gdc-specs .row span:first-child { color: var(--ink-2); }
.gdc-specs .row span:last-child { font-weight: 600; text-align: right; }
.gdc-perso-card { margin-top: 22px; background: var(--vert-fonce); color: #fff; border-radius: 16px; padding: 20px 22px; }
.gdc-perso-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-transform: uppercase; margin: 0 0 6px; color: #fff; }
.gdc-perso-card p { margin: 0 0 14px; font-size: .85rem; opacity: .92; }
.gdc-btn-devis2 { display: inline-block; background: var(--vert-clair); color: var(--vert-fonce-d); border-radius: 10px; padding: 11px 18px; font-weight: 600; font-size: .88rem; }
.gdc-btn-devis2:hover { background: #cdda86; color: var(--vert-fonce-d); }

/* --- accessoires --- */
.gdc-accessories { margin-top: 56px; }
.gdc-acc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---------- FICHE PRODUIT — responsive (tablette + mobile) ---------- */
@media (max-width: 880px) {
  .gdc-prod-hero { grid-template-columns: 1fr !important; gap: 24px; }
  /* Galerie : photo carrée, centrée et plafonnée. La bande de vignettes latérale (absolue) est masquée
     sur mobile — les pastilles couleur sous le titre gèrent la sélection + le swap de la photo. */
  /* PAS de sticky sur mobile (1 colonne empilée) → l'image défile normalement, le texte ne passe plus PAR-DESSUS l'image figée */
  .gdc-prod-hero > .gdc-gallery-col { align-self: start; position: static; top: auto; }
  .gdc-gallery { max-width: 460px; width: 100%; margin-inline: auto; height: auto; }
  .gdc-gallery .gdc-gallery-grid { grid-template-columns: 1fr; height: auto; position: static; }
  .gdc-gallery .images-container { grid-column: 1; height: auto; }
  .gdc-gallery .product-cover { height: auto; aspect-ratio: 1 / 1; min-height: 0; }
  .gdc-color-thumbs { display: none !important; }
  .gdc-gallery .product-flags { left: 14px; }
  /* Bas de fiche empilé : marges (pas les filets pensés pour 2 colonnes) */
  .gdc-prod-rows { flex-direction: column !important; }
  .gdc-prod-desc, .gdc-desc-clamp { flex: 0 0 auto !important; }
  .gdc-prod-desc.is-clamp .gdc-desc-clamp { max-height: 340px; }
  .gdc-prod-desc.is-clamp .gdc-desc-toggle:checked ~ .gdc-desc-clamp { max-height: none; }
  .gdc-r2, .gdc-r3 { margin-top: 24px; padding-top: 0; border-top: 0; }
  .gdc-acc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gdc-reassure { grid-template-columns: 1fr; }
}
/* Très petits écrans (≤359px) : le bouton panier passe sous le sélecteur de quantité
   (sinon la ligne « stepper + AJOUTER AU PANIER » impose une largeur mini ~360px qui déborde). */
@media (max-width: 359px) {
  .gdc-buyrow .product-quantity { flex-wrap: wrap; row-gap: 8px; }
  .gdc-buyrow .product-quantity .qty { margin-right: 0; }
  .gdc-buyrow .product-quantity .add { flex: 1 0 100%; }
}

/* ---------- PAGE PRODUIT — zone d'achat façon personaliz (couleurs GDC) ---------- */
/* description courte retirée (les couleurs remontent) */
.gdc-pz-shortdesc { display: none; }
/* Couleurs = grille de pastilles carrées (déclinaisons PrestaShop restylées) */
.gdc-pz-variants { margin: 0 0 22px; }
.gdc-pz-variants .product-variants, .gdc-pz-variants .product-variants-item { margin: 0; }
.gdc-prod-information .gdc-pz-variants .control-label { display: block; font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--noir); margin: 0 0 10px; }
.gdc-pz-variants .product-variants ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.gdc-pz-variants .product-variants li { margin: 0; float: none; list-style: none; }
.gdc-pz-variants .product-variants li > label { display: block; width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; }
.gdc-pz-variants .input-color, .gdc-pz-variants .input-radio { position: absolute; opacity: 0; width: 0; height: 0; }
.gdc-pz-variants .product-variants .color { display: block; width: 100%; height: auto; aspect-ratio: 1/1; border-radius: 10px; border: 1.5px solid var(--line); background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); cursor: pointer; position: relative; margin: 0; transition: border-color .12s; }
.gdc-pz-variants .product-variants .color:hover { border-color: var(--vert-fonce); }
/* pastille = photo produit (remplie en JS) : image contenue, fond clair, façon personaliz */
.gdc-pz-variants .color.gdc-pz-photoswatch { background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #f4f4f3; box-shadow: none; }
/* bordure verte : couleur APERÇUE (vignette/active) OU commandée. Le ✓ : SEULEMENT les couleurs commandées (selColors). */
.gdc-pz-variants .input-color:checked + .color, .gdc-pz-variants .color.gdc-pz-selected { border: 2px solid var(--vert-fonce); }
.gdc-pz-variants .color.gdc-pz-selected::after { content: "\2713"; position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: var(--vert-fonce); color: #fff; font-size: .7rem; display: flex; align-items: center; justify-content: center; border-bottom-left-radius: 8px; }
/* bordure propre (2px) sans l'anneau lourd hérité de l'ancien sélecteur PrestaShop */
.gdc-pz-variants .product-variants .input-color:checked + .color { box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.gdc-pz-variants .radio-label { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .86rem; }
.gdc-pz-variants .input-radio:checked + .radio-label { border-color: var(--vert-fonce); color: var(--vert-fonce); font-weight: 600; }
/* Quantité en carte */
.gdc-pz-sectitle { display: block; font-size: .92rem; font-weight: 600; color: var(--noir); margin: 0 0 10px; }
.gdc-pz-qty { margin: 0 0 20px; }
/* carte = vignette | nom | champ — TOUT sur une seule ligne (champ aligné avec la vignette + le nom) */
.gdc-pz-qty-card { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; }
/* vignette = MÊME fond que la grande photo : l'image (fond blanc) est fusionnée avec #f4f4f3 via background-blend-mode (comme le mix-blend-mode de la cover) */
.gdc-pz-qty-thumb { flex: 0 0 auto; width: 44px; height: 50px; border-radius: 8px; background-color: #f4f4f3; background-position: center; background-size: contain; background-repeat: no-repeat; background-blend-mode: multiply; }
.gdc-pz-qty-info { flex: 0 0 auto; display: flex; flex-direction: column; line-height: 1.3; }
.gdc-pz-qty-color { font-weight: 600; color: var(--noir); font-size: .9rem; line-height: 1.3; }
.gdc-pz-qty-count { font-size: .8rem; color: var(--ink-2); line-height: 1.3; }
.gdc-pz-qty-stock { font-size: .76rem; color: var(--orange, #EA5045); line-height: 1.3; margin-top: 1px; }
.gdc-pz-qty-stock[hidden] { display: none; }
/* couleur en rupture : image LÉGÈREMENT grisée (le produit garde sa couleur) + barrée + non sélectionnable */
.gdc-pz-variants li.gdc-oos { opacity: .55; cursor: not-allowed; }
.gdc-pz-variants li.gdc-oos label, .gdc-pz-variants li.gdc-oos .color { cursor: not-allowed; pointer-events: none; }
.gdc-pz-variants li.gdc-oos .color::before { content: ""; position: absolute; top: 50%; left: -2px; right: -2px; height: 2px; background: var(--ink-2); transform: rotate(-45deg); transform-origin: center; }
.gdc-cthumb.gdc-oos { opacity: .55; pointer-events: none; }
.gdc-pz-qty-card .gdc-buyrow { flex: 1; min-width: 0; margin: 0; }
/* une carte par couleur (multi) */
.gdc-pz-qty-cards { display: flex; flex-direction: column; gap: 10px; }
.gdc-pz-qty-card .gdc-pz-qty-info { flex: 0 0 auto; min-width: 56px; }
.gdc-pz-qty-card .gdc-pz-qty-input { flex: 1; min-width: 0; height: 34px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 12px; text-align: left; font-size: .87rem; font-weight: 500; color: var(--noir); background: #fff; -moz-appearance: textfield; }
.gdc-pz-qty-card .gdc-pz-qty-input:focus { border-color: var(--vert-fonce); outline: none; }
.gdc-pz-qty-card .gdc-pz-qty-input::-webkit-outer-spin-button, .gdc-pz-qty-card .gdc-pz-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gdc-pz-qty-del { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #f4f4f3; color: var(--ink-2); cursor: pointer; font-size: .8rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .12s, color .12s; }
.gdc-pz-qty-del:hover { background: var(--orange, #EA5045); color: #fff; }
.gdc-pz-qty-cards:not(.is-multi) .gdc-pz-qty-del { display: none; }
/* champ quantité = FIN (hauteur réduite), aligné à droite de la vignette */
.gdc-pz-qty-card .product-quantity { display: block; width: 100%; margin: 0; }
.gdc-pz-qty-card .product-quantity .qty { display: block; width: 100%; border: 0; border-radius: 0; overflow: visible; margin: 0; }
.gdc-pz-qty-card .product-quantity #quantity_wanted { width: 100%; height: 34px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 12px; text-align: left; font-size: .87rem; font-weight: 500; color: var(--noir); background: #fff; }
.gdc-pz-qty-card .product-quantity #quantity_wanted:focus { border-color: var(--vert-fonce); outline: none; box-shadow: none; }
.gdc-pz-qty-card .product-quantity #quantity_wanted::placeholder { color: var(--ink-2); font-weight: 400; }
.gdc-pz-qty-card .add-to-cart { border-radius: 999px; height: 54px; }
/* Récap commande : 2 cartes (Prix + Livraison) */
.gdc-pz-order { margin: 0 0 18px; }
.gdc-pz-order-title { display: block; font-family: var(--font-body); font-weight: 600; color: var(--noir); font-size: .92rem; margin: 0 0 10px; }
.gdc-pz-order-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gdc-pz-card { background: #f6f6f0; border-radius: 12px; padding: 16px; }
.gdc-pz-card-label { font-size: .9rem; font-weight: 600; color: var(--noir); }
.gdc-pz-card-val { margin-top: 14px; }
.gdc-pz-deliv { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--noir); }
.gdc-pz-priceval .product-prices, .gdc-pz-priceval .product-price { margin: 0; padding: 0; border: 0; }
.gdc-pz-priceval .current-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.gdc-pz-priceval .current-price-value { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--vert-fonce); }
.gdc-pz-priceval .gdc-price-ttc { width: 100%; font-size: .84rem; color: var(--ink-2); margin: 2px 0 0; }
.gdc-pz-priceval .tax-shipping-delivery-label, .gdc-pz-priceval .gdc-deg { display: none; }
.gdc-pz-total-ht { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--vert-fonce); line-height: 1.1; }
.gdc-pz-total-ht small { font-size: .7rem; font-weight: 500; color: var(--ink-2); }
.gdc-pz-total-ttc { font-size: .82rem; color: var(--ink-2); margin-top: 2px; }
.gdc-pz-total-unit { font-size: .76rem; color: var(--ink-2); margin-top: 4px; }
.gdc-pz-total-unit:empty { display: none; }
/* Réassurance « on s'occupe de tout » */
.gdc-pz-reassure { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; margin-top: 18px; }
.gdc-pz-reassure-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--vert-clair); color: var(--vert-fonce-d); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; }
.gdc-pz-reassure-txt h3 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--noir); margin: 0 0 4px; }
.gdc-pz-reassure-txt p { font-size: .85rem; color: var(--ink-2); line-height: 1.5; margin: 0; }
/* en-tête : titre (gauche) ALIGNÉ avec le prix « À partir de » (droite), même ligne */
.gdc-pz-titlerow { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; margin: 4px 0 0; }
.gdc-pz-titlerow .gdc-prod-title { margin: 0; }
.gdc-pz-fromprice { text-align: right; flex: 0 0 auto; padding-top: 4px; }
.gdc-pz-from { font-size: .74rem; color: var(--ink-2); }
.gdc-pz-fromht { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--noir); line-height: 1.1; white-space: nowrap; }
.gdc-pz-fromht small { font-size: .7rem; font-weight: 500; color: var(--ink-2); }
.gdc-pz-fromttc { font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
/* badges */
.gdc-pz-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.gdc-pz-badges:empty { display: none; }
/* badges en overlay sur le coin haut-gauche de la photo (après la colonne de vignettes) */
.gdc-pz-badges--overlay { position: absolute; top: 16px; left: 114px; z-index: 4; margin: 0; }
@media (max-width: 880px) { .gdc-pz-badges--overlay { left: 16px; } }
.gdc-pz-badge { font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: #f0f0ea; color: var(--ink); }
.gdc-pz-badge--eco { background: var(--vert-clair); color: var(--vert-fonce-d); }
/* CTA : 2 pilules (panier + devis) tout en bas */
.gdc-pz-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.gdc-pz-cta .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border-radius: 999px; font-weight: 600; font-size: .95rem; padding: 0 18px; cursor: pointer; }
.gdc-pz-cart.add-to-cart { background: var(--vert-fonce); color: #fff; border: 0; }
.gdc-pz-cart.add-to-cart:hover:not([disabled]) { background: var(--vert-fonce-d); }
.gdc-pz-cart.add-to-cart[disabled] { opacity: .5; cursor: not-allowed; }
.gdc-pz-cart .material-icons { font-size: 1.2rem; line-height: 1; }
.gdc-pz-devis { border: 1.5px solid var(--line); color: var(--noir); background: #fff; }
.gdc-pz-devis:hover { border-color: var(--vert-fonce); color: var(--vert-fonce); }

/* ---------- CONFIGURATEUR DE PERSONNALISATION (éditeur INLINE façon personaliz) ---------- */
/* La grille NE CHANGE PAS quand on personnalise : la galerie devient la scène EN PLACE et le
   panneau s'AJOUTE sous le toggle dans la colonne d'achat (flux continu, pas de « nouvelle page »). */
.gdc-ed-scene { display: none; }
.gdc-ed-panel { display: none; margin-top: 18px; }
.gdc-prod-hero.is-perso .gdc-gallery { display: none; }        /* la galerie normale laisse place à la scène */
.gdc-prod-hero.is-perso .gdc-ed-scene { display: grid; }
.gdc-prod-hero.is-perso .gdc-ed-panel { display: block; }

/* toggle « Personnalisez vos produits » (dans la colonne d'achat) — couleurs GDC */
.gdc-perso-toggle { display: flex; align-items: center; gap: 13px; margin-top: 16px; padding: 14px 16px; border: 1.5px solid var(--vert-fonce); border-radius: 14px; background: #fbfcf4; cursor: pointer; }
.gdc-perso-toggle-input { position: absolute; opacity: 0; width: 0; height: 0; }
.gdc-switch { flex: 0 0 auto; width: 46px; height: 26px; border-radius: 999px; background: #cdd2c0; position: relative; transition: background .15s; }
.gdc-switch-thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.gdc-perso-toggle-input:checked + .gdc-switch { background: var(--vert-fonce); }
.gdc-perso-toggle-input:checked + .gdc-switch .gdc-switch-thumb { transform: translateX(20px); }
.gdc-perso-toggle-input:focus-visible + .gdc-switch { outline: 2px solid var(--vert-fonce); outline-offset: 2px; }
.gdc-perso-toggle-txt { display: flex; flex-direction: column; line-height: 1.3; }
.gdc-perso-toggle-txt b { font-weight: 600; color: var(--noir); font-size: .92rem; }
.gdc-perso-toggle-txt span { font-size: .8rem; color: var(--ink-2); }

/* --- GAUCHE : scène = colonne de faces + grande scène --- */
/* la scène vit DANS la colonne galerie (déjà sticky top:80px) → pas de double sticky ; colonne faces = 84px comme les vignettes ;
   max-width 880px = MÊME plafond que `.gdc-gallery` → cadre identique même sur écran large (sinon la scène était ~10px plus large) */
.gdc-ed-scene { grid-template-columns: 84px minmax(0,1fr); gap: 16px; max-width: min(880px, calc(100vh - 40px)); margin-inline: auto; }  /* MÊME plafond largeur+hauteur que `.gdc-gallery` → même x ET même taille (le cadre rentre en hauteur sur portable, zéro saut fiche↔config) */
.gdc-ed-faces { display: flex; flex-direction: column; gap: 10px; max-height: 540px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; padding-right: 2px; }
.gdc-ed-stagewrap { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* barre zoom (compacte) + œil : PETITS, empilés dans l'angle HAUT-GAUCHE du cadre */
.gdc-ed-toolbar { position: absolute; top: 10px; left: 10px; z-index: 4; display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.gdc-ed-zoomgrp { display: flex; align-items: center; gap: 7px; padding: 5px 11px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.09); }
.gdc-ed-zoom { width: 78px; accent-color: var(--vert-fonce); cursor: pointer; }
.gdc-ed-zmin, .gdc-ed-zmax { color: var(--ink-2); font-size: .95rem; line-height: 1; width: 9px; text-align: center; }
.gdc-ed-eye { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); box-shadow: 0 1px 4px rgba(0,0,0,.09); cursor: pointer; font-size: .95rem; line-height: 1; padding: 0; }
.gdc-ed-eye[aria-pressed="false"] { background: rgba(238,238,232,.92); opacity: .7; }
/* pastilles couleur (haut-droite de la scène) : couleurs choisies dans la zone d'achat, clic = bascule l'aperçu */
.gdc-cfg-colorsw { position: absolute; top: 10px; right: 10px; z-index: 4; display: flex; flex-direction: column; gap: 7px; align-items: flex-end; }
.gdc-cfg-colorsw[hidden] { display: none; }
.gdc-cfg-sw { width: 42px; height: 42px; padding: 0; border: 2px solid rgba(255,255,255,.9); border-radius: 12px; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.14); cursor: pointer; overflow: hidden; line-height: 1; font-size: .56rem; color: var(--ink-2); }
.gdc-cfg-sw > span { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; }
.gdc-cfg-sw.is-on { border-color: var(--vert-fonce); box-shadow: 0 0 0 2px var(--vert-fonce), 0 1px 5px rgba(0,0,0,.14); }
.gdc-cfg-sw:hover { border-color: var(--vert-fonce); }
/* alignement du marquage : petite grille 3×3 sur le bord DROIT du cadre (apparaît quand un logo est posé) */
.gdc-ed-align { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 4; display: grid; grid-template-columns: repeat(3, 22px); grid-auto-rows: 22px; gap: 3px; padding: 6px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border-radius: 12px; box-shadow: 0 1px 5px rgba(0,0,0,.1); }
.gdc-ed-align button { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; font-size: .72rem; line-height: 1; color: var(--ink-2); }
.gdc-ed-align button:hover { border-color: var(--vert-fonce); color: var(--vert-fonce); background: #f6f9ea; }

/* Scène : format homogène quel que soit le produit (image centrée, hauteur plafonnée → plus de visuels « écrasés »/géants). positionArea() tient compte du centrage + letterbox + zoom. */
/* cadre = MÊME format que la fiche (carré, fond/bord identiques) → aucun saut au passage produit ↔ configurateur */
.gdc-cfg-stage { position: relative; background: #f4f4f3; border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; }
/* visuel produit RÉDUIT (inset) + CENTRÉ, SANS transform (sinon la zone de marquage se décale) ; barre/align en overlay aux coins */
.gdc-cfg-stageinner { position: absolute; inset: 8%; display: flex; align-items: center; justify-content: center; transform-origin: center center; transition: transform .12s ease; }
.gdc-cfg-stage img#gdc-cfg-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.gdc-cfg-hint { font-size: .78rem; color: var(--ink-2); margin: 0; text-align: center; }
.gdc-cfg-area { position: absolute; border: 1.5px dashed var(--vert-fonce); box-shadow: 0 0 0 9999px rgba(247,247,242,.5); }
.gdc-cfg-logo { position: absolute; cursor: move; touch-action: none; outline: 1.5px dashed rgba(43,110,67,.6); }
.gdc-cfg-logoc { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: none; }
.gdc-cfg-logoc img { width: 100%; height: 100%; object-fit: contain; display: block; }  /* remplit la boîte (qui a déjà le ratio du logo) → boîte collée au logo, redim sans vide */
/* marquage courbé sur les 3 gourdes (overlay rempli à la validation, zones 360/rondes) */
.gdc-cfg-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.gdc-cfg-wrap canvas { width: 100%; height: 100%; display: block; }
.gdc-cfg-logoc .gdc-cfg-txt { font-family: var(--font-display); font-weight: 700; color: var(--noir); line-height: 1.05; text-align: center; }
/* poignée corbeille (haut-gauche) + redim (bas-droite), façon personaliz */
.gdc-cfg-del { position: absolute; top: -13px; left: -13px; width: 27px; height: 27px; border-radius: 50%; background: var(--orange, #EA5045); color: #fff; border: 2px solid #fff; cursor: pointer; font-size: .8rem; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.3); z-index: 3; }
.gdc-cfg-handle { position: absolute; right: -9px; bottom: -9px; width: 18px; height: 18px; background: var(--vert-fonce); border: 2px solid #fff; border-radius: 50%; cursor: nwse-resize; touch-action: none; box-shadow: 0 1px 3px rgba(0,0,0,.3); z-index: 3; }
/* Techniques de gravure (laser, embossage…) : marquage NON coloré, tonal, incrusté dans la matière */
/* gravure laser/embossage : TOUT le marquage en UN SEUL gris uniforme, semi-transparent (brightness(0)=silhouette → invert=gris ; pas de variation de tons selon les couleurs d'origine) */
#gdc-configurator.gdc-engrave .gdc-cfg-logoc { filter: brightness(0) invert(.6); opacity: .5; }
.gdc-cfg-zonename { position: absolute; left: 14px; bottom: 14px; background: var(--vert-fonce); color: #fff; font-size: .76rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; z-index: 2; }
/* faces (= emplacements) : vignettes produit verticales */
.gdc-cfg-zonelist { display: flex; flex-direction: column; gap: 10px; }
.gdc-cfg-zone { position: relative; width: 100%; border-radius: 12px; border: 1.5px solid var(--line); background: #f7f7f2; padding: 5px 4px 4px; cursor: pointer; transition: border-color .15s; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.gdc-cfg-zone img { width: 100%; aspect-ratio: 1/1; object-fit: contain; mix-blend-mode: multiply; }
.gdc-cfg-zlabel { font-size: .54rem; line-height: 1.05; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); text-align: center; word-break: break-word; }
.gdc-cfg-zone.is-on .gdc-cfg-zlabel { color: var(--vert-fonce); }
.gdc-cfg-zone.is-on { border-color: var(--vert-fonce); border-width: 2px; }
.gdc-cfg-zone.is-on::after { content: "✓"; position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: var(--vert-fonce); color: #fff; font-size: .7rem; display: flex; align-items: center; justify-content: center; border-bottom-left-radius: 8px; }
.gdc-cfg-zone:hover { border-color: var(--vert-fonce); }

/* --- DROITE : panneau --- */
.gdc-ed-card, .gdc-ed-elem { border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 16px; }
/* Ajout d'un élément : 2 cartes propres = Ajouter un logo (dropzone) | Ajouter un texte */
.gdc-ed-add { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gdc-ed-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 150px; padding: 22px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s, transform .08s, box-shadow .15s; }
.gdc-ed-opt:hover { border-color: var(--vert-fonce); background: var(--vert-clair-t); box-shadow: 0 2px 10px rgba(43,110,67,.08); }
.gdc-ed-opt:active { transform: translateY(1px); }
.gdc-ed-opt.is-drag { border-color: var(--vert-fonce); border-style: dashed; background: var(--vert-clair-t); }
.gdc-ed-opt-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--vert-clair); color: var(--vert-fonce-dd); transition: background .15s, color .15s; }
.gdc-ed-opt:hover .gdc-ed-opt-ic { background: var(--vert-fonce); color: #fff; }
.gdc-ed-opt-t { font-weight: 700; font-size: .96rem; color: var(--ink); }
.gdc-ed-opt-s { font-size: .73rem; color: var(--ink-2); line-height: 1.3; max-width: 17ch; }
@media (max-width: 380px) { .gdc-ed-opt { min-height: 132px; padding: 18px 8px; } .gdc-ed-opt-s { font-size: .68rem; } }
.gdc-ed-elemhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--noir); }
.gdc-ed-mini { font-size: .78rem; border: 0; background: none; cursor: pointer; color: var(--ink-2); padding: 0; }
.gdc-ed-mini--del { color: var(--orange, #EA5045); font-weight: 600; }
.gdc-ed-field { margin-bottom: 14px; }
.gdc-ed-field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.gdc-ed-h3 { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--noir); margin: 16px 0 10px; }
.gdc-ed-elem .gdc-ed-h3:first-of-type, .gdc-ed-elem .gdc-ed-field + .gdc-ed-h3 { margin-top: 4px; }
.gdc-cfg-textin { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font-size: .9rem; color: var(--noir); }
/* sélecteur de police (texte) : grille de pastilles, chacune rendue dans sa police */
.gdc-cfg-fontlbl { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); margin: 14px 0 6px; }
.gdc-cfg-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gdc-cfg-font { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 1.05rem; color: var(--noir); line-height: 1; overflow: hidden; white-space: nowrap; transition: border-color .15s, background .15s; }
.gdc-cfg-font:hover { border-color: var(--vert-fonce); }
.gdc-cfg-font.is-on { border-color: var(--vert-fonce); background: var(--vert-clair-t); box-shadow: inset 0 0 0 1px var(--vert-fonce); }
.gdc-cfg-sizerow { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--ink-2); margin: 14px 0 0; }
.gdc-cfg-sizerow input[type=range] { flex: 1; accent-color: var(--vert-fonce); }
.gdc-cfg-logocolors { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.gdc-cfg-lclabel { font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.gdc-cfg-lcswatches { display: flex; flex-wrap: wrap; gap: 12px; }
.gdc-cfg-lcwrap { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.gdc-cfg-lcdel { border: 0; background: none; cursor: pointer; font-size: .85rem; line-height: 1; color: var(--ink-2); padding: 0; }
.gdc-cfg-lcdel:hover { color: var(--orange); }
.gdc-cfg-lcsw { width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line); cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.gdc-cfg-lcsw:hover { border-color: var(--vert-fonce); }
/* menu de remplacement : autres couleurs utilisées + couleur libre */
.gdc-cfg-lcpop { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; flex-wrap: wrap; gap: 6px; width: max-content; max-width: 172px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 22px rgba(0,0,0,.16); }
.gdc-cfg-lcpop[hidden] { display: none; }
.gdc-cfg-lcopt { position: relative; width: 28px; height: 28px; border-radius: 7px; border: 1.5px solid var(--line); cursor: pointer; padding: 0; overflow: hidden; }
.gdc-cfg-lcopt:hover { border-color: var(--vert-fonce); }
.gdc-cfg-lccustom { background: conic-gradient(#ea5045, #f5d000, #2a9d3f, #1f87c7, #502878, #b61669, #ea5045); }
.gdc-cfg-lccustom input[type=color] { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); border: 0; padding: 0; margin: 0; cursor: pointer; opacity: 0; }
.gdc-cfg-step { margin: 0; }
/* technique = cartes (nom + delta prix), façon personaliz */
.gdc-cfg-techlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.gdc-cfg-tech { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink); transition: all .15s; }
.gdc-cfg-tech .gdc-cfg-techd { font-size: .76rem; font-weight: 600; color: var(--ink-2); }
.gdc-cfg-tech.is-on { border-color: var(--vert-fonce); border-width: 2px; background: #eef4d6; color: var(--vert-fonce); }
.gdc-cfg-tech.is-on .gdc-cfg-techd { color: var(--vert-fonce-d, #1f5733); }
.gdc-cfg-tech.is-on::after { content: "✓"; position: absolute; top: 0; right: 0; width: 18px; height: 18px; background: var(--vert-fonce); color: #fff; font-size: .65rem; display: flex; align-items: center; justify-content: center; border-bottom-left-radius: 8px; }
/* technique indisponible (trop de couleurs pour ce marquage) */
.gdc-cfg-tech.is-unavailable { opacity: .5; cursor: not-allowed; background: #faf9f6; }
.gdc-cfg-tech.is-unavailable .gdc-cfg-techd { color: var(--orange); }
.gdc-cfg-technote { font-size: .82rem; line-height: 1.4; color: var(--orange); background: #fdf1ef; border: 1px solid #f6d3ce; border-radius: 10px; padding: 10px 12px; margin: 2px 0 0; }
/* tableau dégressif du marquage */
.gdc-cfg-degressif { margin-top: 10px; }
.gdc-cfg-degressif[hidden] { display: none; }
.gdc-cfg-deg-h { font-size: .78rem; font-weight: 700; color: var(--ink-2); margin-bottom: 5px; }
.gdc-cfg-deg-t { width: 100%; border-collapse: collapse; font-size: .82rem; }
.gdc-cfg-deg-t td { padding: 6px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.gdc-cfg-deg-t td:nth-child(2) { text-align: right; font-weight: 600; }
.gdc-cfg-deg-t td:nth-child(3) { text-align: right; width: 48px; color: var(--vert-fonce); font-weight: 700; }
.gdc-cfg-deg-t tr:last-child td { border-bottom: 0; }
.gdc-cfg-deg-t tr.is-active td { background: var(--vert-clair-t); color: var(--vert-fonce-d); }
.gdc-cfg-deg-t tr.is-active td:first-child { border-radius: 7px 0 0 7px; }
.gdc-cfg-deg-t tr.is-active td:last-child { border-radius: 0 7px 7px 0; }
.gdc-cfg-colorlist { display: flex; flex-wrap: wrap; gap: 8px; }
.gdc-cfg-color { min-width: 40px; height: 40px; padding: 0 6px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--ink); transition: all .15s; }
.gdc-cfg-color.is-on { border-color: var(--vert-fonce); background: var(--vert-fonce); color: #fff; }
.gdc-cfg-qtyrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
#gdc-cfg-qty { height: 48px; width: 110px; border: 1.5px solid var(--line); border-radius: 12px; text-align: center; font-size: 1rem; font-weight: 600; color: var(--noir); }
.gdc-cfg-qtyhint { font-size: .8rem; color: var(--ink-2); }
.gdc-cfg-price { margin-top: 14px; padding: 18px 20px; background: #f5f5ef; border-radius: 16px; }
.gdc-cfg-price .gdc-cfg-tot { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--vert-fonce); line-height: 1.1; }
.gdc-cfg-price .gdc-cfg-unit { color: var(--ink-2); font-size: .85rem; margin: 2px 0 0; }
.gdc-cfg-price .gdc-cfg-break { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 5px; }
.gdc-cfg-price .gdc-cfg-break div { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-2); }
.gdc-cfg-price .gdc-cfg-break b { color: var(--ink); font-weight: 600; }
/* .gdc-cfg-validate : classe verte conservée pour les boutons « Terminé » / « Suivant » (le gros « Valider mon visuel » a été retiré, Valider est passé dans le pied de la carte) */
.gdc-cfg-validate { background: var(--vert-fonce); color: #fff; border: 1.5px solid var(--vert-fonce); }
.gdc-cfg-validate:hover { background: #235a37; color: #fff; }

/* « Mes personnalisations » : carte de l'élément posé (façon personaliz) */
.gdc-cfg-myperso { margin: 14px 0 26px; }   /* espace sous la carte avant « Votre commande » */
.gdc-cfg-myperso[hidden] { display: none; }
.gdc-cfg-myperso-h { font-family: var(--font-body); font-weight: 600; font-size: .92rem; color: var(--noir); margin: 0 0 10px; }
.gdc-cfg-pcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 11px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.gdc-cfg-pcard-main { display: flex; align-items: center; gap: 14px; padding-right: 26px; }   /* place pour le ✗ */
.gdc-cfg-pcard-thumb { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 12px; background: #f4f4f3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gdc-cfg-pcard-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gdc-cfg-pcard-txt { font-size: .8rem; font-weight: 700; color: var(--noir); padding: 0 4px; text-align: center; line-height: 1.1; word-break: break-word; }
.gdc-cfg-pcard-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gdc-cfg-pcard-title { font-weight: 600; font-size: .92rem; color: var(--noir); }
.gdc-cfg-pcard-tech { font-size: .82rem; color: var(--ink-2); }
.gdc-cfg-pcard-cost { font-size: .82rem; font-weight: 600; color: var(--vert-fonce); }
.gdc-cfg-pcard-del { position: absolute; top: 10px; right: 12px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-2); font-size: 1.05rem; line-height: 1; cursor: pointer; }
.gdc-cfg-pcard-del:hover { background: #f4f4f3; color: var(--noir); }
/* pied de carte : « Modifier » / « Valider » côte à côte (remplace le gros bouton) */
.gdc-cfg-pcard-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 11px; }
.gdc-cfg-pcard-edit, .gdc-cfg-pcard-valid { background: none; border: 0; padding: 0; cursor: pointer; font-size: .86rem; color: var(--vert-fonce); }
.gdc-cfg-pcard-edit { font-weight: 600; text-decoration: underline; }
.gdc-cfg-pcard-edit:hover { color: #235a37; }
.gdc-cfg-pcard-valid { font-weight: 700; }
.gdc-cfg-pcard-valid:hover { color: #235a37; }
/* état « visuel validé » : on retire le contour pointillé + les poignées + le spotlight → visuel réaliste propre */
#gdc-configurator.gdc-validated .gdc-cfg-area, #gdc-configurator.gdc-area-hidden .gdc-cfg-area { border-color: transparent; box-shadow: none; }
#gdc-configurator.gdc-validated .gdc-cfg-logo, #gdc-configurator.gdc-area-hidden .gdc-cfg-logo { outline: none; }
#gdc-configurator.gdc-validated .gdc-cfg-logo { cursor: default; }
/* visuel VALIDÉ = figé : ni déplacement/redim du marquage, ni changement de zone (ré-éditer via « Modifier mon visuel ») */
#gdc-configurator.gdc-validated .gdc-cfg-area { pointer-events: none; }
#gdc-configurator.gdc-validated .gdc-cfg-zonelist { opacity: .5; pointer-events: none; }
#gdc-configurator.gdc-validated .gdc-cfg-handle, #gdc-configurator.gdc-validated .gdc-cfg-del,
#gdc-configurator.gdc-area-hidden .gdc-cfg-handle, #gdc-configurator.gdc-area-hidden .gdc-cfg-del,
#gdc-configurator.gdc-validated .gdc-ed-align, #gdc-configurator.gdc-area-hidden .gdc-ed-align { display: none; }
.gdc-cfg-disclaimer { display: none; font-size: .76rem; color: var(--ink-2); margin: 12px 0 0; }
.gdc-prod-hero.has-mark .gdc-cfg-disclaimer { display: block; }
/* récap config (technique + couleurs + coût marquage) sous Valider / Modifier */
.gdc-cfg-summary { margin-top: 12px; padding: 12px 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; font-size: .82rem; }
.gdc-cfg-summary[hidden] { display: none; }
.gdc-cfg-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.gdc-cfg-sum-row + .gdc-cfg-sum-row { border-top: 1px solid var(--line); }
.gdc-cfg-sum-k { color: var(--ink-2); }
.gdc-cfg-sum-v { color: var(--ink); text-align: right; font-weight: 600; }
.gdc-cfg-recap { margin-top: 14px; padding: 14px 16px; background: #eef4d6; border: 1px solid #d8e6ad; border-radius: 12px; font-size: .85rem; line-height: 1.5; color: var(--noir); white-space: pre-line; }
.gdc-cfg-recap b { font-family: var(--font-display); font-weight: 600; display: block; margin-bottom: 6px; }
@media (max-width: 880px) {
  /* MOBILE/TABLETTE : faces en RANGÉE horizontale (scroll) AU-DESSUS de la scène → la scène prend toute la largeur (façon personaliz mobile) */
  .gdc-ed-scene { grid-template-columns: 1fr; gap: 12px; max-width: 460px; }
  .gdc-ed-faces { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 8px; padding: 0 0 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .gdc-cfg-zone { width: 58px; flex: 0 0 58px; }   /* vignette de face en largeur fixe → scroll horizontal */
  .gdc-cfg-zone img { aspect-ratio: 1/1; }
}

/* ---------- ÉTAPE « MES COULEURS » (après upload d'un logo) : prend toute la colonne de droite ---------- */
#gdc-cfg-mescouleurs { display: none; }
.gdc-prod-hero.is-colorstep .gdc-buy-col > .gdc-eyebrow,
.gdc-prod-hero.is-colorstep .gdc-buy-col > .gdc-pz-titlerow,
.gdc-prod-hero.is-colorstep .gdc-buy-col > .gdc-pz-shortdesc,
.gdc-prod-hero.is-colorstep .gdc-buy-col > .product-information { display: none; }
.gdc-prod-hero.is-colorstep #gdc-cfg-mescouleurs { display: block; }
.gdc-cfg-mc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gdc-cfg-mc-back { width: 36px; height: 36px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--noir); flex: 0 0 auto; }
.gdc-cfg-mc-back:hover { border-color: var(--vert-fonce); color: var(--vert-fonce); }
.gdc-cfg-mc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--noir); }
/* aperçu du logo sur fond DAMIER (transparence visible) */
.gdc-cfg-mc-preview { height: 240px; border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 20px; margin-bottom: 20px; border: 1px solid var(--line);
  background-color: #fff;
  background-image: linear-gradient(45deg, #e8e8e2 25%, transparent 25%), linear-gradient(-45deg, #e8e8e2 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8e8e2 75%), linear-gradient(-45deg, transparent 75%, #e8e8e2 75%);
  background-size: 22px 22px; background-position: 0 0, 0 11px, 11px -11px, -11px 0; }
.gdc-cfg-mc-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gdc-cfg-mc-sub { font-weight: 600; font-size: .92rem; color: var(--noir); margin-bottom: 12px; }
.gdc-cfg-mc-list { display: flex; flex-direction: column; gap: 8px; }
.gdc-cfg-mc-row { display: flex; align-items: center; gap: 11px; padding: 9px 13px; border: 1.5px solid var(--line); border-radius: 12px; }
.gdc-cfg-mc-row.is-removed { opacity: .5; }
.gdc-cfg-mc-sw { width: 19px; height: 19px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: 0 0 auto; }
.gdc-cfg-mc-name { font-size: .9rem; color: var(--ink); }
.gdc-cfg-mc-hexwrap { position: relative; margin-left: auto; display: flex; align-items: center; gap: 7px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.gdc-cfg-mc-pick { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; cursor: pointer; }
.gdc-cfg-mc-hex { font-size: .82rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gdc-cfg-mc-hexwrap::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--ink-2); }
.gdc-cfg-mc-rm { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--orange, #EA5045); cursor: pointer; font-size: 1rem; line-height: 1; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.gdc-cfg-mc-rm:hover { border-color: var(--orange, #EA5045); }
.gdc-cfg-mc-row.is-removed .gdc-cfg-mc-rm { background: var(--orange, #EA5045); color: #fff; border-color: var(--orange, #EA5045); }
.gdc-cfg-mc-whitebtn { margin-top: 14px; width: 100%; padding: 13px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink); }
.gdc-cfg-mc-whitebtn:hover { border-color: var(--vert-fonce); color: var(--vert-fonce); }
.gdc-cfg-mc-whitebtn.is-on { border-color: var(--vert-fonce); background: #eef4d6; color: var(--vert-fonce); }
.gdc-cfg-mc-improve { margin-top: 10px; }
.gdc-cfg-mc-quality { font-size: .8rem; color: var(--ink-2); margin: 10px 0 0; line-height: 1.4; }
.gdc-cfg-mc-cta { display: flex; gap: 11px; margin-top: 20px; }
.gdc-cfg-mc-cta .btn { flex: 1; height: 50px; display: flex; align-items: center; justify-content: center; margin: 0; }
.gdc-cfg-mc-empty { font-size: .85rem; color: var(--ink-2); }
@media (max-width: 880px) { .gdc-cfg-mc-preview { height: 190px; } }

/* ---------- PANNEAU « ÉDITER MON LOGO » (.is-editstep) : prend la colonne de droite au clic sur le logo posé ---------- */
.gdc-cfg-edithead { display: none; align-items: center; gap: 12px; margin-bottom: 18px; }
.gdc-prod-hero.is-editstep .gdc-cfg-edithead { display: flex; }
.gdc-prod-hero.is-editstep .gdc-buy-col > .gdc-eyebrow,
.gdc-prod-hero.is-editstep .gdc-buy-col > .gdc-pz-titlerow,
.gdc-prod-hero.is-editstep .gdc-pz-variants,
.gdc-prod-hero.is-editstep .gdc-pz-qty,
.gdc-prod-hero.is-editstep .gdc-perso-toggle,
.gdc-prod-hero.is-editstep .gdc-ed-card,
.gdc-prod-hero.is-editstep .gdc-cfg-editbtn,
.gdc-prod-hero.is-editstep .gdc-cfg-cta,
.gdc-prod-hero.is-editstep .gdc-cfg-disclaimer,
.gdc-prod-hero.is-editstep .gdc-cfg-recap,
.gdc-prod-hero.is-editstep .gdc-cfg-summary,
.gdc-prod-hero.is-editstep .gdc-cfg-myperso,
.gdc-prod-hero.is-editstep .gdc-pz-order,
.gdc-prod-hero.is-editstep .gdc-pz-cta,
.gdc-prod-hero.is-editstep .gdc-pz-reassure { display: none !important; }
.gdc-prod-hero.is-editstep #gdc-cfg-elem { display: block !important; border: 0; padding: 0; margin: 0; }
/* bouton « Modifier mon logo » : visible quand un marquage est posé (hors édition) ; dropzone masquée alors */
.gdc-cfg-editbtn { display: none; width: 100%; height: 52px; align-items: center; justify-content: center; margin: 0 0 8px; padding: 0 14px; border: 1.5px solid var(--vert-fonce); border-radius: 12px; background: #fbfcf4; color: var(--vert-fonce); font-weight: 600; font-size: .9rem; cursor: pointer; }
.gdc-cfg-editbtn:hover { background: #eef4d6; }
.gdc-prod-hero.has-mark .gdc-cfg-editbtn { display: flex; }
.gdc-prod-hero.has-mark .gdc-ed-card { display: none; }
.gdc-prod-hero.is-editstep .gdc-cfg-editbtn { display: none; }
/* Aligner : 6 boutons gauche/centre/droite + haut/milieu/bas */
.gdc-cfg-align6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gdc-cfg-align6 button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; font-size: 1.05rem; line-height: 1; color: var(--ink); }
.gdc-cfg-align6 button span { font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.gdc-cfg-align6 button:hover { border-color: var(--vert-fonce); color: var(--vert-fonce); }
.gdc-cfg-align6 button:hover span { color: var(--vert-fonce); }
/* Outils : Couleur / Changer / Verrouiller / Cloner / Recadrer / Supprimer */
.gdc-cfg-tools6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gdc-cfg-tools6 button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 4px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: .75rem; font-weight: 600; color: var(--ink); }
.gdc-cfg-tools6 .gdc-cfg-toolic { font-size: 1.1rem; line-height: 1; }
.gdc-cfg-tools6 button:hover:not(:disabled) { border-color: var(--vert-fonce); color: var(--vert-fonce); }
.gdc-cfg-tools6 button.is-soon { opacity: .42; cursor: not-allowed; }
.gdc-cfg-tools6 button.gdc-cfg-tool-del { color: var(--orange, #EA5045); }
.gdc-cfg-tools6 button.gdc-cfg-tool-del:hover { border-color: var(--orange, #EA5045); color: var(--orange, #EA5045); }
.gdc-cfg-tools6 button.is-locked { border-color: var(--vert-fonce); background: #eef4d6; color: var(--vert-fonce); }
#gdc-cfg-edit-done { width: 100%; margin-top: 18px; height: 50px; }
.gdc-cfg-rot90 { flex: 0 0 auto; padding: 6px 11px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.gdc-cfg-rot90:hover { border-color: var(--vert-fonce); color: var(--vert-fonce); }

/* ---------- RECADRAGE EN PLACE sur le logo dans le visuel (.is-cropping) ---------- */
.gdc-cfg-cropov { position: absolute; inset: 0; z-index: 4; }
#gdc-configurator.is-cropping .gdc-cfg-del, #gdc-configurator.is-cropping .gdc-cfg-handle { display: none; }  /* on masque corbeille + poignée pendant le recadrage */
#gdc-configurator.is-cropping .gdc-cfg-logo { outline: none; cursor: default; }
.gdc-cfg-cropbox2 { position: absolute; border: 1.5px solid #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,.45); cursor: move; touch-action: none; }
.gdc-cfg-cropbox2 .gdc-ch { position: absolute; width: 14px; height: 14px; background: #fff; border: 2px solid var(--vert-fonce); border-radius: 3px; touch-action: none; }
.gdc-cfg-cropbox2 .gdc-ch[data-h="nw"] { left: -8px; top: -8px; cursor: nwse-resize; }
.gdc-cfg-cropbox2 .gdc-ch[data-h="ne"] { right: -8px; top: -8px; cursor: nesw-resize; }
.gdc-cfg-cropbox2 .gdc-ch[data-h="sw"] { left: -8px; bottom: -8px; cursor: nesw-resize; }
.gdc-cfg-cropbox2 .gdc-ch[data-h="se"] { right: -8px; bottom: -8px; cursor: nwse-resize; }
.gdc-cfg-cropbar { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 8px; }
.gdc-cfg-cropbar button { padding: 9px 18px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: .85rem; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
#gdc-cfg-crop-cancel { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
#gdc-cfg-crop-apply { background: var(--vert-fonce); color: #fff; }

/* =================================================================
   PANIER / CART (page /fr/cart) — reskin GDC façon personaliz
   Conserve les classes JS PrestaShop (js-cart, js-cart-line-product-quantity,
   remove-from-cart, voucher) ; restructure le HTML + skinne en charte 2026.
   ================================================================= */
.page-cart .breadcrumb, .page-order .breadcrumb { display: none !important; }
.page-cart #content-wrapper, .page-order #content-wrapper { padding: 0; }
.page-cart #main > .cart-grid, .page-cart #wrapper { background: #fff; }

.gdc-cart { max-width: 1480px; margin: 6px auto 64px; padding: 0 clamp(6px, 2vw, 24px); font-family: var(--font-body); color: var(--ink); }
.gdc-cart *, .gdc-cart *::before, .gdc-cart *::after { box-sizing: border-box; }
.gdc-cart__head { display: flex; align-items: baseline; gap: 14px; margin: 4px 2px 22px; flex-wrap: wrap; }
.gdc-cart__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.55rem, 3vw, 2.1rem); color: var(--vert-fonce); letter-spacing: -.01em; line-height: 1.1; }
.gdc-cart__count { color: var(--ink-2); font-weight: 500; font-size: .95rem; }

.gdc-cart__grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: clamp(26px, 3vw, 44px); align-items: start; }

/* ---- cartes ---- */
.gdc-cart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.gdc-cart-card__head { padding: 17px 22px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.gdc-cart-card__head h2 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--noir); margin: 0; }

/* ---- v2 façon personaliz : nom en TITRE + une CARTE par produit ---- */
.gdc-cart-items { list-style: none; margin: 0; padding: 0; }
.gdc-cart-items > li { margin: 0 0 26px; border: 0; }
.gdc-cl-head { margin: 0 2px 10px; font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; color: var(--noir); line-height: 1.3; }
.gdc-cl-head a:hover { color: var(--vert-fonce); }
.gdc-cl-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 20px 22px 14px; }
.gdc-cl-remove { position: absolute; top: 14px; right: 16px; z-index: 2; color: var(--ink-2); opacity: .55; cursor: pointer; transition: .15s; line-height: 0; padding: 4px; }
.gdc-cl-remove:hover { color: var(--orange); opacity: 1; }
.gdc-cl-remove svg { width: 16px; height: 16px; }

/* photo | tableau */
.gdc-cl-grid { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: start; }
.gdc-cl-photo { width: 104px; height: 104px; border-radius: 14px; background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gdc-cl-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* tableau Article · PU · Qté · Total */
.gdc-cl-table { min-width: 0; padding-right: 26px; }
.gdc-cl-thead, .gdc-cl-trow { display: grid; grid-template-columns: minmax(0, 1fr) 110px 132px 110px; gap: 14px; align-items: center; }
.gdc-cl-thead { padding: 2px 0 10px; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
.gdc-cl-thead em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; }
.gdc-cl-thead .c2, .gdc-cl-thead .c3 { text-align: center; }
.gdc-cl-thead .c4 { text-align: right; }
.gdc-cl-trow { padding: 14px 0 6px; }
.gdc-cl-trow .c2 { text-align: center; font-size: .92rem; color: var(--ink); }
.gdc-cl-trow .c3 { display: flex; justify-content: center; }
.gdc-cl-trow .c4 { text-align: right; font-size: 1.02rem; color: var(--noir); }
.gdc-cl-attr { font-size: .85rem; color: var(--ink-2); margin-bottom: 2px; }
.gdc-cl-attr b { color: var(--ink); font-weight: 600; }
.gdc-cl-perso { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; padding: 3px 11px; border-radius: 999px; background: var(--vert-clair-t); color: var(--vert-fonce-d); font-size: .76rem; font-weight: 600; }
.gdc-cl-perso svg { width: 13px; height: 13px; }
.gdc-cl-noperso { display: inline-flex; align-items: center; margin-top: 7px; font-size: .8rem; color: var(--ink-2); }
.gdc-cl-old { text-decoration: line-through; color: var(--ink-2); margin-right: 6px; font-size: .82rem; }
.gdc-cl-perso-link { display: inline-block; margin-left: 8px; font-size: .78rem; color: var(--vert-fonce); text-decoration: underline; }

/* pied de carte : sous-total + livraison estimée */
.gdc-cl-foot { display: flex; align-items: baseline; justify-content: flex-end; gap: 18px; padding: 12px 0 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.gdc-cl-subl { font-size: .9rem; font-weight: 600; color: var(--ink); }
.gdc-cl-subv { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--vert-fonce); }
.gdc-cl-deliv { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--soft); font-size: .82rem; color: var(--ink-2); }
.gdc-cl-deliv svg { width: 17px; height: 17px; color: var(--vert-fonce); flex: none; margin-top: 1px; }
.gdc-cl-deliv-txt { min-width: 0; line-height: 1.5; } /* texte en 1 bloc fluide (sinon le flex éclate les morceaux en colonnes sur mobile) */
.gdc-cl-deliv b { color: var(--ink); font-weight: 600; }
.gdc-cl-deliv-note { color: var(--ink-2); }

/* stepper quantité : − [n] + (custom.js câble sur le touchspin PS) */
.gdc-cl-qty { display: inline-flex; align-items: center; height: 40px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.gdc-cl-qty .bootstrap-touchspin, .gdc-cl-qty .input-group { display: contents !important; }
.gdc-cl-qty .input-group-btn-vertical, .gdc-cl-qty [class*="touchspin-up"], .gdc-cl-qty [class*="touchspin-down"], .gdc-cl-qty .js-touchspin { display: none !important; }
.gdc-cl-qbtn { width: 38px; height: 100%; border: 0; background: transparent; color: var(--vert-fonce); font-size: 1.25rem; font-weight: 600; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .12s; }
.gdc-cl-qbtn:hover { background: var(--vert-clair-t); }
.gdc-cl-qty input.js-cart-line-product-quantity, .gdc-cl-qty input[type="number"] { width: 44px; height: 100%; border: 0; outline: 0; text-align: center; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--noir); background: transparent; -moz-appearance: textfield; padding: 0; box-shadow: none; }
.gdc-cl-qty input::-webkit-outer-spin-button, .gdc-cl-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* lien continuer */
.gdc-cart__continue { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 600; font-size: .9rem; color: var(--vert-fonce); }
.gdc-cart__continue:hover { color: var(--vert-fonce-d); }
.gdc-cart__continue svg { width: 17px; height: 17px; }

/* ---- colonne récap (sticky) ---- */
.gdc-cart__aside { position: sticky; top: 88px; }
.gdc-sum-h { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--noir); letter-spacing: -.01em; margin: 0 0 14px; }
.gdc-sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 28px 26px 26px; }
.gdc-sum-title { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--noir); margin: 0 0 16px; }
.gdc-sum-lines { display: flex; flex-direction: column; gap: 13px; }
.gdc-sum-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .92rem; color: var(--ink-2); }
.gdc-sum-line .value, .gdc-sum-line b { color: var(--ink); font-weight: 600; }
.gdc-sum-line.is-free .value { color: var(--vert-fonce); font-weight: 700; }
.gdc-sum-line.is-discount .value { color: var(--orange); }

.gdc-sum-sep { height: 1px; background: var(--line); margin: 21px 0; border: 0; }

/* promo : ligne pleine largeur dépliable avec chevron (façon personaliz) */
.gdc-sum-promo .promo-code-button, .gdc-sum-promo .display-promo { margin: 0; }
.gdc-sum-promo .collapse-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 3px 0; font-weight: 600; font-size: .95rem; color: var(--noir); cursor: pointer; }
.gdc-sum-promo .collapse-button::after { content: ""; width: 11px; height: 11px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-2px); transition: transform .15s; flex: none; }
.gdc-sum-promo .promo-code { margin-top: 12px; }
.gdc-sum-promo form { display: flex; gap: 8px; }
.gdc-sum-promo .promo-input { flex: 1; min-width: 0; height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 13px; font-family: var(--font-body); font-size: .88rem; }
.gdc-sum-promo .promo-input:focus { outline: 0; border-color: var(--vert-fonce); }
.gdc-sum-promo .promo-code .btn, .gdc-sum-promo button[type="submit"] { height: 42px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--noir); color: #fff; font-weight: 600; font-size: .85rem; cursor: pointer; }
.gdc-sum-promo .promo-code .btn:hover { background: var(--vert-fonce); }
.gdc-sum-promo .cancel-promo { display: inline-block; margin-top: 10px; font-size: .8rem; color: var(--ink-2); cursor: pointer; }
.gdc-sum-promo .promo-name { list-style: none; margin: 0 0 12px; padding: 0; }
.gdc-sum-promo .promo-name li { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--vert-clair-t); border-radius: 10px; font-size: .84rem; font-weight: 600; color: var(--vert-fonce-d); }
.gdc-sum-promo .promo-name a { color: var(--ink-2); }
.gdc-sum-promo .js-error { margin-top: 8px; font-size: .8rem; color: var(--orange); display: none; }
.gdc-sum-promo .js-error.in, .gdc-sum-promo .js-error[style*="block"] { display: block; }
.gdc-sum-promo .promo-highlighted { font-size: .82rem; color: var(--ink-2); margin: 12px 0 6px; }
/* reset des conteneurs classic du voucher pour qu'ils s'intègrent au récap */
.gdc-sum-promo .block-promo, .gdc-sum-promo .cart-voucher { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.gdc-sum-promo #promo-code { position: static; box-shadow: none; background: none; border: 0; padding: 0; }
.gdc-sum-promo #promo-code::before, .gdc-sum-promo #promo-code::after { display: none; }

/* avertissement minimum d'achat */
.gdc-sum-warn { padding: 11px 14px; border-radius: 10px; background: #fdecea; color: #a3372f; font-size: .82rem; margin-bottom: 12px; }

/* totaux v2 (B2B façon personaliz) : Total HT GROS, TVA + TTC discrets dessous */
.gdc-sum-total { margin-top: 4px; }
.gdc-sum-total .gdc-sum-line { font-size: .9rem; }
.gdc-sum-total .gdc-sum-line + .gdc-sum-line { margin-top: 9px; }
.gdc-sum-ht { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.gdc-sum-ht .label { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--noir); }
.gdc-sum-ht .value { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--vert-fonce); white-space: nowrap; }
.gdc-sum-tva, .gdc-sum-ttc2 { color: var(--ink-2); }
.gdc-sum-ttc2 .value, .gdc-sum-tva .value { font-weight: 600; color: var(--ink); }

/* bouton secondaire « Enregistrer votre panier en devis » */
.gdc-sum-cta2 { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; margin-top: 13px; border-radius: 14px; background: #fff; border: 1.5px solid var(--noir); color: var(--noir); font-family: var(--font-body); font-weight: 600; font-size: .92rem; cursor: pointer; transition: .15s; }
.gdc-sum-cta2:hover { border-color: var(--vert-fonce); color: var(--vert-fonce); }

/* CTA commander */
.gdc-sum-cta { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 56px; margin-top: 24px; border-radius: 14px; background: var(--vert-fonce); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 1rem; border: 0; cursor: pointer; transition: background .15s, transform .1s; }
.gdc-sum-cta:hover { background: var(--vert-fonce-d); color: #fff; }
.gdc-sum-cta:active { transform: translateY(1px); }
.gdc-sum-cta svg { width: 18px; height: 18px; }
.gdc-sum-cta.is-disabled { background: var(--line); color: var(--ink-2); pointer-events: none; }

/* réassurance mini */
.gdc-sum-reassure { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.gdc-sum-reassure div { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--ink-2); }
.gdc-sum-reassure svg { width: 16px; height: 16px; color: var(--vert-fonce); flex: none; }

/* ---- panier vide ---- */
.gdc-cart-empty { max-width: 560px; margin: 30px auto 80px; text-align: center; padding: 0 16px; }
.gdc-cart-empty__icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--vert-clair-t); display: flex; align-items: center; justify-content: center; }
.gdc-cart-empty__icon svg { width: 40px; height: 40px; color: var(--vert-fonce); }
.gdc-cart-empty h1 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--vert-fonce); margin: 0 0 10px; }
.gdc-cart-empty p { color: var(--ink-2); font-size: .95rem; margin: 0 0 24px; }
.gdc-cart-empty .gdc-sum-cta { max-width: 280px; margin: 0 auto; }

/* hook reassurance (PS) masqué : on a notre propre bloc */
.gdc-cart__aside + .block-reassurance, .gdc-cart .block-reassurance { display: none; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .gdc-cart__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .gdc-cart__aside { position: static; }
}
@media (max-width: 740px) {
  .gdc-cl-card { padding: 16px 14px 12px; }
  .gdc-cl-grid { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .gdc-cl-photo { width: 84px; height: 84px; }
  .gdc-cl-table { padding-right: 20px; }
  .gdc-cl-thead { display: none; }
  .gdc-cl-trow { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0; }
  .gdc-cl-trow .c2, .gdc-cl-trow .c4 { text-align: left; font-size: .88rem; }
  .gdc-cl-trow .c2::before { content: "PU HT : "; color: var(--ink-2); font-size: .8rem; }
  .gdc-cl-trow .c4::before { content: "Total HT : "; color: var(--ink-2); font-size: .8rem; font-weight: 400; }
  .gdc-cl-trow .c3 { justify-content: flex-start; }
}

/* =================================================================
   TUNNEL DE COMMANDE (page /fr/order) — reskin GDC façon personaliz.
   Surtout du CSS (on ne touche pas à la machine à états des étapes).
   Scopé .page-order. B2B : compte entreprise obligatoire (SIRET).
   ================================================================= */
.page-order { background: #fff; }
.page-order #content-wrapper { padding: 0; }
.page-order #content, .page-order #main { background: #fff; }

/* en-tête slim checkout (template réécrit) */
.gdc-co-header { border-bottom: 1px solid var(--line); background: #fff; }
.gdc-co-header__in { max-width: 1180px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gdc-co-logo img, .gdc-co-logo svg { max-height: 40px; width: auto; }
.gdc-co-secure { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--vert-fonce); }
.gdc-co-secure svg { width: 17px; height: 17px; }
.gdc-co-back { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.gdc-co-back:hover { color: var(--vert-fonce); }
.gdc-co-back svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .gdc-co-back span { display: none; } }

/* layout 2 colonnes (étapes | résumé) */
.page-order #content > .row, .page-order .checkout > .row, .page-order .row:has(> .cart-grid-body) { max-width: 1480px; margin: 26px auto 64px; padding: 0 clamp(14px, 2vw, 24px); display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: clamp(28px, 3vw, 44px); align-items: start; }
.page-order .cart-grid-body, .page-order .cart-grid-right { width: auto; max-width: none; flex: none; padding: 0; min-width: 0; }
.page-order .cart-grid-right { position: sticky; top: 24px; }
@media (max-width: 980px) {
  /* minmax(0,1fr) et PAS 1fr : 1fr = minmax(auto,…) → un enfant à largeur intrinsèque énorme (colonnes Bootstrap %) gonfle la colonne à 10 000px+ */
  .page-order #content > .row, .page-order .checkout > .row, .page-order .row:has(> .cart-grid-body) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .page-order .cart-grid-right { position: static; }
}

/* ---- étapes (accordéon) ---- */
.page-order .checkout-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); margin-bottom: 16px; overflow: hidden; }
.page-order .checkout-step .step-title { display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 24px; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; color: var(--noir); cursor: default; }
.page-order .checkout-step.-reachable.-complete .step-title { cursor: pointer; }
/* badge n° : !important pour battre la règle ID de classic (body#checkout … .step-number = teal) */
.page-order .checkout-step .step-title .step-number { width: 30px; height: 30px; border-radius: 50%; background: var(--soft) !important; color: var(--ink-2) !important; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex: none; }
.page-order .checkout-step.-current .step-title .step-number { background: var(--vert-fonce) !important; color: #fff !important; }
/* coche « étape validée » : la ligature material-icons rend mal (règles ID de classic) → SVG check en background, glyphe tué */
.page-order .checkout-step .step-title .done { display: none; width: 30px !important; height: 30px !important; border-radius: 50%; font-size: 0 !important; line-height: 0 !important; color: transparent !important; background: var(--vert-fonce) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 16px !important; align-items: center; justify-content: center; flex: none; margin: 0 !important; }
.page-order .checkout-step.-complete .step-title .done { display: inline-flex; }
.page-order .checkout-step.-complete .step-title .step-number { display: none; }
.page-order .checkout-step .step-title .step-edit { display: none; margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--vert-fonce); align-items: center; gap: 5px; }
.page-order .checkout-step.-complete.-reachable .step-title .step-edit { display: inline-flex; }
.page-order .checkout-step .step-title .step-edit .material-icons { font-size: 1rem; }
.page-order .checkout-step:not(.-current) .content { display: none; }
.page-order .checkout-step .content { padding: 4px 24px 26px; }
.page-order .checkout-step.-unreachable .step-title { opacity: .5; }

/* ---- formulaires (champs empilés, façon GDC) ---- */
.page-order .form-group.row { display: block; margin: 0 0 15px; }
.page-order .form-group.row > .form-control-comment { display: none; } /* colonne « Optionnel » de droite masquée */
.page-order .form-control-label { display: block; width: 100%; max-width: none; flex: none; padding: 0 0 6px; text-align: left; font-family: var(--font-body); font-weight: 600; font-size: .85rem; color: var(--noir); }
.page-order .form-control-label.required::after { content: " *"; color: var(--orange); font-weight: 700; }
.page-order .js-input-column { width: 100%; max-width: none; flex: none; padding: 0; }
.page-order .form-control, .page-order .checkout input[type="text"], .page-order .checkout input[type="email"], .page-order .checkout input[type="password"], .page-order .checkout input[type="tel"] {
  width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 14px;
  font-family: var(--font-body); font-size: .92rem; color: var(--ink); background: #fff; box-shadow: none; }
.page-order textarea.form-control, .page-order .checkout textarea { height: auto; min-height: 80px; padding: 11px 14px; }
/* focus = vert charte (!important pour battre le bleu #66afe9 de classic) */
.page-order .form-control:focus, .page-order .checkout input:focus, .page-order .checkout textarea:focus, .page-order .gdc-auth input:focus, .page-order .gdc-auth select:focus { outline: 0 !important; border-color: var(--vert-fonce) !important; box-shadow: 0 0 0 3px rgba(43,110,67,.12) !important; }
/* champ mot de passe (input-group + œil) : un seul contour vert autour de tout le champ */
.page-order .gdc-auth .input-group .form-control:focus { box-shadow: none !important; }
/* PS ajoute .focus à l'.input-group (js-parent-focus) → classic met `outline:.1875rem solid #24b9d7` (teal). On le remplace par notre ring vert. */
.page-order .gdc-auth .input-group.focus, .page-order .gdc-auth .input-group:focus-within { outline: 0 !important; box-shadow: 0 0 0 3px rgba(43,110,67,.12) !important; border-radius: 10px; }
.page-order .gdc-auth .input-group.focus .form-control, .page-order .gdc-auth .input-group.focus .btn[data-action="show-password"], .page-order .gdc-auth .input-group:focus-within .form-control, .page-order .gdc-auth .input-group:focus-within .btn[data-action="show-password"] { border-color: var(--vert-fonce) !important; }
/* bloc réassurance par défaut du module (placeholder « edit with the Customer Reassurance module ») masqué dans le tunnel */
.page-order [id*="reassurance"], .page-order [class*="reassurance"] { display: none !important; }
.page-order select.form-control { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b605a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.page-order .form-control-comment { font-size: .76rem; color: var(--ink-2); margin-top: 5px; }
/* on masque les phrases d'aide de validation sous les champs de l'auth (« Seuls les lettres… », etc.) — bruit inutile */
.page-order .gdc-auth .form-control-comment { display: none; }
/* widget « force du mot de passe » (barre + messages + infobulle) : neutralisé (le wrapper est retiré côté template ; filet de sécurité ici) */
.page-order .gdc-auth .password-strength-feedback,
.page-order .gdc-auth .js-hint-password,
.page-order .gdc-auth .password-requirements-length,
.page-order .gdc-auth .password-requirements-score,
.page-order .gdc-auth .progress { display: none !important; }
.page-order .field-password-policy { margin-bottom: 15px; }
/* bouton afficher mot de passe */
.page-order .input-group { display: flex; }
.page-order .input-group .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.page-order .input-group-btn { display: flex; }
.page-order .input-group-btn .btn { height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-left: 0; border-radius: 0 10px 10px 0; background: var(--soft); color: var(--ink-2); font-size: .82rem; font-weight: 600; cursor: pointer; }
/* bouton « afficher mot de passe » = icône œil (charte, plus joli que le texte) */
.page-order .input-group-btn .btn[data-action="show-password"] { width: 48px; padding: 0; font-size: 0; color: transparent; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%235b605a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center; }
.page-order .input-group-btn .btn[data-action="show-password"]:hover { background-color: var(--soft); }

/* erreurs / alertes */
.page-order .has-error .form-control { border-color: var(--orange); }
.page-order .help-block, .page-order .form-error-message { color: var(--orange); font-size: .78rem; margin-top: 5px; list-style: none; padding: 0; }
.page-order .alert-danger { background: #fdecea; color: #a3372f; border: 0; border-radius: 10px; padding: 11px 14px; font-size: .85rem; margin: 10px 0; }
.page-order .alert-success { background: var(--vert-clair-t); color: var(--vert-fonce-d); border: 0; border-radius: 10px; padding: 11px 14px; font-size: .85rem; }

/* radios / checkboxes custom (charte) */
.page-order .custom-radio { position: relative; display: inline-block; width: 20px; height: 20px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; vertical-align: middle; }
.page-order .custom-radio input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; width: 100%; height: 100%; }
.page-order .custom-radio span { display: none; }
.page-order .custom-radio input:checked + span { display: block; position: absolute; inset: 3px; border-radius: 50%; background: var(--vert-fonce); }
.page-order .custom-radio input:checked ~ span, .page-order .custom-radio:has(input:checked) { border-color: var(--vert-fonce); }
.page-order .custom-checkbox { position: relative; display: inline-flex; align-items: flex-start; gap: 9px; }
.page-order .custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; width: 20px; height: 20px; margin: 0; z-index: 2; }
.page-order .custom-checkbox input + span { width: 20px; height: 20px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.page-order .custom-checkbox .checkbox-checked { display: none; font-size: 15px; color: #fff; }
.page-order .custom-checkbox input:checked + span { background: var(--vert-fonce); border-color: var(--vert-fonce); }
.page-order .custom-checkbox input:checked + span .checkbox-checked { display: block; }
.page-order .custom-checkbox label { margin: 0; font-size: .86rem; color: var(--ink); cursor: pointer; }

/* onglets (créer un compte | se connecter) */
.page-order .nav-inline { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.page-order .nav-inline .nav-separator { display: none; }
.page-order .nav-inline .nav-link { display: inline-block; padding: 10px 4px; margin-right: 22px; font-weight: 600; font-size: .95rem; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.page-order .nav-inline .nav-link.active { color: var(--vert-fonce); border-bottom-color: var(--vert-fonce); }
.page-order .form-informations { background: var(--vert-clair-t); border-radius: 10px; padding: 11px 14px; margin: 4px 0 15px; font-size: .82rem; }
.page-order .form-informations-title { color: var(--vert-fonce-d); }

/* ---- étape 1 : connexion d'abord / créer un compte (façon personaliz) ---- */
.page-order .gdc-auth { max-width: 580px; }
.page-order .gdc-auth-pane { display: none; }
.page-order .gdc-auth-pane.is-active { display: block; }
.page-order .gdc-auth-h { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--vert-fonce); margin: 0 0 5px; letter-spacing: -.01em; }
.page-order .gdc-auth-sub { font-size: .88rem; color: var(--ink-2); margin: 0 0 20px; }
.page-order .gdc-auth .forgot-password { margin-top: 2px; font-size: .82rem; }
.page-order .gdc-auth .forgot-password a { color: var(--ink-2); }
.page-order .gdc-auth .forgot-password a:hover { color: var(--vert-fonce); }
/* boutons des formulaires auth en pleine largeur (login + inscription) */
.page-order .gdc-auth .form-footer { text-align: left; margin-top: 10px; }
.page-order .gdc-auth .form-footer .btn-primary, .page-order .gdc-auth .continue { float: none !important; width: 100%; }
/* bascule connexion ↔ inscription */
.page-order .gdc-auth-switch { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.page-order .gdc-auth-link { background: none; border: 0; padding: 0; margin: 0; color: var(--vert-fonce); font-weight: 600; font-size: .88rem; cursor: pointer; text-decoration: underline; font-family: var(--font-body); }
.page-order .gdc-auth-link:hover { color: var(--vert-fonce-d); }
.page-order .gdc-auth-logged { font-size: .92rem; }
.page-order .gdc-auth-logged a { color: var(--vert-fonce); font-weight: 600; }
.page-order .gdc-auth-logout { display: block; margin-top: 4px; font-size: .85rem; }
.page-order .gdc-auth-note { font-size: .82rem; color: var(--ink-2); margin-top: 6px; }

/* ---- création de compte en 2 sous-étapes + recherche d'entreprise ---- */
.page-order .gdc-reg-step { display: none; }
.page-order .gdc-reg-step.is-active { display: block; }
.page-order .gdc-reg-pro { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); font-weight: 600; font-size: .92rem; color: var(--noir); }
.page-order .gdc-reg-pro::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--vert-fonce); }
.page-order .gdc-reg-actions { margin-top: 8px; }
.page-order .gdc-reg-next { width: 100%; }
/* prénom + nom sur la même ligne */
.page-order .gdc-reg-row2 { display: flex; gap: 14px; }
.page-order .gdc-reg-row2 > .form-group { flex: 1; min-width: 0; }
@media (max-width: 480px) { .page-order .gdc-reg-row2 { flex-direction: column; gap: 0; } }
.page-order .gdc-reg-bhead { margin-bottom: 16px; }
.page-order .gdc-reg-back { background: none; border: 0; padding: 0; color: var(--ink-2); font-weight: 600; font-size: .85rem; cursor: pointer; }
.page-order .gdc-reg-back:hover { color: var(--vert-fonce); }
.page-order .gdc-reg-bsub { font-size: .85rem; color: var(--ink-2); margin: 8px 0 0; }

/* champ de recherche */
.page-order .gdc-co-search { position: relative; margin-bottom: 14px; }
.page-order .gdc-co-search-box { position: relative; }
.page-order .gdc-co-q { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b605a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px center; padding-left: 42px !important; }
.page-order .gdc-co-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); overflow: hidden; display: none; max-height: 320px; overflow-y: auto; }
.page-order .gdc-co-results.is-open { display: block; }
.page-order .gdc-co-result { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: pointer; }
.page-order .gdc-co-result:last-child { border-bottom: 0; }
.page-order .gdc-co-result:hover { background: var(--vert-clair-t); }
.page-order .gdc-co-result b { font-size: .9rem; font-weight: 600; color: var(--noir); }
.page-order .gdc-co-result span { font-size: .78rem; color: var(--ink-2); }
.page-order .gdc-co-noresult { padding: 14px; font-size: .85rem; color: var(--ink-2); }
.page-order .gdc-co-manual-link, .page-order .gdc-reg-manual-toggle { background: none; border: 0; padding: 0; color: var(--vert-fonce); font-weight: 600; font-size: .82rem; cursor: pointer; text-decoration: underline; }
.page-order .gdc-reg-manual-toggle { display: block; margin: 6px 0 14px; }

/* entreprise sélectionnée */
.page-order .gdc-co-selected { display: none; margin-bottom: 14px; }
.page-order .gdc-co-selected.is-open { display: block; }
.page-order .gdc-co-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--vert-fonce); background: var(--vert-clair-t); border-radius: 12px; }
.page-order .gdc-co-card b { display: block; font-size: .92rem; color: var(--vert-fonce-d); }
.page-order .gdc-co-card span { display: block; margin-top: 3px; font-size: .78rem; color: var(--ink-2); }
.page-order .gdc-co-change { background: none; border: 0; padding: 0; color: var(--vert-fonce); font-weight: 600; font-size: .8rem; cursor: pointer; white-space: nowrap; }
.page-order .gdc-co-card b::before { content: "✓ "; }

/* champs Société/SIRET manuels (cachés tant qu'on n'a pas sélectionné/ouvert) */
.page-order .gdc-reg-manual { display: none; }
.page-order .gdc-reg-manual.is-open { display: block; }

/* ---- étape 2 : adresses ---- */
.page-order .checkout-step h2.h4 { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--noir); margin: 4px 0 14px; }
.page-order .js-address-form form { max-width: 680px; } /* champs lisibles dans la colonne élargie */
body:is(#checkout, .page-order) section.checkout-step .address-selector, body:is(#checkout, .page-order) .address-selector { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 4px; }
/* liens sous les cartes : « facturation différente » + intro de l'étape */
.page-order .checkout-step .content > p, .page-order .js-address-form > form > p { font-size: .9rem; color: var(--ink-2); margin: 0 0 16px; line-height: 1.6; }
.page-order a[data-link-action="different-invoice-address"] { font-size: .86rem; font-weight: 600; color: var(--vert-fonce); text-decoration: underline; }
/* ⚠️ classic style les cartes via des règles ID `body#checkout section.checkout-step …`
   (fond #f6f6f6, bordure teal 3px, header min-height 11.7rem = grand vide, .address
   indentée de 25px, footer centré). `:is(#checkout,.page-order)` = spécificité ID,
   et gdcapp.css est chargé APRÈS theme.css → nos règles gagnent proprement. */
body:is(#checkout, .page-order) section.checkout-step .address-item, body:is(#checkout, .page-order) .address-item { flex: none; margin: 0; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px 12px; transition: border-color .15s, background .15s, box-shadow .15s; }
body:is(#checkout, .page-order) section.checkout-step .address-item.selected, body:is(#checkout, .page-order) .address-item.selected { background: var(--vert-clair-t); border: 1.5px solid var(--vert-fonce); box-shadow: 0 0 0 3px rgba(43,110,67,.10); }
body:is(#checkout, .page-order) section.checkout-step .address-item > header, body:is(#checkout, .page-order) .address-item > header { min-height: 0; padding: 0; margin: 0; }
/* markup classic : radio, alias et adresse sont FRÈRES directs dans le label
   → grille 2 col (radio | texte), l'adresse passe SOUS l'alias, alignée avec lui */
body:is(#checkout, .page-order) section.checkout-step .address-item .radio-block, body:is(#checkout, .page-order) .address-item .radio-block { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 13px; row-gap: 5px; align-items: start; margin: 0; padding: 0; text-align: left; cursor: pointer; }
body:is(#checkout, .page-order) .address-item .custom-radio { grid-column: 1; grid-row: 1 / span 2; margin-top: 1px; }
body:is(#checkout, .page-order) section.checkout-step .address-item .address-alias, body:is(#checkout, .page-order) .address-item .address-alias { grid-column: 2; display: block; margin: 0; font-weight: 700; font-size: 1rem; color: var(--noir); line-height: 1.35; }
body:is(#checkout, .page-order) section.checkout-step .address-item .address, body:is(#checkout, .page-order) .address-item .address { grid-column: 2; margin: 0; font-weight: 400; font-size: .87rem; color: var(--ink-2); line-height: 1.7; font-style: normal; }
body:is(#checkout, .page-order) .address-item hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0 0; }
body:is(#checkout, .page-order) .address-item.selected hr { border-top-color: rgba(43,110,67,.18); }
body:is(#checkout, .page-order) section.checkout-step .address-item .address-footer, body:is(#checkout, .page-order) .address-item .address-footer { display: flex; gap: 20px; padding: 10px 0 2px; text-align: left; }
body:is(#checkout, .page-order) .address-footer a { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
body:is(#checkout, .page-order) .address-footer a:hover { color: var(--vert-fonce); }
body:is(#checkout, .page-order) .address-footer a.delete-address:hover { color: var(--orange); }
body:is(#checkout, .page-order) .address-footer .material-icons { font-size: .95rem; }
/* case « utiliser cette adresse pour la facturation » (markup natif col-md-offset-3) */
.page-order .col-md-offset-3 { margin-left: 0 !important; }
.page-order #use_same_address { width: 18px; height: 18px; accent-color: var(--vert-fonce); vertical-align: -4px; margin-right: 8px; cursor: pointer; }
.page-order label[for="use_same_address"] { font-size: .88rem; color: var(--ink); cursor: pointer; display: inline; }
/* lien annuler sous le formulaire d'adresse */
.page-order .js-cancel-address { display: inline-flex; align-items: center; margin: 8px 14px 0 0; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.page-order .js-cancel-address:hover { color: var(--orange); }
.page-order .js-address-form .form-footer { display: flex; flex-direction: row-reverse; align-items: center; gap: 6px; margin-top: 8px; }
/* note de pré-remplissage (posée par le JS quand l'adresse du siège est injectée) */
.page-order .gdc-addr-note { display: flex; align-items: flex-start; gap: 9px; padding: 11px 14px; border-radius: 10px; background: var(--vert-clair-t); color: var(--vert-fonce-d); font-size: .82rem; margin-bottom: 14px; }
.page-order .gdc-addr-note b { font-weight: 700; }

/* ---- transporteurs (cartes sélectionnables) ----
   ⚠️ classic (règles ID body#checkout) : fond #f6f6f6 + min-height 80px + indentation
   du nom sans logo (padding-left 33%) → neutralisés en miroir body:is() (cf. adresses). */
.page-order .delivery-options { display: flex; flex-direction: column; gap: 12px; }
body:is(#checkout, .page-order) section.checkout-step .delivery-options .delivery-option, .page-order .delivery-option { display: flex; align-items: center; gap: 0; min-height: 0; margin: 0 0 12px; padding: 16px 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
body:is(#checkout, .page-order) section.checkout-step .delivery-options .delivery-option:has(input:checked), .page-order .delivery-option:has(input:checked) { border-color: var(--vert-fonce); background: var(--vert-clair-t); }
body:is(#checkout, .page-order) section.checkout-step .delivery-options .delivery-option label .carrier:not(.carrier-hasLogo) > .col-xs-12 { padding-left: 0; }
/* neutralise les colonnes Bootstrap internes (largeurs % → explosion de la largeur intrinsèque dans le conteneur flex) */
body:is(#checkout, .page-order) section.checkout-step .delivery-options .delivery-option > .col-sm-1 { width: auto; max-width: none; flex: none; padding: 0 12px 0 0; float: none; }
body:is(#checkout, .page-order) section.checkout-step .delivery-options .delivery-option label.delivery-option-2 { flex: 1 1 0; width: auto; max-width: none; min-width: 0; padding: 0; margin: 0; float: none; }
body:is(#checkout, .page-order) section.checkout-step .delivery-options .delivery-option-2 > .row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; width: auto; }
body:is(#checkout, .page-order) section.checkout-step .delivery-options .delivery-option-2 > .row > div { padding: 0; width: auto; max-width: none; flex: none; float: none; }
.page-order .delivery-option > div:first-child { width: auto; flex: none; padding: 0 14px 0 0; }
.page-order .delivery-option-2 { flex: 1; margin: 0; padding: 0; cursor: pointer; }
.page-order .delivery-option-2 > .row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; }
.page-order .delivery-option-2 .row > div { padding: 0; width: auto; }
.page-order .carrier { display: flex; align-items: center; gap: 12px; margin: 0; }
.page-order .carrier-logo { width: auto; padding: 0; }
.page-order .carrier-logo img { max-height: 34px; width: auto; }
.page-order .carrier-name { font-weight: 600; font-size: .95rem; color: var(--noir); }
.page-order .carrier-delay { font-size: .82rem; color: var(--ink-2); }
.page-order .carrier-price { font-weight: 700; font-size: 1rem; color: var(--vert-fonce); white-space: nowrap; }
.page-order .order-options { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.page-order .order-options label { font-size: .85rem; color: var(--ink-2); display: block; margin-bottom: 7px; }
.page-order .order-options textarea { width: 100%; }
.page-order #delivery { margin-bottom: 14px; }

/* ---- paiement (cartes) — mêmes miroirs body:is() (labels table-cell, marges classic) ---- */
.page-order .payment-options { display: flex; flex-direction: column; gap: 12px; }
body:is(#checkout, .page-order) section.checkout-step .payment-options .payment-option, .page-order .payment-option { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 16px 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
body:is(#checkout, .page-order) section.checkout-step .payment-options .payment-option:has(input:checked), .page-order .payment-option:has(input:checked) { border-color: var(--vert-fonce); background: var(--vert-clair-t); }
body:is(#checkout, .page-order) section.checkout-step .payment-options label, .page-order .payment-option label { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 600; font-size: .95rem; color: var(--noir); cursor: pointer; flex: 1; }
body:is(#checkout, .page-order) .condition-label { padding-left: 0; margin-top: 0; flex: 1; min-width: 0; }
/* label paiement : classic l'aligne à DROITE (labels de formulaire) → gauche */
body:is(#checkout, .page-order) section.checkout-step .payment-options label, .page-order .payment-option label { text-align: left; justify-content: flex-start; }
/* ⚠️ la case CGV s'écrasait à 0×0 (son input/span absolus débordaient et masquaient le « J' » du label) → taille ferme */
body:is(#checkout, .page-order) #conditions-to-approve li { display: flex; align-items: flex-start; gap: 11px; }
body:is(#checkout, .page-order) #conditions-to-approve .float-xs-left { float: none; flex: none; width: 20px; }
body:is(#checkout, .page-order) #conditions-to-approve .custom-checkbox { display: inline-flex; width: 20px; height: 20px; flex: none; }
body:is(#checkout, .page-order) #conditions-to-approve .custom-checkbox input + span { width: 20px !important; height: 20px !important; display: inline-flex !important; }
.page-order .payment-option label img { max-height: 32px; width: auto; margin-left: auto; }
.page-order .js-additional-information, .page-order .additional-information { font-size: .84rem; color: var(--ink-2); padding: 6px 18px 14px; }
.page-order #conditions-to-approve { margin-top: 18px; }
.page-order #conditions-to-approve ul { list-style: none; padding: 0; margin: 0; }
.page-order #conditions-to-approve li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.page-order .condition-label label { font-size: .85rem; color: var(--ink); }
.page-order #payment-confirmation { margin-top: 22px; }
.page-order #payment-confirmation .btn-primary { width: 100%; height: 56px; font-size: 1.05rem; }

/* boutons GDC */
.page-order .btn-primary, .page-order .continue, .page-order button.continue {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--vert-fonce); border: 0; color: #fff; height: 50px; padding: 0 28px;
  border-radius: 12px; font-family: var(--font-body); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .15s; box-shadow: none; }
.page-order .btn-primary:hover, .page-order .continue:hover { background: var(--vert-fonce-d); color: #fff; }
.page-order .btn-primary.disabled, .page-order .btn-primary[disabled] { background: var(--line); color: var(--ink-2); cursor: not-allowed; }
.page-order .btn-secondary, .page-order .btn-tertiary { background: #fff; border: 1.5px solid var(--line); color: var(--ink); height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 600; cursor: pointer; }
.page-order .clearfix .continue { margin-top: 8px; }
.page-order .identity, .page-order .add-address a, .page-order [data-link-action] { color: var(--vert-fonce); }
.page-order .add-address a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; margin-top: 12px; }

/* ---- résumé commande (colonne droite) ---- */
.page-order #js-checkout-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 0; overflow: hidden; }
.page-order #js-checkout-summary .card-block { padding: 20px; }
.page-order .gdc-co-sumtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.page-order .gdc-co-sumtitle { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--noir); }
.page-order .gdc-co-sumedit { font-size: .82rem; font-weight: 600; color: var(--vert-fonce); }
.page-order .cart-summary-products { margin: 14px 0 4px; }
.page-order .cart-summary-products > p:first-child { font-size: .82rem; color: var(--ink-2); margin: 0 0 4px; } /* « N articles » */
.page-order .js-show-details { display: none; } /* on montre les produits directement */
.page-order #cart-summary-product-list.collapse { display: block; }
.page-order .cart-summary-products .media-list { list-style: none; padding: 0; margin: 0; }
.page-order .cart-summary-products .media-list > li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.page-order .cart-summary-products .media-left a { width: 56px; height: 56px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.page-order .cart-summary-products .media-object { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.page-order .cart-summary-products .media-body { flex: 1; min-width: 0; position: relative; }
.page-order .cart-summary-products .product-name a { font-weight: 600; font-size: .86rem; color: var(--noir); }
.page-order .cart-summary-products .product-quantity { font-size: .8rem; color: var(--ink-2); margin-right: 8px; }
.page-order .cart-summary-products .product-price { font-weight: 700; font-size: .9rem; color: var(--noir); }
.page-order .cart-summary-products .product-line-info-secondary { font-size: .78rem; color: var(--ink-2); }
.page-order .show-details, .page-order .js-show-details { font-size: .8rem; color: var(--vert-fonce); }
.page-order #js-checkout-summary .cart-summary-subtotals-container.card-block { padding: 14px 0 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.page-order .cart-summary-subtotals-container .cart-summary-line, .page-order #js-checkout-summary .cart-summary-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--ink-2); margin-bottom: 8px; }
.page-order #js-checkout-summary .cart-summary-line .value, .page-order #js-checkout-summary .cart-summary-line .label { color: inherit; }
.page-order #js-checkout-summary .gdc-sum-total { padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.page-order #js-checkout-summary .cart-voucher { padding: 0 20px 18px; }

/* footer checkout */
.page-order .page-footer .text-sm-center, .page-order #footer .text-sm-center { font-size: .78rem; color: var(--ink-2); padding: 22px 0; }

/* ---- TUNNEL mobile (≤740px) : classic met 37px de padding latéral dans .content → trop
   sur téléphone ; titres compactés, lignes transporteur repliables. Miroirs body:is(). ---- */
@media (max-width: 740px) {
  body:is(#checkout, .page-order) section.checkout-step .step-title { font-size: .98rem; padding: 16px 16px 14px; gap: 11px; }
  body:is(#checkout, .page-order) section.checkout-step .step-title .step-number,
  body:is(#checkout, .page-order) section.checkout-step .step-title .done { width: 26px !important; height: 26px !important; font-size: .8rem; }
  body:is(#checkout, .page-order) section.checkout-step .content { padding: 2px 16px 20px; }
  body:is(#checkout, .page-order) section.checkout-step .delivery-options .delivery-option { padding: 13px 14px; }
  body:is(#checkout, .page-order) section.checkout-step .delivery-options .delivery-option-2 > .row { flex-wrap: wrap; row-gap: 3px; gap: 10px; }
  body:is(#checkout, .page-order) section.checkout-step .delivery-options .carrier-price { margin-left: auto; }
  body:is(#checkout, .page-order) section.checkout-step .payment-options .payment-option { padding: 13px 14px; }
  .page-order .gdc-auth { max-width: none; }
  .page-order .js-address-form form { max-width: none; }
  .page-order .cart-grid-right { margin-top: 4px; }
}

/* =================================================================
   CONFIRMATION DE COMMANDE (page /fr/order-confirmation) — GDC.
   Préfixe body:is(...) pour battre les règles ID de classic (#order-items…).
   ================================================================= */
body:is(#order-confirmation, .page-order-confirmation) #content-wrapper { max-width: 1180px; margin: 0 auto; float: none; padding: 8px 14px 60px; }
/* héro merci */
.gdc-oc-hero { text-align: center; padding: 34px 16px 6px; border: 0; background: none; box-shadow: none; }
.gdc-oc-check { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--vert-clair-t); color: var(--vert-fonce); display: flex; align-items: center; justify-content: center; }
.gdc-oc-check svg { width: 40px; height: 40px; }
.gdc-oc-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--vert-fonce); letter-spacing: -.01em; margin: 0 0 10px; }
.gdc-oc-sub { font-size: .95rem; color: var(--ink-2); margin: 0 0 18px; }
.gdc-oc-sub b { color: var(--ink); }
.gdc-oc-invoice { display: inline-block; margin-left: 10px; color: var(--vert-fonce); font-weight: 600; text-decoration: underline; }
.gdc-oc-bat { display: flex; align-items: flex-start; gap: 11px; max-width: 640px; margin: 0 auto 10px; padding: 14px 18px; border-radius: 14px; background: var(--vert-clair-t); color: var(--vert-fonce-d); font-size: .88rem; text-align: left; }
.gdc-oc-bat svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

/* référence + montant dans le héro */
.gdc-oc-ref { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0 0 12px; padding: 9px 18px; border-radius: 999px; background: var(--soft); font-size: .9rem; color: var(--ink-2); }
.gdc-oc-ref b { color: var(--noir); }
.gdc-oc-ref .gdc-oc-amount { color: var(--vert-fonce); font-family: var(--font-display); }

/* neutralise le fond carte de classic sur #content */
body:is(#order-confirmation, .page-order-confirmation) #content.page-content { background: none; border: 0; box-shadow: none; padding: 0; }

/* ---- timeline « Et maintenant ? » ---- */
.gdc-oc-steps-wrap { max-width: 1080px; margin: 26px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px 30px 30px; }
.gdc-oc-steps-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--noir); margin: 0 0 22px; }
.gdc-oc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.gdc-oc-step { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: .82rem; color: var(--ink-2); line-height: 1.5; padding-top: 4px; }
.gdc-oc-step > b { font-size: .92rem; color: var(--noir); line-height: 1.3; }
.gdc-oc-step-dot { width: 46px; height: 46px; border-radius: 50%; background: var(--soft); color: var(--ink-2); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; position: relative; z-index: 1; }
.gdc-oc-step-dot svg { width: 21px; height: 21px; }
.gdc-oc-step.is-done .gdc-oc-step-dot { background: var(--vert-fonce); color: #fff; }
.gdc-oc-step:not(.is-done) .gdc-oc-step-dot { background: var(--vert-clair-t); color: var(--vert-fonce); }
/* filet de liaison entre les pastilles */
.gdc-oc-step:not(:last-child)::before { content: ""; position: absolute; top: 27px; left: 54px; right: -10px; height: 2px; background: var(--line); }
@media (max-width: 860px) {
  .gdc-oc-steps { grid-template-columns: 1fr; gap: 20px; }
  .gdc-oc-step { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; }
  .gdc-oc-step > b { grid-column: 2; }
  .gdc-oc-step > span:not(.gdc-oc-step-dot) { grid-column: 2; }
  .gdc-oc-step-dot { grid-row: 1 / span 3; margin: 0; }
  .gdc-oc-step:not(:last-child)::before { top: 50px; left: 22px; right: auto; bottom: -22px; width: 2px; height: auto; }
}

/* ---- cartes infos ---- */
.gdc-oc-cards { max-width: 1080px; margin: 18px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .gdc-oc-cards { grid-template-columns: 1fr; } }
.gdc-oc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 20px 22px; display: flex; flex-direction: column; gap: 5px; margin: 0; width: auto; }
body:is(#order-confirmation, .page-order-confirmation) #order-details { padding-left: 22px; margin-top: 0; width: auto; }
.gdc-oc-card-k { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); font-weight: 600; }
.gdc-oc-card-v { font-size: .98rem; color: var(--noir); font-weight: 700; }
.gdc-oc-card-big { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--vert-fonce); }
.gdc-oc-card-s { font-size: .82rem; color: var(--ink-2); }
.gdc-oc-link { font-size: .86rem; font-weight: 600; color: var(--vert-fonce); text-decoration: underline; }
.gdc-oc-link:hover { color: var(--vert-fonce-d); }

/* ---- récapitulatif des produits commandés (partial classic restylé) ---- */
.gdc-oc-items { max-width: 1080px; margin: 18px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 24px 26px; }
.gdc-oc-items-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--noir); margin: 0 0 16px; }
body:is(#order-confirmation, .page-order-confirmation) #order-items { border-right: 0; width: auto; padding: 0; float: none; }
body:is(#order-confirmation, .page-order-confirmation) #order-items .card-title { font-family: var(--font-body); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); margin: 0 0 8px; }
body:is(#order-confirmation, .page-order-confirmation) #order-items .order-line { display: flex; align-items: center; gap: 8px; margin: 0; padding: 13px 0; border-top: 1px solid var(--line); }
body:is(#order-confirmation, .page-order-confirmation) #order-items .order-line .image img { max-width: 64px; border: 0; border-radius: 10px; background: var(--soft); mix-blend-mode: multiply; }
body:is(#order-confirmation, .page-order-confirmation) #order-items .details span { font-weight: 600; color: var(--noir); font-size: .9rem; }
body:is(#order-confirmation, .page-order-confirmation) #order-items .customizations a { font-size: .78rem; color: var(--vert-fonce); text-decoration: underline; }
body:is(#order-confirmation, .page-order-confirmation) #order-items .bold { font-weight: 700; color: var(--noir); }
body:is(#order-confirmation, .page-order-confirmation) #order-items hr { border-top: 1px solid var(--line); margin: 12px 0 4px; }
body:is(#order-confirmation, .page-order-confirmation) #order-items table { width: 100%; background: none; }
body:is(#order-confirmation, .page-order-confirmation) #order-items table tr { height: auto; }
body:is(#order-confirmation, .page-order-confirmation) #order-items table tr td { padding: 7px 0; font-size: .9rem; color: var(--ink-2); border: 0; }
body:is(#order-confirmation, .page-order-confirmation) #order-items table tr td:last-child { text-align: right; color: var(--ink); font-weight: 600; }
body:is(#order-confirmation, .page-order-confirmation) #order-items table tr.total-value { background: none; }
body:is(#order-confirmation, .page-order-confirmation) #order-items table tr.total-value td { padding-top: 12px; border-top: 1.5px solid var(--line); font-family: var(--font-display); font-weight: 700; color: var(--noir); font-size: 1rem; }
body:is(#order-confirmation, .page-order-confirmation) #order-items table tr.total-value td:last-child { color: var(--vert-fonce); font-size: 1.15rem; }

/* récap produits : mobile ≤740px — la ligne replie (photo+nom, puis PU/Qté/Total libellés) */
@media (max-width: 740px) {
  .gdc-oc-items { padding: 18px 16px; }
  body:is(#order-confirmation, .page-order-confirmation) #order-items .order-line { flex-wrap: wrap; row-gap: 4px; }
  body:is(#order-confirmation, .page-order-confirmation) #order-items .order-line > div { padding: 0; width: auto; float: none; }
  body:is(#order-confirmation, .page-order-confirmation) #order-items .order-line > .details { flex: 1 1 55%; min-width: 0; }
  body:is(#order-confirmation, .page-order-confirmation) #order-items .order-line > div:nth-child(n+3) { flex: 0 0 auto; font-size: .85rem; color: var(--ink-2); text-align: left; margin-right: 10px; }
  body:is(#order-confirmation, .page-order-confirmation) #order-items .order-line > div:nth-child(3)::before { content: "PU : "; }
  body:is(#order-confirmation, .page-order-confirmation) #order-items .order-line > div:nth-child(4)::before { content: "Qté : "; }
  body:is(#order-confirmation, .page-order-confirmation) #order-items .order-line > div:nth-child(5)::before { content: "Total : "; font-weight: 400; }
  body:is(#order-confirmation, .page-order-confirmation) #order-items .row .card-title._desktop-title { display: none; }
}

/* ---- instructions de paiement (virement) ---- */
.gdc-oc-payreturn { max-width: 1080px; margin: 18px auto 0; background: var(--beige); border: 1px solid var(--vert-clair-d); border-radius: var(--r-lg); padding: 24px 26px; font-size: .92rem; color: var(--ink); }
.gdc-oc-pr-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--noir); margin: 0 0 12px; }
.gdc-oc-pr-title svg { width: 20px; height: 20px; color: var(--vert-fonce); }
.gdc-oc-payreturn dl { margin: 10px 0 0; }
.gdc-oc-payreturn dt { font-weight: 700; color: var(--noir); background: none; padding: 6px 0 0; }
.gdc-oc-payreturn dd { margin: 0 0 6px; background: none; padding: 0; color: var(--ink-2); white-space: pre-line; }
.gdc-oc-payreturn p { margin: 0 0 8px; }

/* CTA + on masque toute grille produit résiduelle (modules hookés) */
.gdc-oc-actions { max-width: 460px; margin: 26px auto 10px; display: flex; flex-direction: column; gap: 12px; }
.gdc-oc-actions .gdc-sum-cta, .gdc-oc-actions .gdc-sum-cta2 { margin: 0; }
body:is(#order-confirmation, .page-order-confirmation) .featured-products, body:is(#order-confirmation, .page-order-confirmation) .products,
body:is(#order-confirmation, .page-order-confirmation) #content-hook-order-confirmation-footer { display: none !important; }

/* ---- bandeau réassurance = CELUI DE LA HOME (.reassure), en pleine largeur COLLÉ au footer ----
   la page est dans .container/#content-wrapper (Bootstrap) → full-bleed 100vw, et on annule
   les paddings bas du wrapper pour que le bandeau touche le footer noir. */
.gdc-oc-fullbleed { width: 100vw; position: relative; left: 50%; margin-left: -50vw; margin-top: 46px; margin-bottom: 0; }
body:is(#order-confirmation, .page-order-confirmation) #content-wrapper,
body:is(#order-confirmation, .page-order-confirmation) #main,
body:is(#order-confirmation, .page-order-confirmation) #content.page-content { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body:is(#order-confirmation, .page-order-confirmation) #wrapper { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body:is(#order-confirmation, .page-order-confirmation) #footer { margin-top: 0 !important; }
/* le <footer class="page-footer"> VIDE intercalé par le layout a margin-bottom:1.563rem (même cause que la bande blanche de la home) */
body:is(#order-confirmation, .page-order-confirmation) .page-footer { margin: 0 !important; padding: 0 !important; }
/* conteneur du bandeau = EXACTEMENT celui de la home (Bootstrap .container{width:1140px} écrasé) */
.gdc-oc-fullbleed .container { width: 100% !important; max-width: var(--container) !important; margin-inline: auto !important; padding-inline: var(--gutter) !important; float: none !important; }

/* ============================================================
   NAV HEADER — MÉGA-MENU « GOODIES » v2 (rail + panneau, animé)
   Rail gauche = 13 familles (picto charte, pastille active blanche) ;
   panneau droit = sous-catégories en crossfade + stagger. Piloté par
   custom.js (classes .is-active, pas de bug de survol diagonal).
   ⚠️ .nav__inner est un scroller → le panneau est positionné sur .nav
   (position:relative, HORS scroller) sinon il serait clippé.
   ============================================================ */
#header .nav { position: relative; }
#header .nav .nav-it { display: flex; align-items: center; height: 52px; position: static; flex: none; }
/* « Goodies » reste VERT + SOULIGNÉ tant que le menu est ouvert (survol du panneau inclus) */
#header .nav .nav-it:hover > a, #header .nav .nav-it:focus-within > a { color: var(--vert-fonce) !important; }
#header .nav .nav-it:hover > a::after, #header .nav .nav-it:focus-within > a::after { transform: scaleX(1); }
/* pas d'encadré focus au clic souris (le focus clavier reste visible) */
#header .nav .nav-it > a:focus:not(:focus-visible) { outline: none; }

/* — ouverture : slide-down + fade (transform/opacity only, 220ms ease-out) — */
#header .nav .nav-mega2 {
  /* COMPACT, ancré sous « Goodies » (bord gauche du container), pas pleine largeur */
  position: absolute; top: 100%; z-index: 80;
  left: calc(max(0px, (100% - var(--container)) / 2) + var(--gutter));
  width: min(880px, calc(100% - 2 * var(--gutter)));
  display: flex; align-items: stretch; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 20px 20px; box-shadow: 0 26px 48px rgba(24, 40, 30, .16);
  visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .22s cubic-bezier(.2,.7,.3,1), transform .22s cubic-bezier(.2,.7,.3,1), visibility 0s linear .22s;
}
#header .nav .nav-it:hover .nav-mega2,
#header .nav .nav-it:focus-within .nav-mega2 {
  visibility: visible; opacity: 1; transform: none; pointer-events: auto;
  transition: opacity .22s cubic-bezier(.2,.7,.3,1), transform .22s cubic-bezier(.2,.7,.3,1);
}

/* — rail gauche (beige) — */
#header .nav .nav-mega2__rail {
  width: 292px; flex: none; background: var(--beige);
  padding: 16px 14px; display: flex; flex-direction: column; gap: 2px;
  max-height: min(72vh, 640px); overflow-y: auto; scrollbar-width: thin;
}
#header .nav .nav-m2-cat {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 13px; border-radius: 11px;
  font-size: .92rem !important; font-weight: 600; color: var(--ink) !important;
  white-space: nowrap; transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
#header .nav .nav-m2-cat::after { display: none !important; }
/* variante COMPACTE du méga-menu (ex. « Textile » : un seul panneau, pas de rail) */
#header .nav .nav-mega2--mini { width: min(560px, calc(100% - 2 * var(--gutter))); }
#header .nav .nav-mega2--mini .nav-mega2__panes { min-height: 0; }
#header .nav .nav-mega2--mini .nav-m2-pane { position: static; padding: 24px 28px 22px; }
#header .nav .nav-mega2--mini .nav-m2-all { margin-top: 18px; }
#header .nav .nav-m2-cat .picto { width: 19px; height: 19px; color: var(--vert-fonce); opacity: .8; flex: none; transition: transform .18s ease; }
#header .nav .nav-m2-cat .chev { width: 15px; height: 15px; margin-left: auto; flex: none; opacity: 0; transform: translateX(-5px); transition: opacity .18s ease, transform .18s ease; }
#header .nav .nav-m2-cat:hover,
#header .nav .nav-m2-cat.is-active {
  background: #fff; color: var(--vert-fonce) !important;
  box-shadow: 0 6px 16px rgba(29, 29, 27, .08);
}
#header .nav .nav-m2-cat.is-active .picto { transform: scale(1.12); opacity: 1; }
#header .nav .nav-m2-cat.is-active .chev { opacity: 1; transform: none; }

/* — panneaux droits (crossfade) — */
#header .nav .nav-mega2__panes { flex: 1; position: relative; min-height: 340px; }
#header .nav .nav-m2-pane {
  position: absolute; inset: 0; padding: 26px 30px 22px;
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
#header .nav .nav-m2-pane.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s ease, transform .2s ease;
}
#header .nav .nav-m2-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
#header .nav .nav-m2-head h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--vert-fonce); margin: 0; }
#header .nav .nav-m2-count { background: var(--vert-clair-t); color: var(--vert-fonce); font-size: .74rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
#header .nav .nav-m2-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 2px 22px; align-content: start; }
#header .nav .nav-m2-links a {
  position: relative; padding: 9px 0 9px 18px !important;
  font-size: .92rem !important; font-weight: 500; color: var(--ink) !important;
  white-space: normal; transition: color .16s ease, transform .16s ease;
}
#header .nav .nav-m2-links a::after { display: none !important; }
#header .nav .nav-m2-links a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px;
  border-right: 2px solid var(--vert-clair-d); border-top: 2px solid var(--vert-clair-d);
  transform: translateY(-50%) rotate(45deg); transition: border-color .16s ease, transform .16s ease;
}
#header .nav .nav-m2-links a:hover { color: var(--vert-fonce) !important; transform: translateX(3px); }
#header .nav .nav-m2-links a:hover::before { border-color: var(--vert-fonce); }
/* stagger d'entrée des liens quand le panneau devient actif */
#header .nav .nav-m2-pane.is-active .nav-m2-links a { animation: gdcM2in .26s cubic-bezier(.2,.7,.3,1) both; }
#header .nav .nav-m2-pane.is-active .nav-m2-links a:nth-child(1) { animation-delay: .03s; }
#header .nav .nav-m2-pane.is-active .nav-m2-links a:nth-child(2) { animation-delay: .06s; }
#header .nav .nav-m2-pane.is-active .nav-m2-links a:nth-child(3) { animation-delay: .09s; }
#header .nav .nav-m2-pane.is-active .nav-m2-links a:nth-child(4) { animation-delay: .12s; }
#header .nav .nav-m2-pane.is-active .nav-m2-links a:nth-child(5) { animation-delay: .15s; }
#header .nav .nav-m2-pane.is-active .nav-m2-links a:nth-child(6) { animation-delay: .18s; }
#header .nav .nav-m2-pane.is-active .nav-m2-links a:nth-child(7) { animation-delay: .21s; }
#header .nav .nav-m2-pane.is-active .nav-m2-links a:nth-child(8) { animation-delay: .24s; }
@keyframes gdcM2in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
/* CTA bas de panneau */
#header .nav .nav-m2-all {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--vert-fonce); color: #fff !important;
  font-size: .88rem !important; font-weight: 600;
  padding: 11px 20px !important; border-radius: 999px;
  transition: background .18s ease, gap .18s ease;
}
#header .nav .nav-m2-all::after { display: none !important; }
#header .nav .nav-m2-all svg { width: 16px; height: 16px; }
#header .nav .nav-m2-all:hover { background: var(--vert-fonce-d); gap: 13px; }
@media (prefers-reduced-motion: reduce) {
  #header .nav .nav-mega2, #header .nav .nav-m2-pane,
  #header .nav .nav-m2-pane.is-active .nav-m2-links a { transition: none; animation: none; transform: none; }
}
/* menu mobile : sous-liste des familles sous « Goodies » */
.mobile-menu .m-link--head { pointer-events: none; }
.mobile-menu .m-sub { display: block; padding: 8px 0 8px 40px; font-size: .95rem; font-weight: 500; color: var(--ink); }
.mobile-menu .m-sub:active, .mobile-menu .m-sub:hover { color: var(--vert-fonce); }

/* ============================================================
   TEXTILE — GRILLE DE TAILLES par couleur (carte quantité v2)
   ============================================================ */
.gdc-pz-qty-card--sizes { display: block !important; }
.gdc-pz-qty-card--sizes .gdc-pz-qty-head { display: flex; align-items: center; gap: 12px; }
.gdc-pz-qty-card--sizes .gdc-pz-qty-head .gdc-pz-qty-del { margin-left: auto; }
.gdc-pz-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px 14px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.gdc-pz-size { display: flex; align-items: center; gap: 8px; }
.gdc-pz-size-n { font-weight: 600; font-size: .85rem; min-width: 34px; color: var(--ink); }
.gdc-pz-size-p { font-size: .74rem; color: var(--ink-2); white-space: nowrap; }
.gdc-pz-size-q { width: 62px; height: 34px; border: 1px solid var(--line); border-radius: 9px; text-align: center; font-weight: 600; font-size: .88rem; }
.gdc-pz-size-q:focus { outline: 0; border-color: var(--vert-fonce); box-shadow: 0 0 0 3px var(--vert-clair-t); }
.gdc-pz-size.is-oos { opacity: .5; }
.gdc-pz-size-oos { font-size: .74rem; color: var(--orange); font-weight: 600; }
/* le sélecteur Taille natif de PS est remplacé par la grille */
.gdc-multisize .gdc-pz-variants .product-variants-item:has(select) { display: none !important; }

/* ---- PANIER TEXTILE : carte regroupée par (produit, couleur), 1 ligne par taille ---- */
.gdc-cl-head-color { color: var(--ink-2); font-weight: 500; }
.gdc-cl-card--sizes .gdc-cl-trow--size { border-top: 1px solid var(--line); }
.gdc-cl-card--sizes .gdc-cl-trow--size:first-of-type { border-top: 0; }
.gdc-cl-card--sizes .gdc-cl-trow--size .c1 .gdc-cl-attr b { font-size: .95rem; }
.gdc-cl-card--sizes .c4 { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.gdc-cl-remove-row { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; color: var(--ink-2); flex: none; }
.gdc-cl-remove-row svg { width: 13px; height: 13px; }
.gdc-cl-remove-row:hover { background: #fdeceb; color: var(--orange); }

/* ---- FICHE PRODUIT SIMPLE (BIC…) : carte Quantité + dégressif GDC ; tableau natif PS masqué ---- */
.gdc-product .product-discounts { display: none !important; }
.gdc-pz-qty-card--simple { display: block !important; }
.gdc-pz-qty-card--simple .gdc-pz-qty-head { display: flex; align-items: center; gap: 12px; }
.gdc-pz-qty-card--simple .gdc-pz-qty-input { margin-left: auto; width: 96px; }
/* le tableau dégressif n'apparaît QUE pendant la saisie de la quantité (façon personaliz) — .is-open posé au focus, retiré au blur */
.gdc-pz-degr { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); flex-direction: column; gap: 2px; }
.gdc-pz-degr.is-open { display: flex; }
.gdc-pz-tier { display: flex; align-items: center; gap: 14px; padding: 7px 10px; border-radius: 9px; font-size: .84rem; color: var(--ink-2); }
.gdc-pz-tier .t-q { min-width: 84px; font-weight: 600; color: var(--ink); }
.gdc-pz-tier .t-p { flex: 1; }
.gdc-pz-tier .t-r { font-weight: 700; color: var(--vert-fonce); }
.gdc-pz-tier.is-current { background: var(--vert-clair-t); }
.gdc-pz-tier.is-current .t-q, .gdc-pz-tier.is-current .t-p { color: var(--vert-fonce); }

/* ---- PERSO SIMPLE (BIC…) : upload logo + instructions, joints à la commande ---- */
.gdc-custo { margin-top: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--beige); }
.gdc-custo-intro { font-size: .88rem; color: var(--ink-2); margin: 0 0 14px; }
.gdc-custo-field { margin-bottom: 14px; }
.gdc-custo-file { display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px dashed var(--vert-clair-d); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.gdc-custo-file:hover { border-color: var(--vert-fonce); background: var(--vert-clair-t); }
.gdc-custo-file.is-done { border-style: solid; border-color: var(--vert-fonce); }
.gdc-custo-file input[type="file"] { display: none; }
.gdc-custo-file-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--vert-clair-t); color: var(--vert-fonce); display: flex; align-items: center; justify-content: center; flex: none; }
.gdc-custo-file-ic svg { width: 21px; height: 21px; }
.gdc-custo-file-txt b { display: block; font-size: .9rem; color: var(--ink); }
.gdc-custo-file-txt > span { font-size: .78rem; color: var(--ink-2); }
.gdc-custo-label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }
.gdc-custo-text { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .9rem; font-family: inherit; resize: vertical; background: #fff; }
.gdc-custo-text:focus { outline: 0; border-color: var(--vert-fonce); box-shadow: 0 0 0 3px var(--vert-clair-t); }
.gdc-custo-save { display: block; width: 100%; padding: 13px; border: 0; border-radius: 999px; background: var(--vert-fonce); color: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; transition: background .15s ease; }
.gdc-custo-save:hover { background: var(--vert-fonce-d); }
.gdc-custo-note { font-size: .78rem; color: var(--ink-2); margin: 10px 0 0; text-align: center; }
/* zone + technique de marquage (perso simple BIC) */
.gdc-custo-mk { margin: 14px 0 4px; }
.gdc-custo-h { font-size: .92rem; font-weight: 600; color: var(--noir); margin: 12px 0 8px; }
.gdc-custo-zones { display: flex; flex-wrap: wrap; gap: 8px; }
.gdc-custo-zonebtn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; transition: border-color .15s ease, background .15s ease; }
.gdc-custo-zonebtn b { font-size: .85rem; color: var(--noir); font-weight: 600; }
.gdc-custo-zonebtn span { font-size: .74rem; color: var(--ink-2); }
.gdc-custo-zonebtn:hover { border-color: var(--vert-fonce); }
.gdc-custo-zonebtn.is-on { border-color: var(--vert-fonce); background: var(--vert-clair-t); }
.gdc-custo-techs { display: grid; grid-template-columns: 1fr; gap: 8px; }
.gdc-custo-tech { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "c p"; align-items: center; column-gap: 10px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; transition: border-color .15s ease, background .15s ease; }
.gdc-custo-tech-n { grid-area: n; font-size: .85rem; font-weight: 600; color: var(--noir); }
.gdc-custo-tech-c { grid-area: c; font-size: .74rem; color: var(--ink-2); }
.gdc-custo-tech-p { grid-area: p; font-size: .82rem; font-weight: 600; color: var(--vert-fonce); white-space: nowrap; }
.gdc-custo-tech:hover { border-color: var(--vert-fonce); }
.gdc-custo-tech.is-on { border-color: var(--vert-fonce); background: var(--vert-clair-t); }
/* ===== SUR DEVIS (prix 0, ex. Realisaprint — prix réels après passage API en production) ===== */
/* (règle sur-devis supprimée : la galerie utilise le rendu 100 % standard) */
/* (règle sur-devis supprimée : la galerie utilise le rendu 100 % standard) */
/* (règle sur-devis supprimée : la carte de la grille utilise le rendu 100 % standard — le
   `mix-blend-mode:normal` posait un CARRÉ BLANC sur le fond de la vignette) */
/* ===== CONFIGURATEUR RP = celui de realisaprint.com, dans notre charte (sept. 2026) — INLINE dans
   la colonne d'achat : flux principal → Quantités → OPTIONS. Widgets relevés sur leur site (rp_ui.py) ===== */
.gdc-rpcfg { margin: 6px 0 10px; }
.gdc-rpcfg-h { font-family: var(--font-display); font-size: 1.05rem; color: var(--vert-fonce); margin-bottom: 4px; }
.gdc-rp-row { padding: 14px 0 12px; border-bottom: 1px dashed var(--line); }
.gdc-rp-lab { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--noir); margin-bottom: 10px; }
.gdc-rp-qtyslot .gdc-pz-qty { padding: 14px 0 12px; border-bottom: 1px dashed var(--line); margin: 0; }
.gdc-rp-qtyslot .gdc-pz-sectitle { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
/* ---- infobulle ⓘ (leur texte + image) ---- */
.gdc-rp-infow { position: relative; display: inline-flex; }
.gdc-rp-info { width: 15px; height: 15px; border-radius: 50%; border: 0; background: #9a9a94; color: #fff; font: italic 700 .62rem/15px Georgia, serif; text-align: center; cursor: help; padding: 0; flex: 0 0 15px; }
.gdc-rp-info:hover { background: var(--vert-fonce); }
.gdc-rp-pop { position: absolute; left: 0; top: 22px; z-index: 30; width: 280px; max-width: 72vw; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.16); display: none; font-weight: 400; letter-spacing: 0; text-transform: none; }
.gdc-rp-infow:hover .gdc-rp-pop, .gdc-rp-infow.is-open .gdc-rp-pop, .gdc-rp-info:focus-visible + .gdc-rp-pop { display: block; }
.gdc-rp-popt { font-size: .76rem; line-height: 1.45; color: var(--noir); }
.gdc-rp-pop img { display: block; width: 100%; height: auto; border-radius: 8px; margin-top: 8px; }
.gdc-rp-popt:empty { display: none; }
.gdc-rp-popt:empty + img { margin-top: 0; }
/* ---- onglets (groupes) + panneau gris, comme chez eux ---- */
.gdc-rp-tabbox { background: #f3f3f0; border-radius: 14px; padding: 6px; }
.gdc-rp-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.gdc-rp-tab { position: relative; flex: 1 1 auto; padding: 9px 14px; border: 0; border-radius: 10px; background: transparent; font-size: .8rem; color: var(--noir); cursor: pointer; }
.gdc-rp-tab.is-on { background: var(--vert-fonce); color: #fff; font-weight: 600; }
.gdc-rp-tab.is-on::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--vert-fonce); border-bottom: 0; }
.gdc-rp-panel { padding: 14px 10px 6px; }
.gdc-rp-panel--radio .gdc-rp-radios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* ---- radios ---- */
.gdc-rp-radios { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 14px; }
.gdc-rp-radio { display: flex; align-items: center; gap: 9px; padding: 6px 6px; border: 0; background: none; font-size: .8rem; color: var(--noir); cursor: pointer; text-align: left; border-radius: 8px; }
.gdc-rp-radio:hover { background: rgba(0,0,0,.04); }
.gdc-rp-dot { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b5b5b0; background: #fff; }
.gdc-rp-radio.is-on .gdc-rp-dot { border-color: var(--vert-fonce); box-shadow: inset 0 0 0 3.5px #fff; background: var(--vert-fonce); }
.gdc-rp-radio.is-on { font-weight: 600; color: var(--vert-fonce); }
/* ---- cartes à pictogramme (LEURS SVG : gris → vert à la sélection) ---- */
.gdc-rp-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.gdc-rp-card { width: 92px; min-height: 96px; padding: 8px 4px 7px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color .12s ease, background .12s ease; }
.gdc-rp-card:hover { border-color: var(--vert-fonce); }
.gdc-rp-card.is-on { border-color: var(--vert-fonce); background: var(--vert-clair-t); }
.gdc-rp-pic { width: 54px; height: 50px; display: flex; align-items: center; justify-content: center; color: #b3b3b0; }
.gdc-rp-pn, .gdc-rp-ps { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.gdc-rp-pic svg, .gdc-rp-pic img { max-width: 100%; max-height: 100%; width: auto; height: 100%; display: block; }
.gdc-rp-pic .gdc-rp-ps { display: none; }
.gdc-rp-card.is-on .gdc-rp-pic { color: var(--vert-fonce); }
.gdc-rp-card.is-on .gdc-rp-pn { display: none; }
.gdc-rp-card.is-on .gdc-rp-ps { display: flex; }
.gdc-rp-clab { font-size: .66rem; line-height: 1.25; text-align: center; color: var(--noir); margin-top: auto; }
.gdc-rp-card.is-on .gdc-rp-clab { font-weight: 600; color: var(--vert-fonce); }
/* ---- puces de couleur ---- */
.gdc-rp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gdc-rp-chip { position: relative; width: 30px; height: 30px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: none; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.gdc-rp-chipc { position: absolute; inset: 0; border-radius: 50%; }
.gdc-rp-chip--none .gdc-rp-chipc { background: #fff; }
.gdc-rp-chip--none .gdc-rp-chipc::after { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1.5px; background: #c0392b; transform: rotate(45deg); }
.gdc-rp-chip.is-on { box-shadow: 0 0 0 2px var(--vert-fonce); }
.gdc-rp-chipl { position: absolute; left: -9999px; }
/* ---- pastilles texte (listes sans widget particulier ; grille défilante si très longue) ---- */
.gdc-rp-opts { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.gdc-rp-opt { padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .8rem; color: var(--noir); cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.gdc-rp-opt:hover { border-color: var(--vert-fonce); }
.gdc-rp-opt.is-on { border-color: var(--vert-fonce); background: var(--vert-clair-t); font-weight: 600; }
.gdc-rp-opts--long { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; max-height: 250px; overflow-y: auto; background: #f8f8f6; border-radius: 12px; padding: 10px; }
.gdc-rp-opts--long .gdc-rp-opt { text-align: left; padding: 6px 11px; font-size: .76rem; }
.gdc-rp-card.is-off, .gdc-rp-opt.is-off, .gdc-rp-radio.is-off, .gdc-rp-chip.is-off { opacity: .35; cursor: not-allowed; }
/* variable à valeur unique : affichée, sélectionnée, verrouillée (comme chez realisaprint) */
.gdc-rp-row.is-locked [data-oid] { cursor: default; }
.gdc-rp-row.is-locked [data-oid]:not(.is-on) { display: none; }
.gdc-rp-row.is-locked .gdc-rp-lab::after { content: "seule option disponible"; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); font-size: .72rem; }
/* ---- bloc OPTIONS : grille 3 colonnes de cases à cocher + ⓘ (leur section « Options ») ---- */
.gdc-rp-finsec { margin-top: 16px; }
.gdc-rp-finh { display: flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--noir); margin-bottom: 12px; }
.gdc-rp-finh::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gdc-rp-finbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; }
.gdc-rp-fcell { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 8px; }
.gdc-rp-fcell .gdc-rp-pop { left: -4px; }
.gdc-rp-fchk { display: flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; min-width: 0; }
.gdc-rp-fchk input { position: absolute; opacity: 0; width: 0; height: 0; }
.gdc-rp-fbox { flex: 0 0 18px; width: 18px; height: 18px; border: 1.5px solid #c9c9c4; border-radius: 4px; background: #f2f2ef; position: relative; transition: background .12s ease, border-color .12s ease; }
.gdc-rp-fchk:hover .gdc-rp-fbox { border-color: var(--vert-fonce); }
.gdc-rp-fchk input:checked + .gdc-rp-fbox { background: var(--vert-fonce); border-color: var(--vert-fonce); }
.gdc-rp-fchk input:checked + .gdc-rp-fbox::after { content: ""; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(43deg); }
.gdc-rp-fchk input:focus-visible + .gdc-rp-fbox { outline: 2px solid var(--vert-fonce); outline-offset: 2px; }
.gdc-rp-fname { font-size: .82rem; color: var(--noir); line-height: 1.25; text-align: left; }
.gdc-rp-fchk input:checked ~ .gdc-rp-fname { font-weight: 600; color: var(--vert-fonce); }
.gdc-rp-fvals { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.gdc-rp-fvals:not([hidden]) { margin-top: 2px; }
.gdc-rp-fvals .gdc-rp-opt { padding: 5px 11px; font-size: .74rem; }
.gdc-rp-fcell.is-off { opacity: .4; }
.gdc-rp-fcell.is-off .gdc-rp-fchk { cursor: not-allowed; }
.gdc-rp-fdep { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding-top: 4px; }
.gdc-rp-fdep .gdc-rp-fname { font-weight: 600; }
#gdc-rp-sum { margin: 14px 0 0; }
@media (max-width: 900px) { .gdc-rp-finbody { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .gdc-rp-finbody { grid-template-columns: 1fr; }
  .gdc-rp-card { width: calc(33.33% - 6px); }
  .gdc-rp-panel--radio .gdc-rp-radios { grid-template-columns: 1fr; }
}
.gdc-pz-surdevis .gdc-pz-fromht { font-size: 1.7rem; }
.gdc-pz-surdevis .gdc-pz-fromttc { color: var(--ink-2); }
.gdc-pz-cta--devis { display: block; }
.gdc-pz-cta--devis .gdc-pz-devisbtn { width: 100%; text-align: center; }
.prod__price--devis b { color: var(--vert-fonce); }
/* ===== MIX&MATCH BIC : couleur par composant + aperçu recomposé en direct ===== */
.gdc-mix { margin: 14px 0 6px; padding: 14px 18px 8px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.gdc-mix-h { font-size: .92rem; font-weight: 600; color: var(--noir); margin-bottom: 4px; }
/* un BLOC par composant : titre « Corps : Blanc » sur sa ligne, puis 1 ligne par type (Opaque / Givré)
   avec le libellé de type en colonne fixe → alignement propre, lecture claire */
.gdc-mix-row { display: block; padding: 11px 0; border-top: 1px dashed var(--line); }
.gdc-mix-row:first-of-type { border-top: 0; }
.gdc-mix-lab { display: block; font-size: .85rem; color: var(--ink-2); margin-bottom: 7px; }
.gdc-mix-lab b { color: var(--noir); font-weight: 600; }
.gdc-mix-groups { display: flex; flex-direction: column; gap: 6px; }
.gdc-mix-grp { display: flex; align-items: center; gap: 12px; }
.gdc-mix-grp-lab { flex: 0 0 58px; font-size: .68rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; margin: 0; }
/* rangée SANS libellé de type (ex. Encre, type unique) : réserve quand même la colonne → pastilles alignées avec les autres */
.gdc-mix-grp > .gdc-mix-opts:first-child { padding-left: 70px; }
.gdc-mix-opts { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
/* Mix&Match : UNE config = UNE quantité → pas de suppression de ligne (une seule carte) */
.gdc-has-mix .gdc-pz-qty-card .gdc-pz-qty-del { display: none; }
/* et la bande de vignettes couleur de la galerie ne sert à rien (l'aperçu EST la config) */
.gdc-has-mix #gdc-color-thumbs { display: none !important; }
.gdc-mix-opt { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(0,0,0,.14); cursor: pointer; padding: 0; transition: transform .12s ease, box-shadow .12s ease; }
.gdc-mix-opt:hover { transform: scale(1.15); }
.gdc-mix-opt.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vert-fonce); }
.gdc-mix-sum { margin: 10px 0 0; padding: 10px 0; font-size: .8rem; color: var(--ink-2); border-top: 1px dashed var(--line); }
/* aperçu : calques empilés DANS le cadre photo ; la photo PS est masquée quand le mix est actif.
   ⚠️ PAS de mix-blend multiply (les calques sont des PNG transparents à composer en alpha NORMAL —
   multiply laissait transparaître les pièces sombres du dessous, « truc noir derrière le bouton »).
   Le fond gris standard des fiches est porté par le stage. */
.gdc-has-mix .product-cover { position: relative; }
/* le stage est un CANVAS unique (composition des calques en JS — cf. custom.js, pile d'<img> abandonnée) */
#gdc-mix-stage { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; z-index: 2; pointer-events: none; background: #f4f4f3; mix-blend-mode: normal !important; transform: none !important; }
.gdc-has-mix .product-cover > picture, .gdc-has-mix .product-cover > img { opacity: 0; }
/* le mix remplace la rangée de pastilles standard (les radios PS restent en DOM pour le panier/prix) */
.gdc-has-mix .gdc-pz-variants { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== LIGHTBOX photo (loupe) : plein écran + flèches discrètes ===== */
.gdc-lb { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.gdc-lb-back { position: absolute; inset: 0; background: rgba(29,29,27,.82); }
.gdc-lb-img { position: relative; max-width: 88vw; max-height: 88vh; border-radius: 10px; background: #fff; }
.gdc-lb-close { position: absolute; top: 18px; right: 22px; border: 0; background: none; color: #fff; font-size: 1.3rem; cursor: pointer; opacity: .8; }
.gdc-lb-close:hover { opacity: 1; }
.gdc-lb-prev, .gdc-lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .55; transition: opacity .15s ease, background .15s ease; }
.gdc-lb-prev { left: 26px; }
.gdc-lb-next { right: 26px; }
.gdc-lb-prev:hover, .gdc-lb-next:hover { opacity: 1; background: rgba(255,255,255,.3); }

/* ===== CHATBOT « conseiller Green Day » (sept. 2026) — widget global, charte GDC.
   MAQUETTE : les réponses sont scriptées (window.__gdcChatDemo) ; le jour où l’IA est branchée,
   seul `ask()` change (POST vers gdc-chat.php) — le DOM, le CSS et le parcours restent identiques. ===== */
.gdc-chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 9998; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--vert-fonce); color: #fff; cursor: pointer; box-shadow: 0 10px 30px rgba(43,110,67,.35); display: flex; align-items: center; justify-content: center; transition: transform .16s ease, background .16s ease; }
.gdc-chat-fab:hover { background: var(--vert-fonce-d); transform: translateY(-2px); }
.gdc-chat-fab svg { width: 27px; height: 27px; }
.gdc-chat-fab .gdc-chat-close-ic { display: none; }
.gdc-chat-fab.is-open .gdc-chat-open-ic { display: none; }
.gdc-chat-fab.is-open .gdc-chat-close-ic { display: block; }
.gdc-chat-dot { position: absolute; top: 3px; right: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); border: 2.5px solid #fff; }
.gdc-chat-fab.is-open .gdc-chat-dot { display: none; }

.gdc-chat-panel { position: fixed; right: 22px; bottom: 94px; z-index: 9999; width: 392px; max-width: calc(100vw - 32px); height: min(640px, calc(100vh - 130px)); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 26px 70px rgba(29,29,27,.22); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.gdc-chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }

.gdc-chat-head { display: flex; align-items: center; gap: 11px; padding: 15px 16px; background: var(--vert-fonce); color: #fff; }
.gdc-chat-ava { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--vert-clair); color: var(--vert-fonce); display: flex; align-items: center; justify-content: center; }
.gdc-chat-ava svg { width: 21px; height: 21px; }
.gdc-chat-id { flex: 1; min-width: 0; }
.gdc-chat-id b { display: block; font-family: var(--font-display); font-size: .88rem; font-weight: 600; line-height: 1.2; }
.gdc-chat-id span { display: flex; align-items: center; gap: 5px; font-size: .71rem; opacity: .85; margin-top: 2px; }
.gdc-chat-id span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7ed99a; }
.gdc-chat-x { border: 0; background: none; color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; padding: 4px 2px; opacity: .85; }
.gdc-chat-x:hover { opacity: 1; }


.gdc-chat-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 6px; background: #fbfbf8; scroll-behavior: smooth; }
.gdc-chat-row { display: flex; margin-bottom: 11px; }
.gdc-chat-row--me { justify-content: flex-end; }
.gdc-chat-msg { max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: .84rem; line-height: 1.5; color: var(--noir); background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.gdc-chat-msg b { font-weight: 600; }
.gdc-chat-row--me .gdc-chat-msg { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; border-bottom-left-radius: 16px; border-bottom-right-radius: 5px; }
.gdc-chat-msg p { margin: 0 0 7px; }
.gdc-chat-msg p:last-child { margin-bottom: 0; }
.gdc-chat-msg a { color: var(--vert-fonce); font-weight: 600; }

/* « en train d’écrire » */
.gdc-chat-typing { display: flex; gap: 4px; padding: 14px; }
.gdc-chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9bfb6; animation: gdcChatBlink 1.25s infinite; }
.gdc-chat-typing i:nth-child(2) { animation-delay: .18s; }
.gdc-chat-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes gdcChatBlink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .gdc-chat-typing i { animation: none; opacity: .6; } }

/* pastilles de réponse rapide */
.gdc-chat-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 13px 2px; }
.gdc-chat-chip { padding: 8px 14px; border: 1.5px solid var(--vert-fonce); border-radius: 999px; background: #fff; color: var(--vert-fonce); font-size: .78rem; font-weight: 500; font-family: inherit; cursor: pointer; transition: background .12s ease, color .12s ease; }
.gdc-chat-chip:hover { background: var(--vert-fonce); color: #fff; }

/* carte produit dans la conversation */
.gdc-chat-prods { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.gdc-chat-prod { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 11px; padding: 9px 12px 9px 9px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .12s ease, box-shadow .12s ease; }
.gdc-chat-prod:hover { border-color: var(--vert-fonce); box-shadow: 0 5px 16px rgba(29,29,27,.07); }
.gdc-chat-prod img { width: 54px; height: 54px; object-fit: contain; border-radius: 9px; background: #f4f4f3; background-blend-mode: multiply; }
.gdc-chat-prod-n { min-width: 0; }
.gdc-chat-prod-n b { display: block; font-size: .79rem; font-weight: 600; color: var(--noir); line-height: 1.25; }
.gdc-chat-prod-n span { display: block; font-size: .71rem; color: var(--ink-2); margin-top: 2px; }
.gdc-chat-prod-p { text-align: right; font-size: .79rem; font-weight: 600; color: var(--vert-fonce); white-space: nowrap; }
.gdc-chat-prod-p small { display: block; font-size: .66rem; font-weight: 400; color: var(--ink-2); }

/* récap d’une sélection */
.gdc-chat-sum { margin: 0 0 12px; padding: 12px 14px; background: var(--vert-clair-t); border: 1px solid #d6e0b4; border-radius: 14px; font-size: .78rem; color: var(--noir); }
.gdc-chat-sum b { font-family: var(--font-display); color: var(--vert-fonce); }

.gdc-chat-foot { border-top: 1px solid var(--line); padding: 11px 12px; background: #fff; }
.gdc-chat-form { display: flex; align-items: flex-end; gap: 8px; }
.gdc-chat-in { flex: 1; min-width: 0; resize: none; max-height: 92px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 14px; font-family: inherit; font-size: .83rem; line-height: 1.4; color: var(--noir); outline: 0; }
.gdc-chat-in:focus { border-color: var(--vert-fonce); box-shadow: 0 0 0 3px rgba(43,110,67,.12); }
.gdc-chat-send { flex: 0 0 42px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--vert-fonce); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gdc-chat-send:hover { background: var(--vert-fonce-d); }
.gdc-chat-send svg { width: 18px; height: 18px; }
.gdc-chat-legal { margin: 8px 2px 0; font-size: .65rem; color: var(--ink-2); text-align: center; }

@media (max-width: 560px) {
  .gdc-chat-panel { right: 0; bottom: 0; width: 100%; max-width: none; height: 100dvh; border-radius: 0; border: 0; }
  .gdc-chat-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .gdc-chat-fab.is-open { display: none; }
}

/* ============================ APERÇU IA (mise en situation) ============================
   Bouton dans la carte « Mes personnalisations » + fenêtre de génération.
   Le rendu vient de gdc-apercu.php (cf. CLAUDE.md §11). */
.gdc-cfg-pcard-ia { background: none; border: 0; padding: 0; cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--vert-fonce); margin-right: auto; }
.gdc-cfg-pcard-ia:hover { color: #235a37; }

.gdc-ia-modal[hidden] { display: none; }
.gdc-ia-modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gdc-ia-back { position: absolute; inset: 0; background: rgba(29, 29, 27, .55); }
.gdc-ia-panel { position: relative; background: #fff; border-radius: 20px; width: min(760px, 100%); max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.gdc-ia-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.gdc-ia-title { font-family: var(--font-display); font-size: 1.02rem; color: var(--vert-fonce); }
.gdc-ia-close { background: none; border: 0; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--noir); padding: 4px; }
.gdc-ia-body { padding: 20px 22px; overflow: auto; }
.gdc-ia-intro { margin: 0 0 14px; font-size: .88rem; color: #4a4a46; }
.gdc-ia-scenes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.gdc-ia-scene { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .84rem; cursor: pointer; color: var(--noir); }
.gdc-ia-scene:hover { border-color: var(--vert-fonce); }
.gdc-ia-scene.is-on { border-color: var(--vert-fonce); background: var(--vert-clair-t, #f0f5e6); color: var(--vert-fonce); font-weight: 600; }
.gdc-ia-stage { position: relative; aspect-ratio: 1 / 1; background: #f4f4f3; border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gdc-ia-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gdc-ia-ph { font-size: .85rem; color: #8b8b85; }
.gdc-ia-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(244, 244, 243, .92); font-size: .85rem; color: var(--vert-fonce); }
.gdc-ia-load[hidden] { display: none; }
.gdc-ia-spin { width: 28px; height: 28px; border: 3px solid #dfe3d2; border-top-color: var(--vert-fonce); border-radius: 50%; animation: gdcIaSpin .9s linear infinite; }
@keyframes gdcIaSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gdc-ia-spin { animation-duration: 3s; } }
.gdc-ia-msg { margin: 12px 0 0; font-size: .84rem; color: var(--orange); }
.gdc-ia-warn { margin: 14px 0 0; font-size: .78rem; line-height: 1.5; color: #6b6b64; }
.gdc-ia-foot { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--line); }
.gdc-ia-dl { font-size: .85rem; font-weight: 600; color: var(--vert-fonce); text-decoration: underline; }
.gdc-ia-dl[hidden] { display: none; }
.gdc-ia-go { background: var(--vert-fonce); color: #fff; border: 0; border-radius: 999px; padding: 13px 26px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.gdc-ia-go:hover { background: #235a37; }
.gdc-ia-go:disabled { opacity: .55; cursor: default; }
@media (max-width: 560px) {
  .gdc-ia-modal { padding: 0; }
  .gdc-ia-panel { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .gdc-cfg-pcard-actions { flex-wrap: wrap; gap: 14px; }
}
.gdc-ia-login { color: var(--vert-fonce); font-weight: 600; text-decoration: underline; white-space: nowrap; }
