/* ============================================================
   INDEX-V2.CSS — Design Variation B (Moderne & data-driven)
   Palette : blanc #fff / gris #f6f7f9, anthracite #0f1419,
             vert émeraude #0b8a5f, orange CTA #f26d2c,
             sponsorisé jaune #f9b949, navy #1a2332
   Typo    : Manrope (700–800) + IBM Plex Mono (labels pub)
   ============================================================ */

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

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', system-ui, sans-serif;
    background: #f6f7f9;
    color: #0f1419;
}

img, svg { max-width: 100%; }

:root {
    --bg:        #ffffff;
    --bg-alt:    #f6f7f9;
    --ink:       #0f1419;
    --ink2:      #5b6370;
    --line:      #e6e8ec;
    --accent:    #0b8a5f;
    --accent-bg: #e8f5ef;
    --orange:    #f26d2c;
    --yellow:    #f9b949;
    --navy:      #1a2332;
    --pad-x:     40px;
}

/* ============================================================
   AD SLOTS
   ============================================================ */
.vb-promo-zone {
    background: var(--bg-alt);
    border: 1px dashed var(--line);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    font-family: 'IBM Plex Mono', monospace;
    width: 100%;
}
.vb-promo-zone::before {
    content: 'Emplacement';
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 9px;
    letter-spacing: 0.5px;
    color: #a89a80;
    text-transform: uppercase;
}
.vb-promo-zone span {
    font-size: 11px;
    color: #8a7c66;
    letter-spacing: 0.3px;
}
.vb-promo-zone--lead { height: 90px; }
.vb-promo-zone--wide      { height: 90px; }
.vb-promo-zone--box         { height: 250px; }
.vb-promo-zone--tall   { height: 600px; }

/* ── Emplacements pub masqués temporairement (2026-06-15) ───────────────────
   Aucune pub branchée pour l'instant : on masque les placeholders + leurs
   conteneurs porteurs de marge/bordure pour ne laisser aucune trace visuelle.
   Pour réactiver : supprimer ce seul bloc. ──────────────────────────────── */
.vb-promo-zone,
.vb-leaderboard,
.vb-ranking-promo,
.vb-two-col-promo { display: none !important; }

/* ============================================================
   LEADERBOARD
   ============================================================ */
.vb-leaderboard {
    padding: 10px var(--pad-x);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

/* ============================================================
   NAV
   ============================================================ */
.vb-nav-wrap {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-family: 'Manrope', sans-serif;
}

/* Topbar */
.vb-topbar {
    background: var(--navy);
    color: #d5d9df;
    padding: 7px var(--pad-x);
    font-size: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}
.vb-topbar a {
    color: #d5d9df;
    text-decoration: none;
    cursor: pointer;
}
.vb-topbar a:hover { color: #fff; }

/* Logo row */
.vb-nav-row {
    padding: 16px var(--pad-x);
    display: flex;
    align-items: center;
    gap: 32px;
}

.vb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.vb-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--ink);
    border-radius: 8px;
    position: relative;
    flex-shrink: 0;
}
.vb-logo-icon span {
    position: absolute;
    left: 6px;
    right: 6px;
    height: 3px;
    border-radius: 2px;
}
.vb-logo-icon span:nth-child(1) { top: 8px;  background: var(--orange); }
.vb-logo-icon span:nth-child(2) { top: 16px; right: 12px; background: var(--accent); }
.vb-logo-icon span:nth-child(3) { top: 24px; right: 16px; background: var(--yellow); }

.vb-logo-text {
    line-height: 1;
}
.vb-logo-name {
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.5px;
}
.vb-logo-name .dot { color: var(--accent); }
.vb-logo-sub {
    font-size: 10px;
    color: var(--ink2);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.vb-nav-account {
    margin-left: auto;
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--ink);
    align-items: center;
    font-weight: 500;
}
.vb-nav-account a {
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.vb-nav-account a:hover { color: var(--accent); }

.vb-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Hamburger — masqué sur desktop */
.vb-nav-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 38px;
    height: 38px;
    background: none;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 10px 9px;
    cursor: pointer;
    flex-shrink: 0;
}
.vb-nav-burger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
/* Croix quand ouvert */
.vb-nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.vb-nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.vb-nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Zone collapsible — transparente sur desktop */
.vb-nav-collapse { display: contents; }

/* Menu */
.vb-cat-bar {
    padding: 10px var(--pad-x);
    display: flex;
    gap: 28px;
    font-size: 14px;
    color: var(--ink);
    border-top: 1px solid var(--line);
    align-items: center;
    position: relative; /* ancrage mega menu */
}

