/* ==========================================================================
   HOLZPELLETS HANDEL — feuille de style principale
   Les couleurs sont injectées comme variables CSS depuis l'administration.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --primary:  #243247;
  --cta:      #B9683B;
  --dark:     #111827;
  --hover:    #334155;
  --lavender: #FAF7F3;
  --grey:     #F8FAFC;
  --white:    #FFFFFF;
  --text:     #1F2937;
  --muted:    #667085;
  --border:   #E4E7EC;
  --success:  #147D64;
  --promo:    #B54732;
  --error:    #B42318;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 18px;
  --shadow-xs: 0 1px 2px rgba(18, 26, 58, .05);
  --shadow:    0 2px 8px rgba(18, 26, 58, .06);
  --shadow-md: 0 8px 24px rgba(18, 26, 58, .09);
  --wrap: 1240px;
  --header-h: 72px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cta); text-decoration: none; }
a:hover { color: var(--hover); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; color: var(--dark); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.85rem); }
h2 { font-size: clamp(1.35rem, 2.8vw, 1.95rem); }
h3 { font-size: 1.12rem; }
p  { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 54px 0; }
.section--tint { background: var(--grey); }
.section--lav  { background: var(--lavender); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .1s ease;
  text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--hover); color: #fff; }
.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: var(--hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--primary); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--lavender); }
.btn--soft { background: var(--lavender); color: var(--primary); }
.btn--soft:hover { background: #E6E9FF; color: var(--primary); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 14px; font-size: 13.5px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ------------------------------------------------------------------- Header */
.header {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--border);
}
.header__top {
  background: var(--primary); color: #DCE1FA; font-size: 13px;
}
.header__top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.header__top a { color: #fff; }
.header__topinfo { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar__promo { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.topbar__promo svg { flex: none; color: #8FE3B4; }
.header__main { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { max-height: 42px; width: auto; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--dark); white-space: nowrap; }
.logo__sub  { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.searchbar { flex: 1 1 auto; position: relative; max-width: 620px; }
.searchbar input {
  width: 100%; padding: 12px 46px 12px 16px; border: 1px solid var(--border);
  border-radius: var(--r-sm); font: inherit; font-size: 14.5px; background: var(--grey); color: var(--text);
}
.searchbar input:focus { background: #fff; border-color: var(--cta); outline: none; box-shadow: 0 0 0 3px rgba(57,73,211,.12); }
.searchbar button {
  position: absolute; right: 5px; top: 5px; bottom: 5px; width: 38px;
  border: 0; border-radius: 8px; background: var(--cta); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.searchbar button:hover { background: var(--hover); }

.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.iconbtn {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--r-sm); color: var(--dark); background: transparent; border: 0; cursor: pointer;
}
.iconbtn:hover { background: var(--lavender); color: var(--primary); }
.iconbtn__badge {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--cta); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.burger { display: none; }

.nav { border-top: 1px solid var(--border); background: #fff; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__list a {
  display: block; padding: 13px 14px; font-size: 14px; font-weight: 500; color: var(--text);
  white-space: nowrap; border-bottom: 2px solid transparent;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--primary); border-bottom-color: var(--primary); }

/* --------------------------------------------------------------- Menu mobile */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; z-index: 90;
  transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  box-shadow: -12px 0 40px rgba(18,26,58,.16); display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.drawer__list { list-style: none; margin: 0; padding: 8px 0; }
.drawer__list a { display: block; padding: 13px 18px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--grey); }
.drawer__list a:hover { background: var(--lavender); color: var(--primary); }
.overlay { position: fixed; inset: 0; background: rgba(18,26,58,.45); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .2s; }
.overlay.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------- Carrousel d'accueil */
/* Hauteur réservée dès le premier rendu : aucun décalage de mise en page. */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero__track {
  position: relative;
  height: clamp(520px, 62vw, 760px);
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease;
  display: flex; align-items: center;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9,14,38,.80) 0%, rgba(9,14,38,.58) 40%, rgba(9,14,38,.14) 72%, rgba(9,14,38,0) 100%),
    linear-gradient(to top, rgba(9,14,38,.34), transparent 40%);
}
.hero__bg { filter: saturate(1.06) contrast(1.03); }
.hero__inner { position: relative; z-index: 2; padding-bottom: 42px; }
.hero__eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .13em;
  margin-bottom: 18px; backdrop-filter: blur(6px);
}
.hero__title {
  color: #fff; margin: 0 0 14px; max-width: 15ch;
  font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.028em;
}
.hero__lead { color: #D2D8F2; font-size: clamp(15px, 1.5vw, 17.5px); max-width: 46ch; margin-bottom: 26px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta { margin: 18px 0 0; color: #A6B0DA; font-size: 13px; }

.hero__nav { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; }
.hero__navinner { display: flex; align-items: center; gap: 14px; }
.hero__arrow {
  width: 42px; height: 42px; flex: none; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px);
  transition: background .16s, border-color .16s;
}
.hero__arrow:hover { background: rgba(255,255,255,.26); border-color: rgba(255,255,255,.45); }
.hero__dots { display: flex; gap: 8px; align-items: center; }
.hero__dot {
  width: 34px; height: 4px; border: 0; padding: 0; cursor: pointer; border-radius: 3px;
  background: rgba(255,255,255,.3); transition: background .2s, width .2s;
}
.hero__dot.is-active { background: #fff; width: 52px; }
.hero__dot:hover { background: rgba(255,255,255,.6); }

/* --------------------------------------------------------------- Confiance */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start;
}
.trust__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--lavender); color: var(--primary); display: grid; place-items: center; }
.trust__item strong { display: block; font-size: 14.5px; color: var(--dark); margin-bottom: 2px; }
.trust__item span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* -------------------------------------------------------------- En-têtes */
.sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sechead__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; display: block; }
.sechead h2 { margin: 0; }
.sechead p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }

