/* padded.world — feuille de style unique, sans framework */
@font-face { font-family: Figtree; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Figtree; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Gabarito; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/gabarito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Gabarito; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/gabarito-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  color-scheme: light; /* le site reste clair : pas d'assombrissement automatique (Chrome Android, Samsung Internet...) */
  --bg: #f6f7fb; --surface: #ffffff; --fg: #1c2230; --muted: #586178; --line: #dfe3ee;
  --accent: #1b62d6; --accent-dark: #144da9; --accent-soft: #e8f0fe;
  --night: #1c2230; --night-line: #353e55; --on-night: #f3f5fb; --on-night-muted: #b4bdd3; --stitch: #6aa3ff;
  --font-display: Gabarito, system-ui, sans-serif;
  --ok: #12704a; --ko: #c0392b; --star: #f5a623;
  --radius: 12px; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--fg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: 1.25rem; margin: 0 0 12px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ---- boutons ---- */
.btn { display: inline-block; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
  color: var(--fg); text-decoration: none; font-weight: 600; font-size: .95rem; cursor: pointer; text-align: center; white-space: nowrap; }
.btn:hover { border-color: #c9d2de; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
/* Amazon : même bouton que les autres offres (pas de mise en avant) */
.btn-amazon { border-color: var(--accent); color: var(--accent); }
.btn-amazon:hover { background: var(--accent-soft); }
.btn-link { border: 0; background: none; color: var(--muted); }

/* ---- en-tête ---- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--fg); text-decoration: none; white-space: nowrap; }
.header-search { flex: 1; max-width: 520px; margin-left: auto; }
.header-search input { width: 100%; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font: inherit; }
.header-search input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); background: #fff; }
.header-nav { display: flex; gap: 16px; }
.header-nav a { color: var(--fg); text-decoration: none; font-weight: 500; }
.header-nav a:hover { color: var(--accent); }

/* ---- accueil ---- */
.hero { padding: 36px 0 24px; text-align: center; background: linear-gradient(180deg, #eaf1fd 0%, var(--bg) 100%); }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 8px; }
.hero-sub { margin: 0 0 6px; font-size: 1.05rem; }
.hero-about { max-width: 760px; margin: 14px auto 0; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.hero-stats { margin: 0; color: var(--muted); font-size: .9rem; }

.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 16px; padding-bottom: 40px; }
.filters-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 16px; position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow-y: auto; }
.filters-toggle { font-weight: 700; padding: 12px 0 4px; cursor: pointer; list-style: none; }
.filters-toggle::-webkit-details-marker { display: none; }
fieldset { border: 0; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 6px; }
fieldset label { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 3px 0; cursor: pointer; }
.count { margin-left: auto; color: var(--muted); font-size: .8rem; }
.brand-list { max-height: 260px; overflow-y: auto; padding-right: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; padding: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, a.chip { display: inline-block; min-width: 40px; text-align: center; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--fg); text-decoration: none; background: var(--surface); }
.chip input:checked + span, a.chip-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); }
.filters-actions { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.results-count { margin: 0; font-weight: 600; }
.sort-form select { margin-left: 6px; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); font: inherit; background: var(--surface); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--fg); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 6px 20px rgba(16,24,40,.10); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 1; background: #fff; padding: 12px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.noimg { display: grid; place-items: center; height: 100%; min-height: 160px; color: var(--muted); font-size: .9rem; background: var(--bg); border-radius: 8px; }
.badge { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.badge-muted { background: #eef1f5; color: var(--muted); }
.card-body { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-brand { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.card-title { font-size: 1rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 12px; font-size: .85rem; color: var(--muted); }
.rating-inline { color: var(--fg); }
.rating-inline::first-letter { color: var(--star); }
.card-sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.card-sizes span { font-size: .72rem; font-weight: 600; padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.card-sizes .size-out { background: var(--line); }
.card-sizes .size-out s { opacity: .55; }
.card-sizes .size-out b { margin-left: 3px; color: var(--accent); }
.card-sizes .size-out .sr-only { padding: 0; border: 0; }
.card-shops { font-size: .8rem; color: var(--muted); }
.empty { text-align: center; padding: 48px 16px; background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }

/* ---- page produit ---- */
.product-page { padding-top: 16px; padding-bottom: 48px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.gallery-main { aspect-ratio: 1; display: grid; place-items: center; background: #fff; }
.gallery-main img { max-height: 520px; width: auto; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs a { flex: 0 0 72px; border: 2px solid transparent; border-radius: 8px; padding: 2px; }
.gallery-thumbs a.active { border-color: var(--accent); }
.product-brand a { color: var(--muted); text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; text-decoration: none; font-weight: 600; }
.product-info h1 { margin: 4px 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.rating { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.1rem; }
.stars .star-half { opacity: .5; }
.stars .star-empty { color: #d5dbe3; }
.key-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.key-facts span { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.size-picker { margin: 16px 0; }
.size-picker .label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.best-box { background: var(--accent-soft); border: 1px solid #c8dafc; border-radius: var(--radius); padding: 18px; }
.best-label { font-size: .85rem; font-weight: 600; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .03em; }
.best-price { font-size: 1.05rem; margin: 4px 0; }
.best-price strong { font-size: 2rem; color: var(--fg); }
.best-detail { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.best-box .btn-primary { padding: 12px 28px; font-size: 1rem; }
.best-sample { margin-top: 14px; padding-top: 12px; border-top: 1px solid #c8dafc; font-size: .9rem; }

.offers, .details, .similar { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.variant-title { font-size: 1rem; margin: 16px 0 8px; }
.offer-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, .9fr) 250px; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.offer:first-child { border-top: 0; }
.offer-out { opacity: .6; }
.offer-shop { display: flex; align-items: center; gap: 10px; }
.offer-shop img { border-radius: 8px; border: 1px solid var(--line); }
.shop-name { font-weight: 600; }
.offer-price { font-weight: 700; font-size: 1.05rem; }
.offer-price.muted { font-weight: 400; font-size: .9rem; }
.offer-unit { font-weight: 600; color: var(--fg); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot-ok { background: var(--ok); } .dot-ko { background: var(--ko); }
.offer-stock { font-size: .85rem; }

.details { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.specs, .side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.specs table { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.specs tr:first-child th, .specs tr:first-child td { border-top: 0; }
.specs th { width: 42%; color: var(--muted); font-weight: 500; padding-right: 12px; }
.source { display: inline-block; margin-left: 6px; font-size: .7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; }
.description summary { list-style: none; cursor: pointer; }
.description summary::-webkit-details-marker { display: none; }
.description[open] summary { display: none; }
.description .more { color: var(--accent); font-weight: 600; font-size: .9rem; }
.side h2 + * { margin-bottom: 20px; }
.reviews { list-style: none; padding: 0; margin: 0; }
.reviews li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.reviews img { border-radius: 8px; }

/* ---- ajouts v2 : Amazon, galerie, specs par source ---- */
.gallery-main { position: relative; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.55); color: var(--fg); font-size: 1.8rem; line-height: 1; cursor: pointer;
  opacity: .45; transition: opacity .15s, background .15s; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.gallery-main:hover .gallery-nav, .gallery-nav:focus-visible { opacity: 1; background: rgba(255,255,255,.9); }
.gallery-prev { left: 8px; } .gallery-next { right: 8px; }
.product-head { display: flex; align-items: center; gap: 14px; }
.brand-logo img { width: auto; max-width: 160px; height: 64px; padding: 4px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.product-head h1 { margin: 2px 0 6px; }
.notice-warn { background: #fff7e6; border: 1px solid #f5d38a; color: #7a5200; border-radius: 8px; padding: 10px 14px; font-size: .9rem; margin: 12px 0; }
.table-scroll { overflow-x: auto; }
.specs-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 700; padding-bottom: 8px; border-top: 0; }
.specs-table td { padding-right: 10px; }
.specs-table tbody th { width: auto; min-width: 120px; }
.src-diapstash { color: #6b3fa0 !important; } .src-abdldb { color: #b7791f !important; }

/* ---- v3 : Amazon dans la liste, tableau compact ---- */
.specs { padding: 16px 18px; }
.specs-table { font-size: .84rem; }
.specs-table th, .specs-table td { padding: 4px 8px 4px 0; border-top: 0; line-height: 1.35; }
.specs-table tbody tr:nth-child(odd) { background: var(--bg); }
.specs-table tbody th { padding-left: 8px; color: var(--muted); font-weight: 500; white-space: nowrap; min-width: 0; }
.specs-table thead th { font-size: .72rem; padding: 0 8px 6px 0; white-space: nowrap; }
.specs-table td:empty, .specs-table td.na { color: #c3cad5; }
.src-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: middle; background: var(--accent); }
.src-diapstash .src-dot { background: #46289a; } .src-abdldb .src-dot { background: #fdc402; }

.src-logo { display: inline-block; width: 18px; height: 18px; border-radius: 4px; margin-right: 6px; vertical-align: -4px; }

/* ---- v4 : tableau sans débordement ---- */
.specs-table { width: 100%; }
.specs-table thead th { white-space: normal; vertical-align: bottom; }
.specs-table tbody th { white-space: normal; }
.specs-table td { word-break: break-word; }
.src-logo { display: inline-block; vertical-align: middle; margin-right: 5px; border-radius: 4px; }

/* ---- v5 : origine des offres ---- */
.ships-from { margin-left: 4px; white-space: nowrap; cursor: help; }
.flag { display: inline-block; width: 18px; height: 12px; margin-right: 3px; vertical-align: -1px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.amazon-alts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; }
.amazon-alts a { display: inline-flex; padding: 3px 4px; border: 1px solid rgba(0,0,0,.15); border-radius: 4px; line-height: 0; }
.amazon-alts a:hover { border-color: currentColor; }
.amazon-alts .flag { margin-right: 0; }
.amazon-extra { grid-column: 1 / -1; margin-top: -4px; }
.amazon-extra summary { display: inline-block; padding: 4px 0; font-size: max(13px, .8125rem); color: var(--muted); cursor: pointer; }
.amazon-extra summary::before { content: "▸ "; }
.amazon-extra[open] summary::before { content: "▾ "; }
.amazon-extra summary::-webkit-details-marker { display: none; }
.amazon-extra-body { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding-top: 4px; }
.amazon-extra .amazon-alts { margin-top: 0; }
.amazon-formats a { line-height: 1.2; padding: 2px 7px; font-size: .78rem; color: var(--fg); text-decoration: none; white-space: nowrap; }
.flag-code { font-size: .7rem; font-weight: 700; color: var(--muted); margin-right: 3px; }

/* ---- v6 : caractéristiques en liste avec icônes de provenance ---- */
.spec-list { margin: 0; }
.spec-row { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.spec-row:first-child { border-top: 0; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.spec-val { display: inline-flex; align-items: center; gap: 6px; }
.src-icons { display: inline-flex; gap: 2px; flex: 0 0 auto; }
.src-icon { width: 16px; height: 16px; border-radius: 4px; display: block; }
.spec-conflict dd .spec-val + .spec-val { color: var(--muted); }
.spec-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0 0; }
.spec-legend span { display: inline-flex; align-items: center; gap: 5px; }

/* ---- v7 : onglets de taille, pack le moins cher, mobile ---- */
[hidden] { display: none !important; }
.size-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.size-tab:not(.chip) { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--fg); text-decoration: none; font-weight: 600; font-size: .9rem; }
.size-tab:not(.chip) .count { margin-left: 4px; font-size: .75rem; color: var(--muted); font-weight: 500; }
.size-tab:not(.chip).active { background: var(--accent); border-color: var(--accent); color: #fff; }
.size-tab:not(.chip).active .count { color: #dbe7ff; }
.offers .section-head { margin-bottom: 12px; }
@media (max-width: 900px) {
  .product-top { padding: 16px; gap: 16px; }
  .gallery-main { aspect-ratio: auto; height: min(62vw, 340px); }
  .product-top, .details { grid-template-columns: minmax(0, 1fr); }
  .gallery, .product-info { min-width: 0; }
  .gallery-main img { max-height: 100%; max-width: 100%; width: auto; height: 100%; object-fit: contain; }
  .gallery-thumbs a { flex-basis: 56px; }
  .brand-logo img { width: auto; max-width: 120px; height: 48px; }
  .best-price strong { font-size: 1.6rem; }
}

.spec-legend a { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); text-decoration: none; font-weight: 600; }
.spec-legend a:hover { text-decoration: underline; }
.src-icons a { display: block; }

/* ---- v8 : accueil large, filtres flottants, chargement en direct ---- */
.hero .container, .container.catalog, .header-inner { max-width: 1680px; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
.container.product-page { max-width: 1520px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.results { transition: opacity .15s; }
.results.loading { opacity: .5; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 4px; }
.filters-title { font-weight: 700; }
.filters-close, .fab-filters, .filters-backdrop { display: none; }
@media (max-width: 900px) {
  .filters-box { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); z-index: 30; border-radius: 0; max-height: none;
    overflow-y: auto; transform: translateX(100%); transition: transform .2s ease; padding-bottom: 80px; }
  .filters-open .filters-box { transform: none; box-shadow: -8px 0 24px rgba(0,0,0,.15); }
  .filters-close { display: block; border: 0; background: none; font-size: 1.2rem; cursor: pointer; padding: 4px 8px; }
  .filters-backdrop { position: fixed; inset: 0; background: rgba(15,20,30,.35); z-index: 25; }
  .filters-open .filters-backdrop { display: block; }
  .fab-filters { display: inline-flex; align-items: center; gap: 6px; position: fixed; right: 16px; bottom: 16px; z-index: 20;
    padding: 12px 18px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 700;
    box-shadow: 0 6px 18px rgba(31,111,235,.35); cursor: pointer; }
  .fab-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffd34d; }
  .filters { display: contents; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.header-nav { align-items: center; }
.header-select, .currency-form select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font: inherit; font-size: .9rem; cursor: pointer; }

/* ---- v9 : pages texte, contact, bandeau cookies, signalement ---- */
.text-page { max-width: 820px; padding-top: 32px; padding-bottom: 48px; }
.text-page h2 { margin-top: 28px; }
.text-page p, .text-page li { line-height: 1.65; }
.contact-form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.contact-form button { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.offer-recap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.notice-ok { background: #e9f8ef; border: 1px solid #a8dfbd; color: #135c34; border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
.footer-links a { color: var(--muted); }
.offer-cta { display: flex; align-items: center; gap: 6px; }
.offer-report { color: #b4bcc8; text-decoration: none; font-size: 1rem; padding: 4px; }
.offer-report:hover { color: var(--ko); }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 720px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.15); padding: 14px 16px;
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: .9rem; }
.cookie-banner p { margin: 0; flex: 1 1 320px; }

.brand-hero { display: flex; align-items: center; justify-content: center; gap: 14px; }
.brand-hero img { width: auto; max-width: 180px; height: 56px; padding: 4px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.brand-hero h1 { margin: 0; }

/* ---- v10 : onglets façon intercalaires, colonne « essentiel », marges ---- */
.container.product-page { padding-left: clamp(16px, 5vw, 80px); padding-right: clamp(16px, 5vw, 80px); }
.product-top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.offers h2 { margin-bottom: 10px; }
.size-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 0; position: relative; z-index: 1; }
.size-tabs + .size-panel .offer-list, .size-tabs ~ .size-panel > .offer-list:first-child { border-top-left-radius: 0; }
.price-checked { margin: -4px 0 10px; }
.offers-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.offers-bar:has(.size-tabs) + .size-panel > .offer-list:first-child { border-top-left-radius: 0; }
.region-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.region-label { font-size: .85rem; margin-right: 2px; }
.region-tab { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--fg); text-decoration: none; font-size: .88rem; }
.region-tab:hover { border-color: var(--accent); }
.region-tab .count { color: var(--muted); font-size: .8em; }
.region-tab.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); font-weight: 600; }
.region-tab .flag { margin-right: 0; }
.show-more-offers { display: block; width: 100%; margin-top: 10px; }
.offers-title { font-size: 1.25rem; font-weight: 700; line-height: 1.2; margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.offers .offers-title h2 { margin: 0; font-size: inherit; }
.offers-from { font-weight: 400; color: var(--muted); }
.region-picker.region-inline { margin: 0; font-size: inherit; display: inline-block; }
.region-picker.region-inline summary { font-weight: 700; color: var(--accent); padding: 2px 8px; border-color: var(--accent); background: var(--accent-soft); }
.region-picker.region-inline summary .count { font-weight: 500; font-size: .7em; color: var(--muted); }
.region-picker.region-inline ul { left: 0; right: auto; font-size: .95rem; font-weight: 400; }
.region-picker { position: relative; margin: 0 0 8px auto; font-size: .9rem; }
.region-picker summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 5px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.region-picker summary::-webkit-details-marker { display: none; }
.region-picker summary::after { content: "▾"; color: var(--muted); margin-left: 2px; }
.region-picker ul { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 220px; margin: 0; padding: 4px;
  list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.region-opt { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; color: var(--fg); text-decoration: none; }
.region-opt:hover { background: var(--bg); }
.region-opt.active { font-weight: 600; }
.region-opt .count, .region-picker summary .count { margin-left: auto; color: var(--muted); font-size: .85em; }
.region-picker summary .count { margin-left: 2px; }
.region-flags { display: inline-flex; gap: 3px; align-items: center; min-width: 39px; }
.region-flags .flag { border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.region-flags .globe { color: var(--muted); }
.size-tab:not(.chip) { border-radius: 8px 8px 0 0; border: 1px solid var(--line); border-bottom: 0; background: #eef1f5;
  color: var(--muted); padding: 8px 16px; margin-bottom: -1px; }
.size-tab:not(.chip):hover { background: #e4e9f0; color: var(--fg); }
.size-tab:not(.chip).active { background: var(--surface); color: var(--fg); border-color: var(--line); box-shadow: inset 0 3px 0 var(--accent); }
.size-tab:not(.chip).active .count { color: var(--muted); }
.glance { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.glance-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px 16px; margin: 0 0 12px; }
.glance-specs div { background: var(--bg); border-radius: 8px; padding: 8px 10px; }
.glance-specs dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.glance-specs dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.glance-desc { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .product-top { grid-template-columns: minmax(0, 1fr); } }

/* ---- pied de page ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 24px 0; font-size: .85rem; color: var(--muted); }

/* ---- mobile ---- */
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .product-top, .details { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .offer-shop { grid-column: 1 / -1; }
  .offer-cta { grid-column: 1 / -1; }
  .offer-cta .btn { width: 100%; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 4px 10px 10px; }
}

/* Accueil : « Comment ça marche » */
.how { border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0 28px; margin-top: 24px; }
.how .container { max-width: 1100px; }
.how h2 { font-size: 1.35rem; margin: 0 0 16px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.how h3 { font-size: 1rem; margin: 0 0 6px; }
.how p { margin: 0; color: var(--muted); line-height: 1.55; }
.how .how-note { margin-top: 18px; font-size: .9rem; }


/* Filtres actifs au-dessus des résultats */
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.active-chip { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .88rem; text-decoration: none; border: 1px solid transparent; }
.active-chip:hover { border-color: var(--accent); }
.active-chip span { font-size: .75rem; }
.active-clear { font-size: .88rem; color: var(--muted); margin-left: 4px; }
.unfiltered-hint { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: #fff8e6; border: 1px solid #f5d98b; font-size: .92rem; }

/* Lot 2 : absorption minimale et « Plus de filtres » */
.abs-range { display: flex; align-items: center; gap: 10px; }
.abs-range input[type=range] { flex: 1; accent-color: var(--accent); }
.abs-range output { min-width: 92px; text-align: right; font-size: .88rem; font-weight: 600; }
.filter-note { margin: 4px 0 0; font-size: .75rem; color: var(--muted); line-height: 1.35; }
.more-filters { border-top: 1px solid var(--line); padding: 10px 0 0; }
.more-filters summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 4px 0; }
.more-filters fieldset:first-of-type { border-top: 0; }

/* Lot 3 : liste des boutiques */
.shops-page { padding-top: 20px; padding-bottom: 32px; }
.shops-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.shop-card { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--fg); box-shadow: var(--shadow); }
.shop-card:hover { border-color: var(--accent); }
.shop-logo { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--accent-soft); overflow: hidden; }
.shop-logo img { width: 48px; height: 48px; object-fit: contain; background: #fff; }
.shop-logo span { font-weight: 700; color: var(--accent); font-size: 1.2rem; }
.shop-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shop-info .flag { vertical-align: -1px; }
.shop-link { color: inherit; text-decoration: none; } .shop-link:hover { text-decoration: underline; color: var(--accent); }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 14px 0 24px; }
.promo-card { border: 1px solid rgba(127,127,127,.3); border-radius: 12px; padding: 14px 16px; }
.text-page .promo-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.text-page .promo-card p { margin: 6px 0 0; line-height: 1.5; }
.promo-card .flag { vertical-align: -2px; }
.text-page .lead { font-size: 1.1rem; color: var(--muted); }

/* Cartes produits : structure identique d'une carte à l'autre (prix alignés en bas) */
.card-img { overflow: hidden; min-height: 0; }
.card-img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.card-brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-title { min-height: 2.5em; line-height: 1.25; }
.card-foot { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.card-shops { min-height: 1.3em; line-height: 1.3; }


/* Fiche produit : boutons vers DiapStash / ABDL Database */
.community { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.community-title { margin-top: 0; }
.dm-score { color: var(--fg); font-weight: 700; }
.community .ext-links { margin-top: 16px; }
.community-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.community-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; margin: 0; align-items: center; }
.community-list dt { font-weight: 600; }
.community-list dd { margin: 0; }
.scale { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.scale-bar { position: relative; display: inline-block; width: 110px; height: 6px; border-radius: 4px; background: var(--line); }
.scale-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); }
.dm-review p { margin: 10px 0 0; }
.scale-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); }
.ext-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ext-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--fg); text-decoration: none; font-weight: 600; box-shadow: var(--shadow); }
.ext-btn:hover { border-color: var(--accent); color: var(--accent); }
.ext-btn img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; }
.ext-arrow { color: var(--muted); font-weight: 400; }


/* Mobile : le bloc Caractéristiques / Description ne doit jamais dépasser à droite
   (la règle .details 1fr plus haut annulait minmax(0, 1fr) ; mots ou liens longs) */
@media (max-width: 900px) {
  .details { grid-template-columns: minmax(0, 1fr); }
  .specs, .side { min-width: 0; }
  .spec-row { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
  .spec-row dt, .spec-row dd, .spec-val, .description, .glance-specs dd { overflow-wrap: anywhere; min-width: 0; }
  .ext-btn { max-width: 100%; }
  .ext-btn span:first-of-type { min-width: 0; }
}

/* Notes DiapStash / Diaper Metrics : la barre rétrécit, la note (« 9 / 10 », « 2,0 / 5 ») reste sur une ligne */
.community-list dd:has(.scale) { display: flex; align-items: center; gap: 8px; min-width: 0; }
.community-list dd .small, .scale-end, .dm-score { white-space: nowrap; }
.community-list dd .scale { flex: 1 1 auto; min-width: 0; max-width: max-content; }
.community-list dd .scale-bar { flex: 1 1 110px; width: auto; min-width: 36px; max-width: 110px; }
@media (max-width: 900px) {
  .community-list { grid-template-columns: fit-content(42%) minmax(0, 1fr); gap: 10px 12px; }
}

/* Panneau des filtres : pas de défilement horizontal (un fieldset ne rétrécit pas par défaut,
   le curseur d'absorption a une largeur minimale imposée par le navigateur) */
.filters-box { overflow-x: hidden; }
.filters-box fieldset { min-width: 0; max-width: 100%; }
.abs-range input[type=range] { min-width: 0; width: 100%; }
.abs-range output { min-width: 0; flex: 0 0 auto; white-space: nowrap; }
.chip { position: relative; } /* la case cachée reste dans la puce */
.filters-box label { min-width: 0; overflow-wrap: anywhere; }

/* Barres de défilement des filtres : fines et discrètes, à côté des chiffres (Firefox les posait dessus) */
.brand-list, .filters-box { scrollbar-width: thin; scrollbar-color: #c3cad5 transparent; scrollbar-gutter: stable; }
.brand-list { padding-right: 10px; }
.brand-list::-webkit-scrollbar, .filters-box::-webkit-scrollbar { width: 6px; }
.brand-list::-webkit-scrollbar-thumb, .filters-box::-webkit-scrollbar-thumb { background: #c3cad5; border-radius: 4px; }
.brand-list::-webkit-scrollbar-track, .filters-box::-webkit-scrollbar-track { background: transparent; }

/* Absorption min-max : libellé puis deux curseurs (Min, Max), utilisable au doigt sur mobile */
.abs-range { display: block; }
.abs-range .abs-value { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
.abs-row { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.abs-row span { flex: 0 0 34px; font-size: .78rem; color: var(--muted); }
.abs-row input[type=range] { flex: 1; min-width: 0; width: 100%; accent-color: var(--accent); }
@media (max-width: 900px) { .abs-row input[type=range] { height: 28px; } }

/* Absorption : une seule jauge à deux poignées (deux curseurs superposés, seules les poignées
   captent la souris ou le doigt ; la partie choisie est colorée entre --l et --h, fractions 0-1) */
.dual-range { --thumb: 20px; position: relative; height: 30px; }
.dual-track { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 4px;
  background: linear-gradient(to right,
    var(--line) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--l)),
    var(--accent) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--l)),
    var(--accent) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--h)),
    var(--line) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--h))); }
.dual-range input[type=range] { position: absolute; inset: 0; width: 100%; height: 30px; margin: 0; padding: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 2; }
.dual-range input[type=range]::-webkit-slider-runnable-track { height: 6px; background: transparent; border: 0; }
.dual-range input[type=range]::-moz-range-track { height: 6px; background: transparent; border: 0; }
.dual-range input[type=range]::-moz-range-progress { background: transparent; }
.dual-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto;
  box-sizing: border-box; width: var(--thumb); height: var(--thumb); margin-top: calc(3px - var(--thumb) / 2);
  border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: grab; }
.dual-range input[type=range]::-moz-range-thumb { pointer-events: auto; box-sizing: border-box; width: var(--thumb); height: var(--thumb);
  border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: grab; }
.dual-range input[type=range]:focus { outline: none; }
.dual-range input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(31,111,235,.3); }
.dual-range input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(31,111,235,.3); }
.dual-scale { display: flex; justify-content: space-between; font-size: .72rem; margin-top: -2px; }
@media (max-width: 900px) { .dual-range { --thumb: 26px; height: 36px; } .dual-range input[type=range] { height: 36px; } }
/* Compteurs des filtres (« 141 ») : jamais coupés sur deux lignes */
.filters-box label .count { white-space: nowrap; overflow-wrap: normal; flex-shrink: 0; }

/* Favoris et historique */
.card-wrap { position: relative; display: flex; min-width: 0; }
.card-wrap > .card { flex: 1; min-width: 0; }
.fav-btn { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; padding: 0; display: grid; place-items: center;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 50%; color: var(--muted); cursor: pointer; }
.fav-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.fav-btn:hover { color: #d92d4b; border-color: #d92d4b; }
.fav-btn[aria-pressed="true"] { color: #d92d4b; border-color: #d92d4b; }
.fav-btn[aria-pressed="true"] svg { fill: #d92d4b; }
.fav-btn-inline { position: static; flex: none; margin-left: auto; }
.product-head .fav-btn-inline { align-self: flex-start; }
.nav-fav { position: relative; display: inline-flex; align-items: center; gap: 3px; }
.nav-fav svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
#fav-count { font-size: .72rem; font-weight: 700; background: #d92d4b; color: #fff; border-radius: 8px; padding: 0 5px; line-height: 16px; }
.favorites-page { padding-top: 28px; padding-bottom: 48px; }
.favorites-page .grid { margin-top: 16px; }
.fav-sub { margin-top: 36px; display: flex; align-items: baseline; gap: 12px; }

.ship-chip { font-size: .78rem; color: var(--muted); margin-top: 2px; }

.price-history { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: -2px 0 10px; }
.price-history .ph-low { color: #0a7d3c; }
.price-history .spark { color: var(--accent); flex: none; }
.deal-wrap { position: relative; display: flex; min-width: 0; }
.deal-wrap > .card-wrap { flex: 1; min-width: 0; }
.deal-badge { position: absolute; top: 8px; left: 8px; z-index: 2; background: #0a7d3c; color: #fff; font-weight: 700; font-size: .8rem; padding: 2px 8px; border-radius: 8px; }

/* Onglets de format des offres : mêmes intercalaires que les tailles, calés à droite */
.fmt-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; margin-left: auto; position: relative; z-index: 1; }
.fmt-tabs[hidden] { display: none; }
.fmt-tab { padding: 8px 16px; margin-bottom: -1px; border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0;
  background: #eef1f5; color: var(--muted); text-decoration: none; }
a.fmt-tab:hover { background: #e4e9f0; color: var(--fg); }
.fmt-tab.active, a.fmt-tab.active:hover { background: var(--surface); color: var(--fg); box-shadow: inset 0 3px 0 var(--accent); }
.fmt-tab.disabled { opacity: .45; cursor: default; }
.fmt-tab .count { margin-left: 4px; font-size: .75rem; color: var(--muted); font-weight: 500; }
.offers-bar:has(.fmt-tabs) + .size-panel > .offer-list { border-top-right-radius: 0; }
@media (max-width: 900px) {
  .fmt-tabs { order: -1; width: 100%; margin-bottom: 8px; }
  .fmt-tab { padding: 6px 12px; margin-bottom: 0; border-bottom: 1px solid var(--line); border-radius: 999px; }
}

/* ---- v11 : mobile (en-tête compact, fiche, barre d'achat) et versions d'une offre ---- */
.menu-btn, .buy-bar { display: none; }
.nav-fav { color: var(--fg); text-decoration: none; }
.nav-fav:hover { color: var(--accent); }
.offer-versions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: -4px; }
.offer-versions a { padding: 2px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: .8rem; color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.offer-versions a:hover { border-color: var(--accent); }
.glance-conflict { display: block; font-size: .78rem; font-weight: 500; }
.product-page .details { scroll-margin-top: 80px; }

@media (max-width: 640px) {
  .header-inner { gap: 8px; height: 56px; }
  .brand span { display: none; }
  .header-search { min-width: 0; max-width: none; }
  .nav-fav { min-width: 40px; height: 40px; justify-content: center; }
  .menu-btn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--fg); cursor: pointer; }
  .header-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 16px 12px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(16,24,40,.12); }
  .menu-open .header-nav { display: flex; }
  .header-nav a { order: -1; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-select { margin-top: 10px; padding: 10px; font-size: 1rem; }
}

@media (max-width: 900px) {
  .product-top { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .product-info { display: contents; }
  .product-info > * { order: 5; margin-top: 0; margin-bottom: 0; min-width: 0; }
  .product-info > .product-head { order: 1; }
  .product-info > .rating { order: 2; flex-wrap: wrap; }
  .product-top > .gallery { order: 3; }
  .product-info > .size-picker { order: 4; }
  .product-info > .absorb-facts { order: 6; }
  .product-info > .key-facts { order: 6; }
  .product-info > .glance { order: 7; }
  .gallery-main { height: min(52vw, 280px); grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
  .gallery-main img { width: 100%; height: 100%; min-height: 0; }
  .gallery-thumbs { margin-top: 8px; }
  .gallery-thumbs a { flex: 0 0 56px; }

  .buy-bar.on { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(16,24,40,.12);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .buy-bar > .size-panel { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 720px; margin: 0 auto; }
  .buy-bar > .size-panel > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
  .buy-bar strong { font-size: 1.25rem; }
  .buy-bar span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar .btn { flex: none; padding: 12px 18px; }
  .buy-bar:not(:has(> .size-panel:not([hidden]))) { display: none; }
  .has-buy-bar .site-footer { padding-bottom: 100px; }
}

/* Filtre « Motif et couleur » : puces avec pastille */
.chip-design span { display: inline-flex; align-items: center; gap: 6px; }
.chip-design small { font-weight: 500; color: var(--muted); }
.chip-design input:checked + span small { color: #dbe7ff; }
.swatch { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.swatch-prints { background: conic-gradient(#f28ab2 0 25%, #6aa3ff 0 50%, #ffd34d 0 75%, #5cc08b 0); }
.swatch-white { background: #fff; } .swatch-black { background: #1b1b1f; } .swatch-blue { background: #3b82f6; }
.swatch-pink { background: #f28ab2; } .swatch-green { background: #3fa96a; } .swatch-purple { background: #8b5cf6; } .swatch-yellow { background: #facc15; }

/* ---- Cartes : prix à l'unité en premier, en encre foncée (le bleu est réservé aux actions) ---- */
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; min-height: 2.1rem; }
.price-main { font-size: 1.45rem; font-weight: 800; color: var(--fg); white-space: nowrap; }
.price-per { font-size: .85rem; font-weight: 600; color: var(--fg); }
.price-none { color: var(--muted); font-weight: 600; }
.card-detail { display: flex; flex-direction: column; min-height: 2.5em; font-size: .82rem; line-height: 1.25; color: var(--muted); }
.card-pack { color: var(--fg); }
@media (max-width: 640px) { .price-main { font-size: 1.25rem; } .price-per { font-size: .8rem; } .card-detail { min-height: 3.75em; } }

/* ---- Les deux meilleurs prix (à payer, à l'unité) et leurs repères dans le tableau ---- */
.best-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.best-item { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.best-item + .best-item { border-left: 1px solid #c8dafc; padding-left: 16px; }
.best-item .best-detail { flex: 1; }
.best-box .best-item .btn { padding: 11px 24px; font-size: 1rem; }
.best-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.best-badges span { font-size: .72rem; font-weight: 700; padding: 0 7px; border: 1px dashed #6aa3ff; border-radius: 8px; background: var(--accent-soft); color: var(--fg); }
@media (max-width: 640px) { .best-item + .best-item { border-left: 0; padding-left: 0; border-top: 1px solid #c8dafc; padding-top: 14px; } .best-item .btn { width: 100%; } }

/* ---- Tableau d'offres : en-têtes, tri, bouton nommant la boutique ---- */
.offer-cta .btn { flex: 1; min-width: 0; white-space: normal; line-height: 1.3; overflow-wrap: anywhere; }
.offer-report { color: #7d879a; }
.offers-size { margin: 0 0 8px; display: flex; align-items: baseline; gap: 12px; }
.offers-size a { font-size: .85rem; }
.size-picker { scroll-margin-top: 80px; }
.offer-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, .9fr) 250px; gap: 12px; align-items: center; padding: 8px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; font-size: .82rem; font-weight: 600; color: var(--muted); }
.offer-head .head-sort { display: none; }
.offer-head button { justify-self: start; padding: 2px 0; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; color: var(--accent); cursor: pointer; }
.offer-head button::first-letter { text-transform: uppercase; }
.offer-head button[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--accent); }
.offer-head button[aria-pressed="true"]::after { content: " ↑"; }
.offers-bar + .size-panel .offer-head { border-top-left-radius: 0; border-top-right-radius: 0; }
.offer-head + .offer-list { border-top-left-radius: 0; border-top-right-radius: 0; }
@media (max-width: 900px) {
  .offer-head { display: flex; gap: 16px; margin-bottom: 8px; border-radius: var(--radius); }
  .offers-bar + .size-panel .offer-head { border-radius: var(--radius); }
  .offer-head + .offer-list { border-radius: var(--radius); }
  .offer-head .head-shop, .offer-head .head-pack, .offer-head .head-stock { display: none; }
  .offer-head .head-sort { display: inline; }
  .offer-head button { padding: 8px 0; }
}

/* ---- Absorption près du prix : annoncée, mesurée, prix au litre ---- */
.absorb-facts { margin-top: 14px; }
.absorb-facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.absorb-facts dl > div { background: var(--bg); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.absorb-facts dt { font-size: .8rem; color: var(--muted); }
.absorb-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.1rem; }
.absorb-facts dd small { font-weight: 500; font-size: .75rem; color: var(--muted); }
.absorb-facts dd.absorb-link { font-weight: 500; font-size: .8rem; }
.absorb-facts p { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }

/* ---- Filtres : sections repliables, taille et marque en tête ---- */
.fgroup { border-top: 1px solid var(--line); min-width: 0; }
.fgroup > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; font-weight: 600; font-size: .92rem; cursor: pointer; list-style: none; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-right: 3px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fgroup[open] > summary::after { transform: rotate(-135deg); }
.fgroup > fieldset { border-top: 0; padding: 0 0 12px; }
.brand-search { width: 100%; margin-bottom: 6px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: .9rem; }
.brand-list { max-height: 190px; }
@media (max-width: 900px) { .brand-search { font-size: 1rem; } .brand-list { max-height: 220px; } }

/* ---- Accueil : portes d'entrée (filtres prêts à l'emploi) ---- */
.container.entries { max-width: 1680px; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
.entries ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.entries li { min-width: 0; }
.entries a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--fg); text-decoration: none; }
.entries a:hover { border-color: var(--accent); }
.entries img { flex: none; width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; }
.entries span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.entries small { color: var(--muted); font-size: .82rem; }
.hero:has(+ .entries) { padding: 26px 0 18px; }
@media (max-width: 900px) {
  .container.entries { padding-right: 0; }
  .entries ul { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-right: 16px; }
  .entries li { flex: 0 0 132px; scroll-snap-align: start; }
  .entries a { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px; }
  .entries img { width: 100%; height: 72px; }
  .entries strong { font-size: .88rem; }
}

/* ---- Fiche : autres versions du modèle et produits proches (rangée à faire défiler sur mobile) ---- */
.brand-more { margin: 20px 0 0; font-weight: 600; }
@media (max-width: 640px) {
  .grid.card-row { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; }
  .card-row > .card-wrap { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---- Recherche : suggestions pendant la frappe ---- */
.header-search { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: min(70vh, 480px); overflow-y: auto; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 32px rgba(16,24,40,.16); }
.suggest-title { margin: 0; padding: 6px 8px 2px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; color: var(--fg); text-decoration: none; line-height: 1.3; }
.suggest a:hover, .suggest a.on { background: var(--accent-soft); }
.suggest img { flex: none; width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; }
.suggest span { display: flex; flex-direction: column; min-width: 0; }
.suggest strong { font-size: .92rem; font-weight: 600; }
.suggest small { color: var(--muted); font-size: .8rem; }
.suggest a.suggest-all { justify-content: center; color: var(--accent); font-weight: 600; font-size: .9rem; }
@media (max-width: 640px) { .suggest { position: fixed; left: 8px; right: 8px; top: 62px; } }

/* ==== Identité « couture » : bandeau nuit, bleu réservé aux actions, surpiqûre sur le meilleur prix,
   jauge d'absorption, Gabarito pour les titres et les prix ==== */
h1, h2, h3, .brand, .offers-title, .filters-title, .price-main, .best-price strong, .offer-price, .buy-bar strong, .absorb-facts dd:not(.absorb-link) { font-family: var(--font-display); }
.price-main, .best-price strong, .offer-price, .offer-unit, .buy-bar strong { font-variant-numeric: tabular-nums; }
h1 { letter-spacing: -.005em; }

/* en-tête */
.site-header { background: var(--night); border-bottom-color: var(--night-line); color: var(--on-night); }
.brand, .header-nav a, .nav-fav, .menu-btn { color: var(--on-night); }
.brand { font-size: 1.25rem; font-weight: 700; }
.header-nav a:hover, .nav-fav:hover { color: var(--stitch); }
.header-search input { background: #fff; border-color: #fff; color: var(--fg); }
.header-search input:focus { outline: 3px solid var(--stitch); border-color: #fff; }
.header-select { background: var(--night); color: var(--on-night); border-color: var(--night-line); }
.header-select option { background: #fff; color: var(--fg); }
.suggest { color: var(--fg); }
.site-header :focus-visible { outline: 2px solid var(--stitch); outline-offset: 2px; }

/* bandeau de titre et pied de page */
.hero { background: var(--night); color: var(--on-night); padding: 28px 0 24px; }
.hero:has(+ .entries) { padding: 24px 0 22px; }
.hero + .entries, .hero + .container { margin-top: 16px; }
.hero a { color: #a9c8ff; }
.hero-stats, .hero-about { color: var(--on-night-muted); }
.site-footer { background: var(--night); border-top: 0; color: var(--on-night-muted); }
.site-footer .muted, .site-footer .footer-links a, .site-footer a { color: var(--on-night-muted); }
.site-footer .footer-links a:hover { color: var(--on-night); }

/* formes : boutons bien arrondis, tableaux et blocs plus nets */
.btn { border-radius: 12px; }
.offer-list, .offer-head { --radius: 8px; }
.key-facts { gap: 4px 18px; }
.key-facts span { background: none; border: 0; padding: 0; color: var(--muted); font-weight: 500; }

/* la surpiqûre : réservée au meilleur prix */
.best-box { background: var(--surface); border: 2px dashed var(--stitch); }
.best-item + .best-item { border-left: 2px dashed var(--stitch); }
.best-label { color: var(--fg); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 700; }
.best-badges span { background: var(--surface); border: 1.5px dashed var(--stitch); }
@media (max-width: 640px) { .best-item + .best-item { border-left: 0; border-top: 2px dashed var(--stitch); } }

/* jauge d'absorption : 10 crans */
.gauge { display: inline-block; position: relative; flex: none; width: 68px; height: 8px; vertical-align: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 7px); }
.gauge i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--n) * 7px - 2px);
  background: repeating-linear-gradient(90deg, #3f7fe0 0 5px, transparent 5px 7px); }
.card-absorb { display: inline-flex; align-items: center; gap: 6px; }
.absorb-facts dd.absorb-gauge { margin-top: 4px; line-height: 1; }

/* icônes et taille minimale des petits textes (13 px) */
.ico { vertical-align: -3px; flex: none; }
.fab-filters .ico, .filters-close .ico { display: block; }
.offer-report { display: inline-flex; }
.card-brand { text-transform: none; letter-spacing: 0; font-weight: 600; }
.product-brand a { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.card-brand, .card-sizes span, .filter-note, .dual-scale, .chip-design small, .count, .suggest-title, .suggest small, .absorb-facts p, .absorb-facts dt, .absorb-facts dd.absorb-link, .glance-conflict, .glance-specs dt, .best-badges span, .unit-note, .ship-chip, .buy-bar span, .offer-versions a, .amazon-formats a, .card-shops, .card-detail, .absorb-facts dd small { font-size: max(13px, .8125rem); }
.glance-specs dt { text-transform: none; letter-spacing: 0; }
@media (max-width: 640px) {
  .header-nav { background: var(--night); border-bottom-color: var(--night-line); }
  .header-nav a { border-bottom-color: var(--night-line); }
  .card-brand, .card-detail, .card-shops { font-size: 13px; }
}

/* ---- Listes des marques et des boutiques : recherche, enseignes réunies ---- */
.list-search { display: block; width: 100%; max-width: 420px; margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font: inherit; }
.shop-groups { display: block; columns: 4 240px; column-gap: 12px; margin-bottom: 4px; }
.shop-groups > .shop-card { break-inside: avoid; margin-bottom: 12px; }
.shop-card.shop-group { flex-direction: column; align-items: stretch; }
.shop-card.shop-group:hover { border-color: var(--line); }
.shop-group-head { display: flex; align-items: center; gap: 12px; }
.shop-group ul { display: flex; flex-direction: column; margin: 2px 0 0; padding: 0; list-style: none; }
.shop-group li a { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; font-size: .9rem; }
.shop-group li a:hover { color: var(--accent); }
.shop-group li span { min-width: 0; }
.shop-group li small { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ---- Comparateur ---- */
.compare-btn-card { position: absolute; top: 48px; right: 8px; z-index: 2; width: 34px; height: 34px; padding: 0; display: grid; place-items: center;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 50%; color: var(--muted); cursor: pointer; }
.compare-btn-card:hover { color: var(--accent); border-color: var(--accent); }
.compare-btn-card[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.compare-btn-product[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.compare-bar { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 22; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px);
  padding: 8px 10px; background: var(--night); color: var(--on-night); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.compare-bar ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.compare-bar li button { display: grid; place-items: center; width: 44px; height: 44px; padding: 2px; border: 0; border-radius: 8px; background: #fff; color: var(--fg); font: inherit; font-size: .8rem; cursor: pointer; }
.compare-bar li button:hover { outline: 2px solid var(--stitch); }
.compare-bar li img { width: 40px; height: 40px; object-fit: contain; }
.compare-note { margin: 0; font-size: 13px; }
.compare-note:empty { display: none; }
.compare-go.disabled { opacity: .6; }
.compare-toggle { display: none; }
.has-compare .site-footer { padding-bottom: 90px; }
@media (max-width: 900px) {
  .compare-bar { left: 8px; right: auto; transform: none; max-width: calc(100vw - 16px); bottom: 8px; gap: 8px; flex-wrap: wrap; padding: 0; border-radius: 999px; }
  .compare-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
  .compare-toggle:focus-visible { outline: 2px solid var(--stitch); outline-offset: 2px; border-radius: 999px; }
  .compare-closed { display: inline-flex; align-items: center; gap: 6px; }
  .compare-opened, .compare-bar ul, .compare-bar .compare-go { display: none; }
  .compare-bar.open { right: 8px; padding: 8px; border-radius: 12px; }
  .compare-bar.open .compare-toggle { order: 2; margin-left: auto; padding: 0 10px; }
  .compare-bar.open .compare-opened { display: inline-flex; }
  .compare-bar.open .compare-closed { display: none; }
  .compare-bar.open ul { display: flex; }
  .compare-bar.open .compare-go { display: inline-flex; order: 3; flex-basis: 100%; justify-content: center; }
  .compare-note:not(:empty) { padding: 0 16px 8px; }
  .compare-bar li button { width: 40px; height: 40px; }
  .compare-bar li img { width: 36px; height: 36px; }
  .compare-go { padding: 10px 12px; }
  .compare-note { order: 4; flex-basis: 100%; }
  .has-compare .fab-filters { bottom: 8px; }
  body:has(.buy-bar.on) .compare-bar { bottom: 82px; }
  .has-compare.has-buy-bar .site-footer { padding-bottom: 170px; }
}
.compare-page { padding-top: 24px; padding-bottom: 48px; max-width: 1200px; }
.compare-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.compare-sizes span { margin-right: 4px; font-weight: 600; }
.chip-link { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--fg); text-decoration: none; font-size: .9rem; font-weight: 600; }
.chip-link.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.compare-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.compare-table { width: 100%; min-width: calc(160px + var(--cols) * 170px); border-collapse: collapse; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.compare-table thead th, .compare-table thead td { border-top: 0; }
.compare-table tbody th { font-size: .85rem; font-weight: 600; color: var(--muted); }
.compare-table tr > :first-child { position: sticky; left: 0; z-index: 1; width: 160px; background: var(--surface); }
.compare-product { display: flex; flex-direction: column; gap: 3px; color: var(--fg); text-decoration: none; }
.compare-product img, .compare-product .noimg { width: 100%; max-width: 160px; height: 130px; min-height: 0; object-fit: contain; }
.compare-product small { color: var(--muted); font-weight: 500; }
.compare-remove { display: inline-block; margin-top: 4px; font-size: .85rem; font-weight: 500; }
.compare-price { font-family: var(--font-display); font-size: 1.3rem; }
.compare-table td.best { background: #e5f5ee; box-shadow: inset 3px 0 0 var(--ok); }
.compare-cta { white-space: normal; padding: 9px 12px; }
@media (max-width: 640px) {
  .compare-table { min-width: calc(104px + var(--cols) * 140px); font-size: .9rem; }
  .compare-table tr > :first-child { width: 104px; }
  .compare-table th, .compare-table td { padding: 8px; }
}
/* Cartes : « 13 500 mL » et la note ne se coupent jamais ; jauge réduite quand la carte est étroite */
.card-meta { flex-wrap: wrap; row-gap: 2px; }
.card-meta > span { white-space: nowrap; }
@media (max-width: 640px) { .card-absorb .gauge { width: 33px; background-size: auto; } .card-absorb .gauge { height: 8px; background: repeating-linear-gradient(90deg, var(--line) 0 2px, transparent 2px 3.5px); }
  .card-absorb .gauge i { width: calc(var(--n) * 3.5px - 1.5px); background: repeating-linear-gradient(90deg, #3f7fe0 0 2px, transparent 2px 3.5px); } }

/* ---- Recherche sans résultat ---- */
.empty-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.empty-title { margin: 28px 0 12px; font-size: 1.25rem; }

/* ---- Haut de page (second audit, constats 3 à 5) ---- */
.hero-short { display: none; }
@media (max-width: 640px) {
  .hero.hero-home { padding: 14px 0 12px; }
  .hero-home h1 { font-size: 1.35rem; margin-bottom: 4px; }
  .hero-home .hero-sub { font-size: .9rem; margin: 0; }
  .hero-home .hero-stats { display: none; }
  .hero + .entries, .hero + .container { margin-top: 10px; }
  .entries img { height: 52px; }
  .results-bar { flex-wrap: nowrap; }
  .results-count { flex: none; }
  .sort-form { min-width: 0; }
  .sort-form .sort-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sort-form select { max-width: 100%; margin-left: 0; }
  .hero.hero-landing { padding: 14px 0 12px; }
  .hero-landing .hero-sub { display: none; }
  .hero-landing .hero-short { display: block; margin: 6px 0 0; }
}
.head-actions { display: flex; gap: 8px; flex: none; margin-left: auto; align-self: flex-start; }
.head-actions .fav-btn-inline { margin-left: 0; }
.compare-btn-product { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; }
.compare-btn-product:not([aria-pressed="true"]):hover { color: var(--accent); border-color: var(--accent); }
.compare-btn-product .ico { display: block; }
.product-info .absorb-facts dl { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.product-info .absorb-facts dl > div { background: none; padding: 0; }
.product-info .absorb-facts p a { margin-right: 14px; display: inline-block; }
@media (max-width: 640px) {
  /* le nom de la marque est écrit au-dessus du titre : sans le logo, l'en-tête tient sur peu de hauteur */
  .product-head .brand-logo { display: none; }
  .product-head > div:not(.head-actions) { min-width: 0; }
}

/* ---- Lecture (second audit, constats 8 et 9) ---- */
.card-brand, .card-detail, .card-shops, .card-absorb { font-size: .9375rem; }
/* mobile, deux cartes par ligne : marque et boutiques restent à 13 px pour ne pas être coupées */
@media (max-width: 640px) {
  .card-brand, .card-shops { font-size: 13px; }
  .card-detail, .card-absorb { font-size: .875rem; }
  /* recherche au long libellé : le tri passe à la ligne plutôt que d'être tronqué */
  .results-bar { flex-wrap: wrap; }
  .sort-form select { min-width: 11.5em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