.vb-menu-item { position: relative; }
/* L'item avec sous-menu cède le positionnement à .vb-cat-bar pour le mega menu.
   align-self: stretch étire le menu item sur toute la hauteur de la barre pour
   assurer une zone hover continue jusqu'au dropdown (pas de gap). */
.vb-menu-item--has-sub {
    position: static;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.vb-menu-link {
    color: var(--ink);
    font-weight: 500;
    padding: 6px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
/* Déclencheur de sous-menu en <button> (pas de lien sur "Produits") */
button.vb-menu-link {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font: inherit;
    text-align: left;
}
.vb-menu-link.active {
    font-weight: 700;
    border-bottom-color: var(--accent);
}
.vb-menu-chevron { transition: transform .2s; }
.vb-menu-item:hover .vb-menu-chevron,
.vb-menu-item--has-sub.is-open .vb-menu-chevron { transform: rotate(180deg); }

/* Mega menu desktop (hover) */
.vb-dropdown {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 4px;
    position: absolute;
    top: calc(100% - 4px); /* remonte de 4px pour éliminer tout gap et assurer la continuité hover */
    left: 0;
    right: 0;
    padding: 20px var(--pad-x) 16px; /* padding-top compense le remontage */
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(15,20,25,.08);
    z-index: 20;
}
.vb-menu-item--has-sub.is-open .vb-dropdown { display: grid; }

.vb-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ink);
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    text-transform: capitalize;
}
.vb-dropdown a:hover { background: var(--accent-bg); }
.vb-dropdown-ico { flex-shrink: 0; color: var(--accent); }
.vb-dropdown a:hover .vb-dropdown-ico { transform: translateX(2px); transition: transform .15s; }

/* Search bar */
.vb-search-bar {
    padding: 14px var(--pad-x);
    border-top: 1px solid var(--line);
    background: var(--bg-alt);
}

.vb-search-inner {
    display: flex;
    gap: 8px;
    align-items: stretch;
    height: 46px;
    width: 100%;
}

.vb-search-inner select {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
    background: var(--bg);
    outline: none;
}

.vb-search-keyword {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    gap: 8px;
    min-width: 140px;
    background: var(--bg);
}
.vb-search-keyword input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: transparent;
    min-width: 60px;
}

.vb-search-price {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    gap: 4px;
    background: var(--bg);
}
.vb-search-price input {
    width: 48px;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: transparent;
    text-align: right;
}
.vb-search-price input:last-of-type { text-align: left; }
.vb-search-price .sep { font-size: 12px; color: var(--ink2); }
.vb-search-price .euro { font-size: 13px; font-weight: 600; color: var(--ink2); }

.vb-search-stars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    background: var(--bg);
}
.vb-search-stars input[type="checkbox"] {
    accent-color: var(--accent);
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
}

.vb-search-btn {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    transition: background .15s;
}
.vb-search-btn:hover { background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.vb-hero {
    background: var(--bg-alt);
    padding: 48px var(--pad-x);
}

.vb-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.vb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-bg);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.vb-h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 18px;
    letter-spacing: -1.5px;
}
.vb-h1 .accent { color: var(--accent); }

.vb-hero-p {
    font-size: 17px;
    color: var(--ink2);
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 520px;
}
.vb-hero-claim {
    display: inline-block;
    margin-top: 6px;
    font-size: 21px;
    color: var(--ink);
}

