/* ==========================================================================
   FAE Store – feuille de style unique
   Couleurs de la marque : bleu nuit du site (#0D1263), bleu du logo (#002D70),
   rouge des flammes du logo (assombri en #E02424 pour rester lisible en blanc).
   Pensée d'abord pour le téléphone, puis élargie pour l'ordinateur.
   ========================================================================== */

@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  --navy: #0D1263;
  --blue: #002D70;
  --blue-soft: #E8EEF9;
  --red: #E02424;
  --red-dark: #B91C1C;
  --ink: #161A33;
  --muted: #59607A;
  --line: #E3E6EF;
  --bg: #FFFFFF;
  --bg-alt: #F4F6FB;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 18, 99, .06), 0 6px 20px rgba(13, 18, 99, .07);
  --shadow-hover: 0 2px 4px rgba(13, 18, 99, .08), 0 14px 34px rgba(13, 18, 99, .13);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); font-weight: 800; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.2em; }
.center { text-align: center; }

/* ---------------------------------------------------------------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.35em; border-radius: 999px;
  border: 2px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s, box-shadow .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(224, 36, 36, .28); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--red); }
.btn-block { width: 100%; padding: 1em; font-size: 1.05rem; }
.btn-small { padding: .45em .9em; }
.link-more { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; color: var(--blue); }
.link-more:hover { color: var(--red); }
.link-more .ic { transition: transform .15s; }
.link-more:hover .ic { transform: translateX(3px); }
.ic-back { transform: rotate(180deg); }
/* la bulle d'aide reste un simple rond ici, au-dessus de la barre des étapes sur téléphone */
.has-hsm-nav .aide-btn { width: 52px; padding: 0; justify-content: center; }
.has-hsm-nav .aide-btn-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 899px) { .has-hsm-nav .aide { bottom: 92px; } }
/* cartes en ligne (type, variateur) : petit visuel à gauche */
.hsm-choice-ligne .hsm-opt-in { flex-direction: row; align-items: center; gap: 12px; }
.hsm-choice-ligne .hsm-opt-vis { flex: 0 0 76px; width: 76px; aspect-ratio: 1; }
.hsm-choice-ligne .hsm-opt-txt { flex: 1; min-width: 0; }
.hsm-choice-ligne .hsm-opt-txt strong { padding-right: 24px; }
.hsm-choice-ligne .hsm-picto { width: 86%; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--red); margin-bottom: .6em; }
.eyebrow-light { color: #FF8A8A; }

/* ---------------------------------------------------------------- en-tête */
.topbar { background: var(--navy); color: #fff; font-size: .8rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4em; color: #fff; text-decoration: none; }
.topbar a { font-weight: 700; }
.hide-sm { display: none !important; }

.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
/* Avec JavaScript : en-tête fixe + réserve de place de hauteur constante (aucun saut de page
   quand il rétrécit). Sans JavaScript : simplement collant (sticky). */
.js-hdr .header { position: fixed; left: 0; right: 0; top: 0; }
.header-slot { display: none; }
.js-hdr .header-slot { display: block; }
/* mesure de la hauteur : sans animation */
.no-anim, .no-anim * { transition: none !important; }
.header.is-compact { box-shadow: 0 6px 18px rgba(13, 18, 99, .12); }
.topbar { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .2s ease; }
.topbar > .topbar-in { overflow: hidden; min-height: 0; }
.is-compact .topbar { grid-template-rows: 0fr; }
.is-compact .topbar-in { padding-top: 0; padding-bottom: 0; }
.topbar-in { transition: padding .2s ease; }

/* une seule ligne, à toutes les tailles : [menu] [logo] [recherche] [actions] */
.header-in { display: flex; align-items: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; position: relative; transition: padding .2s ease; }
.is-compact .header-in { padding-top: 5px; padding-bottom: 5px; }
.burger { flex: 0 0 auto; background: none; border: 0; padding: 6px; margin-left: -6px; cursor: pointer; color: var(--navy); display: inline-flex; }
.burger .ic { width: 26px; height: 26px; }
.logo { flex: 0 0 auto; display: inline-flex; }
.logo img { height: 32px; width: auto; transition: height .2s ease; }
.is-compact .logo img { height: 26px; }
.search-wrap { flex: 1 1 auto; min-width: 0; }
.search { display: flex; background: var(--bg-alt); border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; transition: border-color .15s, background .15s; }
.search:focus-within { border-color: var(--blue); background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .55em .9em; outline: none; font-size: 16px; text-overflow: ellipsis; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search button { border: 0; background: var(--navy); color: #fff; padding: 0 .85em; cursor: pointer; display: inline-flex; align-items: center; }
.search button:hover { background: var(--red); }
.header-actions { flex: 0 0 auto; display: flex; gap: 2px; margin-right: -6px; }
.hact { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; text-decoration: none; color: var(--navy); font-size: .7rem; font-weight: 600; border-radius: 8px; }
.hact .ic { width: 24px; height: 24px; }
.hact:hover { color: var(--red); background: var(--bg-alt); }
.hact span { display: none; }
.hact-contact, .hact-account, .hact-catalogue { display: none; }

/* suggestions de recherche */
.suggest { position: absolute; left: 12px; right: 12px; top: calc(100% - 2px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-hover); z-index: 80; max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; }
.sg-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 8px 10px 4px; }
.sg-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.sg-cat { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--navy); font-size: .82rem; font-weight: 600; text-decoration: none; }
.sg-item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 7px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sg-item img, .sg-noimg { width: 48px; height: 48px; object-fit: contain; background: var(--bg-alt); border-radius: 8px; }
.sg-name { display: block; font-size: .86rem; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sg-meta { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.sg-meta strong { color: var(--navy); }
.suggest mark { background: #FFF1B8; color: inherit; border-radius: 2px; }
.sg-all { display: block; text-align: center; padding: 10px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .86rem; text-decoration: none; border-radius: 0 0 10px 10px; }
.sg-item.is-active, .sg-item:hover, .sg-cat.is-active, .sg-cat:hover, .sg-all.is-active, .sg-all:hover { background: var(--bg-alt); outline: 2px solid var(--blue-soft); }
.sg-cat.is-active, .sg-cat:hover { background: var(--navy); color: #fff; }
.sg-empty { padding: 14px 10px; color: var(--muted); font-size: .88rem; }

/* menu : panneau latéral sur téléphone, barre horizontale sur ordinateur */
.nav { position: fixed; inset: 0 auto 0 0; width: min(86vw, 360px); background: #fff; transform: translateX(-100%); transition: transform .25s ease; z-index: 60; overflow-y: auto; box-shadow: var(--shadow-hover); }
.nav.is-open { transform: none; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(13, 18, 99, .45); z-index: 55; }
.nav-list, .sub { list-style: none; margin: 0; padding: 0; }
.nav-in { padding: 64px 0 24px; }
.nav-item { position: relative; border-bottom: 1px solid var(--line); }
.nav-item > a { display: flex; align-items: center; gap: .5em; padding: 14px 52px 14px 4px; text-decoration: none; color: var(--navy); font-weight: 700; }
.nav-item.is-active > a { color: var(--red); }
.sub-toggle { position: absolute; right: 0; top: 6px; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.sub { display: none; padding: 0 0 10px 12px; }
.sub.is-open { display: block; }
.sub a { display: block; padding: 8px 4px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.sub a:hover { color: var(--red); }
.sub-all a { color: var(--blue); display: inline-flex; align-items: center; gap: .35em; }
.nav-special > a { color: var(--red); }
.nav-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-close .ic { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- accueil */
.hero { background: radial-gradient(1200px 500px at 85% 10%, #DCE6FA 0%, rgba(220, 230, 250, 0) 60%), linear-gradient(180deg, #F6F8FD 0%, #fff 100%); overflow: hidden; }
.hero-in { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 36px; align-items: center; }
.hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); margin-bottom: .4em; }
.hero-lead { font-size: 1.02rem; color: var(--muted); max-width: 40em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.hero-points li { display: inline-flex; align-items: center; gap: .4em; }
.hero-points .ic { color: var(--red); }
.hero-visual { position: relative; min-height: 220px; }
.hero-blob { position: absolute; inset: 8% 4% 4% 10%; background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; opacity: .95; }
.hero-img { position: relative; filter: drop-shadow(0 18px 24px rgba(13, 18, 99, .25)); }
.hero-img-main { width: 92%; margin: 0 auto; }
.hero-img-second { position: absolute; width: 42%; right: -2%; bottom: -6%; }

.section { padding: 44px 0; }
.section-tight { padding-top: 20px; padding-bottom: 40px; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 22px; }
h2 + .grid { margin-top: 18px; }
.section-head h2 { margin: 0; }

.families { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.family { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.family:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.family-media { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 10px; }
.family-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.family:hover .family-media img { transform: scale(1.05); }
.family-media > .ic { width: 40px; height: 40px; color: var(--line); }
.family-body { padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.family-body h3 { margin: 0 0 4px; font-size: .95rem; }
.family-body span { display: inline-flex; align-items: center; gap: .3em; font-size: .8rem; font-weight: 600; color: var(--red); }

.promo { display: grid; gap: 16px; align-items: center; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; border-radius: 22px; padding: 28px 22px; overflow: hidden; }
.promo h2 { color: #fff; }
.promo p { color: #D5DCF0; }
.promo img { max-width: 360px; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }

.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: center; margin-top: 18px; }
.brands img { max-height: 54px; width: auto; margin: 0 auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.brands img:hover { filter: none; opacity: 1; }

.posts { display: grid; gap: 14px; }
.post-card a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.post-card a:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-card time { font-size: .78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.post-card h2, .post-card h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.post-card p { color: var(--muted); font-size: .92rem; }

.cta-band { display: grid; gap: 16px; align-items: center; background: var(--blue-soft); border-radius: 22px; padding: 26px 22px; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--muted); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- cartes produit */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--ink); }
.card-media { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 10px; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-noimg { aspect-ratio: 1; width: 100%; display: grid; place-items: center; color: var(--line); }
.card-noimg .ic { width: 48px; height: 48px; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 12px; flex: 1; }
.card-brand { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card-title { font-size: .85rem; font-weight: 700; color: var(--navy); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .price { margin-top: auto; padding-top: 4px; }
.card-cta { display: none; }

.price { display: flex; flex-direction: column; line-height: 1.25; }
.price-from { font-size: .72rem; color: var(--muted); font-weight: 600; }
.price-ht { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.price-ht small { font-size: .7em; font-weight: 700; }
.price-ttc { font-size: .78rem; color: var(--muted); }

/* ---------------------------------------------------------------- catégorie */
.page-head { background: linear-gradient(180deg, #F6F8FD 0%, #fff 100%); padding: 16px 0 10px; }
.page-head h1 { margin-bottom: .35em; }
.page-count { color: var(--muted); margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 4px 0 12px; font-size: .8rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .85rem; color: var(--navy); background: #fff; }
.chip span { background: var(--bg-alt); border-radius: 999px; padding: 0 .55em; font-size: .75rem; color: var(--muted); }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 14px; font-size: .88rem; }
.toolbar select { border: 1.5px solid var(--line); border-radius: 999px; padding: .45em 2em .45em 1em; background: #fff; }
.empty { padding: 30px 0; color: var(--muted); }
.cat-desc { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- fiche produit */
.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 24px; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 18px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: 0 0 auto; width: 72px; height: 72px; padding: 4px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active, .thumb:hover { border-color: var(--navy); }
.buybox h1 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); margin: 6px 0 10px; }
.ref { color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.buy-price { display: flex; flex-direction: column; background: var(--bg-alt); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; }
.buy-price .price-ht { font-size: 1.9rem; }
.buy-price .price-ttc { font-size: .95rem; }
.options { margin-bottom: 16px; }
.opt-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: .9rem; }
.opt-fallback { width: 100%; padding: .7em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.opt-group { border: 0; padding: 0; margin: 0 0 14px; }
.opt-group legend { font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: .9rem; padding: 0; }
.opt-group legend span { font-weight: 600; color: var(--muted); }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; padding: .55em 1em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 600; font-size: .88rem; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.opt input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.opt input:disabled + span { cursor: not-allowed; color: #A6ABBD; background: var(--bg-alt); text-decoration: line-through; border-style: dashed; }
.opt-help { font-size: .8rem; color: var(--muted); margin: -6px 0 12px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.qty-row label { font-weight: 700; color: var(--navy); font-size: .9rem; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; border: 0; background: #fff; font-size: 1.2rem; cursor: pointer; color: var(--navy); }
.qty button:hover { background: var(--bg-alt); }
.qty input { width: 56px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: .55em 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-total { margin: -2px 0 14px; padding: 10px 14px; border-radius: var(--radius-sm); background: #EEF1FB; color: var(--navy); font-size: .92rem; }
.buy-total strong { font-size: 1.1rem; }
.buy-total strong, .buy-total-ttc { white-space: nowrap; }
.buy-total-ttc { display: block; color: var(--muted); font-size: .85rem; }
.assure { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.assure li { display: flex; align-items: center; gap: .6em; }
.assure .ic { color: var(--red); }
.short { margin-top: 16px; }

/* barre du bas de la fiche produit : apparaît quand le bouton « Ajouter au panier » sort de l'écran */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(13, 18, 99, .10); padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.buybar.is-on { transform: none; visibility: visible; transition: transform .25s ease; }
.buybar-in { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.buybar-img { flex: 0 0 auto; width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 3px; }
.buybar-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
.buybar-titre { color: var(--navy); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-opt { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-opt:empty { display: none; }
.buybar-prix { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.buybar-prix b { color: var(--navy); font-size: 1.05rem; }
.buybar-pour { margin-right: 4px; }
.buybar-qty { flex: 0 0 auto; }
.buybar-qty button { width: 38px; }
.buybar-qty input { width: 46px; padding: .5em 0; }
.buybar-btn { flex: 0 0 auto; padding: .75em 1.3em; box-shadow: none; }
html.has-buybar .footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (max-width: 599px) {
  .buybar-in { gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .buybar-img, .buybar-opt, .buybar-ttc, .buybar-pour { display: none; }
  .buybar-titre { font-size: .85rem; }
  .buybar-qty button { width: 34px; }
  .buybar-qty input { width: 40px; }
  .buybar-btn { width: 46px; height: 46px; padding: 0; }
  .buybar-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .buybar, .buybar.is-on { transition: none; } }

/* ---------------------------------------------------------------- textes */
.prose { max-width: 820px; color: #2A2F4A; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--red); }
.prose img { border-radius: var(--radius-sm); margin: 12px 0; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.article { max-width: 860px; padding-bottom: 40px; }
.article-head { margin: 10px 0 20px; }
.article-meta { color: var(--muted); font-size: .88rem; }

.contact-grid { display: grid; gap: 12px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; }
.contact-card .ic { width: 28px; height: 28px; color: var(--red); margin-bottom: 6px; }
.contact-card strong { color: var(--navy); }
a.contact-card:hover { box-shadow: var(--shadow-hover); }

.notfound { text-align: center; max-width: 640px; }
.search-big { margin: 18px 0; }

/* ---------------------------------------------------------------- pied de page */
.footer { background: var(--navy); color: #C9D0EA; margin-top: 20px; font-size: .9rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #FF8A8A; }
.footer-reassure { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-top: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-reassure div { display: flex; flex-direction: column; gap: 2px; }
.footer-reassure .ic { width: 28px; height: 28px; color: #FF6B6B; margin-bottom: 6px; }
.footer-reassure strong { color: #fff; }
.footer-reassure span { font-size: .82rem; }
.footer-grid { display: grid; gap: 26px; padding-top: 30px; padding-bottom: 30px; }
.footer h2 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand img { width: 190px; margin-bottom: 12px; border-radius: 8px; }
.footer-contact li, .footer-contact a { display: flex; align-items: flex-start; gap: .5em; }
.footer-legal { background: rgba(0, 0, 0, .2); padding: 14px 0; font-size: .8rem; }

/* ==========================================================================
   Écrans plus larges
   ========================================================================== */
@media (min-width: 600px) {
  .hide-sm { display: inline-flex !important; }
  .families { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .card-title { font-size: .9rem; }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .header-in { gap: 14px; padding-top: 10px; padding-bottom: 10px; }
  .logo img { height: 40px; }
  .is-compact .logo img { height: 30px; }
  .hact-account, .hact-catalogue { display: inline-flex; }
}

@media (min-width: 900px) {
  body { font-size: 15.5px; }
  .header-in { gap: 28px; padding-top: 14px; padding-bottom: 14px; }
  .is-compact .header-in { padding-top: 7px; padding-bottom: 7px; }
  .burger { display: none; }
  .logo img { height: 56px; }
  .is-compact .logo img { height: 38px; }
  .search-wrap { max-width: 640px; margin: 0 auto; position: relative; }
  .search input { padding: .7em 1.1em; }
  .search button { padding: 0 1.1em; }
  .suggest { left: 0; right: 0; top: calc(100% + 6px); }
  .header-actions { gap: 4px; margin-right: 0; }
  .hact { padding: 4px 8px; }
  .hact .ic { width: 22px; height: 22px; }
  .hact span { display: block; }
  .hact-contact { display: inline-flex; }
  .nav-mobile { display: none; }

  .nav { position: static; transform: none; width: auto; box-shadow: none; overflow: visible; background: var(--navy); }
  .nav-backdrop, .nav-close { display: none !important; }
  .nav-in { padding: 0 16px; }
  .nav-list { display: flex; flex-wrap: wrap; }
  .nav-item { border: 0; }
  .nav-item > a { color: #fff; padding: 13px 14px; font-size: .86rem; transition: padding .2s ease; }
  .is-compact .nav-item > a { padding-top: 8px; padding-bottom: 8px; }
  .nav-item > a:hover, .nav-item.is-active > a { color: #fff; background: rgba(255, 255, 255, .1); }
  .sub-toggle { display: none; }
  .sub { display: block; position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-hover); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 70; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { padding: 8px 10px; border-radius: 8px; }
  .sub a:hover { background: var(--bg-alt); }
  .nav-special { margin-left: auto; }
  .nav-special > a { background: var(--red); color: #fff !important; }
  .nav-special > a:hover { background: var(--red-dark) !important; }

  .hero-in { grid-template-columns: 1.05fr .95fr; padding-top: 52px; padding-bottom: 60px; gap: 40px; }
  .hero-visual { min-height: 380px; }
  .section { padding: 64px 0; }
  .families { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .card-cta { display: flex; align-items: center; justify-content: center; gap: .4em; margin: 0 12px 12px; padding: .6em; border-radius: 999px; background: var(--bg-alt); color: var(--navy); font-weight: 700; font-size: .82rem; text-decoration: none; transition: background .15s, color .15s; }
  .card:hover .card-cta { background: var(--navy); color: #fff; }
  .promo { grid-template-columns: 1.3fr 1fr; padding: 44px 48px; }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1fr auto; padding: 34px 40px; }
  .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; padding-top: 6px; }
  .gallery { position: sticky; top: 140px; align-self: start; }
  .footer-reassure { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* image des articles du blog (cartes) */
.post-card a { padding: 0 0 20px; overflow: hidden; }
.post-card time, .post-card h2, .post-card h3, .post-card p, .post-card .link-more { margin-left: 20px; margin-right: 20px; }
.post-card time { display: inline-block; margin-top: 18px; }
.post-img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--bg-alt); border-bottom: 1px solid var(--line); }

/* les photos restent dans leur cadre, quelle que soit leur forme d'origine */
.family-media, .card-media, .gallery-main { position: relative; overflow: hidden; }
.family-media img, .card-media img, .gallery-main img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.gallery-main img { inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); }

/* barre du haut sur téléphone : textes courts, numéro jamais coupé */
.topbar a, .topbar span { white-space: nowrap; }
.topbar .tb-long { display: none; }
@media (min-width: 600px) { .topbar .tb-long { display: inline; } .topbar .tb-short { display: none; } }

/* page des marques */
.brand-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.brand-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; transition: box-shadow .2s, transform .2s; }
.brand-tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.brand-tile img { height: 60px; width: auto; object-fit: contain; }
.brand-tile span { font-weight: 700; font-size: .85rem; color: var(--red); display: inline-flex; align-items: center; gap: .3em; }
@media (min-width: 900px) { .brand-list { grid-template-columns: repeat(4, 1fr); } }
.h-link { color: inherit; text-decoration: none; } .h-link:hover { color: var(--red); }

/* Bandeau d'aperçu privé (site en maintenance) */
.apercu-bandeau{background:#FFF4CC;color:#5C4400;font-size:.85rem;text-align:center;padding:8px 12px;border-bottom:1px solid #F0D98A}
.apercu-bandeau a{color:#0D1263;font-weight:600;margin-left:6px}

/* ==========================================================================
   Hotte professionnelle sur mesure (configurateur, refait le 20/10/2026)
   ========================================================================== */
.is-pop { transform: scale(.94); }
.req { color: var(--red); }
.opt { color: var(--muted); font-weight: 500; }
[aria-invalid="true"] { border-color: var(--red) !important; }

.hsm-head { padding-bottom: 6px; }
.hsm-hero { display: grid; gap: 16px; align-items: end; }
.hsm-hero h1 { margin-bottom: .25em; }
.hsm-hero .eyebrow { margin-bottom: .4em; }
.hsm-lead { color: var(--muted); font-size: 1rem; max-width: 640px; margin: 0; }
.hsm-perks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; padding: 0; font-size: .84rem; color: var(--ink); }
.hsm-perks li { display: flex; align-items: flex-start; gap: .55em; line-height: 1.35; }
.hsm-perks .ic { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--red); }
.hsm-perks a { color: inherit; text-decoration: none; white-space: nowrap; }
.hsm-perks strong { color: var(--navy); }

.hsm { padding-bottom: 48px; }
.hsm-steps { list-style: none; display: flex; gap: 6px; margin: 18px 0 16px; padding: 0; }
.hsm-steps li { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-alt); color: var(--muted); font-weight: 700; font-size: .84rem; cursor: pointer; transition: background .2s, color .2s; }
.hsm-steps li:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.hsm-steps-n { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); font-size: .8rem; }
.hsm-steps-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hsm-steps li.is-active { background: var(--navy); color: #fff; }
.hsm-steps li.is-active .hsm-steps-n { background: var(--red); border-color: var(--red); color: #fff; }
.hsm-steps li.is-done { color: var(--navy); background: var(--blue-soft); }
.hsm-steps li.is-done .hsm-steps-n { background: var(--navy); border-color: var(--navy); color: transparent; position: relative; }
.hsm-steps li.is-done .hsm-steps-n::after { content: ""; position: absolute; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.hsm-alert { background: #FDECEC; color: var(--red-dark); border: 1px solid #F7C4C4; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }
.hsm-reprise { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; background: #FFF8E6; border: 1px solid #F3DDA3; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: .9rem; }
.hsm-reprise p { margin: 0; display: flex; align-items: center; gap: .5em; }
.hsm-reprise .ic { color: #B7791F; flex: 0 0 auto; }
.hsm-reprise div { display: flex; gap: 8px; }

.hsm-grid { display: grid; gap: 18px; }
.hsm-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 0; box-shadow: var(--shadow); min-width: 0; }
.hsm-step-head { margin-bottom: 16px; }
.hsm-step-head h2 { font-size: 1.3rem; margin: 0; }
.hsm-step-n { margin: 0 0 2px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.hsm-step-head .hsm-help { margin-top: 4px; }
.hsm-step + .hsm-step { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.js-steps .hsm-step + .hsm-step { margin-top: 0; padding-top: 0; border-top: 0; }
.js-steps .hsm-step:not(.is-current) { display: none; }
.js-steps .hsm-step.is-current { animation: hsmEntree .25s ease; }
@keyframes hsmEntree { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hsm-choice, .hsm-dims, .hsm-address { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.hsm-choice legend, .hsm-dims legend, .hsm-address legend, .hsm-field > label { font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 8px; padding: 0; }

/* cartes de choix */
.hsm-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hsm-opt { position: relative; display: block; cursor: pointer; }
.hsm-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hsm-opt-in { position: relative; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hsm-opt:hover .hsm-opt-in { border-color: #9AA6C8; }
.hsm-opt input:focus-visible + .hsm-opt-in { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.hsm-opt input:checked + .hsm-opt-in { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), 0 8px 22px rgba(13, 18, 99, .12); }
.hsm-opt-vis { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; border-radius: 10px; overflow: hidden; color: var(--navy); }
.hsm-opt-vis img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.hsm-picto { width: 70%; max-width: 110px; height: auto; color: var(--navy); opacity: .85; }
.hsm-opt-txt { display: flex; flex-direction: column; gap: 3px; }
.hsm-opt-txt strong { font-size: .93rem; color: var(--navy); line-height: 1.25; padding-right: 22px; }
.hsm-opt-txt small { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.hsm-opt-ok { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: background .15s, border-color .15s; z-index: 1; }
.hsm-opt-ok .ic { width: 13px; height: 13px; color: #fff; stroke-width: 3; opacity: 0; }
.hsm-opt input:checked + .hsm-opt-in .hsm-opt-ok { background: var(--navy); border-color: var(--navy); }
.hsm-opt input:checked + .hsm-opt-in .hsm-opt-ok .ic { opacity: 1; }
.hsm-opt-vis + .hsm-opt-txt strong { padding-right: 0; }
.hsm-badge { position: absolute; z-index: 1; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; }
.hsm-opt-in > .hsm-badge:first-child + .hsm-opt-txt { padding-top: 22px; }
.hsm-badge-auto { background: #1E9E5A; }
.hsm-opt-conseil .hsm-opt-in { border-style: dashed; }
.hsm-opt-conseil .hsm-opt-vis { background: #fff; }
/* moteurs et revêtement : cartes sans image, plus compactes */
.hsm-choice-moteurs .hsm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hsm-choice-moteurs .hsm-opt-in, .hsm-choice-2:not(.hsm-choice-formes) .hsm-opt-in { padding: 12px 14px; }
.hsm-motor-field { margin: -6px 0 22px; padding: 14px; background: var(--bg-alt); border-radius: 14px; }
.hsm-motor-field .hsm-choice { margin-bottom: 0; }
.js-steps .hsm-motor-field:not(.is-visible) { display: none; }
.hsm-tip { margin: 10px 0 0; padding: 9px 12px; background: #E9F7EF; color: #17663E; border-radius: 10px; font-size: .82rem; font-weight: 600; }
.hsm-choice + .hsm-tip { margin: -12px 0 20px; }

/* pastilles (préférences) */
.hsm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hsm-pill { position: relative; }
.hsm-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hsm-pill span { display: inline-block; padding: 9px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .86rem; color: var(--ink); background: #fff; transition: all .15s; }
.hsm-pill input:hover + span { border-color: var(--blue); }
.hsm-pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.hsm-pill input:focus-visible + span { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.hsm-prefs { margin-top: 6px; }
.hsm-prefs .hsm-choice { margin-bottom: 14px; }

/* champs */
.hsm-field { display: flex; flex-direction: column; margin-bottom: 12px; min-width: 0; }
.hsm-field input, .hsm-field select, .hsm-field textarea { width: 100%; font: inherit; font-size: 16px; padding: .7em .85em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.hsm-field input:focus, .hsm-field select:focus, .hsm-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.hsm-field textarea { resize: vertical; min-height: 110px; }
.hsm-err { color: var(--red-dark); font-size: .8rem; font-weight: 600; margin: 6px 0 0; }
.hsm-help { color: var(--muted); font-size: .79rem; margin: 6px 0 0; line-height: 1.45; }
.hsm-unit { position: relative; }
.hsm-unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .8rem; font-weight: 600; pointer-events: none; }
.hsm-unit input { padding-right: 3em; }
.hsm-row2 { display: grid; gap: 0 12px; }
.hsm-row-street { display: grid; grid-template-columns: 5.5em 1fr; gap: 0 10px; }
.hsm-row-city { display: grid; grid-template-columns: 7em 1fr; gap: 0 10px; }
.hsm-row-city .hsm-field:last-child { grid-column: 1 / -1; }
.hsm-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* dimensions */
.hsm-dims-intro { margin: -4px 0 12px; }
.hsm-dims-grid { display: grid; gap: 4px 12px; }
.hsm-dim label { display: flex; align-items: center; gap: 8px; }
.hsm-dim-l { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--blue-soft); color: var(--navy); font-size: .76rem; font-weight: 800; transition: background .15s, color .15s; }
.hsm-dim:focus-within .hsm-dim-l { background: var(--red); color: #fff; }
.hsm-dim input { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.hsm-conv { margin: 6px 0 0; font-size: .8rem; font-weight: 600; color: #17663E; }
.hsm-conv.is-alerte { color: #8A5A00; background: #FFF4D6; padding: 7px 10px; border-radius: 8px; }
.hsm-conv button { border: 0; background: var(--navy); color: #fff; font: inherit; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-left: 4px; cursor: pointer; }
.hsm-plan-mini { display: block; width: 100%; height: auto; margin-top: 8px; background: var(--bg-alt); border-radius: 12px; }

/* aide au calcul */
.hsm-calc { border: 1.5px solid var(--line); border-radius: 14px; margin: 0 0 18px; background: #fff; }
.hsm-calc summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 13px 14px; cursor: pointer; font-size: .9rem; color: var(--ink); }
.hsm-calc summary::-webkit-details-marker { display: none; }
.hsm-calc summary > .ic:first-child { flex: 0 0 auto; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--blue-soft); color: var(--navy); }
.hsm-calc summary span { flex: 1; line-height: 1.35; }
.hsm-calc summary strong { color: var(--navy); display: block; }
.hsm-calc-chev { flex: 0 0 auto; transition: transform .2s; color: var(--muted); }
.hsm-calc[open] .hsm-calc-chev { transform: rotate(180deg); }
.hsm-calc-in { padding: 4px 14px 14px; border-top: 1px solid var(--line); }
.hsm-calc-grid { display: grid; gap: 0 12px; margin-top: 12px; }
.hsm-calc-cases { display: grid; gap: 8px; margin: 4px 0 12px; }
.hsm-check { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; cursor: pointer; }
.hsm-check input { width: 19px; height: 19px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--navy); }
.hsm-calc-res { background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.hsm-calc-res ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.hsm-calc-res li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: .86rem; }
.hsm-calc-res li span { color: var(--muted); }
.hsm-calc-res li strong { color: var(--navy); }
.hsm-calc-res .btn { margin-top: 2px; }
.hsm-calc-ok { margin: 0; font-size: .84rem; font-weight: 700; color: #17663E; }
.hsm-kw { display: flex; gap: 10px; align-items: flex-start; background: #FFF1F1; border: 1px solid #F7C4C4; border-radius: 12px; padding: 11px 13px; margin-bottom: 12px; font-size: .84rem; }
.hsm-kw .ic { flex: 0 0 auto; color: var(--red); margin-top: 1px; }
.hsm-kw p { margin: 0; }
.hsm-source { font-size: .74rem; }

/* étape 4 */
.hsm-final { display: grid; gap: 10px; margin: 0 0 18px; }
.hsm-recap-bloc { background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; }
.hsm-recap-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.hsm-recap-h h3 { font-size: .95rem; margin: 0; }
.hsm-recap-h button { border: 0; background: none; color: var(--blue); font: inherit; font-size: .82rem; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 4px; }
.hsm-recap { display: grid; grid-template-columns: minmax(0, 11em) 1fr; gap: 4px 12px; margin: 0; font-size: .84rem; }
.hsm-recap dt { color: var(--muted); }
.hsm-recap dd { margin: 0; font-weight: 700; color: var(--navy); min-width: 0; overflow-wrap: anywhere; }
.hsm-upload { margin: 0 0 18px; }
.hsm-upload-t { margin: 0; font-size: .9rem; }
.hsm-upload .hsm-help { margin: 2px 0 10px; }
.hsm-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px dashed #B9C3DD; border-radius: 14px; background: #FAFBFE; cursor: pointer; transition: border-color .15s, background .15s; }
.hsm-drop:hover, .hsm-drop.is-survol { border-color: var(--navy); background: var(--blue-soft); }
.hsm-drop.is-plein { display: none; }
.hsm-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.hsm-drop-ic { flex: 0 0 auto; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--navy); color: #fff; transform: rotate(180deg); }
.hsm-drop span { display: flex; flex-direction: column; font-size: .9rem; color: var(--navy); }
.hsm-drop small { color: var(--muted); font-size: .78rem; }
.hsm-files { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.hsm-files li { display: grid; grid-template-columns: 48px 1fr auto; grid-template-rows: auto auto; gap: 0 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; font-size: .84rem; }
.hsm-file-vis { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 8px; background: var(--bg-alt) center / cover no-repeat; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: var(--red); }
.hsm-file-nom { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hsm-file-etat { grid-column: 2; font-size: .76rem; color: var(--muted); }
.hsm-files li.is-ok .hsm-file-etat { color: #17663E; font-weight: 700; }
.hsm-files li.is-err { border-color: #F7C4C4; background: #FFF6F6; }
.hsm-files li.is-err .hsm-file-etat { color: var(--red-dark); font-weight: 600; }
.hsm-files li.is-envoi .hsm-file-etat::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 2px solid var(--line); border-top-color: var(--navy); border-radius: 50%; animation: hsmTourne .7s linear infinite; vertical-align: -1px; }
@keyframes hsmTourne { to { transform: rotate(360deg); } }
.hsm-file-x { grid-row: 1 / 3; grid-column: 3; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg-alt); font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--muted); }
.hsm-file-x:hover { background: #FDECEC; color: var(--red); }
.hsm-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.hsm-suggest button { border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.hsm-suggest button::before { content: "+ "; color: var(--red); }
.hsm-suggest button:hover { border-color: var(--navy); }
.hsm-consent { font-size: .8rem; color: var(--muted); margin: 6px 0 14px; }
.hsm-submit { font-size: 1.02rem; padding-top: .95em; padding-bottom: .95em; }
.hsm-ensuite { list-style: none; margin: 16px 0 6px; padding: 14px; background: var(--bg-alt); border-radius: 12px; display: grid; gap: 8px; font-size: .84rem; }
.hsm-ensuite li { display: flex; gap: 10px; align-items: flex-start; }
.hsm-ensuite span { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: var(--navy); }

/* barre de navigation entre les étapes : collée en bas */
.hsm-nav { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 18px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); backdrop-filter: blur(6px); }
.hsm-nav [data-prev] { grid-column: 1; }
.hsm-nav [data-next] { grid-column: 3; }
.hsm-nav-etat { grid-column: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; color: var(--muted); text-align: center; }
.hsm-nav-bar { display: block; width: min(160px, 100%); height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.hsm-nav-bar i { display: block; height: 100%; width: 25%; background: var(--red); border-radius: 99px; transition: width .3s ease; }
.hsm-nav.is-fin { position: static; }
.ic-back { transform: rotate(180deg); }
/* la bulle d'aide reste un simple rond ici, au-dessus de la barre des étapes sur téléphone */
.has-hsm-nav .aide-btn { width: 52px; padding: 0; justify-content: center; }
.has-hsm-nav .aide-btn-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 899px) { .has-hsm-nav .aide { bottom: 92px; } }
/* cartes en ligne (type, variateur) : petit visuel à gauche */
.hsm-choice-ligne .hsm-opt-in { flex-direction: row; align-items: center; gap: 12px; }
.hsm-choice-ligne .hsm-opt-vis { flex: 0 0 76px; width: 76px; aspect-ratio: 1; }
.hsm-choice-ligne .hsm-opt-txt { flex: 1; min-width: 0; }
.hsm-choice-ligne .hsm-opt-txt strong { padding-right: 24px; }
.hsm-choice-ligne .hsm-picto { width: 86%; }

/* aperçu */
.hsm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.hsm-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.hsm-card-head p { margin: 0; }
.hsm-card-head p:first-child { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); min-width: 0; }
.hsm-card-head strong { font-size: 1rem; color: var(--navy); }
.hsm-score { flex: 0 0 auto; font-size: .76rem; font-weight: 700; color: var(--navy); background: var(--blue-soft); padding: 4px 9px; border-radius: 999px; }
.hsm-vue { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--bg-alt); border-radius: 10px; margin-bottom: 10px; }
.hsm-vue button { border: 0; background: none; font: inherit; font-size: .82rem; font-weight: 700; color: var(--muted); padding: 7px; border-radius: 8px; cursor: pointer; }
.hsm-vue button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(13, 18, 99, .12); }
.hsm-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; aspect-ratio: 360 / 230; overflow: hidden; }
.hsm-main img { width: auto; max-width: 70%; max-height: 100%; height: auto; transition: transform .2s ease, opacity .2s ease; }
.hsm-main .hsm-motor { position: absolute; right: 8px; bottom: 8px; width: 28%; max-width: 110px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 4px; border-radius: 10px; }
.hsm-plan { background: var(--bg-alt); border-radius: 12px; }
.hsm-plan svg, .hsm-plan-mini { color: var(--navy); }
.hsm-plan svg { display: block; width: 100%; height: auto; }
#hsm-plan text, .hsm-plan-mini text { font: 600 11px var(--font); fill: var(--navy); }
#hsm-plan .hsm-plan-t, .hsm-plan-mini .hsm-plan-t { font-size: 10px; fill: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
#hsm-plan .hsm-plan-note, .hsm-plan-mini .hsm-plan-note, #hsm-plan .hsm-plan-mur, .hsm-plan-mini .hsm-plan-mur { font-size: 9.5px; font-weight: 500; fill: var(--muted); }
.hsm-plan-corps { fill: #DCE3F0; stroke: var(--navy); stroke-width: 1.5; }
.hsm-plan-trait { stroke: var(--navy); stroke-width: 1; opacity: .5; }
.hsm-plan-filtre { fill: #fff; stroke: #8C97B5; stroke-width: 1; }
.hsm-plan-perfo { fill: var(--navy); opacity: .35; }
.hsm-plan-gaine { fill: #fff; stroke: var(--navy); stroke-width: 1.2; }
.hsm-plan-moteur { fill: #fff; stroke: var(--red); stroke-width: 1.6; }
.hsm-plan-lum { fill: #F5B400; }
.hsm-plan-air { fill: none; stroke: #1E9E5A; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hsm-cote line { stroke: currentColor; stroke-width: 1; }
.hsm-cote { color: #59607A; }
.hsm-cote.is-vide text { fill: var(--muted) !important; }
.hsm-cote.is-on { color: var(--red); }
.hsm-cote.is-on text { fill: var(--red) !important; font-weight: 800 !important; }
.hsm-equip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; padding: 0; }
.hsm-equip li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-width: 0; }
.hsm-equip-vis { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 1.1rem; font-weight: 800; overflow: hidden; }
.hsm-equip-vis img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.hsm-equip li.is-vide .hsm-equip-vis { background: #fff; border: 1.5px dashed var(--line); }
.hsm-equip li.is-vide .hsm-equip-vis img { opacity: .25; filter: grayscale(1); }
.hsm-equip li.is-conseil .hsm-equip-vis { background: #fff; border: 1.5px dashed var(--navy); color: var(--navy); }
.hsm-equip li span:not(.hsm-equip-vis) { font-size: .68rem; color: var(--muted); font-weight: 600; }
.hsm-equip em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--navy); line-height: 1.2; overflow-wrap: anywhere; }
.hsm-equip li.is-vide em { color: var(--muted); font-weight: 600; }
.hsm-standard { margin-top: 12px; padding: 12px; background: #E9F7EF; border: 1px solid #BFE6CF; border-radius: 12px; font-size: .82rem; color: #1D4D33; }
.hsm-standard p { margin: 0 0 6px; }
.hsm-standard a { display: block; font-weight: 700; color: #17663E; margin-top: 4px; }
.hsm-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.hsm-fiche, .hsm-wa { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .84rem; color: var(--navy); text-decoration: none; }
.hsm-fiche .ic, .hsm-wa .ic { width: 18px; height: 18px; }
.hsm-wa { color: #128C4A; }
.hsm-fiche:hover, .hsm-wa:hover { text-decoration: underline; }

.hsm-dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: min(92vw, 760px); box-shadow: var(--shadow-hover); }
.hsm-dialog::backdrop { background: rgba(13, 18, 99, .55); }
.hsm-dialog img { display: block; width: 100%; height: auto; }
.hsm-close { position: absolute; top: 8px; right: 8px; border: 0; background: #fff; border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }

.hsm-seo { background: var(--bg-alt); }
.hsm-seo-in { max-width: 900px; }
.hsm-seo h2 { font-size: 1.35rem; }
.hsm-seo-cols { display: grid; gap: 4px 28px; }
.hsm-seo h3 { font-size: 1.02rem; margin-top: 10px; }
.hsm-seo li { margin-bottom: 4px; }

/* page de remerciement */
.hsm-merci { max-width: 760px; }
.hsm-merci-top { text-align: center; padding: 6px 0 4px; }
.hsm-merci-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #1E9E5A; color: #fff; margin: 0 auto 10px; box-shadow: 0 0 0 10px #E9F7EF; animation: hsmPop .5s cubic-bezier(.2, 1.4, .4, 1); }
.hsm-merci-icon .ic { width: 32px; height: 32px; stroke-width: 3; }
@keyframes hsmPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.hsm-merci-ref { display: inline-block; background: var(--bg-alt); border: 1px dashed #B9C3DD; border-radius: 10px; padding: 6px 12px; font-weight: 800; color: var(--navy); letter-spacing: .03em; }
.hsm-merci-etapes { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 0; }
.hsm-merci-etapes li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding-bottom: 16px; }
.hsm-merci-etapes li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.hsm-merci-etapes li:last-child::before { display: none; }
.hsm-merci-etapes b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--navy); font-size: .85rem; }
.hsm-merci-etapes li.is-fait b { background: #1E9E5A; border-color: #1E9E5A; color: #fff; }
.hsm-merci-etapes strong { display: block; color: var(--navy); }
.hsm-merci-etapes p { margin: 2px 0 0; font-size: .86rem; color: var(--muted); }
.hsm-merci details { margin-top: 6px; }
.hsm-merci summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.hsm-merci-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hsm-merci-aide { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

@media (max-width: 899px) {
  .hsm-steps li { justify-content: center; padding: 9px 6px; }
  .hsm-steps-t { display: none; }
  .hsm-steps li.is-active { flex: 3; justify-content: flex-start; padding: 9px 10px; }
  .hsm-steps li.is-active .hsm-steps-t { display: block; }
  .hsm-preview { order: -1; }
  .hsm-card { padding: 12px; }
  .hsm-vue { display: none; }
  .hsm-plan { display: none; }
  .hsm-main { aspect-ratio: 16 / 8; }
  .hsm-equip { gap: 4px; }
  .hsm-nav .btn { padding-left: 1em; padding-right: 1em; }
}
@media (max-width: 599px) {
  .hsm-choice-ligne .hsm-cards { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hsm-nav [data-prev] span { display: none; }
  .hsm-perks { grid-template-columns: 1fr; }
}
@media (min-width: 600px) {
  .hsm-row2 { grid-template-columns: repeat(2, 1fr); }
  .hsm-row-city { grid-template-columns: 8em 1fr 11em; }
  .hsm-row-city .hsm-field:last-child { grid-column: auto; }
  .hsm-seo-cols { grid-template-columns: repeat(2, 1fr); }
  .hsm-dims-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hsm-calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hsm-choice-4 .hsm-cards, .hsm-choice-formes .hsm-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hsm-choice-moteurs .hsm-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .hsm-hero { grid-template-columns: 1fr minmax(360px, 440px); gap: 28px; }
  .hsm-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: 24px; align-items: start; }
  .hsm-preview { position: sticky; top: 120px; }
  .hsm-form { padding: 26px 28px 0; }
  .hsm-nav { margin: 22px -28px 0; padding: 14px 28px; }
  .hsm-plan-mini { display: none; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .hsm-choice-4 .hsm-cards, .hsm-choice-formes .hsm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hsm-choice-moteurs .hsm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .js-steps .hsm-step.is-current, .hsm-merci-icon { animation: none; }
}
/* l'en-tête fixe ne doit jamais cacher un champ ou une ancre vers laquelle on défile */
html.js-hdr { scroll-padding-top: 90px; }
@media (min-width: 900px) { html.js-hdr { scroll-padding-top: 130px; } }

/* ===================================================================== boutique */
[hidden] { display: none !important; }
.js-hide { display: none !important; }
.hact { position: relative; }
.hact.is-on { color: var(--red); }
.cart-count { position: absolute; top: -4px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: .72rem; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.flash { margin: 14px 0; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; background: #E8F6EE; color: #0F5132; border-left: 4px solid #198754; }
.flash-err { background: #FDECEC; color: #8A1C1C; border-left-color: var(--red); }
.flash-warn { background: #FFF6DB; color: #6B4E00; border-left-color: #E0A800; }
.muted { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.badge { display: inline-block; padding: .2em .7em; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge-amber { background: #FFF3D6; color: #8A5A00; }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-green { background: #E3F5EA; color: #146C43; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: .82rem; }
@media (max-width: 599px) {
  .acc .table thead { display: none; }
  .acc .table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .acc .table td { display: flex; justify-content: space-between; gap: 10px; border: 0; padding: 4px 0; }
  .acc .table td::before { content: attr(data-l); color: var(--muted); font-size: .82rem; }
}

/* panier */
.empty-cart { text-align: center; padding: 40px 16px; }
.empty-cart > .ic { width: 56px; height: 56px; color: var(--line); }
.cart { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .cart, .checkout { grid-template-columns: minmax(0, 1fr) 360px; } }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-img { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--bg-alt); overflow: hidden; }
.cart-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-info h2 { font-size: 1rem; margin: 0 0 4px; }
.cart-info h2 a { color: var(--navy); text-decoration: none; }
.cart-info h2 a:hover { color: var(--red); }
.cart-opt, .cart-ref, .cart-unit { margin: 0 0 2px; font-size: .85rem; color: var(--muted); }
.cart-pro { margin-left: 6px; color: #146C43; font-weight: 700; }
.cart-pro s { color: var(--muted); font-weight: 400; }
.cart-qty { grid-column: 2; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cart-del { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--muted); font-size: .85rem; cursor: pointer; padding: 6px 0; }
.cart-del:hover { color: var(--red); }
.cart-del .ic { width: 14px; height: 14px; }
.cart-total { grid-column: 2; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cart-total strong { font-size: 1.1rem; color: var(--navy); }
.cart-total small { color: var(--muted); }
.cart-total span { color: var(--muted); font-size: .85rem; margin-left: auto; }
@media (min-width: 700px) {
  .cart-line { grid-template-columns: 96px 1fr auto 150px; align-items: center; }
  .cart-img { width: 96px; height: 96px; }
  .cart-qty, .cart-total { grid-column: auto; }
  .cart-qty { flex-direction: column; gap: 4px; }
  .cart-total { flex-direction: column; align-items: flex-end; gap: 0; }
  .cart-total span { margin: 0; }
}
.cart-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; }
.cart-tools .link-more { border: 0; background: none; cursor: pointer; color: var(--muted); }
.cart-sum { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; position: sticky; top: 130px; }
.cart-sum h2 { font-size: 1.15rem; }
.cart-sum.is-maj dl { opacity: .45; transition: opacity .15s; }
.cart-sum dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 0; margin: 0 0 18px; font-size: .92rem; }
.cart-sum dt { color: var(--muted); }
.cart-sum dd { margin: 0; padding-left: 16px; text-align: right; font-weight: 600; }
.cart-sum .big { font-size: 1.15rem; color: var(--navy); font-weight: 800; padding-top: 10px; border-top: 1px solid var(--line); }
.cart-sum .good { color: #146C43; }
.cart-reassure { list-style: none; padding: 0; margin: 16px 0 0; font-size: .86rem; color: var(--muted); display: grid; gap: 8px; }
.cart-reassure li { display: flex; align-items: center; gap: 8px; }
.cart-reassure .ic { width: 18px; height: 18px; color: var(--blue); flex: none; }
.cart-login { margin: 16px 0 0; padding: 12px; border-radius: var(--radius-sm); background: #fff; font-size: .88rem; }
.sum-lines { list-style: none; margin: 0 0 14px; padding: 0; font-size: .88rem; display: grid; gap: 8px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 10px; }
.sum-lines small { display: block; color: var(--muted); font-size: .8rem; }
.sum-note { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }

/* formulaires de la boutique */
.checkout { display: grid; gap: 24px; align-items: start; }
.checkout-main { display: grid; gap: 18px; }
.checkout-login { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--blue-soft); }
.f-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.checkout-main .f-card { margin: 0; }
.f-card h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.f-card h2 + .f-grid { margin-bottom: 8px; }
.f-card .f-grid + h2 { margin-top: 18px; }
.f-step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .9rem; }
.f-grid { display: grid; gap: 4px 16px; }
@media (min-width: 600px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-wide { grid-column: 1 / -1; } }
.f-stack { display: grid; gap: 4px; }
.f-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.f-field label { font-weight: 600; font-size: .88rem; color: var(--navy); }
.f-field input, .f-field select, .f-field textarea { width: 100%; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 16px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.f-field input[readonly], .f-field input:disabled { background: var(--bg-alt); color: var(--muted); }
.f-field.has-err input, .f-field.has-err select { border-color: var(--red); }
.f-help { color: var(--muted); font-size: .8rem; }
.f-err { color: var(--red-dark); font-size: .84rem; font-weight: 600; margin: 0; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 6px 0 10px; cursor: pointer; }
.f-check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--red); }
.f-check.has-err { color: var(--red-dark); }
.f-choices { display: grid; gap: 12px; border: 0; padding: 0; margin: 0 0 14px; }
@media (min-width: 600px) { .f-choices { grid-template-columns: 1fr 1fr; } }
.f-choice { position: relative; cursor: pointer; }
.f-choice input { position: absolute; opacity: 0; }
.f-choice > span { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; height: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; }
.f-choice .ic { grid-row: span 2; width: 26px; height: 26px; color: var(--blue); }
.f-choice strong { color: var(--navy); }
.f-choice small { color: var(--muted); font-size: .84rem; }
.f-choice input:checked + span { border-color: var(--red); box-shadow: 0 0 0 3px rgba(224, 36, 36, .12); }
.f-choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.f-pass { position: relative; }
.f-pass input { padding-right: 48px; }
.f-show { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 8px; color: var(--muted); cursor: pointer; }
.f-link { margin: 0 0 12px; font-size: .88rem; }
.f-ship { margin-top: 6px; }

/* connexion, inscription */
.auth { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .auth { grid-template-columns: 440px 1fr; padding-top: 30px; } .auth-solo { grid-template-columns: minmax(0, 480px); justify-content: center; } }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.auth-lead { color: var(--muted); }
.auth-side h2 { margin-top: 6px; }
.auth-offers { display: grid; gap: 14px; }
.auth-offer { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; }
.auth-offer:hover { border-color: var(--blue); color: var(--ink); box-shadow: var(--shadow); }
.auth-offer .ic { width: 28px; height: 28px; color: var(--blue); }
.auth-offer strong { color: var(--navy); font-size: 1.05rem; }
.auth-offer span { color: var(--muted); font-size: .9rem; }
.auth-offer em { font-style: normal; font-weight: 700; color: var(--red); }
.auth-offer.is-pro { background: linear-gradient(135deg, var(--navy), var(--blue)); border: 0; }
.auth-offer.is-pro strong, .auth-offer.is-pro span, .auth-offer.is-pro .ic { color: #fff; }
.auth-offer.is-pro em { color: #FFD3D3; }
.auth-head { margin-bottom: 14px; }
.register { max-width: 820px; }
.register-submit { max-width: 420px; }

/* espace client */
.acc-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.acc-nav a, .acc-nav button { display: inline-flex; align-items: center; gap: 6px; padding: .5em 1em; border-radius: 999px; text-decoration: none;
  color: var(--navy); background: #fff; border: 1px solid var(--line); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.acc-nav a[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.acc-nav form { margin-left: auto; }
.acc-nav .ic { width: 16px; height: 16px; }
.acc-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: #FFF6DB; margin-bottom: 18px; }
.acc-alert-soft { background: var(--blue-soft); }
.acc-alert > .ic { flex: none; width: 24px; height: 24px; color: var(--blue); }
.acc-fid { display: grid; gap: 18px; padding: 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; margin-bottom: 22px; }
@media (min-width: 700px) { .acc-fid { grid-template-columns: 200px 1fr; align-items: center; } }
.acc-fid h2 { color: #fff; font-size: 1.15rem; }
.acc-fid-rate { display: grid; text-align: center; padding: 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .1); }
.acc-fid-rate strong { font-size: 2.6rem; line-height: 1.1; }
.acc-fid-rate span, .acc-fid-rate small { opacity: .85; font-size: .85rem; }
.acc-note { opacity: .85; font-size: .85rem; }
.acc-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; margin: 6px 0 12px; }
.acc-bar span { display: block; height: 100%; background: #fff; border-radius: 999px; }
.acc-tiers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.acc-tiers li { display: grid; padding: 8px 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .1); font-size: .8rem; opacity: .7; }
.acc-tiers li.is-on { opacity: 1; background: rgba(255, 255, 255, .22); }
.acc-tiers em { font-style: normal; font-weight: 800; font-size: 1rem; }
.acc-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .acc-grid { grid-template-columns: 1fr 1fr; } .acc-wide { grid-column: 1 / -1; } }
.acc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.acc-card h2 { font-size: 1.05rem; margin: 0; }
.acc-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.acc-card-head a { font-size: .86rem; }
.acc-list { list-style: none; margin: 0; padding: 0; }
.acc-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.acc-list li > a, .acc-list li > span { display: grid; text-decoration: none; color: var(--ink); }
.acc-list li span span { color: var(--muted); font-size: .85rem; }
.acc-help .ic { width: 16px; height: 16px; vertical-align: -3px; }
.acc-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 10px 0 0; font-size: .9rem; }
.acc-dl dt { color: var(--muted); }
.acc-dl dd { margin: 0; }
.acc-steps { display: flex; list-style: none; padding: 0; margin: 14px 0 20px; counter-reset: s; }
.acc-steps li { flex: 1; position: relative; padding-top: 34px; text-align: center; font-size: .82rem; color: var(--muted); counter-increment: s; }
.acc-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%;
  background: var(--line); color: var(--muted); display: grid; place-items: center; font-weight: 700; z-index: 1; }
.acc-steps li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.acc-steps li:first-child::after { display: none; }
.acc-steps li.is-done { color: var(--navy); font-weight: 700; }
.acc-steps li.is-done::before { content: "✓"; background: #198754; color: #fff; }
.acc-steps li.is-done::after { background: #198754; }

/* fiche produit : prix pro */
.pro-price { display: flex; align-items: flex-start; gap: 8px; margin: -4px 0 16px; padding: 8px 12px; border-radius: var(--radius-sm); background: #E3F5EA; color: #146C43; font-weight: 700; font-size: .9rem; }
.pro-price s { font-weight: 400; color: var(--muted); }
.pro-hint { display: flex; align-items: flex-start; gap: 8px; margin: -4px 0 16px; font-size: .88rem; color: var(--muted); }
.pro-price .ic, .pro-hint .ic { flex: 0 0 auto; width: 16px; height: 16px; margin-top: .2em; }
.card-pro { display: inline-block; margin-top: 4px; padding: .15em .6em; border-radius: 999px; background: #E3F5EA; color: #146C43; font-size: .75rem; font-weight: 700; }

/* commande reçue */
.merci { max-width: 760px; text-align: center; }
.merci .lead { font-size: 1.05rem; }
.merci-steps { text-align: left; max-width: 560px; margin: 20px auto; display: grid; gap: 8px; }
.merci-box { text-align: left; overflow-x: auto; margin: 20px 0; }

/* pages d'information */
.info-page .prose { max-width: 820px; }
.info-page .lead { font-size: 1.08rem; color: var(--navy); }
.info-box { padding: 16px 20px; border-radius: var(--radius); background: var(--bg-alt); margin: 0 0 20px; line-height: 1.7; }
.steps-list li { margin-bottom: 6px; }
.cgv-date { color: var(--muted); font-size: .88rem; }
mark.a-valider { background: #FFF1A8; padding: 0 .2em; border-radius: 3px; }

/* ------------------------------------------------------------ filtres des listes de produits
   Ordinateur : colonne à gauche, application immédiate. Téléphone : bouton flottant + panneau
   qui monte du bas. Sans JavaScript : le bloc s'affiche au-dessus des produits (bouton « Voir »). */
.cat-layout { display: block; }
.filters { margin-bottom: 16px; }
.filters-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; }
.filters-head h2 { font-size: 1.05rem; margin: 0; }
.filters-close { display: none; border: 0; background: var(--bg-alt); border-radius: 999px; width: 40px; height: 40px; place-items: center; color: var(--navy); cursor: pointer; }
.filters-body { padding: 0 16px; }
.f-bloc { border-top: 1px solid var(--line); padding: 12px 0; }
.f-bloc:first-child { border-top: 0; }
.f-titre { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--navy); margin: 0; }
summary.f-titre { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 28px; }
summary.f-titre::-webkit-details-marker { display: none; }
summary.f-titre::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
details[open] > summary.f-titre::after { transform: rotate(-135deg); }
.f-nb { background: var(--red); color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 7px; letter-spacing: 0; }
.f-cats { list-style: none; margin: 8px 0 0; padding: 0; }
.f-cats a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: .92rem; }
.f-cats a:hover span { color: var(--red); }
.f-cats small, .f-case small { color: var(--muted); font-size: .78rem; }
.f-retour { font-weight: 700; color: var(--blue) !important; }
.f-liste { display: grid; gap: 2px; margin-top: 8px; }
.f-case { display: flex; align-items: center; gap: 10px; padding: 5px 2px; font-size: .92rem; cursor: pointer; border-radius: 8px; }
.f-case:hover { background: var(--bg-alt); }
.f-case input { width: 18px; height: 18px; accent-color: var(--navy); flex: 0 0 auto; margin: 0; }
.f-case span { flex: 1; overflow-wrap: anywhere; }
.f-case.is-off { opacity: .45; cursor: default; }
.f-case.is-off:hover { background: none; }
.js-filtres .f-longue:not(.is-all) .is-extra { display: none; }
.f-plus { justify-self: start; border: 0; background: none; color: var(--blue); font-weight: 700; padding: 6px 2px; cursor: pointer; font-size: .88rem; }
.f-prix { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.f-prix label { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; font-size: .85rem; color: var(--muted); }
.f-prix input { width: 100%; min-width: 0; border: 1.5px solid var(--line); border-radius: 10px; padding: .5em .6em; font: inherit; font-size: 16px; color: var(--ink); }
.f-prix i { font-style: normal; }
.f-prix-ok { flex: 0 0 auto; }
.js-filtres .f-prix-ok { display: none; }
.f-tranches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.f-tranche { font-size: .8rem; padding: .4em .8em; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); background: #fff; }
.f-tranche:hover, .f-tranche.is-on { border-color: var(--navy); }
.f-tranche.is-on { background: var(--navy); color: #fff; }
.filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.f-effacer { font-weight: 700; color: var(--muted); font-size: .9rem; }
.filters-ok { margin-left: auto; background: var(--navy); color: #fff; }
.filters-ok:hover { background: var(--blue); color: #fff; }
.filters-ok:disabled { background: var(--line); color: var(--muted); cursor: default; transform: none; }
.cat-results { min-width: 0; }
.cat-results .toolbar { justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.toolbar-tri { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.f-actifs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.f-actifs a { display: inline-flex; align-items: center; gap: .45em; padding: .4em .85em; border-radius: 999px; background: var(--blue-soft); color: var(--navy); font-weight: 600; font-size: .82rem; text-decoration: none; }
.f-actifs a:hover { background: var(--navy); color: #fff; }
.f-actifs a span { font-size: 1.1em; line-height: 1; }
.f-actifs .f-actifs-tout { background: none; color: var(--muted); text-decoration: underline; }
.f-vide { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.filters-fab { display: none; }

/* téléphone et tablette, avec JavaScript : panneau flottant */
@media (max-width: 899px) {
  .js-filtres .cat-layout.has-filters .filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; margin: 0; max-height: 88vh; max-height: 88dvh;
    transform: translateY(105%); visibility: hidden; }
  .js-filtres .cat-layout.has-filters .filters.is-anim { transition: transform .25s ease, visibility .25s; }
  .js-filtres .cat-layout.has-filters .filters.is-open { transform: none; visibility: visible; }
  .js-filtres .filters-form { border-radius: 20px 20px 0 0; border: 0; box-shadow: 0 -10px 40px rgba(13, 18, 99, .25); display: flex; flex-direction: column; max-height: inherit; }
  .js-filtres .filters-head { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .js-filtres .filters-close { display: grid; }
  .js-filtres .filters-body { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
  .js-filtres .filters-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 12px rgba(13, 18, 99, .06); }
  .js-filtres .filters-ok { flex: 1; max-width: 260px; }
  .filters-voile { position: fixed; inset: 0; background: rgba(13, 18, 99, .45); z-index: 64; }
  .js-filtres .filters-fab:not([hidden]) { display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%);
    z-index: 40; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; font-size: .95rem;
    box-shadow: 0 8px 24px rgba(13, 18, 99, .35); cursor: pointer; transition: transform .2s, opacity .2s; }
  .js-filtres .filters-fab.is-cache { transform: translate(-50%, 90px); opacity: 0; pointer-events: none; }
  .filters-fab .ic { width: 20px; height: 20px; }
  .filters-fab b { background: var(--red); border-radius: 999px; font-size: .75rem; padding: 1px 8px; }
  .js-filtres .cat-layout.has-filters .cat-results { padding-bottom: 70px; }
  .js-filtres .cat-results .toolbar { flex-wrap: wrap; }
}

/* ordinateur : colonne de gauche toujours visible */
@media (min-width: 900px) {
  .cat-layout.has-filters { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
  .cat-layout.has-filters .filters { position: sticky; top: 130px; margin: 0; max-height: calc(100vh - 150px); overflow-y: auto; scrollbar-width: thin; }
  .js-filtres .cat-layout.has-filters .filters-head { display: none; }
  .js-filtres .cat-layout.has-filters .filters-body { padding-top: 6px; }
  .js-filtres .cat-layout.has-filters .filters-ok { display: none; }
  .js-filtres .cat-layout.has-filters .filters-foot:not(:has(.f-effacer)) { display: none; }
  .cat-layout.has-filters .grid { grid-template-columns: repeat(3, 1fr); }
  .cat-chips-doublon { display: none; }
}

/* ------------------------------------------------------------ « Ils nous font confiance »
   Bandeau qui défile sans fin de gauche à droite (deux copies de la liste : quand la
   première est sortie, la seconde a pris exactement sa place). S'arrête au survol ;
   immobile, en grille, pour qui a demandé moins d'animations. */
.refs { overflow: hidden; }
.refs .eyebrow { margin-bottom: .3em; }
.refs-titre { font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin-bottom: 18px; }
.refs-bande { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.refs-piste { display: flex; width: max-content; animation: refs-defile var(--refs-duree, 40s) linear infinite; }
.refs-bande:hover .refs-piste, .refs-bande:focus-within .refs-piste { animation-play-state: paused; }
.refs-liste { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 4px 7px; }
.ref > a, .ref > span { display: flex; align-items: center; justify-content: center; height: 84px; min-width: 150px; padding: 0 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.ref > a:hover, .ref > a:focus-visible { border-color: var(--navy); box-shadow: var(--shadow); }
.ref img { height: 56px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.ref a:hover img, .ref a:focus-visible img { filter: none; opacity: 1; }
.ref-nom { font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; color: var(--navy); white-space: nowrap; text-transform: uppercase; }
.ref a:hover .ref-nom { color: var(--red); }
@keyframes refs-defile { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .refs-bande { -webkit-mask-image: none; mask-image: none; }
  .refs-piste { animation: none; width: auto; }
  .refs-liste { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .refs-copie { display: none; }
}
@media (min-width: 900px) { .ref > a, .ref > span { height: 96px; min-width: 180px; } }
/* code promo (panier) */
.cart-promo { margin: 0 0 14px; font-size: .9rem; }
.cart-promo summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.cart-promo-champ { display: flex; gap: 8px; margin-top: 10px; }
.cart-promo-champ input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 10px; padding: .55em .8em; font: inherit; font-size: 16px; text-transform: uppercase; }
.cart-promo-ok { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: #146C43; margin: 0 0 14px; }
.cart-promo-ok .ic { width: 18px; height: 18px; }
.cart-promo-ok .link-more { margin-left: auto; background: none; border: 0; cursor: pointer; font-size: .85rem; }
.acc-factures { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
/* questions fréquentes */
.faq { display: grid; gap: 10px; margin: 0 0 28px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; font-weight: 700; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-alt); color: var(--navy); font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--red); }
.faq-r { padding: 0 18px 4px; }
.faq-r p { margin-top: 0; }
/* espace professionnel */
.pro-hero { background: radial-gradient(900px 420px at 90% 0%, #DCE6FA 0%, rgba(220, 230, 250, 0) 60%), linear-gradient(180deg, #F6F8FD 0%, #fff 100%); padding: 16px 0 36px; }
.pro-hero-in { display: grid; gap: 24px; align-items: center; }
.pro-hero h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); margin: .1em 0 .4em; }
.pro-lead { font-size: 1.08rem; color: #2A2F4A; max-width: 620px; }
.pro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pro-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--navy); margin: 0; }
.pro-badge { background: var(--navy); color: #fff; border-radius: 22px; padding: 26px 26px 22px; box-shadow: var(--shadow-hover); }
.pro-badge strong { display: block; font-size: 1.05rem; font-weight: 700; }
.pro-badge strong span { display: block; font-size: 3.4rem; line-height: 1; font-weight: 800; color: #FF8A8A; margin-top: 4px; }
.pro-badge p { color: #C9D0EA; margin: 6px 0 16px; }
.pro-badge ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); display: grid; gap: 8px; }
.pro-badge li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.pro-badge .ic { color: #7EE2A8; }
.pro-grid { display: grid; gap: 14px; }
.pro-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pro-card h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.pro-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.pro-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); }
.pro-ic .ic { width: 22px; height: 22px; }
.pro-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.pro-steps li { position: relative; padding: 22px 22px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.pro-steps span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; }
.pro-steps h3 { margin: 12px 0 6px; }
.pro-steps p { margin: 0; color: var(--muted); }
.pro-pour { margin: 22px 0 0; color: #2A2F4A; }
.pro-cta { margin-top: 32px; }
@media (min-width: 700px) {
  .pro-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .pro-hero { padding: 24px 0 56px; }
  .pro-hero-in { grid-template-columns: 1.5fr 1fr; gap: 48px; }
  .pro-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cta-band.pro-cta { grid-template-columns: 1fr auto; }
}

/* ------------------------------------------------------------ visionneuse photo (fiche produit) */
.gallery-main .gallery-zoom { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.gallery-zoom-ic { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--navy); transition: transform .2s ease; }
.gallery-zoom-ic svg { width: 20px; height: 20px; }
.gallery-zoom:hover .gallery-zoom-ic, .gallery-zoom:focus-visible .gallery-zoom-ic { transform: scale(1.1); }
.gallery-zoom:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: var(--radius); }
html.lb-ouverte { overflow: hidden; }
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0A0D2E; color: #fff; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(10, 13, 46, .7); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); }
.lb-count { margin: 0; font-weight: 600; font-size: .95rem; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s ease; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .28); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-stage { position: relative; overflow: hidden; min-height: 0; }
.lb-img { position: absolute; inset: 0; margin: auto; max-width: calc(100% - 168px); max-height: 100%; width: auto; height: auto; background: #fff; border-radius: var(--radius-sm); cursor: zoom-in; transition: transform .25s ease; user-select: none; -webkit-user-drag: none; }
.lb-stage.is-zoom { touch-action: none; }
.lb-stage.is-zoom .lb-img { transform: scale(2.2); cursor: zoom-out; transition: transform .25s ease, transform-origin .05s linear; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-prev svg { transform: rotate(90deg); }
.lb-next svg { transform: rotate(-90deg); }
.lb-cap { margin: 0; padding: 12px 16px 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .88); }
.lb-aide { display: block; margin-top: 4px; font-size: .8rem; color: rgba(255, 255, 255, .62); }
@media (max-width: 700px) {
  .lb-img { max-width: calc(100% - 16px); }
  .lb-prev, .lb-next { width: 42px; height: 42px; margin-top: -21px; background: rgba(10, 13, 46, .55); }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .gallery-zoom-ic { width: 38px; height: 38px; right: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .lb-img, .gallery-zoom-ic { transition: none; } }

/* ------------------------------------------------------------ cookies (bandeau de consentement) */
.footer-lien { background: none; border: 0; padding: 0; font: inherit; color: #fff; cursor: pointer; text-align: left; }
.footer-lien:hover { color: #FF8A8A; }
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
      background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(13, 18, 99, .22); }
.ck[hidden] { display: none; }
.ck-in { padding: 20px 20px 18px; }
.ck-titre { margin: 0 0 8px; font-size: 1.05rem; color: var(--navy); }
.ck-texte { margin: 0 0 14px; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.ck-texte a { color: var(--navy); font-weight: 600; }
.ck-choix { display: grid; gap: 10px; margin: 0 0 14px; }
.ck-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .84rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.ck-opt input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.ck-opt strong { display: block; color: var(--ink); font-size: .9rem; }
.ck-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
/* refuser et accepter : exactement le même poids (exigence CNIL) */
.ck-btn { width: 100%; padding: .75em 1em; background: var(--navy); border-color: var(--navy); color: #fff; font-size: .9rem; }
.ck-btn:hover { background: var(--blue); border-color: var(--blue); }
.ck-enreg { grid-column: 1 / -1; }
.ck-lien { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 8px 10px; font: inherit; font-size: .86rem; font-weight: 600; color: var(--navy); text-decoration: underline; cursor: pointer; }
html.ck-ouvert .buybar { visibility: hidden; }
@media (max-width: 600px) {
  .ck { left: 0; right: 0; bottom: 0; width: 100%; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; max-height: 85vh; }
  .ck-in { padding: 18px 16px calc(14px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------ disponibilité (stocks) */
.dispo { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.dispo strong { color: var(--ink); }
.dispo-point { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: .38em; background: #1F9D55; box-shadow: 0 0 0 4px rgba(31, 157, 85, .14); }
.dispo-commande .dispo-point { background: #D98E04; box-shadow: 0 0 0 4px rgba(217, 142, 4, .16); }
.dispo-rupture .dispo-point { background: var(--red); box-shadow: 0 0 0 4px rgba(224, 36, 36, .14); }
.dispo-stock strong { color: #146C43; }
.dispo-commande strong { color: #8A5A00; }
.dispo-rupture strong { color: var(--red-dark); }
.buy-form [data-buy-btn]:disabled { background: #8E94AA; color: #fff; opacity: 1; box-shadow: none; cursor: not-allowed; transform: none; }
.buybar-btn:disabled { background: #8E94AA; color: #fff; opacity: 1; box-shadow: none; cursor: not-allowed; }
.dispo-appel { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-alt); font-size: .88rem; line-height: 1.5; color: var(--ink); }
.dispo-appel[hidden] { display: none; }
.dispo-appel .ic { color: var(--red); flex: none; margin-top: .15em; }
.dispo-appel a { font-weight: 700; color: var(--navy); white-space: nowrap; }
.stock-badge { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 4px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; line-height: 1.3; background: #FFF3D6; color: #8A5A00; }
.stock-badge.stock-rupture { background: #FDE8E8; color: var(--red-dark); }
.cart-dispo { display: block; margin-top: 4px; font-size: .8rem; font-weight: 600; color: #8A5A00; }

/* ------------------------------------------------------------ lettre d'information */
.nl-form { display: grid; gap: 8px; min-width: 0; }
.nl-label { font-weight: 700; font-size: .86rem; }
.nl-ligne { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-ligne input { flex: 1 1 220px; min-width: 0; padding: .8em 1.1em; border-radius: 999px; border: 1px solid var(--line); font: inherit; font-size: 1rem; }
.nl-ligne .btn { flex: 0 0 auto; }
.nl-mention { margin: 0; font-size: .76rem; line-height: 1.5; opacity: .85; }
.nl-mention a { font-weight: 600; }
.nl-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.footer-nl { display: grid; gap: 14px 40px; padding-top: 26px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); align-items: center; }
.footer-nl h2 { font-size: 1.15rem; margin: 0 0 4px; }
.footer-nl p { margin: 0; }
.footer-nl .nl-label { color: #fff; }
.footer-nl .nl-ligne input { border-color: rgba(255, 255, 255, .25); background: #fff; color: var(--ink); }
.footer-nl .nl-mention, .footer-nl .nl-mention a { color: rgba(255, 255, 255, .78); }
@media (min-width: 900px) { .footer-nl { grid-template-columns: 1fr 1.4fr; } }
.nl-page .nl-box { max-width: 620px; margin: 0 auto; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; }
.nl-page .nl-box > p { line-height: 1.6; }
.nl-page .nl-label { color: var(--navy); }
.nl-page .nl-mention { color: var(--muted); }
.nl-ic { margin: 0 0 6px; }
.nl-ic .ic { width: 40px; height: 40px; color: var(--navy); }
.nl-ok .ic { color: #1F9D55; }
.nl-petit { font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------ avis clients */
.etoiles { display: inline-flex; gap: 1px; vertical-align: -2px; }
.av-page { max-width: 760px; }
.av-intro { margin: 0 0 18px; color: var(--muted); }
.av-form { display: grid; gap: 14px; }
.av-produit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; }
.av-produit.is-fait { opacity: .7; }
.av-tete { display: flex; gap: 14px; align-items: center; }
.av-tete img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; flex: none; }
.av-tete h2 { font-size: 1rem; margin: 0; }
.av-opt { margin: 2px 0 0; font-size: .84rem; color: var(--muted); }
.av-fait { margin: 0; color: #146C43; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.av-notes { border: 0; padding: 0; margin: 0; }
.av-notes legend { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
/* étoiles cliquables : de droite à gauche en HTML, pour colorer « celle-ci et les précédentes » en CSS */
.av-etoiles { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.av-etoiles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.av-etoiles label { cursor: pointer; padding: 2px; border-radius: 8px; line-height: 0; }
.av-etoiles svg { fill: #D7DAE5; transition: fill .12s, transform .12s; }
.av-etoiles label:hover svg, .av-etoiles label:hover ~ label svg,
.av-etoiles input:checked ~ label svg { fill: #F5A524; }
.av-etoiles label:hover svg { transform: scale(1.08); }
.av-etoiles input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 1px; }
.av-sr, .av-sr * { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.av-label { font-weight: 600; font-size: .88rem; }
.av-form textarea, .av-form input[name="metier"] { width: 100%; padding: .75em 1em; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.av-mention { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.av-form > .btn { justify-self: start; }
/* fiche produit */
.avis-section { padding-top: 10px; }
.avis-resume { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 14px; }
.avis-moy { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.avis-resume .etoiles svg { width: 20px; height: 20px; }
.avis-gestion { font-size: .82rem; color: var(--muted); margin: 0 0 18px; }
.avis-gestion summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.avis-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.avis-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.avis-haut { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .86rem; color: var(--muted); }
.avis-haut strong { color: var(--ink); }
.avis-verifie { color: #146C43; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.avis-verifie .ic { width: 14px; height: 14px; }
.avis-texte { margin: 8px 0 0; line-height: 1.55; white-space: pre-line; }
.avis-reponse { margin: 10px 0 0; padding: 10px 14px; background: var(--bg-alt); border-radius: var(--radius-sm); font-size: .9rem; }
.avis-reponse strong { color: var(--navy); }
.card-avis { display: flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); }
.card-avis .etoiles svg { width: 13px; height: 13px; }
.buy-avis { margin: -2px 0 10px; text-decoration: none; }

/* Commande : choix du transporteur */
.f-expedition { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--line, #DDE3EA); border-radius: var(--radius); background: #F7F9FB; }
.f-exp-titre { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--navy); }
.f-exp-titre b { margin-left: auto; white-space: nowrap; font-size: 1.05rem; }
.f-exp-detail { margin: 6px 0 0; font-size: .9rem; color: #4A5868; }
.f-exp-detail:empty { display: none; }

/* ---------- Catalogue à feuilleter (/catalogue) ---------- */
.cat-vide { max-width: 720px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.cat-liseuse { --cat-ratio: 1.414; position: relative; padding: 14px; border-radius: var(--radius); background: radial-gradient(ellipse at top, #24306f 0%, var(--navy) 70%); color: #fff;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.cat-liseuse img { -webkit-user-drag: none; }
.cat-barre { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 auto 12px; max-width: 980px; }
.cat-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font: 600 .85rem var(--font); cursor: pointer; }
.cat-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .18); }
.cat-btn:disabled { opacity: .35; cursor: default; }
.cat-btn .ic { width: 18px; height: 18px; }
.cat-btn[data-prec] .ic { transform: rotate(90deg); }
.cat-btn[data-suiv] .ic { transform: rotate(-90deg); }
.cat-btn[aria-expanded="true"] { background: #fff; color: var(--navy); }
.cat-num { min-width: 92px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cat-sep { flex: 1; }
/* sans JavaScript : les pages les unes sous les autres */
.cat-scene { display: grid; gap: 16px; justify-items: center; }
.cat-page { margin: 0; width: min(100%, 900px); background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.cat-page img { display: block; width: 100%; height: auto; }
/* liseuse */
.cat-liseuse.is-livre .cat-scene { display: flex; justify-content: center; align-items: flex-start; gap: 0; min-height: min(70vh, 640px); }
.cat-liseuse.is-livre .cat-page { display: none; position: relative; cursor: pointer;
  width: min(100%, calc(76vh / var(--cat-ratio))); }
.cat-liseuse.is-livre .cat-page.is-vue { display: block; }
.cat-liseuse.is-double .cat-page { width: min(48%, calc(78vh / var(--cat-ratio))); }
/* reliure : ombre au milieu de la double page */
.cat-page.is-gauche::after, .cat-page.is-droite::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; pointer-events: none; }
.cat-page.is-gauche::after { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .22), transparent); }
.cat-page.is-droite::after { left: 0; background: linear-gradient(to right, rgba(0, 0, 0, .22), transparent); }
.cat-scene.tourne-suiv .cat-page.is-vue { animation: cat-suiv .32s ease-out; }
.cat-scene.tourne-prec .cat-page.is-vue { animation: cat-prec .32s ease-out; }
@keyframes cat-suiv { from { opacity: .2; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes cat-prec { from { opacity: .2; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cat-scene .cat-page.is-vue { animation: none !important; } }
.cat-vignettes { display: flex; gap: 10px; overflow-x: auto; margin-top: 14px; padding: 6px 2px 10px; scroll-snap-type: x proximity; }
.cat-vignette { flex: 0 0 auto; display: grid; gap: 4px; justify-items: center; padding: 4px; border: 2px solid transparent; border-radius: 8px; background: none; color: #fff;
  font: 600 .75rem var(--font); cursor: pointer; scroll-snap-align: center; }
.cat-vignette img { width: 96px; height: auto; display: block; background: #fff; }
.cat-vignette.is-active, .cat-vignette:hover { border-color: #fff; }
/* plein écran */
.cat-liseuse:fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; padding: 16px; overflow: auto; }
.cat-liseuse:fullscreen .cat-page { width: min(100%, calc((100vh - 110px) / var(--cat-ratio))); }
.cat-liseuse.is-double:fullscreen .cat-page { width: min(48%, calc((100vh - 110px) / var(--cat-ratio))); }
/* zoom */
.cat-zoom { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 12, 40, .96); color: #fff; }
.cat-zoom::backdrop { background: rgba(8, 12, 40, .9); }
.cat-zoom-cadre { width: 100%; height: 100%; overflow: auto; cursor: grab; -webkit-user-select: none; user-select: none; touch-action: pan-x pan-y pinch-zoom; }
.cat-zoom-cadre.is-tire { cursor: grabbing; }
.cat-zoom-cadre img { display: block; width: max(100%, 1600px); max-width: none; height: auto; margin: 0 auto; background: #fff; }
.cat-zoom-fermer { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.cat-zoom-aide { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .5); font-size: .8rem; }
.cat-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg-alt); }
.cat-cta p { margin: 0; }
.cat-cta p:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) {
  .cat-liseuse { padding: 10px 6px; margin: 0 -12px; border-radius: 0; }
  .cat-btn span { display: none; }
  .cat-btn { padding: 0 10px; }
  .cat-num { min-width: 72px; }
  .cat-zoom-cadre img { width: 220%; }
}

/* avertissement sur une photo (ex. option visible sur la photo, non incluse) */
.prose .note-photo { margin: .8em 0 0; padding: .65em .9em; border-left: 3px solid #E0A100; border-radius: 6px; background: #FFF8E6; font-size: .92em; color: #4A3A00; }

/* menu des familles : une seule ligne (10 entrées depuis « Caissons motorisés », 17/10/2026) */
@media (min-width: 900px) {
  .nav-list { flex-wrap: nowrap; }
  .nav-item > a { padding-left: 11px; padding-right: 11px; white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1239px) {
  .nav-in { padding: 0 8px; }
  .nav-item > a { padding-left: 7px; padding-right: 7px; font-size: .76rem; gap: .35em; }
  .nav-special .ic { display: none; }
}
@media (min-width: 900px) and (max-width: 1039px) {
  .nav-item > a { padding-left: 5px; padding-right: 5px; font-size: .72rem; }
}
@media (min-width: 900px) and (max-width: 979px) {
  .nav-in { padding: 0 4px; }
  .nav-item > a { padding-left: 4px; padding-right: 4px; font-size: .7rem; }
}
/* Prix : TTC en premier pour les particuliers et visiteurs (body.prix-ttc), HT en premier pour les pros (body.prix-ht) */
.topbar .tb-prix a { text-decoration: underline; text-underline-offset: 2px; }
.prix-ttc .price-ttc { order: -1; font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.prix-ttc .price-ht { font-size: .78rem; font-weight: 400; color: var(--muted); }
.prix-ttc .price-ht small { font-size: 1em; font-weight: 400; }
.prix-ttc .buy-price { display: flex; flex-direction: column; }
.prix-ttc .buy-price .price-ttc { font-size: 1.9rem; }
.prix-ttc .buy-price .price-ht { font-size: .95rem; }
.prose .encadre-legal { margin: 1em 0; padding: 14px 18px; border: 2px solid var(--navy); border-radius: 10px; background: #F7F8FC; font-size: .93em; }
.prose .encadre-legal p { margin: 0 0 .6em; }
.prose .encadre-legal p:last-child { margin-bottom: 0; }
.sum-delai { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; padding: 10px 12px; border-radius: var(--radius-sm); background: #EEF7F1; color: #155E3B; font-size: .86rem; line-height: 1.45; }
.sum-delai .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.f-info { margin: -4px 0 12px 30px; font-size: .82rem; color: var(--muted); }
.f-suppr { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.f-suppr summary { cursor: pointer; font-weight: 700; color: var(--red); }
.f-suppr form { margin-top: 10px; }
.f-danger { color: var(--red); border-color: #F5C2C2; }
.prix-ttc .price-from { order: -2; }

/* Paiement par carte (/paiement/…) */
.pay-page { display: grid; gap: 20px; max-width: 720px; }
.pay-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.pay-recap { font-size: 1.02rem; line-height: 1.7; margin-top: 0; }
.pay-montant { font-size: 1.35rem; color: var(--navy); }
.pay-choix { display: grid; gap: 12px; margin: 18px 0 10px; }
.pay-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; padding-block: 14px; }
.pay-btn small { font-weight: 500; font-size: .76rem; opacity: .85; }
.pay-detail summary { cursor: pointer; font-weight: 600; color: var(--blue); }
.pay-detail .merci-box { margin-top: 12px; overflow-x: auto; }

/* ------------------------------------------------------------ accueil : carrousel du grand bandeau (2e diapositive = offre pro)
   Sans JavaScript, les diapositives s'affichent l'une sous l'autre ; avec, elles se superposent
   (même cellule de grille : hauteur de la plus haute, aucun saut de mise en page). */
.hero .hero-titre { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); margin-bottom: .4em; line-height: 1.15; }
.hero-carrousel { position: relative; }
.hero-carrousel.is-on .hero-slides { display: grid; }
.hero-carrousel.is-on .hero-slide { grid-area: 1 / 1; transition: opacity .55s ease, visibility .55s; }
.hero-carrousel.is-on .hero-slide:not(.is-active) { opacity: 0; visibility: hidden; }
.hero-carrousel.is-on .hero-in { padding-bottom: 64px; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; align-items: center; gap: 10px; z-index: 2; }
.hero-nav[hidden] { display: none; }
.hero-fleche, .hero-pause { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.hero-fleche:hover, .hero-pause:hover { border-color: var(--navy); }
.hero-fleche .ic { transform: rotate(90deg); }
.hero-fleche-suiv .ic { transform: rotate(-90deg); }
.hero-points-nav { display: flex; gap: 8px; }
.hero-point { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 2px solid var(--navy); background: transparent; cursor: pointer; transition: width .3s, background .3s; }
.hero-point[aria-current="true"] { width: 30px; background: var(--navy); }
.hero-pause-ic { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.hero-pause.is-arrete .hero-pause-ic { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.hero-fleche:focus-visible, .hero-pause:focus-visible, .hero-point:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.hero-visual-pro { display: grid; place-items: center; min-height: 260px; }
.hero-pro-carte { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-hover); padding: 26px 28px 22px; width: min(340px, 86%); text-align: center; }
.hero-pro-jusqua, .hero-pro-de { display: block; font-weight: 700; color: var(--navy); }
.hero-pro-taux { display: block; font-size: clamp(3.4rem, 2.6rem + 3vw, 5rem); line-height: 1; font-weight: 800; color: var(--red); margin: 6px 0; }
.hero-pro-paliers { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; text-align: left; font-weight: 600; font-size: .92rem; color: var(--ink); }
.hero-pro-paliers li { display: flex; align-items: center; gap: 10px; }
.hero-pro-paliers .ic { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--blue-soft); color: var(--navy); }
@media (max-width: 899px) { .hero-visual-pro { min-height: 0; padding: 8px 0 4px; } .hero-visual-pro .hero-blob { inset: 10% 8%; } }
@media (prefers-reduced-motion: reduce) { .hero-carrousel.is-on .hero-slide, .hero-point { transition: none; } }

/* ------------------------------------------------------------ fenêtre « offre pro » en bas à droite */
.pro-pop { position: fixed; right: 16px; bottom: 16px; z-index: 58; width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: 18px 18px 16px; transform: translateY(16px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.pro-pop.is-on { transform: none; opacity: 1; }
.pro-pop[hidden] { display: none; }
.pro-pop-x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.pro-pop-x:hover { background: var(--bg-alt); color: var(--navy); }
.pro-pop-tag { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.pro-pop-tag .ic { width: 15px; height: 15px; }
.pro-pop-titre { font-size: 1.12rem; line-height: 1.3; margin: 0 30px 6px 0; color: var(--navy); }
.pro-pop-titre span { color: var(--red); white-space: nowrap; }
.pro-pop-texte { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.pro-pop-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pro-pop-btns .btn { padding-top: .6em; padding-bottom: .6em; }
.pro-pop-lien { font-weight: 600; font-size: .9rem; color: var(--navy); }
.has-buybar .pro-pop { bottom: 96px; }
@media (max-width: 899px) { .js-filtres .pro-pop { bottom: 76px; } }
@media (max-width: 560px) { .pro-pop { right: 12px; left: 12px; width: auto; bottom: 12px; padding: 14px 14px 12px; } .pro-pop-texte { font-size: .84rem; } }
@media (prefers-reduced-motion: reduce) { .pro-pop { transition: none; } }
@media print { .pro-pop, .hero-nav { display: none !important; } }

/* ------------------------------------------------------------ accueil : section « Espace professionnel » (bande bleu nuit) */
.home-pro { background: radial-gradient(900px 420px at 95% 0%, #1E2A8A 0%, rgba(30, 42, 138, 0) 60%), var(--navy); color: #fff; }
.home-pro-in { display: grid; gap: 28px; align-items: center; }
.home-pro h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin: 0 0 .5em; }
.home-pro-lead { color: #C9D0EA; font-size: 1.02rem; max-width: 42em; margin: 0 0 20px; }
.home-pro-etapes { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.home-pro-etapes li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 14px 16px; color: #C9D0EA; font-size: .93rem; }
.home-pro-etapes span { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; }
.home-pro-etapes strong { display: block; color: #fff; margin-bottom: 2px; }
.home-pro-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.home-pro-lien { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; }
.home-pro-lien:hover { color: #FF8A8A; }
.home-pro-carte { background: #fff; color: var(--navy); border-radius: 22px; padding: 26px 26px 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); text-align: center; }
.home-pro-carte > span { display: block; font-weight: 700; }
.home-pro-carte strong { display: block; font-size: clamp(3.2rem, 2.4rem + 3vw, 4.6rem); line-height: 1; font-weight: 800; color: var(--red); margin: 6px 0; }
.home-pro-carte ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; text-align: left; font-weight: 600; font-size: .92rem; color: var(--ink); }
.home-pro-carte li { display: flex; align-items: center; gap: 8px; }
.home-pro-carte .ic { color: #16A34A; flex: none; }
.home-pro .btn:focus-visible, .home-pro-lien:focus-visible { outline: 3px solid #FF8A8A; outline-offset: 2px; }
@media (min-width: 640px) { .home-pro-etapes { grid-template-columns: repeat(3, 1fr); } .home-pro-etapes li { flex-direction: column; } }
@media (min-width: 960px) { .home-pro-in { grid-template-columns: 1fr 320px; gap: 48px; } }

/* ------------------------------------------------------------ pages thématiques (plan de contenus) */
.landing-intro { font-size: 1.05rem; color: var(--muted); max-width: 46em; margin: 0 0 8px; }
.landing-grille { display: grid; gap: 28px; }
.landing-texte { min-width: 0; }
.landing-carte { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 20px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 10px; }
.landing-carte p { margin: 0; color: var(--muted); font-size: .93rem; }
.landing-carte .landing-carte-titre { color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.landing-carte .btn { justify-content: center; }
.landing-carte-lien { font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.landing-produits, .landing-faq { margin-top: 40px; }
.landing-faq { max-width: 860px; display: grid; gap: 10px; }
.landing-cta { margin-top: 40px; }
.solutions-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.solutions-liste a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.solutions-liste a:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.solutions-liste strong { color: var(--navy); font-size: 1.05rem; }
.solutions-liste span { color: var(--muted); font-size: .93rem; }
.cat-guides { margin-top: 28px; }
.cat-guides ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cat-guides a { font-weight: 600; }
.seo-plus { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .solutions-liste { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .landing-grille { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; } .landing-aside { position: sticky; top: 110px; } }

/* ------------------------------------------------------------ assistant client (bulle en bas à gauche) */
.aide { position: fixed; left: 16px; bottom: 16px; z-index: 57; }
.aide.is-cache { display: none; }
.aide-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 15px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; box-shadow: 0 10px 26px rgba(13, 18, 99, .32); text-decoration: none; }
.aide-btn:hover { background: var(--blue); color: #fff; }
.aide-btn .ic { width: 22px; height: 22px; }
.aide.is-open .aide-btn { background: var(--blue); }
.aide-panneau { position: absolute; left: 0; bottom: 64px; width: min(370px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(13, 18, 99, .28); overflow: hidden; }
.aide-panneau[hidden] { display: none; }
.aide-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 16px 14px 18px; background: var(--navy); color: #fff; }
.aide-titre { color: #fff; font-size: 1.05rem; margin: 0 0 4px; }
.aide-horaires { margin: 0; font-size: .8rem; color: #C9D0EA; display: flex; align-items: center; gap: 6px; }
.aide-horaires .ic { width: 14px; height: 14px; flex: none; }
.aide-fermer { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.aide-fermer:hover { background: rgba(255, 255, 255, .24); }
.aide-corps { overflow-y: auto; padding: 14px 16px 12px; display: grid; gap: 14px; overscroll-behavior: contain; }
.aide-accueil { margin: 0; color: var(--muted); font-size: .9rem; }
.aide-contacts { display: grid; gap: 8px; }
.aide-wa { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #25D366; color: #fff; text-decoration: none; }
.aide-wa:hover { background: #1EBE5A; color: #fff; }
.aide-wa .ic { width: 28px; height: 28px; flex: none; }
.aide-wa span, .aide-lien span { display: grid; line-height: 1.25; }
.aide-wa small { font-weight: 600; opacity: .9; }
.aide-autres { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aide-lien { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-weight: 700; font-size: .88rem; text-decoration: none; min-width: 0; }
.aide-lien:hover { border-color: var(--navy); }
.aide-lien .ic { flex: none; width: 18px; height: 18px; }
.aide-lien small { font-weight: 500; color: var(--muted); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aide-label { display: block; font-weight: 700; color: var(--navy); font-size: .9rem; margin-bottom: 6px; }
.aide-q { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; }
.aide-q:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.aide-raccourcis { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.aide-raccourcis a, .aide-raccourcis button { padding: 6px 11px; border: 0; border-radius: 999px; background: var(--blue-soft); color: var(--navy); font: inherit; font-size: .8rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.aide-raccourcis a:hover, .aide-raccourcis button:hover { background: var(--navy); color: #fff; }
.aide-raccourcis button:focus-visible, .aide-question:focus-visible, .aide-msg-lien:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.aide-fil { display: flex; flex-direction: column; gap: 8px; }
.aide-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: .88rem; line-height: 1.45; }
.aide-msg p { margin: 0 0 6px; }
.aide-msg p:last-of-type { margin-bottom: 0; }
.aide-msg-fae { align-self: flex-start; background: #F1F4FA; color: var(--ink); border-bottom-left-radius: 4px; }
.aide-msg-fae a { color: var(--navy); font-weight: 600; }
.aide-msg-client { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; font-weight: 600; }
.aide-msg-lien { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff !important; font-weight: 700; font-size: .82rem; text-decoration: none; }
.aide-msg-lien:hover { background: var(--red-dark); }
.aide-ecrit { display: inline-flex; gap: 4px; padding: 13px 14px; }
.aide-ecrit span { width: 7px; height: 7px; border-radius: 50%; background: #9AA3BF; animation: aideEcrit 1s infinite ease-in-out; }
.aide-ecrit span:nth-child(2) { animation-delay: .15s; }
.aide-ecrit span:nth-child(3) { animation-delay: .3s; }
@keyframes aideEcrit { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.aide-question { text-align: left; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.aide-question:hover { border-color: var(--navy); color: var(--navy); }
.aide-suggestions .aide-raccourcis { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .aide-ecrit span { animation: none; opacity: .7; } }
.aide-liste { display: grid; gap: 6px; margin-top: 6px; }
.aide-section { margin: 8px 0 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.aide-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.aide-item summary { padding: 9px 12px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--ink); }
.aide-item[open] summary { color: var(--navy); }
.aide-reponse { padding: 0 12px 10px; font-size: .86rem; color: var(--muted); }
.aide-reponse p { margin: 0 0 6px; }
.aide-vide { margin: 4px 0; font-size: .86rem; color: var(--muted); }
.aide-pied { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.aide-btn:focus-visible, .aide-fermer:focus-visible, .aide-wa:focus-visible, .aide-lien:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.has-buybar .aide { bottom: 96px; }
@media (max-width: 560px) {
  .aide { left: 12px; bottom: 12px; }
  .aide-btn { width: 52px; padding: 0; justify-content: center; }
  .aide-btn-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .aide.is-open { z-index: 70; }
  .aide-panneau { position: fixed; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: calc(100dvh - 16px); }
  .has-pro-pop .aide:not(.is-open) { display: none; }
}
@media print { .aide { display: none !important; } }

/* ==========================================================================
   Ajout au panier : on reste sur la page (fenêtre « Continuer / Voir le panier »)
   ========================================================================== */
.flash-lien { margin-left: 6px; font-weight: 700; color: inherit; white-space: nowrap; }
.ajout { position: fixed; z-index: 80; right: 20px; top: 96px; width: min(380px, calc(100vw - 24px)); background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(13, 18, 99, .28); padding: 14px 16px 16px; opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
.ajout.is-open { opacity: 1; transform: none; }
.ajout-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ajout-head p { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 800; color: #17663E; }
.ajout-ok { width: 24px; height: 24px; border-radius: 50%; background: #1E9E5A; color: #fff; display: grid; place-items: center; font-size: .8rem; }
.ajout-x { border: 0; background: var(--bg-alt); width: 32px; height: 32px; border-radius: 50%; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
.ajout-produit { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ajout-img { width: 64px; height: 64px; border-radius: 10px; background: var(--bg-alt); overflow: hidden; }
.ajout-img img { width: 100%; height: 100%; object-fit: contain; }
.ajout-produit div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ajout-nom { font-size: .86rem; color: var(--navy); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ajout-opt, .ajout-qte { font-size: .76rem; color: var(--muted); }
.ajout-prix { font-size: .92rem; color: var(--navy); text-align: right; white-space: nowrap; display: flex; flex-direction: column; }
.ajout-prix small { font-size: .72rem; font-weight: 600; color: var(--muted); }
.ajout-total { margin: 10px 0 12px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.ajout-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ajout-btns .btn { justify-content: center; padding-left: .5em; padding-right: .5em; font-size: .84rem; white-space: nowrap; }
.ajout-err { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #FDECEC; color: var(--red-dark); font-size: .85rem; font-weight: 600; }
.is-loading { opacity: .7; cursor: progress; }
.cart-count.is-bump { animation: compteurBump .45s ease; }
@keyframes compteurBump { 30% { transform: scale(1.45); } 100% { transform: none; } }
@media (max-width: 899px) {
  .ajout { left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; transform: translateY(16px); }
  .has-buybar .ajout { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .ajout, .cart-count.is-bump { transition: none; animation: none; } }
.hsm-merci-q { margin-top: 18px; }
.aide-question-sujet { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--navy); }
.aide-question-sujet::after { content: " →"; color: var(--red); }