/* ------------------------------------------------------------- Catégories */
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.catcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.catcard:hover { border-color: #B9C8C0; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.catcard__img { background: var(--grey); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 14px; }
.catcard__img img { width: 100%; height: 100%; object-fit: contain; }
.catcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.catcard__body h3 { font-size: 15.5px; margin-bottom: 4px; color: var(--dark); }
.catcard__body p { font-size: 13px; color: var(--muted); margin: 0 0 12px; flex: 1; }
.catcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.catcard__meta .btn { padding: 8px 14px; font-size: 13px; }

/* ---------------------------------------------------------------- Produits */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.pcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.pcard:hover { border-color: #B9C8C0; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pcard__badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge {
  font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 4px 9px; border-radius: 999px;
  background: var(--promo); color: #3D2E00; text-transform: uppercase;
}
.badge--stock { background: rgba(45,159,111,.12); color: var(--success); }
.badge--out   { background: rgba(214,69,69,.12); color: var(--error); }
.badge--new   { background: var(--lavender); color: var(--primary); }

.pcard__imgwrap { display: block; background: #fff; padding: 16px; aspect-ratio: 4 / 3; }
.pcard__imgwrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.pcard:hover .pcard__imgwrap img { transform: scale(1.035); }

.pcard__body { padding: 0 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.pcard__title { font-size: 14.5px; font-weight: 600; color: var(--dark); margin: 6px 0 4px; line-height: 1.38;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.pcard__title a { color: inherit; }
.pcard__title a:hover { color: var(--primary); }
.pcard__meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.pcard__prices { margin-top: auto; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { font-size: 19px; font-weight: 800; color: var(--dark); letter-spacing: -.02em; }
.price--old { font-size: 13.5px; color: var(--muted); text-decoration: line-through; font-weight: 500; }
.pcard__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.pcard__actions .btn { padding: 10px 12px; font-size: 13.5px; }

.emptybox { background: var(--grey); border: 1px dashed var(--border); border-radius: var(--r); padding: 44px 24px; text-align: center; color: var(--muted); }
.emptybox strong { display: block; color: var(--dark); font-size: 16px; margin-bottom: 6px; }

/* ------------------------------------------------------------ Fiche produit */
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs span[aria-current] { color: var(--dark); }

.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.gallery__main {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; cursor: zoom-in; }
.gallery__main img.is-zoomed { transform: scale(1.7); cursor: zoom-out; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 12px; }
.gallery__thumbs button {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 6px;
  aspect-ratio: 1; cursor: pointer; display: grid; place-items: center;
}
.gallery__thumbs button.is-active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(38,58,150,.14); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product__title { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-bottom: 10px; }
.product__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.product__meta strong { color: var(--dark); font-weight: 600; }
.pricebox { background: var(--lavender); border: 1px solid #DDE1FA; border-radius: var(--r); padding: 20px; margin-bottom: 20px; }
.pricebox .price { font-size: 30px; }
.pricebox__row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pricebox__vat { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.buybox { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 18px 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: #fff; font-size: 18px; cursor: pointer; color: var(--dark); }
.qty button:hover { background: var(--lavender); color: var(--primary); }
.qty input { width: 52px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 42%; }
.specs td { color: var(--dark); font-weight: 600; }

.tabs { border-bottom: 1px solid var(--border); display: flex; gap: 4px; overflow-x: auto; margin-bottom: 22px; }
.tabs button {
  padding: 13px 16px; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14.5px;
  color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap;
}
.tabs button.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; }
.prose { font-size: 15px; line-height: 1.72; color: #37405C; max-width: 78ch; }
.prose img { border-radius: var(--r-sm); margin: 14px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.prose td, .prose th { border: 1px solid var(--border); padding: 9px 11px; text-align: left; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.3em; }

/* ------------------------------------------------------------ Listes/filtres */
.listing { display: grid; grid-template-columns: 268px 1fr; gap: 32px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 20px; position: sticky; top: calc(var(--header-h) + 12px); }
.filters h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 20px 0 10px; }
.filters h3:first-child { margin-top: 0; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 5px 0; color: var(--text); cursor: pointer; }
.filters .row { display: flex; gap: 8px; }
.filters input[type="number"], .filters select {
  width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 14px;
}
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-size: 14px; }
.toolbar select { padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.filters-toggle { display: none; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text); background: #fff;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .is-current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------------------------------------------------------- Formulaires */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm);
  font: inherit; font-size: 15px; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(57,73,211,.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .err { color: var(--error); font-size: 13px; margin-top: 5px; display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }

.alert { padding: 14px 16px; border-radius: var(--r-sm); font-size: 14.5px; margin-bottom: 20px; border: 1px solid; }
.alert--ok  { background: rgba(45,159,111,.08); border-color: rgba(45,159,111,.3); color: #136F63; }
.alert--err { background: rgba(214,69,69,.07); border-color: rgba(214,69,69,.3); color: #972929; }
.alert--info{ background: var(--lavender); border-color: #D3D8FA; color: var(--primary); }

/* ---------------------------------------------------------------- Panier */
.cartlayout { display: grid; grid-template-columns: 1fr 350px; gap: 32px; align-items: start; }
.cartline { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cartline__img { background: var(--grey); border-radius: var(--r-sm); padding: 8px; aspect-ratio: 1; }
.cartline__img img { width: 100%; height: 100%; object-fit: contain; }
.cartline__name { font-weight: 600; color: var(--dark); font-size: 14.5px; }
.cartline__sku { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cartline__ctrls { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.linkbtn:hover { color: var(--error); }
.cartline__total { font-weight: 700; font-size: 16px; color: var(--dark); white-space: nowrap; }

.summary { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 22px; position: sticky; top: calc(var(--header-h) + 12px); }
.summary h3 { font-size: 16px; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; color: var(--muted); }
.summary__row strong { color: var(--dark); font-weight: 600; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 4px; margin-top: 8px; border-top: 2px solid var(--border); font-size: 16px; font-weight: 700; color: var(--dark); }
.summary__total .price { font-size: 24px; }
.coupon { display: flex; gap: 8px; margin: 14px 0; }
.coupon input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 14px; }

/* ---------------------------------------------------------- Checkout / commande */
.checkout { display: grid; grid-template-columns: 1fr 370px; gap: 32px; align-items: start; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 24px; margin-bottom: 20px; }
.card > h2 { font-size: 17px; margin-bottom: 18px; }
.payopt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 15px; margin-bottom: 10px; cursor: pointer; }
.payopt:hover { border-color: #B9C8C0; background: var(--grey); }
.payopt input { margin-top: 3px; }
.payopt strong { display: block; font-size: 14.5px; color: var(--dark); }
.payopt span { font-size: 13px; color: var(--muted); }
.payopt.is-checked { border-color: var(--primary); background: var(--lavender); }

.confirm { text-align: center; padding: 40px 0 10px; }
.confirm__mark { width: 64px; height: 64px; border-radius: 50%; background: rgba(45,159,111,.12); color: var(--success); display: grid; place-items: center; margin: 0 auto 18px; }
.bankbox { background: var(--lavender); border: 1px solid #D3D8FA; border-radius: var(--r); padding: 22px; }
.bankbox dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.bankbox dt { color: var(--muted); }
.bankbox dd { margin: 0; font-weight: 700; color: var(--dark); word-break: break-all; }

.otable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.otable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.otable td { padding: 12px 0; border-bottom: 1px solid var(--border); }
.otable .num { text-align: right; white-space: nowrap; }

/* ---------------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 10px; }
.faq summary { padding: 16px 20px; font-weight: 600; cursor: pointer; color: var(--dark); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--primary); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* --------------------------------------------------------------- Statistiques */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 22px; text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--primary); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }

/* ----------------------------------------------------------------- Newsletter */
.nlbox { background: var(--primary); border-radius: var(--r-lg); padding: 38px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.nlbox h2 { color: #fff; margin-bottom: 6px; }
.nlbox p { color: #C9D0F5; margin: 0; }
.nlform { display: flex; gap: 10px; }
.nlform input { padding: 13px 16px; border: 0; border-radius: var(--r-sm); font: inherit; font-size: 15px; min-width: 260px; }

/* --------------------------------------------------------------------- Footer */
.footer { background: var(--dark); color: #A9B1D0; margin-top: 60px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 52px 0 40px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #A9B1D0; }
.footer a:hover { color: #fff; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: #7C87B0; }
.footer__about { margin: 16px 0 0; max-width: 40ch; line-height: 1.65; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7C87B0; }

/* ------------------------------------------------------------- Cookies RGPD */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 20px 22px; max-width: 640px; margin: 0 auto;
  display: none;
}
.cookiebar.is-visible { display: block; }
.cookiebar h4 { margin: 0 0 6px; font-size: 15px; color: var(--dark); }
.cookiebar p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.cookiebar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookiebar__prefs { display: none; margin: 4px 0 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.cookiebar__prefs.is-open { display: block; }
.cookiebar__prefs label { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; padding: 7px 0; }
.cookiebar__close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 20px; color: var(--muted); cursor: pointer; line-height: 1; }

/* ------------------------------------------------------------------ Animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .checkout, .cartlayout { grid-template-columns: 1fr; }
  .summary, .filters { position: static; }
  .product { grid-template-columns: 1fr; gap: 28px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .nav { display: none; }
  .burger { display: grid; }
  .header__main .searchbar { order: 3; flex-basis: 100%; max-width: none; margin-bottom: 12px; }
  .header__main { flex-wrap: wrap; padding-top: 12px; }
  .header__topinfo span.hide-sm { display: none; }
  .nlbox { grid-template-columns: 1fr; }
  .nlform { flex-direction: column; }
  .nlform input { min-width: 0; width: 100%; }
}

@media (max-width: 620px) {
  .section { padding: 38px 0; }
  .hero { padding: 34px 0 40px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard__imgwrap { padding: 10px; }
  .pcard__body { padding: 0 12px 12px; }
  .pcard__title { font-size: 13.5px; }
  .price { font-size: 17px; }
  .pcard__actions { grid-template-columns: 1fr; }
  .catgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .catcard__body { padding: 12px; }
  .trust, .stats { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cartline { grid-template-columns: 72px 1fr; }
  .cartline__total { grid-column: 2; text-align: right; }
  .card { padding: 18px; }
  .cookiebar { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
}

@media print {
  .header, .footer, .floating, .cookiebar, .btn { display: none !important; }
}


/* ==========================================================================
   Menu « Toutes les catégories »
   ========================================================================== */
.nav__list { align-items: stretch; }
.nav__cats { position: relative; }
.nav__catsbtn {
  display: inline-flex; align-items: center; gap: 9px; height: 100%;
  padding: 13px 18px; border: 0; cursor: pointer; font: inherit;
  font-size: 14px; font-weight: 700; color: #fff; background: var(--primary);
  border-radius: 0; white-space: nowrap;
}
.nav__catsbtn:hover { background: var(--hover); }
.nav__chev { transition: transform .2s ease; }
.nav__catsbtn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: auto; top: 100%; z-index: 70;
  width: min(880px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--border); border-top: 0;
  border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow-md);
  padding: 22px 0 6px;
}
.mega[hidden] { display: none; }
.mega .wrap { padding: 0 22px; max-width: none; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 18px; }
.mega__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 12px; border-radius: 9px; color: var(--text); font-size: 14px; font-weight: 500;
}
.mega__item:hover { background: var(--lavender); color: var(--primary); }
.mega__name { line-height: 1.3; }
.mega__count {
  flex: none; min-width: 30px; text-align: center; padding: 2px 8px; border-radius: 999px;
  background: var(--grey); color: var(--muted); font-size: 11.5px; font-weight: 700;
}
.mega__item:hover .mega__count { background: #fff; color: var(--primary); }
.mega__foot {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; padding: 14px 12px 8px;
  border-top: 1px solid var(--border); font-size: 13.5px; font-weight: 600;
}

.drawer__sep {
  padding: 16px 18px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.drawer__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer__n {
  min-width: 26px; text-align: center; padding: 1px 7px; border-radius: 999px;
  background: var(--grey); color: var(--muted); font-size: 11.5px; font-weight: 700;
}

/* ==========================================================================
   Bande de catégories compacte
   ========================================================================== */
.section--tight { padding: 34px 0; }

.chiphead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 16px;
}
.chiphead h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.chiphead__all { font-size: 14px; font-weight: 600; white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); color: var(--text);
  font-size: 13.5px; font-weight: 600; line-height: 1.2;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--lavender); }
.chip__n {
  min-width: 24px; text-align: center; padding: 1px 7px; border-radius: 999px;
  background: var(--grey); color: var(--muted); font-size: 11px; font-weight: 700;
}
.chip:hover .chip__n { background: #fff; color: var(--primary); }
.chips__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   Boutons complémentaires
   ========================================================================== */
.btn--glass {
  background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(6px);
}
.btn--glass:hover { background: rgba(255,255,255,.26); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--lavender); color: var(--primary); }

/* ==========================================================================
   Galerie produit : agrandissement et défilement
   ========================================================================== */
.gallery__main {
  position: relative;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.gallery__main img {
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}
.gallery__main.is-swiping img { cursor: grabbing; transition: none; }
.gallery__main img.is-zoomed { transform: none; }

.gallery__zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px; cursor: pointer;
  background: rgba(18,26,58,.82); color: #fff; border: 0;
  font: inherit; font-size: 12.5px; font-weight: 600;
  backdrop-filter: blur(6px); transition: background .16s;
}
.gallery__zoom:hover { background: var(--primary); }

.gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1px solid var(--border); color: var(--dark);
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: border-color .16s, color .16s;
}
.gallery__arrow:hover { border-color: var(--primary); color: var(--primary); }
.gallery__arrow--prev { left: 12px; }
.gallery__arrow--next { right: 12px; }

.gallery__counter {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  padding: 5px 11px; border-radius: 999px; background: rgba(18,26,58,.72);
  color: #fff; font-size: 12px; font-weight: 600;
}

.gallery__thumbs {
  display: flex; gap: 8px; margin-top: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 4px;
  scrollbar-width: thin;
}
.gallery__thumbs::-webkit-scrollbar { height: 5px; }
.gallery__thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.gallery__thumbs button {
  flex: 0 0 76px; width: 76px; height: 76px; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 6px; cursor: pointer; display: grid; place-items: center;
}
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.buybox__note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }

/* ==========================================================================
   Boîte à lumière
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(9,14,38,.96);
  display: flex; align-items: center; justify-content: center; padding: 60px 20px 80px;
}
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox__stage img {
  max-width: min(1100px, 92vw); max-height: 74vh; object-fit: contain;
  cursor: zoom-in; transition: transform .25s ease; touch-action: pan-x pan-y;
}
.lightbox__stage img.is-zoomed { transform: scale(2); cursor: zoom-out; }
.lightbox__stage figcaption {
  margin-top: 18px; color: #D2D8F2; font-size: 14px;
  display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.lightbox__counter {
  padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.14);
  color: #fff; font-size: 12.5px; font-weight: 700;
}
.lightbox__close {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px;
  border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.26); color: #fff; display: grid; place-items: center;
}
.lightbox__close:hover { background: rgba(255,255,255,.24); }
.lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26);
  color: #fff; display: grid; place-items: center;
}
.lightbox__arrow:hover { background: rgba(255,255,255,.24); }
.lightbox__arrow--prev { left: 18px; }
.lightbox__arrow--next { right: 18px; }
.lightbox__hint {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
  color: #7C87B0; font-size: 12.5px; margin: 0;
}

/* ==========================================================================
   Correctif de débordement des grilles
   Sans min-width:0, un enfant à défilement horizontal (bande de miniatures,
   tableau large) impose sa largeur intrinsèque à toute la colonne.
   ========================================================================== */
.product > *, .listing > *, .cartlayout > *, .checkout > *,
.pgrid > *, .catgrid > *, .trust > *, .stats > *, .footer__grid > *,
.nlbox > *, .grid2 > * { min-width: 0; }
.gallery, .gallery__main, .gallery__thumbs { max-width: 100%; }
.prose { overflow-wrap: anywhere; }
.prose table { display: block; overflow-x: auto; }

/* ==========================================================================
   Stabilité de la mise en page
   Aucun élément ne se déplace après le chargement.
   ========================================================================== */
.reveal { opacity: 1; transform: none; transition: none; }
.pcard__imgwrap img, .catcard__img img, .hero__bg { background: var(--grey); }

/* ==========================================================================
   Ajustements responsives des nouveaux blocs
   ========================================================================== */
@media (max-width: 1080px) {
  .mega__grid { grid-template-columns: repeat(2, 1fr); }
  .mega { width: min(620px, calc(100vw - 32px)); }
}

@media (max-width: 880px) {
  .hero__track { height: clamp(500px, 84vw, 640px); }
  .hero__inner { padding-bottom: 56px; }
  .hero__title { max-width: 18ch; }
  .gallery__arrow { width: 34px; height: 34px; }
  .gallery__arrow--prev { left: 6px; }
  .gallery__arrow--next { right: 6px; }
}

@media (max-width: 620px) {
  .hero__track { height: 500px; }
  .hero__shade {
    background:
      linear-gradient(to top, rgba(9,14,38,.90) 34%, rgba(9,14,38,.58) 64%, rgba(9,14,38,.22) 100%);
  }
  .hero__slide { align-items: flex-end; }
  .hero__inner { padding-bottom: 68px; }
  .hero__title { max-width: none; font-size: 1.72rem; }
  .hero__lead { font-size: 14.5px; margin-bottom: 20px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta { font-size: 12.5px; }
  .hero__nav { bottom: 14px; }
  .hero__arrow { width: 36px; height: 36px; }
  .hero__dot { width: 26px; }
  .hero__dot.is-active { width: 40px; }
  .chiphead h2 { font-size: 1.1rem; }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .section--tight { padding: 26px 0; }
  .gallery__thumbs button { flex-basis: 64px; width: 64px; height: 64px; }
  .lightbox { padding: 56px 10px 70px; }
  .lightbox__arrow { width: 42px; height: 42px; }
  .lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .lightbox__stage img { transition: none; }
}


/* ==========================================================================
   Icônes de contact dans l'en-tête
   ========================================================================== */
.iconbtn--wa { color: var(--success); }
.iconbtn--wa:hover { background: rgba(45,159,111,.12); color: var(--success); }
.iconbtn--mail:hover { background: var(--lavender); color: var(--primary); }

/* ==========================================================================
   Bandeau éditorial illustré (accueil et catégories)
   ========================================================================== */
.seobanner { position: relative; overflow: hidden; background: #F1F3FC; border-block: 1px solid var(--border); }
.seobanner__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
}
.seobanner__inner { position: relative; z-index: 2; padding: 58px 20px; }
.seobanner__copy { max-width: 60ch; }
.seobanner__title {
  font-size: clamp(1.35rem, 2.6vw, 2.05rem); color: var(--dark);
  margin: 0 0 14px; letter-spacing: -.02em; max-width: 22ch;
}
.seobanner__text { font-size: clamp(14.5px, 1.35vw, 16px); line-height: 1.72; color: #37405C; margin: 0 0 20px; }
.seobanner__points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; }
.seobanner__points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--dark);
}
.seobanner__points svg { flex: none; margin-top: 3px; color: var(--success); }

/* ==========================================================================
   Fiche produit : paiement, réassurance, assistance
   ========================================================================== */
.paybar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 0; margin-top: 18px; border-top: 1px solid var(--border);
}
.paybar__label { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.paybar__method { font-size: 14px; font-weight: 600; color: var(--dark); }
.paybar__card {
  display: inline-grid; place-items: center; min-width: 46px; height: 30px; padding: 0 9px;
  border: 1px solid var(--border); border-radius: 6px; background: #fff;
  font: 800 12px/1 Arial, Helvetica, sans-serif; font-style: italic; color: #1A1F71; letter-spacing: .04em;
}
.paybar__card--mc { gap: 0; grid-auto-flow: column; font-style: normal; }
.paybar__card--mc i { width: 15px; height: 15px; border-radius: 50%; display: block; }
.paybar__card--mc i:first-child { background: #EB001B; margin-right: -5px; }
.paybar__card--mc i:last-child { background: #F79E1B; mix-blend-mode: multiply; }

.assur { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 13px; }
.assur li {
  display: flex; align-items: center; gap: 13px;
  font-size: 14.5px; color: var(--text); line-height: 1.45;
}
.assur svg { flex: none; width: 22px; height: 22px; color: var(--cta); }

.askbox {
  display: flex; gap: 16px; align-items: center; margin-top: 22px;
  padding: 18px 20px; border: 1.5px dashed var(--border); border-radius: var(--r);
}
.askbox__icon { flex: none; width: 34px; height: 34px; color: var(--cta); }
.askbox__icon svg { width: 100%; height: 100%; }
.askbox strong { display: block; font-size: 15px; color: var(--dark); margin-bottom: 3px; }
.askbox p { margin: 0; font-size: 14.5px; }
.askbox a { font-weight: 600; }
.askbox__sep { color: var(--muted); margin: 0 6px; }

.tabpanel__h { font-size: 1.25rem; margin: 0 0 16px; }

/* ==========================================================================
   Barre d'achat collante
   ========================================================================== */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(18,26,58,.10);
  transform: translateY(100%); transition: transform .22s ease;
  padding: 10px 0; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.buybar[hidden] { display: block; }
.buybar.is-visible { transform: translateY(0); }
.buybar__inner { display: flex; align-items: center; gap: 16px; }
.buybar__img {
  width: 52px; height: 52px; object-fit: contain; flex: none;
  background: var(--grey); border-radius: 9px; padding: 4px;
}
.buybar__info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.buybar__name {
  font-size: 14px; color: var(--dark); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.buybar__price { font-size: 19px; font-weight: 800; color: var(--dark); letter-spacing: -.02em; }
.buybar__price s { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.buybar__vat { font-size: 11.5px; color: var(--muted); }
.buybar__form { flex: none; }

/* ==========================================================================
   Copie de l'IBAN et de la référence
   ========================================================================== */
.copyline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copyline__val {
  font-family: ui-monospace, SFMono-Regular, Consolas, Menlo, monospace;
  font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--dark);
  word-break: break-all; user-select: all;
}
.copybtn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 6px 11px; border-radius: 8px; cursor: pointer;
  background: #fff; border: 1px solid #B9C8C0; color: var(--primary);
  font: inherit; font-size: 12.5px; font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.copybtn:hover { background: var(--lavender); border-color: var(--primary); }
.copybtn.is-done { background: rgba(45,159,111,.12); border-color: rgba(45,159,111,.4); color: #136F63; }
.bankbox__intro { margin: 0 0 18px; padding-bottom: 15px; border-bottom: 1px solid #D3D8FA; color: var(--dark); line-height: 1.55; }
.bankbox__intro strong { display: block; margin-bottom: 4px; font-size: 16px; }
.bankbox__intro span { display: block; color: var(--muted); font-size: 13px; }
.bankbox__hint { margin: 16px 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.bankbox dl { align-items: center; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; z-index: 300; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Responsives des nouveaux blocs
   ========================================================================== */
@media (max-width: 880px) {
  .seobanner__inner { padding: 44px 20px; }
  .seobanner__bg { object-position: 72% center; }
  .seobanner::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(247,248,253,.96) 0%, rgba(247,248,253,.86) 58%, rgba(247,248,253,.55) 100%);
  }
  .seobanner__inner { z-index: 3; }
}

@media (max-width: 620px) {
  .seobanner__inner { padding: 34px 20px; }
  .seobanner__title { max-width: none; }
  .seobanner__points { gap: 8px; }
  .buybar__img { display: none; }
  .buybar__name { display: none; }
  .buybar__inner { gap: 12px; }
  .buybar__price { font-size: 17px; }
  .buybar__form .btn { padding: 12px 18px; font-size: 14.5px; }
  .askbox { flex-direction: column; align-items: flex-start; gap: 12px; }
  .assur li { font-size: 14px; }
  .copyline__val { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .buybar { transition: none; }
  .toast { transition: none; }
}


/* ==========================================================================
   Bulles flottantes : WhatsApp, email, retour en haut
   Empilées en bas à droite, elles se décalent automatiquement au-dessus
   de la barre d'achat de la fiche produit.
   ========================================================================== */
.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 78;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  transition: transform .22s ease;
}
.fab[hidden] { display: none; }
/* Relevée quand la barre d'achat collante est affichée */
.fab.is-raised { transform: translateY(-78px); }

.fab__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(18, 26, 58, .22);
  transition: width .24s cubic-bezier(.2,.7,.3,1), background .16s, box-shadow .16s, transform .16s;
  width: 54px;
}
.fab__btn:hover, .fab__btn:focus-visible { box-shadow: 0 10px 26px rgba(18, 26, 58, .3); }
.fab__btn:active { transform: translateY(1px); }

.fab__icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: none;
}
.fab__icon svg { width: 25px; height: 25px; }

.fab__label {
  white-space: nowrap;
  padding: 0 62px 0 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 54px;
  opacity: 0;
  transition: opacity .16s ease;
  pointer-events: none;
}

/* Déploiement au survol et au focus clavier, uniquement sur pointeur fin */
@media (hover: hover) and (pointer: fine) {
  .fab__btn:hover, .fab__btn:focus-visible { width: var(--fab-w, 190px); }
  .fab__btn:hover .fab__label, .fab__btn:focus-visible .fab__label { opacity: 1; }
}

.fab__btn--wa   { background: #25D366; color: #fff; --fab-w: 172px; }
.fab__btn--wa:hover   { background: #1FBA59; color: #fff; }
.fab__btn--mail { background: var(--primary); color: #fff; --fab-w: 196px; }
.fab__btn--mail:hover { background: var(--hover); color: #fff; }

/* Retour en haut : masqué tant qu'on n'a pas défilé */
.fab__btn--top {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--border);
  --fab-w: 202px;
  opacity: 0;
  visibility: hidden;
  transform: scale(.7);
  transition: opacity .2s ease, transform .2s ease, width .24s cubic-bezier(.2,.7,.3,1), background .16s;
}
.fab__btn--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab__btn--top:hover { background: var(--lavender); color: var(--primary); border-color: var(--primary); }

@media (max-width: 620px) {
  .fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .fab__btn { width: 50px; height: 50px; }
  .fab__icon { width: 50px; height: 50px; }
  .fab__icon svg { width: 23px; height: 23px; }
  .fab__label { line-height: 50px; }
  .fab.is-raised { transform: translateY(-72px); }
}

@media print { .fab { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .fab, .fab__btn, .fab__btn--top { transition: none; }
}


/* ===== Pages d'information et pages légales détaillées ===== */
.legal-page{max-width:1120px}
.legal-page__card{max-width:960px;background:#fff;border:1px solid var(--border);border-radius:20px;padding:clamp(24px,4vw,52px);box-shadow:0 18px 50px rgba(18,26,58,.07)}
.legal-page__header{padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid var(--border)}
.legal-page__eyebrow{margin:0 0 8px;color:var(--primary);font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.legal-page__header h1{margin:0;font-size:clamp(30px,4vw,46px);line-height:1.08;color:var(--night)}
.prose--legal{max-width:none;font-size:16px;line-height:1.78;color:#37405c}
.prose--legal>p:first-child{font-size:17px;color:#27314d}
.prose--legal h2{scroll-margin-top:110px;margin:2.15em 0 .7em;padding-top:.15em;font-size:24px;line-height:1.25;color:var(--night)}
.prose--legal h3{margin:1.55em 0 .55em;font-size:18px;color:var(--night)}
.prose--legal p{margin:.75em 0}
.prose--legal ul,.prose--legal ol{margin:.8em 0 1.1em;padding-left:1.5em}
.prose--legal li{margin:.42em 0}
.prose--legal a{color:var(--primary);font-weight:650;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.prose--legal a:hover{color:var(--primary-dark)}
.prose--legal .legal-summary,.prose--legal .legal-note,.prose--legal .legal-contact,.prose--legal .legal-template{margin:20px 0;padding:18px 20px;border-radius:14px}
.prose--legal .legal-summary{background:#f3f4ff;border:1px solid #dfe3ff;color:#27314d}
.prose--legal .legal-note{background:#fff8e8;border:1px solid #f1d28a;color:#584416}
.prose--legal .legal-contact{background:#f7f8fb;border:1px solid var(--border)}
.prose--legal .legal-template{background:#fbfcff;border:1px dashed #aeb8de}
.prose--legal table{display:table;overflow:visible;margin:20px 0;border:1px solid var(--border);border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden}
.prose--legal th{background:#f3f4ff;color:var(--night);font-weight:750}
.prose--legal th,.prose--legal td{padding:12px 14px;vertical-align:top}
.prose--legal tr:last-child td{border-bottom:0}
.prose--legal hr{margin:28px 0;border:0;border-top:1px solid var(--border)}
@media(max-width:700px){
 .legal-page__card{padding:22px 18px;border-radius:15px}
 .prose--legal{font-size:15px;line-height:1.72}
 .prose--legal h2{font-size:21px}
 .prose--legal table{display:block;overflow-x:auto;white-space:normal}
}

/* ========================================================================== 
   Correctif navigation mobile, fiche produit et contacts — juillet 2026
   ========================================================================== */

/* En-tête simplifié */
.header__top {
  max-height: 48px;
  overflow: hidden;
  transition: max-height .2s ease, opacity .2s ease, visibility .2s ease;
}
.header__topwrap {
  justify-content: center !important;
  min-height: 38px !important;
  text-align: center;
}
.header__top .topbar__promo {
  width: 100%;
  justify-content: center;
  line-height: 1.35;
}
.header.is-scrolled .header__top {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}
.header.is-scrolled .header__main { min-height: 58px; }
.header.is-scrolled .logo img { max-height: 31px; }
.logo img { max-height: 36px; max-width: 230px; object-fit: contain; }
.mobile-search-toggle { display: none; }
.header__mobile-search {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 0 0 10px;
}
.header__mobile-search[hidden] { display: none !important; }
.searchbar--mobile { max-width: none; padding-top: 10px; }
.searchbar--mobile input { min-height: 44px; }

/* Pied de page : identité réelle de l'entreprise */
.footer__logo img { max-width: 245px; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.footer__company {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 18px;
  font-style: normal;
  line-height: 1.55;
  color: #A9B1D0;
}
.footer__company strong { color: #fff; font-size: 14px; }
.footer__company a { width: fit-content; overflow-wrap: anywhere; }

/* Bulles de contact à gauche, retour en haut conservé à droite */
.fab--contact {
  left: 16px;
  right: auto;
  align-items: flex-start;
}
.fab--contact .fab__icon { left: 0; right: auto; }
.fab--contact .fab__label { padding: 0 20px 0 62px; }
.fab-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 78;
}
.fab-top.is-raised { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

/* Fiche produit : informations verticales, lisibles et sans onglets */
.product-details-stack {
  display: grid;
  gap: 22px;
  padding-top: 24px;
  padding-bottom: 118px;
}
.product-detail-section {
  min-width: 0;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.product-detail-section__title {
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
}
.product-detail-section p,
.product-detail-section li,
.product-detail-section td,
.product-detail-section th { overflow-wrap: anywhere; word-break: normal; }
.product-detail-section.prose { max-width: none; line-height: 1.75; }
.product-detail-section.prose > *:last-child { margin-bottom: 0; }
.product-detail-section__note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}
.specs-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.product-detail-section .specs { width: 100%; max-width: 780px; margin: 0; }
.product-info-note {
  margin-top: 18px;
  padding: 17px 18px;
  border-radius: 12px;
  background: var(--lavender);
  border: 1px solid #DDE2FF;
}
.product-info-note strong { display: block; color: var(--dark); margin-bottom: 5px; }
.product-info-note p { margin: 0; color: #46506E; }
.product-policy-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.product-policy-links a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.askbox__contacts { display: flex; flex-wrap: wrap; gap: 4px 7px; align-items: center; }
.askbox__contacts a { overflow-wrap: anywhere; }

/* Bandeaux de catégorie : texte net, image discrète */
.seobanner__bg { opacity: .12; }
.seobanner__copy { max-width: 72ch; }
.seobanner__text { overflow-wrap: anywhere; }

@media (max-width: 880px) {
  .header__top { max-height: 68px; }
  .header__topwrap { min-height: 54px !important; padding-top: 7px; padding-bottom: 7px; }
  .header__main {
    flex-wrap: nowrap !important;
    min-height: 64px;
    padding-top: 7px !important;
    padding-bottom: 7px;
    gap: 8px;
  }
  .header__main .searchbar--desktop { display: none !important; }
  .mobile-search-toggle { display: grid; }
  .header__actions { gap: 1px; flex-shrink: 0; }
  .iconbtn { width: 40px; height: 40px; }
  .logo { min-width: 0; flex: 1 1 auto; }
  .logo img { max-height: 31px; max-width: 205px; width: auto; }
  .header.is-scrolled .header__main { min-height: 58px; }
  .header.is-scrolled .logo img { max-height: 28px; max-width: 188px; }
  .seobanner::after {
    background: rgba(247,248,253,.90) !important;
  }
  .seobanner__bg { opacity: .08; object-fit: contain; object-position: center; }
}

@media (max-width: 620px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .header__top .topbar__promo { font-size: 12.5px; }
  .header__main { gap: 4px; }
  .logo img { max-height: 29px; max-width: 190px; }
  .header.is-scrolled .logo img { max-height: 27px; max-width: 176px; }
  .iconbtn { width: 38px; height: 38px; }
  .searchbar--mobile input { font-size: 14px; padding-left: 13px; }
  .product-details-stack { gap: 15px; padding-top: 16px; padding-bottom: 112px; }
  .product-detail-section { padding: 20px 17px; border-radius: 14px; }
  .product-detail-section__title { margin-bottom: 16px; padding-bottom: 12px; }
  .product-detail-section.prose { font-size: 15px; line-height: 1.72; }
  .askbox__contacts { flex-direction: column; align-items: flex-start; gap: 3px; }
  .askbox__sep { display: none; }
  .fab--contact { left: 12px; right: auto; }
  .fab-top { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .fab-top.is-raised { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .footer__logo img { max-width: 215px; max-height: 50px; }
  .seobanner__inner { padding: 28px 16px; }
}

/* ===== Checkout international : règles de livraison ===== */
.delivery-rules{display:flex;flex-direction:column;gap:5px;margin:0 0 20px;padding:15px 17px;border:1px solid #d9def8;border-radius:14px;background:#f6f7ff;color:#34408e;font-size:14px;line-height:1.55}
.delivery-rules strong{color:#263a96;font-size:15px}
.delivery-rules.is-free{border-color:#bfe9d7;background:#f1fbf6;color:#267354}
.delivery-rules.is-free strong{color:#147D64}
.delivery-rules.is-paid{border-color:#eadfb8;background:#fffaf0;color:#795d19}
.delivery-rules.is-paid strong{color:#7b5d13}
@media(max-width:640px){.delivery-rules{padding:13px 14px;font-size:13.5px}.delivery-rules strong{font-size:14px}}


/* ================================================================
   Correctif cumulatif : descriptions produits + images + carrousel
   ================================================================ */
.product-copy {
  width: 100%; max-width: 100%; min-width: 0; overflow: hidden;
  color: #28314B; font-size: clamp(15.5px, 1.55vw, 17px);
  line-height: 1.72; text-wrap: pretty;
}
.product-copy *, .product-copy *::before, .product-copy *::after {
  box-sizing: border-box; max-width: 100%;
}
.product-copy p, .product-copy div, .product-copy figure, .product-copy blockquote {
  margin: 0 0 1rem; padding: 0;
}
.product-copy p:empty, .product-copy div:empty, .product-copy span:empty { display: none !important; }
.product-copy h2, .product-copy h3, .product-copy h4, .product-copy h5 {
  margin: 1.45em 0 .55em; line-height: 1.23; letter-spacing: -.018em;
  overflow-wrap: anywhere; word-break: normal;
}
.product-copy h2:first-child, .product-copy h3:first-child, .product-copy h4:first-child { margin-top: 0; }
.product-copy p, .product-copy li, .product-copy a, .product-copy td,
.product-copy th, .product-copy strong, .product-copy span {
  overflow-wrap: anywhere; word-break: normal; white-space: normal;
}
.product-copy ul, .product-copy ol { margin: .6rem 0 1.1rem; padding-left: 1.35rem; }
.product-copy li + li { margin-top: .4rem; }
.product-copy img {
  display: block; width: auto; height: auto; max-width: 100%;
  margin: 1rem auto; border-radius: var(--r-sm);
}
.product-copy table {
  display: block; width: 100%; max-width: 100%; overflow-x: auto;
  border-collapse: collapse; -webkit-overflow-scrolling: touch; margin: 1rem 0;
}
.product-copy td, .product-copy th {
  min-width: 120px; padding: 10px 12px; border: 1px solid var(--border);
}
.product-copy pre, .product-copy code { white-space: pre-wrap; overflow-wrap: anywhere; }
.product-copy hr { margin: 1.4rem 0; border: 0; border-top: 1px solid var(--border); }
.product-detail-section.product-copy { max-width: 100%; }
.gallery__main img { opacity: 1; transition: opacity .18s ease, transform .3s ease; }
.gallery__main img.is-loading { opacity: .58; }
.gallery__main { background: linear-gradient(110deg, #f7f8fb 8%, #fff 28%, #f7f8fb 48%); }

@media (max-width: 700px) {
  .product-details-stack { gap: 16px; }
  .product-detail-section { padding: 18px 16px; border-radius: 14px; }
  .product-detail-section__title { margin-bottom: 16px; padding-bottom: 11px; }
  .product-copy { font-size: 15.5px; line-height: 1.68; }
  .product-copy h2 { font-size: 1.45rem; }
  .product-copy h3 { font-size: 1.22rem; }
  .product-copy p, .product-copy div, .product-copy figure, .product-copy blockquote { margin-bottom: .9rem; }
  .product-copy table { font-size: 13.5px; }
}


/* Gutscheincode im Warenkorb */
.coupon-form { margin: 16px 0 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.coupon-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; color: var(--night); }
.coupon-form__row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.coupon-form__row input { min-width: 0; height: 44px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; text-transform: uppercase; }
@media(max-width:520px){ .coupon-form__row { grid-template-columns: 1fr; } }

/* ========================================================================== 
   Correctif final professionnel — header fixe, panier, checkout, produit
   ========================================================================== */

/* Header toujours visible, y compris Safari mobile */
html { scroll-padding-top: calc(var(--site-header-height, 116px) + 14px); }
body { padding-top: var(--site-header-height, 116px); }
.header {
  position: fixed !important;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 100;
  transform: translateZ(0);
  box-shadow: 0 1px 0 rgba(18,26,58,.08), 0 8px 24px rgba(18,26,58,.04);
}
.header__main { transition: min-height .18s ease, padding .18s ease; }
.header.is-scrolled { box-shadow: 0 8px 25px rgba(18,26,58,.11); }
.header.is-scrolled .header__top { display: none; }
.header.is-scrolled .header__main { min-height: 60px; }
.header.is-scrolled .nav { border-top-color: rgba(227,230,240,.8); }

/* Titres introductifs */
.eyebrow { margin: 0 0 7px; color: var(--cta); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cart-page__head, .checkout-page__head { max-width: 760px; margin-bottom: 28px; }
.cart-page__head h1, .checkout-page__head h1 { margin: 0 0 9px; font-size: clamp(2rem, 4vw, 3.25rem); }
.cart-page__head p:last-child, .checkout-page__head p:last-child { margin: 0; color: var(--muted); line-height: 1.65; }

/* ------------------------------- Panier */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(315px, 370px); gap: 30px; align-items: start; }
.cart-list { min-width: 0; }
.cart-item {
  display: grid; grid-template-columns: 138px minmax(0,1fr) auto; gap: 20px; align-items: center;
  padding: 20px; margin-bottom: 14px; background: #fff; border: 1px solid var(--border);
  border-radius: 18px; box-shadow: 0 5px 22px rgba(18,26,58,.045);
}
.cart-item__image { display: grid; place-items: center; width: 138px; height: 112px; padding: 10px; background: #f8f9fc; border-radius: 14px; overflow: hidden; }
.cart-item__image img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__main { min-width: 0; }
.cart-item__name { display: block; color: var(--dark); font-weight: 750; line-height: 1.42; overflow-wrap: anywhere; }
.cart-item__name:hover { color: var(--primary); }
.cart-item__sku { display: block; margin: 5px 0 13px; color: var(--muted); font-size: 12.5px; }
.cart-item__controls { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.cart-item__price { min-width: 118px; text-align: right; }
.cart-item__price strong { display: block; color: var(--dark); font-size: 19px; }
.cart-item__price small { display: block; margin-top: 4px; color: var(--muted); white-space: nowrap; }
.link-danger { padding: 0; border: 0; background: none; color: #b33a34; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.link-danger:hover { text-decoration: underline; }
.cart-list__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cart-summary, .order-summary {
  position: sticky; top: calc(var(--site-header-height, 116px) + 16px); min-width: 0;
  padding: 25px; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 12px 38px rgba(18,26,58,.08);
}
.cart-summary h2, .order-summary h2 { margin: 0 0 20px; font-size: 21px; }
.cart-summary dl, .order-summary dl { margin: 0; }
.cart-summary dl > div, .order-summary dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; color: var(--muted); }
.cart-summary dt, .order-summary dt { min-width: 0; }
.cart-summary dd, .order-summary dd { margin: 0; color: var(--dark); font-weight: 650; text-align: right; }
.summary-free { color: var(--success) !important; }
.cart-summary .summary-total, .order-summary .summary-total { margin-top: 6px; padding-top: 16px; border-top: 2px solid var(--border); color: var(--dark); font-size: 18px; font-weight: 800; }
.cart-summary .summary-total dd, .order-summary .summary-total dd { font-size: 24px; }
.coupon-form { margin: 22px 0 18px; padding-top: 20px; border-top: 1px solid var(--border); }
.coupon-form > label { display: block; margin-bottom: 8px; color: var(--dark); font-size: 13px; font-weight: 750; }
.coupon-form__row { display: flex; gap: 8px; }
.coupon-form__row input { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; font: inherit; text-transform: uppercase; }
.cart-summary__note, .summary-note { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding: 14px 15px; background: #f1faf6; border: 1px solid #cbe9db; border-radius: 12px; color: #286d50; font-size: 13px; line-height: 1.48; }
.summary-trust { margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12.5px; }
.summary-trust li { position: relative; margin: 9px 0; padding-left: 20px; }
.summary-trust li::before { content: ""; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ------------------------------- Checkout */
.checkout-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,390px); gap: 32px; align-items: start; }
.checkout-form { min-width: 0; }
.hp-field { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.checkout-card { margin-bottom: 18px; padding: clamp(20px,3vw,30px); background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 6px 25px rgba(18,26,58,.045); }
.checkout-card__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 23px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.checkout-card__head h2 { margin: 0 0 4px; font-size: 20px; }
.checkout-card__head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.checkout-step { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--primary); font-size: 14px; font-weight: 800; }
.checkout-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.checkout-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; color: var(--dark); font-size: 13.5px; font-weight: 700; }
.checkout-field--full { grid-column: 1 / -1; }
.checkout-field > span b { color: var(--error); }
.checkout-field > span em { margin-left: 5px; color: var(--muted); font-style: normal; font-weight: 500; }
.checkout-field input, .checkout-field select, .checkout-field textarea {
  display: block; width: 100%; min-width: 0; min-height: 50px; padding: 13px 14px;
  border: 1px solid #d8ddea; border-radius: 11px; background: #fff; color: var(--text);
  font: inherit; font-size: 15.5px; font-weight: 450; transition: border-color .15s, box-shadow .15s, background .15s;
}
.checkout-field select:disabled { color: #596174; background: #f5f6f9; opacity: 1; -webkit-text-fill-color: #596174; }
.checkout-field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.checkout-field input::placeholder, .checkout-field textarea::placeholder { color: #a2a9b8; }
.checkout-field input:focus, .checkout-field select:focus, .checkout-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(38,58,150,.12); }
.field-error { display: block; color: var(--error); font-size: 12.5px; font-weight: 600; }
.payment-option { display: flex; align-items: flex-start; gap: 13px; padding: 17px; border: 1px solid #cfd6ec; border-radius: 13px; background: #f8f9fd; cursor: pointer; }
.payment-option input { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 2px; accent-color: var(--primary); }
.payment-option strong { display: block; color: var(--dark); font-size: 15px; }
.payment-option small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.checkout-consent { padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.accept { display: flex; align-items: flex-start; gap: 12px; color: #485168; font-size: 13.5px; line-height: 1.65; }
.accept input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.accept a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.checkout-submit { margin-top: 16px; min-height: 56px; font-size: 16px; }
.checkout-security { margin: 11px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.order-summary__lines { margin-bottom: 15px; }
.summary-line { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.summary-line img { width: 68px; height: 56px; padding: 5px; object-fit: contain; background: #f7f8fb; border-radius: 9px; }
.summary-line span { min-width: 0; }
.summary-line strong { display: block; color: var(--dark); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.summary-line small { display: block; margin-top: 3px; color: var(--muted); }
.summary-line b { color: var(--dark); font-size: 13px; white-space: nowrap; }

/* ------------------------------- Produktseite */
.product { gap: clamp(26px,4vw,52px); }
.gallery { min-width: 0; }
.gallery__main { min-height: 420px; aspect-ratio: 1 / .82; padding: clamp(14px,2vw,26px); box-shadow: 0 8px 30px rgba(18,26,58,.06); touch-action: pan-y; }
.gallery__main img { max-height: 520px; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 7px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.gallery__thumbs button { flex: 0 0 88px; width: 88px; height: 78px; aspect-ratio: auto; scroll-snap-align: start; }
.product__title { overflow-wrap: anywhere; line-height: 1.16; }
.product__meta { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.pricebox { padding: 21px; box-shadow: inset 4px 0 0 var(--cta); }
.askbox { border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.product-detail-section { scroll-margin-top: calc(var(--site-header-height, 116px) + 15px); }
.product-copy table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.product-copy img { display: block; max-width: 100%; height: auto; margin: 15px auto; object-fit: contain; }
.product-copy h2, .product-copy h3, .product-copy h4 { overflow-wrap: anywhere; }

/* Pages légales / informations */
.legal-page { display: flex; justify-content: center; }
.legal-page__card { width: 100%; }
.prose--legal address { font-style: normal; }
.prose--legal .legal-summary p:last-child, .prose--legal .legal-contact p:last-child, .prose--legal .legal-template p:last-child { margin-bottom: 0; }
.prose--legal ol > li::marker { color: var(--primary); font-weight: 800; }
.prose--legal ul > li::marker { color: var(--cta); }

@media (max-width: 1080px) {
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
  .cart-summary, .order-summary { position: static; }
}

@media (max-width: 700px) {
  body { padding-top: var(--site-header-height, 116px); }
  .cart-page__head, .checkout-page__head { margin-bottom: 20px; }
  .cart-item { grid-template-columns: 92px minmax(0,1fr); gap: 13px; padding: 14px; }
  .cart-item__image { width: 92px; height: 88px; padding: 7px; }
  .cart-item__price { grid-column: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-width: 0; text-align: left; }
  .cart-item__price strong { font-size: 17px; }
  .cart-item__price small { font-size: 11.5px; }
  .cart-item__controls { gap: 12px; }
  .cart-list__actions { flex-direction: column; }
  .cart-list__actions .btn { width: 100%; }
  .cart-summary, .order-summary { padding: 20px 17px; border-radius: 15px; }
  .coupon-form__row { flex-direction: column; }

  .checkout-card { padding: 20px 16px; border-radius: 15px; }
  .checkout-card__head { gap: 11px; margin-bottom: 19px; }
  .checkout-fields { grid-template-columns: 1fr; gap: 15px; }
  .checkout-field, .checkout-field--full { grid-column: auto; }
  .checkout-field input, .checkout-field select, .checkout-field textarea { min-height: 50px; font-size: 16px; }
  .accept { font-size: 13px; }
  .summary-line { grid-template-columns: 58px minmax(0,1fr); }
  .summary-line img { width: 58px; height: 51px; }
  .summary-line b { grid-column: 2; justify-self: end; }

  .product { gap: 22px; }
  .gallery__main { min-height: 315px; aspect-ratio: 1 / .9; padding: 12px; border-radius: 15px; }
  .gallery__thumbs button { flex-basis: 76px; width: 76px; height: 69px; }
  .product__title { font-size: clamp(1.55rem,8vw,2.15rem); }
  .pricebox .price { font-size: 27px; }
  .product-details-stack { padding-bottom: 128px; }
}

@media (max-width: 390px) {
  .cart-item { grid-template-columns: 78px minmax(0,1fr); }
  .cart-item__image { width: 78px; height: 76px; }
  .checkout-step { flex-basis: 31px; width: 31px; height: 31px; }
  .gallery__main { min-height: 285px; }
}

@media print {
  body { padding-top: 0 !important; }
}
.product__info { min-width: 0; padding: clamp(4px,1vw,10px) 0; }
@media(max-width:1080px){.product__info{padding:0}}
.legal-page__header h1,.prose--legal h2,.prose--legal h3,.prose--legal th{color:var(--dark)}
.prose--legal a:hover{color:var(--hover)}

/* ========================================================================== 
   Correctif international — pays, adresses et confirmation de commande
   ========================================================================== */
.checkout-country-message {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid rgba(45,159,111,.28);
  border-radius: 13px;
  background: rgba(45,159,111,.07);
  color: #215f46;
  font-size: 13.5px;
  line-height: 1.55;
}
.checkout-country-message strong { color: #243247; }
.field-hint { display: block; margin-top: -2px; color: var(--muted); font-size: 11.5px; font-weight: 500; line-height: 1.4; }
.checkout-field select { cursor: pointer; }
.checkout-field input[list]::-webkit-calendar-picker-indicator { opacity: .7; }

.order-confirmation { padding-top: clamp(24px,4vw,48px); padding-bottom: 70px; }
.order-success-panel {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
  padding: clamp(22px,4vw,36px);
  border: 1px solid rgba(45,159,111,.25);
  border-radius: 22px;
  background: linear-gradient(135deg,rgba(45,159,111,.09),rgba(243,244,255,.72));
}
.order-success-panel__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 31px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(45,159,111,.22);
}
.order-success-panel h1 { margin: 0 0 10px; font-size: clamp(2rem,4.8vw,3.35rem); line-height: 1.08; }
.order-success-panel p:last-child { margin: 0; color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
.order-success-panel a { color: var(--primary); font-weight: 700; }

.order-confirmation-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,360px); gap: 28px; align-items: start; }
.order-confirmation-main, .order-confirmation-side { min-width: 0; }
.order-confirmation-side { position: sticky; top: calc(var(--site-header-height,116px) + 16px); }
.order-confirmation-card {
  margin-bottom: 18px;
  padding: clamp(20px,3vw,28px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(18,26,58,.055);
  min-width: 0;
}
.order-confirmation-card__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 15px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.order-confirmation-card__head h2 { margin: 0; font-size: 19px; }
.order-confirmation-card__head > span { color: var(--muted); font-size: 12.5px; }
.order-status-badge { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; background: rgba(232,166,42,.13); color: #8b5c09 !important; font-weight: 800; white-space: nowrap; }

.order-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: var(--border); }
.order-facts > div { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; min-width: 0; }
.order-facts dt { color: var(--muted); font-size: 12px; }
.order-facts dd { margin: 0; color: var(--dark); font-weight: 800; overflow-wrap: anywhere; }
.order-facts__total dd { color: var(--primary); font-size: 20px; }

.order-items-confirmation { display: grid; gap: 0; }
.order-item-confirmation { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border); }
.order-item-confirmation:first-child { padding-top: 0; }
.order-item-confirmation strong { display: block; color: var(--dark); line-height: 1.45; overflow-wrap: anywhere; }
.order-item-confirmation small { display: block; margin-top: 5px; color: var(--muted); }
.order-item-confirmation > b { white-space: nowrap; color: var(--dark); }
.order-totals-confirmation { width: min(100%,390px); margin: 18px 0 0 auto; }
.order-totals-confirmation > div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; color: var(--muted); }
.order-totals-confirmation dd { margin: 0; color: var(--dark); font-weight: 700; }
.order-totals-confirmation__grand { margin-top: 7px; padding-top: 14px !important; border-top: 2px solid var(--border); font-size: 18px; }
.order-totals-confirmation__grand dd { color: var(--primary); font-size: 22px; }

.payment-pending-message { padding: 18px; border: 1px solid #c9d5ff; border-radius: 14px; background: var(--lavender); }
.payment-pending-message strong { display: block; margin-bottom: 7px; color: var(--primary); }
.payment-pending-message p { margin: 0; color: var(--muted); line-height: 1.6; }
.bankbox--confirmation { margin: 0; }

.order-address { display: flex; flex-direction: column; gap: 5px; margin: 0; color: var(--dark); font-style: normal; line-height: 1.48; overflow-wrap: anywhere; }
.order-address strong { margin-bottom: 3px; font-size: 16px; }
.order-contact-lines { display: flex; flex-direction: column; gap: 7px; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--border); font-size: 13px; overflow-wrap: anywhere; }
.order-contact-lines a { color: var(--primary); font-weight: 700; }
.order-contact-lines span { color: var(--muted); }
.order-customs-note { margin: 16px 0 0; padding: 12px 13px; border-radius: 10px; background: #fff7e8; color: #765112; font-size: 12.5px; line-height: 1.55; }
.order-next-steps ol { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.6; }
.order-next-steps li + li { margin-top: 9px; }
.order-actions--stacked { display: grid; gap: 10px; }
.order-actions--stacked .btn { justify-content: center; }

@media (max-width: 900px) {
  .order-confirmation-grid { grid-template-columns: 1fr; }
  .order-confirmation-side { position: static; }
}
@media (max-width: 600px) {
  .order-confirmation { padding-top: 19px; padding-bottom: 130px; }
  .order-success-panel { grid-template-columns: 44px minmax(0,1fr); gap: 13px; padding: 18px 15px; border-radius: 16px; }
  .order-success-panel__icon { width: 44px; height: 44px; font-size: 23px; }
  .order-success-panel h1 { font-size: clamp(1.65rem,9vw,2.25rem); }
  .order-success-panel p:last-child { font-size: 14px; }
  .order-confirmation-card { padding: 18px 15px; border-radius: 15px; }
  .order-confirmation-card__head { align-items: flex-start; }
  .order-confirmation-card__head h2 { font-size: 18px; }
  .order-status-badge { font-size: 11px; }
  .order-facts { grid-template-columns: 1fr; }
  .order-item-confirmation { grid-template-columns: 1fr; gap: 7px; }
  .order-item-confirmation > b { justify-self: end; }
  .order-totals-confirmation { width: 100%; }
  .checkout-country-message { padding: 13px 14px; }
}

/* ========================================================================== 
   Audit public complet — contact, accueil et robustesse responsive
   ========================================================================== */

/* Défense générale contre les débordements sur toutes les pages publiques */
main, main > *, .wrap, .section, article, aside, form, fieldset,
.cart-page, .checkout-page, .contact-page, .legal-page,
.product, .product > *, .listing, .listing > *, .footer__grid > * {
  min-width: 0;
}
input, select, textarea, button { max-width: 100%; font-family: inherit; }
.btn { white-space: normal; overflow-wrap: anywhere; }
.crumbs {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.crumbs::-webkit-scrollbar { display: none; }
.footer a, .footer span, .footer p, .legal-page a,
.order-confirmation a, .cart-page a, .checkout-page a { overflow-wrap: anywhere; }

/* Accueil : bloc éditorial jusque-là non stylé */
.seo-banner {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr);
  gap: clamp(26px,4vw,56px);
  align-items: center;
  padding: clamp(26px,4vw,48px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(135deg,#fff 0%,#f6f7ff 100%);
  box-shadow: 0 16px 45px rgba(18,26,58,.07);
  overflow: hidden;
}
.seo-banner h2 { margin-bottom: 12px; font-size: clamp(1.65rem,3vw,2.5rem); }
.seo-banner p { max-width: 68ch; color: var(--muted); line-height: 1.72; }
.seo-banner ul { display: grid; gap: 9px; margin: 20px 0 24px; padding: 0; list-style: none; }
.seo-banner li { position: relative; padding-left: 25px; color: #3e4863; }
.seo-banner li::before { content: ""; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.seo-banner > img { width: 100%; max-height: 290px; object-fit: contain; justify-self: center; }
.chip__name { min-width: 0; overflow-wrap: anywhere; }

/* Page contact professionnelle */
.contact-page { padding-bottom: 72px; }
.contact-page__head { max-width: 780px; margin-bottom: 30px; }
.contact-page__head h1 { margin: 0 0 10px; font-size: clamp(2rem,4vw,3.3rem); }
.contact-page__head > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: 28px;
  align-items: start;
}
.contact-info-card, .contact-form-card {
  min-width: 0;
  padding: clamp(22px,3vw,32px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(18,26,58,.065);
}
.contact-info-card__head, .contact-form-card__head { padding-bottom: 19px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.contact-info-card__head h2, .contact-form-card__head h2 { margin: 0 0 6px; font-size: 22px; }
.contact-info-card__head p, .contact-form-card__head p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.contact-cards { display: grid; gap: 12px; }
.contact-method {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fafbfe;
}
.contact-method__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  color: var(--primary); background: var(--lavender);
}
.contact-method strong { display: block; margin-bottom: 3px; color: var(--dark); font-size: 13px; }
.contact-method a, .contact-method address { display: block; margin: 0; color: var(--text); font-style: normal; line-height: 1.55; overflow-wrap: anywhere; }
.contact-method a { color: var(--primary); font-weight: 700; }
.contact-service-note { margin-top: 18px; padding: 16px 17px; border-radius: 13px; background: #f3f4ff; border: 1px solid #dce1fb; }
.contact-service-note strong { display: block; margin-bottom: 5px; color: var(--dark); }
.contact-service-note p { margin: 0; color: #4d5874; font-size: 13px; line-height: 1.62; }
.contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.contact-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; color: var(--dark); font-size: 13.5px; font-weight: 750; }
.contact-field:nth-of-type(4) { grid-column: 1 / -1; }
.contact-field > span b { color: var(--error); }
.contact-field > span em { margin-left: 5px; color: var(--muted); font-style: normal; font-weight: 500; }
.contact-field input, .contact-field textarea {
  display: block; width: 100%; min-width: 0; padding: 13px 14px;
  border: 1px solid #d8ddea; border-radius: 11px; background: #fff;
  color: var(--text); font: inherit; font-size: 16px; font-weight: 450;
  transition: border-color .15s, box-shadow .15s;
}
.contact-field input { min-height: 50px; }
.contact-field textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(38,58,150,.12); }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #a2a9b8; }
.contact-form__submit { grid-column: 1 / -1; min-height: 54px; }
.contact-form__privacy { grid-column: 1 / -1; margin: -2px 0 0; color: var(--muted); font-size: 11.8px; line-height: 1.55; }
.contact-form__privacy a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Consolidation des pages déjà auditées */
.order-overview-card, .cart-page, .checkout-page { min-width: 0; }
.order-confirmation-card, .checkout-card, .cart-item, .cart-summary, .order-summary,
.product-detail-section, .legal-page__card { overflow-wrap: anywhere; }
.faq details, .faq summary, .faq details > div { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .contact-grid, .seo-banner { grid-template-columns: 1fr; }
  .seo-banner > img { max-height: 220px; order: -1; }
}

@media (max-width: 640px) {
  .contact-page { padding-bottom: 125px; }
  .contact-page__head { margin-bottom: 22px; }
  .contact-info-card, .contact-form-card { padding: 19px 15px; border-radius: 16px; }
  .contact-form { grid-template-columns: 1fr; gap: 15px; }
  .contact-field, .contact-field:nth-of-type(4), .contact-form__submit, .contact-form__privacy { grid-column: auto; }
  .contact-method { grid-template-columns: 40px minmax(0,1fr); padding: 14px; gap: 12px; }
  .contact-method__icon { width: 40px; height: 40px; border-radius: 10px; }
  .contact-field textarea { min-height: 150px; }
  .seo-banner { padding: 22px 17px; border-radius: 16px; }
  .seo-banner > img { max-height: 170px; }
}
.contact-method--address { align-items: start; }
.order-actions { min-width: 0; }

/* Correctif checkout : aucun remplissage visuel automatique au premier affichage. */
.checkout-form input:-webkit-autofill,
.checkout-form input:-webkit-autofill:hover,
.checkout-form input:-webkit-autofill:focus,
.checkout-form textarea:-webkit-autofill,
.checkout-form select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--text) !important;
  transition: background-color 9999s ease-out 0s;
}

@media (max-width: 600px) {
  .bankbox--confirmation dl { grid-template-columns: 1fr; gap: 7px; }
  .bankbox--confirmation dl > div { display: grid; gap: 7px; padding: 10px 0; border-bottom: 1px solid #E1E4F5; }
  .bankbox--confirmation dl > div:last-child { border-bottom: 0; }
  .bankbox--confirmation dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
  .bankbox--confirmation .copyline { justify-content: space-between; flex-wrap: nowrap; }
  .bankbox--confirmation .copyline__val { min-width: 0; overflow-wrap: anywhere; word-break: break-word; font-size: 14px; }
  .bankbox--confirmation .copybtn { padding: 7px 9px; }
}

/* ================================================================
   HOLZPELLETS HANDEL — PREMIUM UI 2026/2027
   ================================================================ */
:root{
  --shadow-soft:0 18px 55px rgba(16,35,27,.08);
  --shadow-card:0 10px 32px rgba(16,35,27,.075);
  --shadow-hover:0 24px 54px rgba(16,35,27,.14);
}
html{scroll-behavior:smooth}
body{font-family:Manrope,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;color:var(--text)}
.wrap{max-width:1240px}
.header--2027{background:rgba(255,255,255,.96);backdrop-filter:saturate(155%) blur(14px);box-shadow:0 1px 0 rgba(20,39,31,.06)}
.header--2027 .header__top{background:var(--dark);color:#eef5f0;border:0}
.header--2027 .header__topwrap{justify-content:space-between;min-height:34px;font-size:12px;letter-spacing:.01em}
.topbar__promo{display:flex;align-items:center;gap:7px}
.topbar__secure{opacity:.72}
.header--2027 .header__main{min-height:86px;gap:36px}
.logo--2027 img{max-width:286px;height:58px;object-fit:contain;object-position:left center}
.header--2027 .searchbar{border-radius:999px;border:1px solid #dfe5df;background:#f7f9f6;box-shadow:none;height:48px}
.header--2027 .searchbar input{background:transparent;padding-left:20px}
.header--2027 .searchbar button{width:48px;border-radius:50%;background:var(--primary);color:#fff;margin:3px;height:40px}
.header--2027 .iconbtn{border-radius:14px;border:1px solid #e4e9e5;background:#fff}
.header--2027 .iconbtn:hover{border-color:var(--primary);background:#f3f7f4;color:var(--primary)}
.nav--2027{border-top:1px solid #eef1ef;background:#fff}
.nav--2027 .nav__list{min-height:48px;gap:28px}
.nav--2027 .nav__list>li>a{font-weight:700;font-size:13.5px;color:#425048}
.nav--2027 .nav__list>li>a:hover{color:var(--primary)}
.nav--2027 .nav__catsbtn{background:var(--primary);color:#fff;border-radius:10px;padding:9px 15px;font-weight:700}
.mega{border-top:1px solid var(--border);box-shadow:0 24px 48px rgba(16,35,27,.12)}
.mega__item{border-radius:12px;background:#f8faf8;border:1px solid #e8ece8}
.mega__item:hover{border-color:#cbd8cf;background:#f1f6f2;transform:translateY(-1px)}

/* Hero */
.hp-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#f8f4ec 0%,#f3f6f2 46%,#edf4ef 100%);padding:76px 0 82px}
.hp-hero:before{content:"";position:absolute;width:560px;height:560px;border-radius:50%;right:-180px;top:-200px;background:radial-gradient(circle,rgba(185,104,59,.14),rgba(185,104,59,0) 70%)}
.hp-hero__grid{display:grid;grid-template-columns:1.02fr .98fr;gap:66px;align-items:center;position:relative}
.hp-kicker,.sechead__eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--cta)}
.hp-hero__copy h1{font-size:clamp(3rem,5.6vw,5.15rem);line-height:.98;letter-spacing:-.055em;color:var(--dark);max-width:760px;margin:16px 0 24px}
.hp-hero__copy>p{font-size:18px;line-height:1.7;color:#56645d;max-width:650px}
.hp-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0}
.btn{border-radius:12px;font-weight:800;letter-spacing:-.01em;transition:.2s ease}
.btn--primary{background:var(--primary);border-color:var(--primary)}
.btn--primary:hover{background:var(--hover);border-color:var(--hover);transform:translateY(-1px)}
.btn--ghost{border-color:#cfd8d1;background:#fff;color:var(--dark)}
.btn--ghost:hover{border-color:var(--primary);color:var(--primary);background:#f7faf8}
.btn--light{background:#fff;color:var(--dark);border:1px solid rgba(255,255,255,.5)}
.hp-hero__trust{display:flex;gap:26px;flex-wrap:wrap;padding-top:8px}
.hp-hero__trust span{display:flex;flex-direction:column;color:#6b776f;font-size:12px}
.hp-hero__trust b{color:var(--dark);font-size:15px;margin-bottom:2px}
.hp-hero__visual{position:relative;min-height:530px}
.hp-hero__glow{position:absolute;inset:58px 20px 0;background:linear-gradient(145deg,#e5eee7,#d8e6dc);border-radius:40% 60% 57% 43% / 46% 42% 58% 54%;filter:drop-shadow(0 26px 40px rgba(21,55,42,.08))}
.hp-feature-card{position:absolute;inset:22px 35px 35px 35px;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.9);border-radius:28px;padding:24px;box-shadow:0 35px 75px rgba(20,48,37,.14);display:flex;flex-direction:column;color:inherit;overflow:hidden}
.hp-feature-card img{width:100%;height:330px;object-fit:contain;mix-blend-mode:multiply}
.hp-feature-card__badge{position:absolute;top:20px;left:20px;background:var(--dark);color:#fff;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;z-index:2}
.hp-feature-card__body{margin-top:auto;border-top:1px solid #e9edea;padding-top:16px;display:grid;grid-template-columns:1fr auto;gap:5px 16px;align-items:end}
.hp-feature-card__body small{grid-column:1/-1;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.hp-feature-card__body strong{font-size:15px;line-height:1.35;color:var(--dark)}
.hp-feature-card__body span{font-size:20px;font-weight:800;color:var(--primary)}
.hp-float{position:absolute;background:#fff;border:1px solid #e3e9e4;box-shadow:0 14px 32px rgba(16,35,27,.12);border-radius:16px;padding:12px 15px;display:flex;flex-direction:column;z-index:3;font-size:11px;color:var(--muted)}
.hp-float strong{font-size:12px;color:var(--dark)}
.hp-float--one{right:-8px;top:118px}.hp-float--two{left:0;bottom:68px}

.hp-trustbar{background:#fff;border-bottom:1px solid #edf0ed}
.hp-trustbar__grid{display:grid;grid-template-columns:repeat(4,1fr)}
.hp-trustbar__grid>div{display:flex;gap:13px;padding:21px 18px;border-right:1px solid #edf0ed;align-items:flex-start}
.hp-trustbar__grid>div:first-child{padding-left:0}.hp-trustbar__grid>div:last-child{border-right:0;padding-right:0}
.hp-trustbar__icon{font-size:10px;font-weight:800;color:var(--cta);padding-top:3px}
.hp-trustbar p{margin:0;display:flex;flex-direction:column;line-height:1.35}
.hp-trustbar strong{font-size:13px;color:var(--dark)}
.hp-trustbar small{font-size:11.5px;color:var(--muted);margin-top:3px}

.section{padding:76px 0}.section--tint{background:#f6f8f5}
.sechead--2027{align-items:end;margin-bottom:28px}
.sechead--2027 h2{font-size:clamp(1.9rem,3.3vw,3rem);letter-spacing:-.04em;margin:8px 0 7px;color:var(--dark)}
.sechead--2027 p{color:var(--muted);margin:0;max-width:650px}
.textlink{font-size:13px;font-weight:800;color:var(--primary);white-space:nowrap}
.textlink:hover{color:var(--cta)}
.hp-catgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.hp-catcard{min-height:230px;border-radius:20px;padding:21px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;border:1px solid #e0e6e1;background:linear-gradient(155deg,#fff,#f4f7f4);color:var(--dark);transition:.22s ease}
.hp-catcard:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-60px;bottom:-60px;background:rgba(23,58,45,.06)}
.hp-catcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-card);border-color:#cad7ce}
.hp-catcard__code{font-size:9px;font-weight:800;letter-spacing:.18em;color:var(--cta)}
.hp-catcard h3{font-size:19px;margin:0 0 8px;letter-spacing:-.03em}.hp-catcard p{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 8px}.hp-catcard small{font-size:11px;color:#718078}
.hp-catcard__arrow{position:absolute;right:18px;top:18px;width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #e0e6e1;font-weight:700}
.hp-catcard--holzpellets{background:linear-gradient(155deg,#f8f1e7,#fff)}
.hp-catcard--brennholz{background:linear-gradient(155deg,#f2ede7,#fff)}
.hp-catcard--holzbriketts{background:linear-gradient(155deg,#f4f5ef,#fff)}
.hp-catcard--holzoefen,.hp-catcard--pellet-oefen{background:linear-gradient(155deg,#eef4f0,#fff)}

/* Product cards */
.pgrid--2027,.pgrid{gap:16px}
.product-card,.pcard{border-radius:18px!important;border:1px solid #e4e9e5!important;background:#fff!important;box-shadow:none!important;overflow:hidden;transition:.22s ease!important}
.product-card:hover,.pcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)!important;border-color:#ccd7cf!important}
.product-card__image,.pcard__img{background:linear-gradient(160deg,#fbfcfb,#f3f6f3)!important}
.product-card img,.pcard img{mix-blend-mode:multiply}
.price,.product-card__price{color:var(--primary)!important;font-weight:800!important}
.badge{border-radius:999px!important}

.hp-story{background:#fff}
.hp-story__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:68px;align-items:center}
.hp-story__copy h2{font-size:clamp(2rem,4vw,3.6rem);letter-spacing:-.05em;line-height:1.05;margin:10px 0 18px}.hp-story__copy>p{color:var(--muted);font-size:16px;line-height:1.75}
.hp-story__facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0 28px}.hp-story__facts span{padding:15px;border:1px solid var(--border);border-radius:14px;display:flex;flex-direction:column}.hp-story__facts b{font-size:13px}.hp-story__facts small{font-size:10.5px;color:var(--muted);margin-top:3px}
.hp-story__panel{background:var(--dark);border-radius:24px;padding:24px;color:#fff;box-shadow:0 30px 70px rgba(16,35,27,.16)}
.hp-story__line{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.12)}.hp-story__line:last-child{border-bottom:0}.hp-story__line>span{font-size:10px;color:#d2a37e;font-weight:800}.hp-story__line strong{font-size:15px}.hp-story__line p{font-size:12px;color:#b9c8c0;margin:5px 0 0;line-height:1.5}
.hp-cta{padding-top:20px}.hp-cta__box{background:linear-gradient(120deg,var(--primary),#214d3d);color:#fff;border-radius:26px;padding:42px 46px;display:flex;justify-content:space-between;align-items:center;gap:32px;position:relative;overflow:hidden}.hp-cta__box:after{content:"";position:absolute;width:260px;height:260px;right:-70px;top:-110px;border-radius:50%;border:45px solid rgba(255,255,255,.05)}.hp-cta__box h2{font-size:clamp(1.7rem,3vw,2.7rem);letter-spacing:-.04em;margin:8px 0}.hp-cta__box p{color:#c9d9d0;margin:0;max-width:680px}.hp-cta__box .btn{position:relative;z-index:2;flex:none}

/* Public shop pages */
.crumbs{padding-top:24px}
.product{gap:52px}.gallery__main{border-radius:22px;background:linear-gradient(160deg,#fbfcfb,#f4f7f4);border-color:#e2e8e3}.gallery__main img{mix-blend-mode:multiply}.product__title{font-size:clamp(1.8rem,3vw,2.65rem);letter-spacing:-.04em;line-height:1.12}.pricebox{background:#f7f3eb;border-color:#eadfd2;border-radius:18px}.pricebox .price{color:var(--primary);font-size:34px}.paybar{border-radius:12px}.assur{background:#f7f9f7;border:1px solid var(--border);border-radius:14px;padding:16px 18px}.askbox{border-radius:16px;background:#fff;border:1px solid var(--border)}
.product-detail-section{border-radius:20px!important}.product-detail-section__title{letter-spacing:-.025em}
.card,.summary,.filters{border-radius:18px;box-shadow:0 10px 28px rgba(16,35,27,.035)}
.checkout,.cartlayout{gap:38px}
.field input,.field select,.field textarea{border-radius:11px;min-height:46px;background:#fcfdfc}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(23,58,45,.10)}

/* Confirmation */
.order-success-panel{border-radius:22px!important;background:linear-gradient(120deg,#f0f7f2,#fff)!important;border:1px solid #d8e8dc!important}.order-success-panel__icon{background:var(--primary)!important;color:#fff!important}.order-confirmation-card{border-radius:18px!important;box-shadow:0 8px 24px rgba(16,35,27,.04)!important}
.bankbox--confirmation{background:#f7f3eb!important;border-color:#eadfd2!important}

/* Footer */
.footer--2027{background:#0e1d17;color:#c4d1ca;margin-top:76px}.footer--2027 .footer__grid{gap:42px}.footer--2027 h4{color:#fff}.footer--2027 a{color:#c4d1ca}.footer--2027 a:hover{color:#fff}.footer--2027 .footer__company strong{color:#fff}.footer--2027 .footer__bottom{border-color:rgba(255,255,255,.1);color:#8fa099}
.footer__logo img{max-width:250px;height:auto;filter:brightness(0) invert(1)}
.cookiebar{border-radius:18px;box-shadow:0 24px 70px rgba(16,35,27,.22)}
.fab__btn{border-radius:15px!important}

@media(max-width:1050px){
  .hp-hero__grid{grid-template-columns:1fr 1fr;gap:35px}.hp-catgrid{grid-template-columns:repeat(3,1fr)}.hp-trustbar__grid{grid-template-columns:repeat(2,1fr)}.hp-trustbar__grid>div:nth-child(2){border-right:0}.hp-story__grid{gap:38px}.topbar__secure{display:none}
}
@media(max-width:760px){
  .header--2027 .header__topwrap{justify-content:center;text-align:center}.header--2027 .header__main{min-height:66px;gap:12px}.logo--2027 img{max-width:205px;height:44px}.header--2027 .header__actions{gap:6px}.header--2027 .iconbtn{width:42px;height:42px;border-radius:12px}.nav--2027{display:none}
  .hp-hero{padding:48px 0 44px}.hp-hero__grid{grid-template-columns:1fr;gap:34px}.hp-hero__copy h1{font-size:clamp(2.65rem,13vw,4.1rem);max-width:95%}.hp-hero__copy>p{font-size:16px}.hp-hero__trust{gap:15px}.hp-hero__visual{min-height:425px}.hp-feature-card{inset:10px 12px 18px;padding:18px;border-radius:22px}.hp-feature-card img{height:255px}.hp-float--one{right:0;top:70px}.hp-float--two{left:0;bottom:36px}.hp-trustbar__grid{grid-template-columns:1fr}.hp-trustbar__grid>div{border-right:0;border-bottom:1px solid #edf0ed;padding:16px 0}.hp-trustbar__grid>div:last-child{border-bottom:0}.section{padding:54px 0}.sechead--2027{align-items:flex-start}.sechead--2027 .textlink{margin-top:8px}.hp-catgrid{grid-template-columns:1fr 1fr}.hp-catcard{min-height:190px}.hp-story__grid{grid-template-columns:1fr}.hp-story__facts{grid-template-columns:1fr}.hp-cta__box{padding:30px 24px;flex-direction:column;align-items:flex-start}.product{grid-template-columns:1fr;gap:26px}.checkout,.cartlayout{grid-template-columns:1fr}.summary{position:static}
}
@media(max-width:430px){.hp-catgrid{grid-template-columns:1fr}.hp-catcard{min-height:155px}.hp-feature-card__body{grid-template-columns:1fr}.hp-feature-card__body span{font-size:18px}.hp-float{display:none}.hp-hero__visual{min-height:390px}}


/* R2 — Widerrufsfunktion 2026 */
.footer__revoke-link{display:inline-flex!important;align-items:center;justify-content:center;margin-top:6px;padding:9px 12px;border:1px solid rgba(255,255,255,.34);border-radius:10px;font-weight:800;color:#fff!important;background:rgba(255,255,255,.07)}
.footer__revoke-link:hover{background:#fff;color:var(--dark)!important}
.revocation-page{max-width:900px}.revocation-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:clamp(24px,4vw,42px);box-shadow:0 18px 50px rgba(16,35,27,.07)}
.revocation-card h1{margin:.15em 0 .4em}.revocation-form{display:grid;gap:18px;margin-top:26px}.revocation-form label{display:grid;gap:7px;font-weight:700}.revocation-form label span{font-size:14px}.revocation-form input,.revocation-form textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:13px 14px;background:#fff;color:var(--text);font:inherit;outline:none}.revocation-form input:focus,.revocation-form textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(23,58,45,.10)}
@media(max-width:620px){.revocation-card{border-radius:16px;padding:22px 18px}.revocation-form .btn{width:100%}}


/* Zahlungsart — SEPA */
.payment-options-grid{display:grid;gap:12px}.payment-option{position:relative;display:grid;grid-template-columns:auto 58px 1fr;align-items:flex-start;gap:13px;padding:18px;border:1px solid var(--border);border-radius:16px;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}.payment-option:hover{border-color:var(--primary);box-shadow:0 8px 22px rgba(16,35,27,.08);transform:translateY(-1px)}.payment-option:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 2px rgba(23,58,45,.08),0 10px 24px rgba(16,35,27,.08);background:#fbfdfb}.payment-option input{margin-top:18px}.payment-option__icon{width:54px;height:54px;border-radius:14px;background:var(--grey);border:1px solid var(--border);display:grid;place-items:center;color:var(--primary);font-size:11px;font-weight:900;letter-spacing:.04em}.payment-option__body strong{display:block;font-size:16px;color:var(--dark);margin-top:2px}.payment-option__body small{display:block;margin-top:6px;color:var(--muted);font-size:13px;line-height:1.55}.payment-option__body em{display:block;margin-top:9px;color:var(--primary);font-size:11px;font-style:normal;font-weight:800}@media(max-width:640px){.payment-option{grid-template-columns:auto 48px 1fr;padding:15px}.payment-option__icon{width:46px;height:46px}.payment-option input{margin-top:15px}}

/* ========================================================================== */
/* HOLZPELLETS HANDEL — R4 PREMIUM REFRESH                                    */
/* Palette : bleu ardoise / cuivre / blanc. Pas d'icônes Unicode décoratives. */
/* ========================================================================== */

:root {
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-card: 0 18px 48px rgba(17,24,39,.08);
}

body { background:#fff; color:var(--text); }
.section--tint { background:#F8FAFC; }

/* Header plus net, plus grand, avec SVG fins */
.header--2027 { background:rgba(255,255,255,.98); border-bottom:1px solid var(--border); box-shadow:0 1px 0 rgba(17,24,39,.03); backdrop-filter:saturate(150%) blur(12px); }
.header--2027 .header__top { background:var(--dark); color:#F8FAFC; }
.header--2027 .topbar__promo svg { color:#D7A47E; }
.header--2027 .header__main { min-height:94px; gap:34px; }
.logo--2027 img { width:315px; max-width:315px; height:68px; max-height:68px; object-fit:contain; object-position:left center; }
.header--2027 .searchbar { height:50px; max-width:650px; border:1px solid #D7DCE3; border-radius:12px; background:#F8FAFC; }
.header--2027 .searchbar input { height:48px; border:0; background:transparent; border-radius:12px; padding:0 58px 0 18px; color:var(--text); }
.header--2027 .searchbar input:focus { box-shadow:none; }
.header--2027 .searchbar button { width:42px; height:42px; top:3px; right:3px; bottom:auto; margin:0; border-radius:9px; background:var(--primary); }
.header--2027 .searchbar button:hover { background:var(--dark); }
.header--2027 .header__actions { gap:3px; }
.header--2027 .iconbtn { width:44px; height:44px; border:0; border-radius:10px; background:transparent; color:var(--dark); }
.header--2027 .iconbtn:hover { background:#F2F4F7; color:var(--primary); }
.header--2027 .iconbtn svg { width:22px; height:22px; }
.header--2027 .iconbtn__badge { background:var(--cta); top:1px; right:0; box-shadow:0 0 0 2px #fff; }
.nav--2027 { border-top:1px solid #EEF0F3; background:#fff; }
.nav--2027 .nav__list a { font-weight:650; color:#344054; }
.nav--2027 .nav__list a:hover { color:var(--cta); border-bottom-color:var(--cta); }
.nav__catsbtn { color:#344054 !important; }

/* Hero R4 : deux photos 4K, superposées proprement, texte lisible */
.hp4-hero { position:relative; min-height:630px; display:flex; align-items:center; overflow:hidden; background:#111827; }
.hp4-hero__media { position:absolute; inset:0; overflow:hidden; background:#111827 url('../img/seo-banner.svg') center/cover no-repeat; }
.hp4-hero__photo { position:absolute; top:0; bottom:0; background-repeat:no-repeat; background-size:cover; filter:saturate(.92) contrast(1.04); }
.hp4-hero__photo--wood { right:0; width:72%; background-position:center 55%; }
.hp4-hero__photo--pellets { right:0; bottom:-5%; top:auto; width:38%; height:58%; background-position:center; border-left:1px solid rgba(255,255,255,.16); box-shadow:-24px -10px 60px rgba(17,24,39,.2); clip-path:polygon(13% 0,100% 0,100% 100%,0 100%); }
.hp4-hero__shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(11,18,30,.92) 0%,rgba(15,23,42,.82) 34%,rgba(15,23,42,.42) 58%,rgba(15,23,42,.12) 100%),linear-gradient(0deg,rgba(15,23,42,.22),transparent 45%); }
.hp4-hero__inner { position:relative; z-index:2; width:100%; }
.hp4-hero__content { max-width:690px; padding:92px 0 88px; color:#fff; }
.hp4-eyebrow { display:inline-flex; align-items:center; font-size:11px; line-height:1; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--cta); }
.hp4-hero .hp4-eyebrow { color:#F0B88E; }
.hp4-hero h1 { margin:18px 0 22px; color:#fff; font-size:clamp(3rem,5.6vw,5rem); line-height:.98; letter-spacing:-.055em; max-width:680px; }
.hp4-hero p { max-width:620px; color:#E4E7EC; font-size:17px; line-height:1.75; margin:0; }
.hp4-hero__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.btn--hero-ghost { color:#fff; border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.08); }
.btn--hero-ghost:hover { color:#fff; border-color:#fff; background:rgba(255,255,255,.16); }
.hp4-hero__stats { display:flex; flex-wrap:wrap; gap:34px; margin-top:38px; padding-top:26px; border-top:1px solid rgba(255,255,255,.22); max-width:610px; }
.hp4-hero__stats span { display:flex; flex-direction:column; min-width:120px; }
.hp4-hero__stats b { color:#fff; font-size:17px; letter-spacing:.02em; }
.hp4-hero__stats small { margin-top:2px; color:#CDD5DF; font-size:11px; }

/* Barre de confiance légère sur fond blanc */
.hp4-trust { background:#fff; border-bottom:1px solid #EEF0F3; }
.hp4-trust__grid { display:grid; grid-template-columns:repeat(4,1fr); }
.hp4-trust__grid > div { min-height:104px; display:flex; align-items:center; gap:14px; padding:18px 20px; border-right:1px solid #EEF0F3; }
.hp4-trust__grid > div:first-child { padding-left:0; }
.hp4-trust__grid > div:last-child { border-right:0; padding-right:0; }
.hp4-trust svg { width:26px; height:26px; flex:none; fill:none; stroke:var(--cta); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.hp4-trust span { display:flex; flex-direction:column; }
.hp4-trust strong { color:var(--dark); font-size:13px; }
.hp4-trust small { margin-top:3px; color:var(--muted); font-size:11px; line-height:1.45; }

/* En-têtes de sections */
.hp4-sectionhead { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:26px; }
.hp4-sectionhead h2 { margin:8px 0 6px; color:var(--dark); font-size:clamp(1.75rem,3vw,2.65rem); letter-spacing:-.04em; }
.hp4-sectionhead p { margin:0; color:var(--muted); max-width:680px; }
.hp4-textlink { display:inline-flex; align-items:center; gap:8px; flex:none; color:var(--primary); font-weight:750; font-size:13px; }
.hp4-textlink:hover { color:var(--cta); }
.hp4-textlink svg,.hp4-rec-card__link svg,.hp4-cat__go svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

/* Carrousel recommandations : cartes plus petites, pas de bloc énorme */
.hp4-recommend { background:#fff; padding-top:62px; padding-bottom:56px; }
.hp4-carousel__controls { display:flex; gap:8px; }
.hp4-carousel__controls button { width:42px; height:42px; border:1px solid #D9DEE6; border-radius:50%; display:grid; place-items:center; background:#fff; color:var(--dark); cursor:pointer; transition:.18s ease; }
.hp4-carousel__controls button:hover { background:var(--dark); border-color:var(--dark); color:#fff; }
.hp4-carousel__controls svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.hp4-carousel { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(232px,278px); gap:14px; overflow-x:auto; padding:2px 2px 18px; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#D0D5DD transparent; scroll-behavior:smooth; }
.hp4-rec-card { scroll-snap-align:start; background:#fff; border:1px solid #E4E7EC; border-radius:16px; overflow:hidden; transition:.2s ease; min-width:0; }
.hp4-rec-card:hover { transform:translateY(-3px); box-shadow:0 15px 34px rgba(17,24,39,.08); border-color:#D0D5DD; }
.hp4-rec-card__image { display:block; position:relative; height:190px; padding:10px; background:#F9FAFB; overflow:hidden; }
.hp4-rec-card__image img { width:100%; height:100%; object-fit:contain; transition:transform .28s ease; }
.hp4-rec-card:hover .hp4-rec-card__image img { transform:scale(1.025); }
.hp4-rec-card__sale { position:absolute; top:10px; left:10px; border-radius:999px; padding:5px 8px; background:var(--promo); color:#fff; font-size:10px; font-weight:800; }
.hp4-rec-card__body { padding:14px 15px 15px; }
.hp4-rec-card__cat { color:var(--cta); font-size:9.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.hp4-rec-card h3 { margin:7px 0 13px; min-height:44px; font-size:14px; line-height:1.48; letter-spacing:-.015em; }
.hp4-rec-card h3 a { color:var(--dark); }
.hp4-rec-card__foot { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.hp4-rec-card__foot .price { color:var(--dark); font-size:19px; }
.hp4-rec-card__link { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; color:var(--primary); background:#F2F4F7; }
.hp4-rec-card__link:hover { color:#fff; background:var(--primary); }

/* Catégories : plus compactes, style commerce premium */
.hp4-categories { background:#fff; padding-top:58px; padding-bottom:62px; }
.hp4-catgrid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.hp4-cat { min-height:152px; padding:18px; border:1px solid #E4E7EC; border-radius:16px; background:#fff; color:var(--dark); display:flex; flex-direction:column; position:relative; overflow:hidden; transition:.2s ease; }
.hp4-cat:hover { border-color:#C8CFD9; box-shadow:0 12px 30px rgba(17,24,39,.06); transform:translateY(-2px); color:var(--dark); }
.hp4-cat__icon { width:38px; height:38px; border-radius:11px; background:#FAF7F3; color:var(--cta); display:grid; place-items:center; }
.hp4-cat__icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.hp4-cat__copy { margin-top:17px; display:flex; flex-direction:column; min-width:0; padding-right:26px; }
.hp4-cat__copy strong { font-size:15px; }
.hp4-cat__copy small { color:var(--muted); font-size:10.8px; line-height:1.45; margin-top:4px; }
.hp4-cat__copy em { color:#98A2B3; font-style:normal; font-size:10px; margin-top:9px; }
.hp4-cat__go { position:absolute; right:14px; top:16px; color:#98A2B3; }
.hp4-cat:hover .hp4-cat__go { color:var(--cta); }

/* Offres / histoire / CTA */
.hp4-offers { background:#F8FAFC; }
.hp4-offer-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.hp4-story { background:#fff; padding-top:46px; }
.hp4-story__grid { display:grid; grid-template-columns:1.15fr .85fr; gap:70px; align-items:start; padding-top:54px; border-top:1px solid #EEF0F3; }
.hp4-story h2 { margin:10px 0 18px; font-size:clamp(2rem,4vw,3.5rem); letter-spacing:-.05em; line-height:1.04; }
.hp4-story p { color:var(--muted); font-size:16px; line-height:1.75; max-width:720px; }
.hp4-story__facts { display:grid; gap:10px; }
.hp4-story__facts span { padding:18px 20px; border:1px solid #E4E7EC; border-radius:14px; background:#F9FAFB; display:flex; flex-direction:column; }
.hp4-story__facts b { color:var(--dark); font-size:13px; }
.hp4-story__facts small { color:var(--muted); margin-top:4px; font-size:11px; line-height:1.45; }
.hp4-cta { padding-top:18px; }
.hp4-cta__box { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:40px 44px; border-radius:20px; background:linear-gradient(120deg,#111827,#243247); color:#fff; }
.hp4-cta__box h2 { margin:8px 0 7px; color:#fff; font-size:clamp(1.7rem,3vw,2.5rem); letter-spacing:-.04em; }
.hp4-cta__box p { margin:0; color:#D0D5DD; }
.hp4-cta__box .hp4-eyebrow { color:#F0B88E; }

/* Ajustement des cartes produit classiques à la nouvelle palette */
.pcard { border-color:#E4E7EC; border-radius:16px; box-shadow:none; }
.pcard:hover { border-color:#D0D5DD; box-shadow:0 14px 34px rgba(17,24,39,.07); }
.pcard__imgwrap { background:#F9FAFB; }
.pcard__cat { color:var(--cta); }
.pcard .btn--primary { background:var(--primary); }
.pcard .btn--primary:hover { background:var(--dark); }

/* Confirmation de commande : pas de glyphes type emoji */
.order-success-panel { background:linear-gradient(120deg,#F8FAFC,#fff)!important; border-color:#E4E7EC!important; }
.order-success-panel__icon { background:var(--primary)!important; color:#fff!important; }
.order-success-panel__icon svg { display:block; }
.copybtn svg { flex:none; }
.summary-trust li::before,.seo-banner li::before { content:"" !important; width:6px; height:10px; border-right:2px solid var(--success); border-bottom:2px solid var(--success); transform:rotate(45deg); top:.2em; left:2px; }
.faq details[open] summary::after { content:"-"; }

/* Footer : logo lisible et palette sombre non verte */
.footer--2027 { background:#111827; color:#C9D1DC; margin-top:70px; }
.footer--2027 .footer__grid { gap:42px; }
.footer__logo-shell { display:inline-flex; background:#fff; padding:10px 13px; border-radius:12px; border:1px solid rgba(255,255,255,.2); box-shadow:0 8px 28px rgba(0,0,0,.12); }
.footer__logo img { width:258px; max-width:258px; height:auto; filter:none !important; }
.footer--2027 h4,.footer--2027 .footer__company strong { color:#fff; }
.footer--2027 a { color:#C9D1DC; }
.footer--2027 a:hover { color:#fff; }
.footer--2027 .footer__bottom { color:#98A2B3; border-color:rgba(255,255,255,.1); }
.cookiebar__close { display:grid; place-items:center; }

@media (max-width: 1050px) {
  .hp4-catgrid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hp4-offer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hp4-story__grid { gap:40px; }
}

@media (max-width: 820px) {
  .header--2027 .header__top { display:none; }
  .header--2027 .header__main { min-height:76px; padding:8px 0; gap:10px; flex-wrap:nowrap; }
  .logo--2027 img { width:190px; max-width:190px; height:48px; max-height:48px; }
  .header--2027 .header__actions { margin-left:auto; gap:0; }
  .header--2027 .iconbtn { width:40px; height:40px; border-radius:8px; }
  .header--2027 .iconbtn svg { width:21px; height:21px; }
  .searchbar--desktop { display:none !important; }
  .burger { display:grid; }

  .hp4-hero { min-height:570px; }
  .hp4-hero__photo--wood { width:100%; opacity:.95; }
  .hp4-hero__photo--pellets { width:48%; height:45%; right:-4%; bottom:-1%; opacity:.82; }
  .hp4-hero__shade { background:linear-gradient(90deg,rgba(11,18,30,.91) 0%,rgba(15,23,42,.72) 62%,rgba(15,23,42,.35) 100%),linear-gradient(0deg,rgba(15,23,42,.32),transparent 48%); }
  .hp4-hero__content { padding:70px 0 66px; max-width:92%; }
  .hp4-hero h1 { font-size:clamp(2.5rem,10vw,4rem); max-width:620px; }
  .hp4-hero p { font-size:15px; }
  .hp4-hero__stats { gap:20px; }

  .hp4-trust__grid { grid-template-columns:repeat(2,1fr); }
  .hp4-trust__grid > div { border-bottom:1px solid #EEF0F3; }
  .hp4-trust__grid > div:nth-child(2) { border-right:0; }
  .hp4-trust__grid > div:nth-last-child(-n+2) { border-bottom:0; }
  .hp4-trust__grid > div:first-child { padding-left:18px; }
  .hp4-trust__grid > div:last-child { padding-right:18px; }

  .hp4-sectionhead { align-items:flex-start; }
  .hp4-catgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hp4-cat { min-height:142px; }
  .hp4-story__grid { grid-template-columns:1fr; }
  .hp4-cta__box { align-items:flex-start; flex-direction:column; padding:30px 26px; }
}

@media (max-width: 520px) {
  .wrap { padding-left:16px; padding-right:16px; }
  .header--2027 .header__main { min-height:70px; }
  .logo--2027 img { width:174px; max-width:174px; height:44px; max-height:44px; }
  .header--2027 .iconbtn { width:38px; height:38px; }
  .header--2027 .iconbtn__badge { min-width:16px; height:16px; font-size:9px; }

  .hp4-hero { min-height:600px; align-items:flex-end; }
  .hp4-hero__photo--wood { background-position:58% center; }
  .hp4-hero__photo--pellets { width:58%; height:38%; opacity:.7; }
  .hp4-hero__shade { background:linear-gradient(180deg,rgba(11,18,30,.38) 0%,rgba(11,18,30,.72) 42%,rgba(11,18,30,.95) 100%); }
  .hp4-hero__content { padding:74px 0 44px; max-width:100%; }
  .hp4-hero h1 { font-size:clamp(2.35rem,12vw,3.45rem); margin:14px 0 18px; }
  .hp4-hero p { line-height:1.65; }
  .hp4-hero__actions { display:grid; grid-template-columns:1fr; margin-top:24px; }
  .hp4-hero__actions .btn { width:100%; }
  .hp4-hero__stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:24px; padding-top:18px; }
  .hp4-hero__stats span { min-width:0; }
  .hp4-hero__stats b { font-size:14px; }
  .hp4-hero__stats small { font-size:9.5px; line-height:1.35; }

  .hp4-trust__grid { grid-template-columns:1fr; }
  .hp4-trust__grid > div { border-right:0; border-bottom:1px solid #EEF0F3 !important; padding:15px 0 !important; min-height:auto; }
  .hp4-trust__grid > div:last-child { border-bottom:0 !important; }
  .hp4-trust svg { width:23px; height:23px; }

  .section { padding-top:46px; padding-bottom:46px; }
  .hp4-sectionhead { margin-bottom:20px; gap:12px; }
  .hp4-sectionhead p { font-size:13px; }
  .hp4-carousel__controls { display:none; }
  .hp4-carousel { grid-auto-columns:78vw; gap:10px; margin-right:-16px; padding-right:16px; }
  .hp4-rec-card__image { height:175px; }

  .hp4-catgrid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .hp4-cat { min-height:132px; padding:14px; border-radius:14px; }
  .hp4-cat__icon { width:34px; height:34px; }
  .hp4-cat__icon svg { width:19px; height:19px; }
  .hp4-cat__copy { padding-right:0; margin-top:13px; }
  .hp4-cat__copy strong { font-size:13px; }
  .hp4-cat__copy small { display:none; }
  .hp4-cat__copy em { margin-top:5px; font-size:9.5px; }
  .hp4-cat__go { right:10px; top:12px; }

  .hp4-offer-grid { grid-template-columns:1fr; }
  .hp4-story__grid { padding-top:36px; gap:28px; }
  .hp4-story h2 { font-size:2.25rem; }
  .hp4-story p { font-size:14px; }
  .footer__logo img { width:220px; max-width:220px; }
}