.vb-hero-ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.vb-btn-primary {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 14px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background .15s;
}
.vb-btn-primary:hover { background: #d85b20; }

.vb-hero-trust {
    display: flex;
    gap: 28px;
    font-size: 13px;
    color: var(--ink2);
}

/* Chart card */
.vb-chart-card {
    background: var(--bg);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(15,20,25,.06);
    border: 1px solid var(--line);
}

.vb-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.vb-chart-label {
    font-size: 12px;
    color: var(--ink2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vb-chart-price {
    font-size: 44px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1;
    margin-top: 6px;
}

.vb-chart-badge {
    background: var(--accent-bg);
    color: var(--accent);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vb-chart-timeline {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--ink2);
    margin-top: 8px;
}

.vb-chart-note {
    margin-bottom: 6px;
    font-size: 11px;
    color: var(--ink2);
    font-style: italic;
    text-align: right;
}

.vb-chart-stats {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.vb-chart-stat-label {
    font-size: 11px;
    color: var(--ink2);
    font-weight: 600;
}
.vb-chart-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}
.vb-chart-stat-value.best { color: var(--accent); }

/* ============================================================
   RANKING
   ============================================================ */
.vb-ranking-pad {
    padding: 40px var(--pad-x) 20px;
    background: var(--bg-alt);
}

/* Décalage de l'ancre #classement (cible du CTA hero) */
.vb-ranking-pad[id] { scroll-margin-top: 20px; }

.vb-ranking-promo { margin-bottom: 28px; }

.vb-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 16px;
}

.vb-section-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.8px;
}

.vb-section-link {
    font-size: 14px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.vb-section-link:hover { text-decoration: underline; }

.vb-product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* Product row */
.vb-row {
    display: grid;
    grid-template-columns: 36px 90px 1fr 160px 96px 160px;
    gap: 20px;
    padding: 18px 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    align-items: center;
    font-family: 'Manrope', sans-serif;
    position: relative;
    transition: box-shadow .15s;
}
.vb-row:hover { box-shadow: 0 4px 16px rgba(15,20,25,.07); }

.vb-row--sponsored {
    background: #fff7e6;
    border: 2px solid var(--yellow);
}

.vb-sponsored-badge {
    position: absolute;
    top: -11px;
    left: 18px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vb-row-rank {
    font-size: 14px;
    color: var(--ink2);
    font-weight: 700;
    text-align: center;
}
/* Variantes de deal card */
.vb-deal-card--baisse  { border-color: var(--accent-bg); background: #f0faf5; }
.vb-deal-card--promo   { border-color: #fde68a; background: #fffbeb; }
.vb-deal-badge--promo  { background: var(--orange); }
.vb-deal-card--sponsored {
    border: 2px solid var(--yellow);
    background: #fff7e6;
    position: relative;
}
.vb-deal-sponsored-badge {
    position: absolute;
    top: -11px;
    left: 14px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vb-row-bag { display: flex; align-items: center; }
.vb-row-bag img {
    display: block;
    width: 70px;
    height: 84px;
    border-radius: 6px;
    object-fit: contain;
    background: var(--bg-alt);
}

.vb-row-brand {
    font-size: 11px;
    color: var(--ink2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 3px;
}

.vb-row-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.vb-row-rating {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--ink2);
}
.vb-row-rating strong { color: var(--ink); font-weight: 700; }

.vb-row-price-wrap { text-align: right; }

.vb-row-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.6px;
    line-height: 1;
}

.vb-row-was {
    font-size: 13px;
    color: var(--ink2);
    text-decoration: line-through;
    margin-top: 4px;
}

.vb-row-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.vb-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--ink2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s;
    padding: 0;
    flex-shrink: 0;
}
.vb-icon-btn:hover { background: var(--bg-alt); color: var(--ink); }
.vb-icon-btn.active {
    background: #ffe9e0;
    border-color: var(--orange);
    color: var(--orange);
}

.vb-cta {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background .15s;
}
.vb-cta:hover { background: #d85b20; color: #fff; }

/* ============================================================
   STATS BLOCK
   ============================================================ */
.vb-stats-wrap {
    padding: 32px var(--pad-x);
    background: var(--ink);
    color: #fff;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.vb-stats-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.vb-stats-title .accent { color: var(--accent); }

.vb-stats-n {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--accent);
    line-height: 1;
}

.vb-stats-label {
    font-size: 13px;
    color: #a8b0ba;
    margin-top: 6px;
}

/* ============================================================
   TWO COL (bons plans + sidebar)
   ============================================================ */
.vb-two-col {
    padding: 60px var(--pad-x);
    background: var(--bg);
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
}
/* Autorise les colonnes à rétrécir sous la largeur de leur contenu (tableaux nowrap,
   grilles internes…) — sinon un enfant trop large fait déborder toute la page en mobile */
.vb-two-col > * { min-width: 0; }

.vb-section-eyebrow {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.vb-h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 28px;
    letter-spacing: -0.8px;
}

.vb-two-col-promo { margin-bottom: 28px; }

.vb-deals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Deal card */
.vb-deal-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    gap: 12px;
    transition: box-shadow .15s;
}
.vb-deal-card:hover { box-shadow: 0 4px 12px rgba(15,20,25,.07); }

.vb-deal-bag { flex-shrink: 0; }
.vb-deal-bag img {
    display: block;
    width: 56px;
    height: 67px;
    border-radius: 6px;
    object-fit: contain;
    background: var(--bg-alt);
}

.vb-deal-info { flex: 1; }

.vb-deal-brand {
    font-size: 11px;
    color: var(--ink2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vb-deal-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 2px 0 8px;
}

.vb-deal-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}
.vb-deal-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
}
.vb-deal-was {
    font-size: 12px;
    color: var(--ink2);
    text-decoration: line-through;
}

.vb-deal-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.vb-deal-cta {
    margin-left: auto;
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
.vb-deal-cta:hover { background: #d85b20; color: #fff; }

.vb-deals-empty {
    color: var(--ink-light);
    font-size: 14px;
    padding: 24px 0;
}

/* Hero pages intérieures */
.vb-hero--inner .vb-hero-p { max-width: 100%; }

.vb-hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 12px;
    letter-spacing: -0.8px;
}
.vb-hero-title .accent { color: var(--accent); }

/* Variante grand titre (gammes.php) — aligné sur le h1 de l'accueil (.vb-h1) */
.vb-hero-title--lg { font-size: 56px; line-height: 1.05; letter-spacing: -1.5px; }
.vb-hero-p--tight { margin-bottom: 0; }
/* gammes.php : resserre l'espace sous le hero */
.vb-hero--gammes { padding-bottom: 20px; }

/* Layout deux colonnes spécifique bons-plans (contenu + sidebar) */
.vb-two-col--bp {
    padding-top: 0;
    align-items: start;
}
.vb-two-col--bp .vb-ranking-promo,
.vb-two-col--gammes .vb-ranking-promo {
    margin: 32px 0;
}
.vb-two-col--bp .vb-sidebar {
    gap: 0;
}
.vb-two-col--bp .vb-sidebar > * {
    margin: 32px 0 0;
}
/* produit.php n'a ni hero ni barre d'ancres : on restaure un espace en haut pour
   aérer la fiche sous le fil d'Ariane */
.vb-two-col--produit { padding-top: 32px; }
/* La colonne principale (fiche) démarre sans marge ; on annule donc le margin-top
   de 32px du premier bloc de la sidebar pour aligner la pub avec le haut de la fiche */
.vb-two-col--produit .vb-sidebar > :first-child { margin-top: 0; }

/* Menu ancres gammes — bons-plans */
.vb-bp-anchors {
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0 var(--pad-x);
    margin: -16px 0 32px;
}
.vb-bp-anchors-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 0;
    max-width: var(--max-w);
    margin: 0 auto;
}
.vb-bp-anchor-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
    text-decoration: none;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--bg-alt);
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
    text-transform: capitalize;
}
.vb-bp-anchor-link:hover,
.vb-bp-anchor-link.active {
    background: var(--accent-bg);
    color: var(--accent);
    border-color: var(--accent-bg);
}

/* Réserve l'espace de la notation même si elle est absente */
.vb-deal-rating-slot,
.vb-row-rating-slot  { min-height: 22px; margin: .2rem 0; }

/* Badge remise (% baisse) sur carte compacte — même style que .vb-row-badge-remise */
.vb-deal-badge {
    display: inline-block;
    padding: 2px 7px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Badge "Nouveau" (couleur distincte du badge baisse) */
.vb-deal-badge--new {
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Sous-titre baisses / promos / nouveaux — calqué sur vb-ranking-eyebrow */
.vb-bons-plans-sub-head {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 24px 0 10px;
    padding-top: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.vb-bons-plans-sub-head--baisse  { color: var(--accent); }
.vb-bons-plans-sub-head--promo   { color: var(--orange); }
.vb-bons-plans-sub-head--nouveau { color: #2563eb; }

.vb-bons-plans-sub-desc {
    font-size: 11px;
    font-weight: 400;
    color: var(--ink2);
    text-transform: none;
    letter-spacing: 0;
    opacity: .65;
}
.vb-bons-plans-gamme .vb-deals-grid { margin-bottom: 20px; }
.vb-bons-plans-gamme h2 { text-transform: lowercase; }
.vb-bons-plans-gamme h2::first-letter { text-transform: uppercase; }

/* Sidebar */
.vb-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vb-alert-box {
    padding: 20px;
    background: var(--ink);
    border-radius: 10px;
    color: #fff;
    font-family: 'Manrope', sans-serif;
}
.vb-alert-box .vb-alert-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin: 0 0 8px;
}
.vb-alert-box p {
    font-size: 13px;
    color: #a8b0ba;
    margin: 0 0 14px;
    line-height: 1.5;
}
.vb-alert-box input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 8px;
    outline: none;
}
.vb-alert-box button {
    width: 100%;
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
}

/* ============================================================
   EDITORIAL
   ============================================================ */
.vb-editorial {
    padding: 60px var(--pad-x);
    background: var(--bg-alt);
}

.vb-editorial-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.vb-editorial h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 20px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.vb-editorial h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin: 28px 0 12px;
}

.vb-editorial p {
    font-size: 16px;
    color: var(--ink2);
    line-height: 1.7;
    margin: 0 0 16px;
}

.vb-editorial a {
    color: var(--accent);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    text-decoration: none;
}
.vb-editorial a:hover { opacity: .8; }

/* ============================================================
   FAQ
   ============================================================ */
.vb-faq {
    padding: 60px var(--pad-x);
    background: var(--bg);
}

.vb-faq-inner {
    max-width: 820px;
    margin: 0 auto;
}

.vb-faq h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 28px;
    letter-spacing: -0.8px;
}

.vb-faq-list { border-top: 1px solid var(--line); }

.vb-faq-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.vb-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    /* Réinitialisation : .vb-faq-q est un <button> (a11y : élément interactif unique) */
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.vb-faq-q-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.vb-faq-toggle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--ink);
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform .2s;
    padding: 0;
    line-height: 1;
}
.vb-faq-item.open .vb-faq-toggle { transform: rotate(45deg); }

.vb-faq-answer {
    display: none;
    padding-top: 12px;
    font-size: 15px;
    color: var(--ink2);
    line-height: 1.65;
    max-width: 680px;
}
.vb-faq-item.open .vb-faq-answer { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.vb-footer {
    background: var(--navy);
    color: #fff;
    padding: 48px var(--pad-x) 24px;
    font-family: 'Manrope', sans-serif;
}

.vb-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

.vb-footer-brand {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.vb-footer-brand .dot { color: var(--accent); }

.vb-footer-desc {
    font-size: 13px;
    color: #a8b0ba;
    line-height: 1.6;
    margin: 0;
}

.vb-footer-disclaimer {
    font-size: 12px;
    color: #7f8898;
    line-height: 1.55;
    margin: 12px 0 0;
}

.vb-footer-socials {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.vb-social-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #394459;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    color: #a8b0ba;
    text-decoration: none;
}
.vb-social-btn:hover { border-color: #5a6a80; color: #fff; }

.vb-footer-col-title {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff;
}

.vb-footer-col a {
    display: block;
    font-size: 13px;
    color: #a8b0ba;
    margin-bottom: 8px;
    text-decoration: none;
}
.vb-footer-col a:hover { color: #fff; }

.vb-footer-bottom {
    border-top: 1px solid #394459;
    padding-top: 20px;
    font-size: 12px;
    color: #7f8898;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
    :root { --pad-x: 24px; }

    /* Nav */
    .vb-topbar { display: none; }
    .vb-nav-account .nav-label { display: none; }

    /* Burger visible */
    .vb-nav-burger { display: flex; }

    /* Zone collapsible : masquée par défaut, affichée si .open */
    .vb-nav-collapse {
        display: none;
        border-top: 1px solid var(--line);
    }
    .vb-nav-collapse.open { display: block; }

    /* Menu vertical */
    .vb-cat-bar {
        flex-direction: column;
        gap: 0;
        padding: 4px 0;
        border-top: none;
        align-items: stretch;
        overflow-x: visible;
    }
    .vb-menu-item { width: 100%; }

    .vb-menu-link {
        padding: 13px var(--pad-x);
        white-space: normal;
        border-bottom: none;
        border-top: 1px solid var(--line);
        justify-content: space-between;
        width: 100%;
    }
    /* Le bouton "Produits" garde le séparateur du menu vertical */
    button.vb-menu-link {
        border-bottom: none;
        border-top: 1px solid var(--line);
    }
    /* Pas de soulignement actif vertical */
    .vb-menu-link.active { border-bottom: none; color: var(--accent); }

    /* Chevron tourne quand sous-menu ouvert */
    .vb-menu-item.open .vb-menu-chevron { transform: rotate(180deg); }

    /* Dropdown : statique dans le menu vertical */
    .vb-dropdown {
        position: static;
        grid-template-columns: 1fr; /* colonne unique sur mobile */
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-top: 1px solid var(--line);
        padding: 4px 0;
        background: var(--bg-alt);
        display: none;
    }
    /* Ouverture au clic (classe .open) sur mobile */
    .vb-menu-item--has-sub.is-open .vb-dropdown { display: none; } /* annule le grid desktop */
    .vb-menu-item.open .vb-dropdown  { display: block; }
    /* Annuler le mega menu sur mobile */
    .vb-menu-item--has-sub {
        position: static;
        display: block;  /* annule le flex desktop */
        align-self: auto;
    }

    .vb-dropdown a {
        padding: 11px var(--pad-x) 11px calc(var(--pad-x) + 18px);
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        font-size: 14px;
        white-space: normal;
    }
    .vb-dropdown a:last-child { border-bottom: none; }

    /* Barre de recherche dans le collapse */
    .vb-search-bar { border-top: 1px solid var(--line); }
    .vb-search-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 4px 0;
    }
    .vb-search-keyword { min-width: 100%; order: -1; }

    /* Layout */
    .vb-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .vb-h1 { font-size: 44px; }
    .vb-hero-title--lg { font-size: 44px; }

    .vb-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .vb-section-head h2 { font-size: 26px; }
    .vb-section-head .vb-section-link { align-self: flex-end; font-size: 10px; }

    .vb-row {
        grid-template-columns: 28px 80px 1fr 130px 80px 130px;
        gap: 14px;
        padding: 16px;
    }

    .vb-two-col { grid-template-columns: 1fr; gap: 36px; padding: 48px var(--pad-x); }
    .vb-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .vb-alert-box { flex: 1; min-width: 260px; }

    .vb-stats-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 24px var(--pad-x);
    }
    .vb-stats-title { grid-column: 1 / -1; font-size: 22px; }
    .vb-stats-n { font-size: 28px; }

    .vb-footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
    .vb-footer-bottom { flex-direction: column; gap: 6px; }

    .vb-editorial { padding: 44px var(--pad-x); }
    .vb-faq      { padding: 44px var(--pad-x); }
    .vb-footer   { padding: 40px var(--pad-x) 20px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================================ */
@media (max-width: 640px) {
    :root { --pad-x: 16px; }

    .vb-h1 { font-size: 34px; letter-spacing: -1px; }
    .vb-hero-title--lg { font-size: 34px; letter-spacing: -1px; }
    .vb-hero-p { font-size: 15px; }
    .vb-hero-ctas { flex-direction: column; width: 100%; }
    .vb-btn-primary { width: 100%; justify-content: center; padding: 12px 20px; font-size: 14px; }
    .vb-hero-trust { flex-wrap: wrap; gap: 10px 20px; font-size: 12px; }
    .vb-chart-price { font-size: 36px; }

    .vb-nav-row { padding: 12px var(--pad-x); }

    /* Sur mobile, cacher les filtres avancés dans la barre de recherche */
    .vb-search-inner select { display: none; }
    .vb-search-price { display: none; }
    .vb-search-stars { display: none; }

    .vb-row {
        grid-template-columns: 70px 1fr;
        gap: 12px;
        padding: 14px;
    }
    .vb-row-rank  { display: none; }
    .vb-row-price-wrap {
        grid-column: 1 / -1;
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 10px;
    }
    .vb-row-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .vb-cta { grid-column: 1 / -1; width: 100%; display: block; text-align: center; }
    .vb-row-name { font-size: 15px; }
    .vb-row-price { font-size: 22px; }

    .vb-section-head h2 { font-size: 24px; }
    .vb-h2 { font-size: 22px; }

    .vb-deals-grid { grid-template-columns: 1fr; }

    .vb-sidebar { flex-direction: column; }
    .vb-alert-box { min-width: unset; }

    .vb-stats-wrap {
        grid-template-columns: 1fr 1fr;
        padding: 20px var(--pad-x);
    }
    .vb-stats-wrap > div:first-child { grid-column: 1 / -1; }

    .vb-editorial { padding: 40px var(--pad-x); }
    .vb-editorial h2 { font-size: 26px; }
    .vb-editorial p, .vb-editorial h3 { font-size: 15px; }
    .vb-editorial-wrap { max-width: 100%; }

    .vb-faq { padding: 40px var(--pad-x); }
    .vb-faq h2 { font-size: 24px; }
    .vb-faq-q-text { font-size: 14px; }

    .vb-footer { padding: 32px var(--pad-x) 18px; }
    .vb-footer-grid { grid-template-columns: 1fr 1fr; }

    .vb-ranking-pad { padding: 32px var(--pad-x) 16px; }
    .vb-leaderboard { padding: 8px var(--pad-x); }
}

/* ============================================================
   ÉTOILES (rendu HTML statique, pas de JS)
   ============================================================ */
.vb-stars-wrap {
    display: inline-flex;
    gap: 1px;
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
}
.vb-star-full  { color: #f59e0b; }
.vb-star-empty { color: #e5e1d8; }
.vb-star-half  {
    background: linear-gradient(90deg, #f59e0b 50%, #e5e1d8 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================================
   RANKING — BAISSES DE PRIX
   ============================================================ */

.vb-row--baisse {
    background: #f0faf5;
    border: 1.5px solid var(--accent-bg);
}
.vb-row--baisse .vb-row-rank { color: var(--orange); }

.vb-row-badge-remise {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 7px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.3px;
}
.vb-row-badge-remise--promo { background: var(--orange); }

/* ============================================================
   PAGE CONTACT
   ============================================================ */

.vb-contact-form { display: grid; gap: 16px; max-width: 640px; }

.vb-contact-field { display: grid; gap: 6px; }
.vb-contact-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.vb-contact-field input,
.vb-contact-field textarea {
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    background: var(--bg);
    width: 100%;
}
.vb-contact-field input:focus,
.vb-contact-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}
.vb-contact-field textarea { resize: vertical; min-height: 140px; }

.vb-contact-rgpd { font-size: 12px; color: var(--ink2); margin: 0; }

.vb-contact-btn {
    justify-self: start;
    padding: 12px 22px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.vb-contact-btn:hover { filter: brightness(1.08); }

.vb-contact-msg {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}
.vb-contact-msg p { margin: 0 0 4px; }
.vb-contact-msg p:last-child { margin-bottom: 0; }
.vb-contact-msg--ok  { background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent); }
.vb-contact-msg--err { background: #fdf0ed; color: #c2410c; border: 1px solid #c2410c; }

/* Honeypot anti-bots : hors écran (pas display:none, certains bots l'ignorent) */
.vb-contact-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.vb-ranking-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0 0 10px;
}

.vb-ranking-divider {
    height: 1px;
    background: var(--line);
    margin: 12px 0 4px;
}

/* ============================================================
   GAMMES V2
   ============================================================ */

/* Layout — variante gammes (sidebar plus étroite) */
.vb-two-col--gammes {
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 12px var(--pad-x) 60px;
    background: var(--bg);
    align-items: start;
}

/* Breadcrumb */
.vb-gammes-breadcrumb {
    font-size: 12px;
    color: var(--ink2);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px var(--pad-x) 2px;
}
.vb-gammes-breadcrumb a {
    color: var(--ink2);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}
.vb-gammes-breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
/* Lien accueil en icône maison */
.vb-breadcrumb-home {
    display: inline-flex;
    align-items: center;
    max-width: none !important;
    overflow: visible !important;
}
.vb-breadcrumb-home:hover { text-decoration: none !important; }
/* Desktop : breadcrumb dans vb-nav-collapse (entre menu et recherche) */
.vb-breadcrumb-mobile { display: none; }

/* Mobile : breadcrumb hors vb-nav-collapse (toujours visible) */
@media (max-width: 1024px) {
    .vb-breadcrumb-desktop { display: none; }
    .vb-breadcrumb-mobile { display: block; }
}

/* Barre tri */
.vb-gammes-filterbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.vb-filterbar-tri {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vb-filterbar-tri label {
    font-size: 12px;
    color: var(--ink2);
    white-space: nowrap;
}
.vb-filterbar-tri select {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: var(--bg);
    outline: none;
    cursor: pointer;
    transition: border-color .15s;
}
.vb-filterbar-tri select:focus { border-color: var(--accent); }

/* Tendances inline */
.vb-gammes-tendances { margin-bottom: 28px; }
.vb-ranking-eyebrow--baisse { color: var(--accent); }
.vb-ranking-eyebrow--hausse { color: #c0392b; }
.vb-tendances-periode {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink2);
    margin-left: 6px;
}

/* Hero stats */
.vb-hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.vb-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vb-hero-stat strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}
.vb-hero-stat span {
    font-size: 11px;
    color: var(--ink2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pagination */
.vb-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.vb-pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}
.vb-pag-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.vb-pag-btn--actif { background: var(--accent); border-color: var(--accent); color: #fff; }
.vb-pag-ellipsis { color: var(--ink2); font-size: 13px; padding: 0 4px; }

.vb-deals-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--ink2);
    font-size: 15px;
}
.vb-deals-empty a { color: var(--accent); }

@media (max-width: 900px) {
    .vb-two-col--gammes { grid-template-columns: 1fr; padding: 24px var(--pad-x) 48px; }
    .vb-gammes-filterbar { gap: 10px; }
    .vb-filterbar-count { margin-left: 0; }
}
@media (max-width: 600px) {
    .vb-hero-stats { gap: 16px; }
    .vb-filterbar-group--prix .vb-filterbar-prix { flex-wrap: wrap; }
}

/* ============================================================
   PLAN DU SITE
   ============================================================ */
.vb-sitemap-gamme + .vb-sitemap-gamme { margin-top: 4px; }

.vb-section-head h2 .vb-sitemap-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink2);
    margin-left: 10px;
    letter-spacing: 0;
}

.vb-sitemap-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 24px;
}

.vb-sitemap-liste li {
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
}

.vb-sitemap-liste a {
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    display: block;
    padding: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .15s;
}
.vb-sitemap-liste a:hover { color: var(--accent); text-decoration: underline; }

.vb-sitemap-anchor-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 6px;
    margin-left: 6px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .vb-sitemap-liste { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   MENTIONS LÉGALES
   ============================================================ */
.vb-ml-wrap {
    max-width: calc(var(--max-w) + 2 * var(--pad-x));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 60px;
}

.vb-ml-intro {
    font-size: 15px;
    color: var(--ink2);
}

.vb-ml-section { scroll-margin-top: 80px; }

.vb-ml-h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 20px;
    letter-spacing: -0.4px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.vb-ml-section p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink2);
    margin: 0 0 14px;
}
.vb-ml-section p:last-child { margin-bottom: 0; }

.vb-ml-section a {
    color: var(--accent);
    text-decoration: underline;
}

.vb-ml-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--ink);
    margin: 0 0 20px;
}

/* ============================================================
   FICHE PRODUIT (produit-v2.php)
   ============================================================ */

/* Ancre scrollant avec compensation hauteur header fixe */
.ancre {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

/* Bannière produit archivé */
.vb-produit-archive {
    background: #fff8e1;
    border: 1px solid #f9b949;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #7a5800;
    margin-bottom: 20px;
}

/* Layout image + détails */
.vb-produit-fiche {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.vb-produit-img-wrap {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--bg-alt);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vb-produit-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.vb-produit-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.vb-produit-details {
    flex: 1;
    min-width: 0;
}

.vb-produit-nom {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 8px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.vb-produit-vendeur {
    font-size: 14px;
    color: var(--ink2);
    margin: 0 0 12px;
}

.vb-produit-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

.vb-produit-nb-avis {
    font-size: 13px;
    font-weight: 400;
    color: var(--ink2);
}

/* Bloc prix */
.vb-produit-prix-bloc {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.vb-produit-prix {
    font-size: 36px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1;
}

.vb-produit-prix-ancien {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink2);
    text-decoration: line-through;
}

.vb-produit-unite {
    font-size: 13px;
    color: var(--ink2);
    font-weight: 500;
}

.vb-produit-maj {
    font-size: 12px;
    color: var(--ink2);
    margin: 4px 0 20px;
}

/* CTA principal */
.vb-produit-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s, transform .1s;
}
.vb-produit-cta:hover {
    background: #097a52;
    transform: translateY(-1px);
}

/* Badges variation chart */
.vb-chart-badge.up {
    background: #fff3f0;
    color: #c0392b;
}
.vb-chart-badge.down {
    background: var(--accent-bg);
    color: var(--accent);
}

/* ============================================================
   HISTORIQUE DES TARIFS
   ============================================================ */
.vb-histo-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vb-histo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.vb-histo-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--ink2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-bottom: 2px solid var(--line);
    white-space: nowrap;
}

.vb-histo-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    white-space: nowrap;
}

.vb-histo-table tbody tr:last-child td { border-bottom: none; }

.vb-histo-table tbody tr:hover { background: var(--bg-alt); }

.vb-histo-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
}

.vb-histo-badge--hausse {
    background: #fff3f0;
    color: #c0392b;
}

.vb-histo-badge--baisse {
    background: var(--accent-bg);
    color: var(--accent);
}

.vb-histo-neutral {
    color: var(--ink2);
    font-size: 13px;
}

/* ── Responsive produit ─────────────────────────────────── */
@media (max-width: 640px) {
    .vb-produit-fiche {
        flex-direction: column;
        gap: 20px;
    }
    .vb-produit-img-wrap {
        width: 100%;
        height: 200px;
    }
    .vb-produit-prix {
        font-size: 28px;
    }
    .vb-chart-price {
        font-size: 32px;
    }
}
