/*
Theme Name: Chasseur Elite
Description: Thème custom pour ChasseurDeals - Site d'affiliation Amazon. Comparatifs + Bons Plans.
Version: 5.0
Author: ChasseurDeals
Text Domain: chasseur-elite
*/

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --green:        #22c55e;
    --green-dark:   #16a34a;
    --green-light:  #dcfce7;
    --header-bg:    #1c2b1e;
    --white:        #ffffff;
    --bg:           #f3f4f6;
    --bg-card:      #ffffff;
    --text:         #111827;
    --text-muted:   #6b7280;
    --border:       #e5e7eb;
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
    --radius:       12px;
    --radius-sm:    8px;
    --radius-lg:    18px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    /* Compense le header sticky pour que les ancres ne se cachent pas dessous */
    scroll-padding-top: 130px;
}

body {
    background: var(--bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
    max-width: 100vw;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   LAYOUT UTILITAIRES
   ============================================================ */
.ch-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Conteneur rétréci sur les pages produit pour un rendu centré et aéré */
body.single-produit .ch-container {
    max-width: 1000px;
}

/* Garde-fou global : aucune section ne dépasse la largeur du viewport */
.ch-header,
.ch-cats,
.ch-layout,
.ch-single-wrap,
.ch-allcats-page,
.ch-similaires-section,
.ch-footer {
    max-width: 100%;
    overflow-x: clip;
}

/* ============================================================
   HEADER
   ============================================================ */
.ch-header {
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.ch-header-main {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
}

/* Logo */
.ch-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    white-space: nowrap;
    color: var(--white);
    letter-spacing: -0.3px;
}

.ch-logo a span { color: var(--green); }

.ch-logo img {
    height: 36px;
    width: auto;
}

/* Nav principale */
.ch-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

/* Hamburger — caché sur desktop */
.ch-burger { display: none; }
.ch-mobile-menu { display: none; }

.ch-nav a {
    color: rgba(255,255,255,0.80);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.ch-nav a:hover,
.ch-nav a.active {
    color: var(--white);
    background: rgba(255,255,255,0.10);
}

.ch-nav .ch-nav-cta {
    background: var(--green);
    color: var(--white);
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    margin-left: 8px;
}

.ch-nav .ch-nav-cta:hover {
    background: var(--green-dark);
    color: var(--white);
}

/* ── Dropdown Catégories ── */
.ch-nav-dropdown {
    position: relative;
}

.ch-nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.ch-nav-dropdown-toggle svg {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.ch-nav-dropdown:hover .ch-nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.ch-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 260px;
    z-index: 200;
    list-style: none;
    margin: 0;
}

.ch-nav-dropdown:hover .ch-nav-dropdown-menu {
    display: block;
}

.ch-nav-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s;
    white-space: nowrap;
    background: transparent;
    border-radius: 0;
}

.ch-nav-dropdown-menu li a:hover {
    background: var(--bg-soft, #f5f5f5);
    color: var(--green);
}

.ch-nav-dropdown-menu li a span {
    font-size: 1rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.ch-nav-dropdown-footer {
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 4px;
}

.ch-nav-dropdown-footer a {
    font-weight: 700 !important;
    color: var(--green) !important;
}

/* ── Grille 14 catégories (page toutes-les-categories) ── */
.ch-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 32px 0;
}

.ch-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--cat-bg, #f5f5f5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
}

.ch-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    border-color: var(--green);
}

.ch-cat-card-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.ch-cat-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.ch-cat-card-count {
    font-size: 0.78rem;
    color: var(--text-light, #888);
    font-weight: 500;
}

@media (max-width: 600px) {
    .ch-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ch-nav-dropdown-menu {
        display: none !important;
    }
}

/* Search */
.ch-search {
    flex: 0 1 420px;
    margin: 0 auto;
}

.ch-search form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

.ch-search form:focus-within {
    background: rgba(255,255,255,0.15);
    border-color: var(--green);
}

.ch-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 9px 16px;
    color: var(--white);
    font-size: 0.875rem;
    font-family: inherit;
}

.ch-search input::placeholder { color: rgba(255,255,255,0.50); }

.ch-search button {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.70);
    padding: 9px 14px;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}

.ch-search button:hover { color: var(--green); }

/* ============================================================
   NAVIGATION CATÉGORIES (TABS)
   ============================================================ */
.ch-cats {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

/* Wrapper : scroll + bouton "plus" côte à côte */
.ch-cats-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

/* Fondu sur le bord droit pour indiquer qu'il y a plus */
.ch-cats-wrap::after {
    content: '';
    position: absolute;
    right: 90px;          /* = arrow(30) + margin(4) + more(56) */
    top: 0;
    bottom: 0;
    width: 72px;
    background: linear-gradient(to right, transparent, var(--white));
    pointer-events: none;
    z-index: 1;
}

.ch-cats-scroll {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    padding: 10px 16px 10px 4px;
    flex: 1;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.ch-cats-scroll::-webkit-scrollbar {
    display: none;
}

/* Flèches de navigation (desktop uniquement) */
.ch-cats-arrow {
    display: none;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color 0.2s, border-color 0.2s, opacity 0.2s;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    padding: 0;
}

.ch-cats-arrow:hover {
    color: var(--green);
    border-color: var(--green);
}

@media (min-width: 768px) {
    .ch-cats-arrow {
        display: flex;
    }

    /* Supprime le trait vertical parasite entre le scroll et le bouton Plus */
    .ch-cat-more {
        border-left: none;
    }
}

.ch-cat-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    font-family: inherit;
    flex-shrink: 0;
    scroll-snap-align: start;
    text-decoration: none;
}

.ch-cat-item:hover {
    color: var(--green-dark);
    background: var(--green-light);
}

.ch-cat-item.active {
    color: var(--green-dark);
    background: var(--green-light);
    border-color: var(--green);
}

/* Bouton grille "Plus" */
.ch-cat-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-shrink: 0;
    width: 56px;
    padding: 8px 6px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s;
    border-left: 1px solid var(--border);
    margin-left: 4px;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.ch-cat-more:hover { color: var(--green); }

.ch-cat-more svg {
    display: block;
}

.ch-cat-more em {
    font-style: normal;
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ============================================================
   LAYOUT PRINCIPAL : DEALS + SIDEBAR
   ============================================================ */
.ch-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    padding: 28px 0 60px;
    align-items: start;
}

/* ============================================================
   SECTION TITRE
   ============================================================ */
.ch-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ch-section-head h2 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.ch-live-dot {
    width: 9px;
    height: 9px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
    50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.10); }
}

/* ============================================================
   DEAL CARDS — GRILLE PREMIUM
   ============================================================ */
.ch-deals-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ch-deal-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.22s, transform 0.18s, border-color 0.2s;
    cursor: pointer;
}

.ch-deal-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.11);
    transform: translateY(-3px);
    border-top-color: var(--green);
}

/* Lien overlay */
.ch-deal-card .ch-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ── IMAGE ZONE ── */
.ch-deal-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--bg);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.ch-deal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.3s;
    mix-blend-mode: multiply;
}

.ch-deal-card:hover .ch-deal-img img { transform: scale(1.04); }

/* Cercle réduction */
.ch-deal-reduc-circle {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.70rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(220,38,38,0.35);
    z-index: 2;
    letter-spacing: -0.3px;
}

/* Placeholder image manquante */
.ch-deal-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

/* Badge haut droite sur image */
.ch-deal-badge-top {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--header-bg);
    color: var(--green);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(34,197,94,0.35);
    z-index: 2;
    white-space: nowrap;
}

/* ── CORPS DE LA CARD ── */
.ch-deal-body {
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.ch-deal-cat {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.ch-deal-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.ch-deal-card:hover .ch-deal-title { color: var(--green-dark); }

.ch-deal-desc {
    font-size: 0.73rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ligne prix */
.ch-deal-pricing {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid var(--border);
}

.ch-deal-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--green-dark);
    letter-spacing: -0.5px;
}

.ch-deal-old {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.ch-deal-discount {
    font-size: 0.70rem;
    font-weight: 800;
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 6px;
    border-radius: 5px;
}

.ch-deal-meta {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* ── FOOTER CARD : bouton ── */
.ch-deal-action {
    padding: 0 16px 14px;
    position: relative;
    z-index: 2;
}

.btn-voir {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--green);
    color: var(--white);
    font-weight: 700;
    font-size: 0.80rem;
    padding: 8px 0;
    border-radius: var(--radius-sm);
    width: 100%;
    transition: background 0.2s;
}

.btn-voir:hover { background: var(--green-dark); color: var(--white); }

/* ============================================================
   SIDEBAR COMPARATIFS
   ============================================================ */
.ch-sidebar {
    position: sticky;
    top: 90px;
}

.ch-sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    margin-bottom: 20px;
}

.ch-sidebar-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--border);
}

/* Comparatif item */
.ch-compa-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.2s;
}

.ch-compa-item:last-child { border-bottom: none; padding-bottom: 0; }
.ch-compa-item:first-child { padding-top: 0; }

.ch-compa-item:hover { opacity: 0.80; }

.ch-compa-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ch-compa-body { flex: 1; min-width: 0; }

.ch-compa-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ch-compa-tested {
    font-size: 0.70rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.ch-compa-bar-wrap {
    background: var(--bg);
    border-radius: 3px;
    height: 5px;
    overflow: hidden;
}

.ch-compa-bar-fill {
    height: 100%;
    background: var(--green);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.ch-compa-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.ch-compa-score {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--green-dark);
}

.ch-compa-link {
    font-size: 0.72rem;
    color: var(--green);
    font-weight: 600;
    transition: color 0.2s;
}

.ch-compa-link:hover { color: var(--green-dark); }

/* Images dans le contenu éditorial produit */
.ch-single-content img,
.entry-content img {
    max-width: 280px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    float: none !important;
    margin: 20px auto !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Annule les classes d'alignement WordPress */
.ch-single-content .alignleft,
.ch-single-content .alignright,
.ch-single-content .aligncenter,
.entry-content .alignleft,
.entry-content .alignright,
.entry-content .aligncenter {
    float: none !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Fraîcheur inline sur la ligne de prix */
.ch-price-fresh {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #555;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    white-space: nowrap;
}
.ch-price-fresh-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    flex-shrink: 0;
    animation: ch-dot-pulse 3s ease-in-out infinite;
}
@keyframes ch-dot-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Indicateur de fraîcheur sur les vignettes produits */
.ch-card-fresh {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #888;
    margin-top: 6px;
    font-family: Helvetica, Arial, sans-serif;
}
.ch-card-fresh-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: ch-dot-pulse 3s ease-in-out infinite;
}

/* Radar Chasseur Deals */
.ch-radar-deal {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0b1a0d 0%, #1a3320 100%);
    border: 1px solid #2a5c34;
    border-radius: var(--radius-lg);
    padding: 11px 16px;
    margin-top: 14px;
    box-shadow: 0 0 14px rgba(34,197,94,0.12);
}

.ch-radar-dot {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    background: #22c55e;
    border-radius: 50%;
    animation: ch-radar-pulse 1.8s ease-in-out infinite;
}

@keyframes ch-radar-pulse {
    0%, 100% { opacity: 1;   box-shadow: 0 0 0 0   rgba(34,197,94,0.7); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 7px rgba(34,197,94,0);   }
}

.ch-radar-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #d4f5d4;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

/* ============================================================
   FIL D'ARIANE
   ============================================================ */
.ch-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 18px 0 0;
    flex-wrap: wrap;
}

.ch-breadcrumb a { color: var(--green); }
.ch-breadcrumb a:hover { color: var(--green-dark); }
.ch-breadcrumb-current { color: var(--text); font-weight: 600; }

/* ============================================================
   PAGE PRODUIT SINGLE
   ============================================================ */
.ch-single-wrap { padding: 20px 0 16px; display: flex; flex-direction: column; gap: 24px; }

/* ─── TOP : Info gauche | Galerie droite ─── */
.ch-single-top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

/* ─── INFO GAUCHE ─── */
.ch-single-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ch-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ch-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

.ch-single-accroche {
    font-size: 0.88rem;
    color: var(--green-dark);
    font-weight: 500;
    line-height: 1.5;
}

/* ─── GALERIE DROITE ─── */
.ch-single-gallery {
    flex: 0 0 360px;
    width: 360px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 90px;
}

/* Zone image principale */
.ch-img-main-wrap {
    position: relative;
    background: var(--bg);
    border-radius: 4px;
    border: 1px solid #eeeeee;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: crosshair;
}

.ch-zoom-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    display: block;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Lentille zoom */
.ch-zoom-lens {
    display: none;
    position: absolute;
    width: 220px;
    height: 220px;
    border: 2px solid var(--green);
    border-radius: 10px;
    pointer-events: none;
    z-index: 10;
    background-repeat: no-repeat;
    box-shadow: 0 6px 28px rgba(0,0,0,0.20);
}

/* Miniatures */
.ch-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ch-thumb-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
    font-family: inherit;
}

.ch-thumb-arrow:hover { border-color: var(--green); color: var(--green); }

.ch-single-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    scroll-behavior: smooth;
}

.ch-single-thumbs::-webkit-scrollbar { display: none; }

.ch-single-thumb {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--bg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    transition: border-color 0.2s;
    padding: 0;
}

.ch-single-thumb:hover { border-color: #aaaaaa; }
.ch-single-thumb.active { border-color: #cccccc; box-shadow: 0 0 0 1px #cccccc; }
.ch-single-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* Specs toggle */
.ch-specs-toggle {
    background: none;
    border: none;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0 0;
    font-family: inherit;
    text-align: left;
}

.ch-specs-toggle:hover { color: var(--green-dark); }

.ch-single-cat {
    font-size: 0.70rem;
    font-weight: 700;
    color: var(--green-dark);
    background: var(--green-light);
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ch-single-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
    margin: 0;
}

/* Bloc prix */
.ch-price-block {
    padding: 0;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Ligne 1 : prix + badge + fraîcheur */
.ch-price-main-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.ch-single-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--green-dark);
    letter-spacing: -0.5px;
    line-height: 1;
}

.ch-price-badge-reduc {
    background: #dc2626;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Ligne 2 : ancien prix barré + économies (si dispo) */
.ch-price-sub-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ch-single-old {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.ch-price-economy {
    font-size: 0.78rem;
    font-weight: 700;
    color: #dc2626;
}

/* Points rapides */
.ch-quick-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.ch-quick-points li {
    font-size: 0.80rem;
    color: var(--text);
    font-weight: 500;
}

/* Bouton Amazon — compact */
.btn-amazon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--green);
    color: var(--white);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 11px 20px;
    border-radius: var(--radius);
    width: 100%;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 3px 10px rgba(34,197,94,0.30);
}

.btn-amazon:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-1px);
}

/* Barre de confiance */
.ch-trust-bar {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-top: -4px;
}

.ch-trust-bar span {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.ch-single-disclaimer {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: -6px;
}

/* CTA sticky mobile — caché par défaut sur desktop */
.ch-sticky-cta {
    display: none;
}

/* Specs */
.ch-specs-block {
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.ch-specs-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.ch-specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ch-specs-list li {
    font-size: 0.78rem;
    color: var(--text);
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
}

.ch-specs-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* Lien vidéo */
.ch-video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.80rem;
    color: var(--green);
    font-weight: 600;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    transition: color 0.2s;
}

.ch-video-link:hover { color: var(--green-dark); }

/* Contenu éditorial */
.ch-single-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.ch-single-content h2 {
    font-size: 1.10rem;
    font-weight: 800;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green-light);
    color: var(--text);
}

.ch-single-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 22px 0 8px;
    padding-left: 12px;
    border-left: 3px solid var(--green);
}

.ch-single-content p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.90rem;
    margin-bottom: 10px;
}

/* ── Structure en Z inversé ── */
.ch-z-heading {
    margin-bottom: 24px;
}

.ch-z-row {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 36px;
}

/* Ligne 2 : image à droite — on inverse l'ordre flex */
.ch-z-row.ch-z-reverse {
    flex-direction: row-reverse !important;
}

/* Quand une image est absente : texte pleine largeur */
.ch-z-row.ch-z-full .ch-z-text,
.ch-z-row.ch-z-conclusion .ch-z-text {
    flex: 1 1 100%;
}

.ch-z-img-wrap {
    flex: 1;
    min-width: 0;
}

.ch-z-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-sm);
}

.ch-z-text {
    flex: 1;
    min-width: 0;
}

.ch-z-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--green);
}

/* Espacement : espace au-dessus d'un h3 qui suit un paragraphe ou une liste */
.ch-z-text p + h3,
.ch-z-text ul + h3 {
    margin-top: 24px;
}

.ch-z-text p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.90rem;
    margin: 0 0 6px;
}

/* ── Listes à puces dans le contenu éditorial ── */
.ch-z-text ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.ch-z-text ul li {
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.90rem;
    line-height: 1.65;
    margin-bottom: 7px;
}
.ch-z-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Ligne 3 conclusion : fond légèrement distinct */
.ch-z-conclusion {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 0;
    border: 1px solid var(--border);
}

/* ↳ z-row mobile → absorbé dans @media (max-width: 768px) */

/* ── Badges éditoriaux (CONCEPTION / USAGE) ── */
.ch-editorial-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 14px 5px 14px;
    border-radius: 20px;
    margin: 0 0 8px 0;
    line-height: 1 !important;
}
.ch-badge-conception {
    background: #eff6ff;
    color: #2563eb;
}
.ch-badge-usage {
    background: #f0fdf4;
    color: #16a34a;
}
.ch-badge-verdict {
    background: #fefce8;
    color: #ca8a04;
}

/* ── Verdict — carte premium, fond ambre très léger ── */
.ch-z-verdict {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.ch-z-verdict .ch-z-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    border-left: none;
    padding-left: 0;
    line-height: 1.4;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}
.ch-verdict-star {
    font-size: 18px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
.ch-z-verdict .ch-z-text p {
    font-size: 0.91rem;
    line-height: 1.80;
    color: var(--text-muted);
}
/* Badge "VERDICT DE L'EXPERT" */
.ch-badge-verdict {
    background: #fef9c3;
    color: #a16207;
    border: 1px solid #fde68a;
}

/* ── Points Forts / Points Faibles ── */
.ch-pros-cons {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}
/* Chaque colonne Points forts / Points faibles — tints colorés */
.ch-pros {
    flex: 1;
    background: #f0fdf4;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid #bbf7d0;
    border-left: 3px solid #22c55e;
}
.ch-cons {
    flex: 1;
    background: #fef2f2;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid #fecaca;
    border-left: 3px solid #ef4444;
}
.ch-pros-title {
    font-size: 0.76rem;
    font-weight: 800;
    color: #16a34a;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.ch-cons-title {
    font-size: 0.76rem;
    font-weight: 800;
    color: #dc2626;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.ch-pros ul,
.ch-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ch-pros li,
.ch-cons li {
    display: flex;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}
/* Indicateurs ✔ / ✗ — badge circulaire discret */
.ch-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: #dcfce7;
    border-radius: 50%;
    font-size: 0.60rem;
    color: #16a34a;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}
.ch-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: #fee2e2;
    border-radius: 50%;
    font-size: 0.60rem;
    color: #dc2626;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ↳ pros-cons mobile → absorbé dans @media (max-width: 768px) */

/* ══════════════════════════════════════════
   SOMMAIRE (Table des matières / TOC)
   ══════════════════════════════════════════ */
.ch-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 32px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.ch-toc-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #3b82f6;
    margin: 0 0 12px;
}
.ch-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}
.ch-toc li {
    margin-bottom: 5px;
    counter-increment: toc-counter;
}
.ch-toc a {
    font-size: 0.89rem;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 3px 0;
    transition: color 0.15s;
    line-height: 1.4;
}
.ch-toc a::before {
    content: counter(toc-counter) ".";
    font-size: 0.74rem;
    font-weight: 700;
    color: #3b82f6;
    min-width: 18px;
    flex-shrink: 0;
}
.ch-toc a:hover {
    color: #3b82f6;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ══════════════════════════════════════════
   TABLEAU AVANTAGES / INCONVÉNIENTS (bloc_3)
   ══════════════════════════════════════════ */
.ch-z-verdict table,
.ch-z-row table,
.ch-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
    font-size: 0.87rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ch-z-verdict table thead th:first-child,
.ch-z-row table thead th:first-child,
.ch-single-content table thead th:first-child {
    background: #dcfce7;
    color: #15803d;
    border-bottom: 2px solid #22c55e;
}
.ch-z-verdict table thead th:last-child,
.ch-z-row table thead th:last-child,
.ch-single-content table thead th:last-child {
    background: #fee2e2;
    color: #b91c1c;
    border-bottom: 2px solid #ef4444;
}
.ch-z-verdict table thead th,
.ch-z-row table thead th,
.ch-single-content table thead th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ch-z-verdict table tbody td,
.ch-z-row table tbody td,
.ch-single-content table tbody td {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    line-height: 1.55;
    vertical-align: top;
}
/* Colonne Avantages — teinte verte continue */
.ch-z-verdict table tbody td:first-child,
.ch-z-row table tbody td:first-child,
.ch-single-content table tbody td:first-child {
    background: #f0fdf4;
    border-right: 1px solid #bbf7d0;
    color: #166534;
}
/* Colonne Inconvénients — teinte rouge continue */
.ch-z-verdict table tbody td:last-child,
.ch-z-row table tbody td:last-child,
.ch-single-content table tbody td:last-child {
    background: #fff5f5;
    color: #991b1b;
}
.ch-z-verdict table tbody tr:last-child td,
.ch-z-row table tbody tr:last-child td,
.ch-single-content table tbody tr:last-child td {
    border-bottom: none;
}

/* ══════════════════════════════════════════
   LIEN INTERNE DE MAILLAGE
   ══════════════════════════════════════════ */
.ch-internal-link {
    margin-top: 28px;
    padding: 12px 20px;
    background: #f1f5f9;
    border-radius: var(--radius-sm);
    font-size: 0.87rem;
    color: var(--text-muted);
    text-align: center;
    border: 1px solid #e2e8f0;
}
.ch-internal-link a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}
.ch-internal-link a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════
   TITRE BLOC ÉDITORIAL
   ══════════════════════════════════════════ */
.ch-editorial-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════
   SCORE EXPERT E-E-A-T
   ══════════════════════════════════════════ */
.ch-eeat-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 28px;
    color: #fff;
}
.ch-eeat-score-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ch-eeat-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #e2e8f0;
    white-space: nowrap;
}
.ch-eeat-gauge {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 99px;
    overflow: hidden;
}
.ch-eeat-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #22c55e, #86efac);
    transition: width 1s ease;
}
.ch-eeat-num {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
    min-width: 44px;
    text-align: right;
}
.ch-eeat-num small {
    font-size: 0.75rem;
    font-weight: 500;
    color: #cbd5e1;
}
.ch-eeat-verdict {
    font-size: 0.93rem;
    color: #ffffff !important;
    line-height: 1.70;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 12px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════ */
.ch-faq-accordion h2 {
    margin-bottom: 20px;
}
.ch-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.ch-faq-item.ch-faq-open {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-color: #bfdbfe;
}
.ch-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}
.ch-faq-item.ch-faq-open .ch-faq-q {
    background: #eff6ff;
    color: #1d4ed8;
}
.ch-faq-q:hover {
    background: #eff6ff;
    color: #1d4ed8;
}
.ch-faq-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: #94a3b8;
}
.ch-faq-item.ch-faq-open .ch-faq-chevron {
    transform: rotate(180deg);
    color: #3b82f6;
}
.ch-faq-answer {
    padding: 14px 18px 16px;
    font-size: 0.89rem;
    color: var(--text-muted);
    line-height: 1.75;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}
.ch-faq-answer p {
    margin: 0 0 10px;
}
.ch-faq-answer p:last-child {
    margin: 0;
}
/* Animation d'ouverture via CSS */
.ch-faq-answer[hidden] {
    display: none;
}

/* ── FAQ SEO (ancien — conservé pour compatibilité) ── */
.ch-faq-block { margin-top: 32px; }
.ch-faq-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}
.ch-faq-item p {
    color: var(--text-muted);
    font-size: 0.90rem;
    line-height: 1.75;
    margin: 0;
}

/* Structure en Z — 3 blocs éditoriaux */
.mag-row {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 28px 0;
}

/* Bloc 1 : image gauche, texte droite (défaut) */
/* Bloc 2 : texte gauche, image droite */
.mag-row.mag-reverse { flex-direction: row-reverse; }

/* Bloc 3 : centré, pas d'image */
.mag-row.mag-center {
    flex-direction: column;
    align-items: flex-start;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.mag-img { flex-shrink: 0; width: 240px; }
.mag-img img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }

.accroche-simple-grise {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: var(--bg);
    border-radius: var(--radius);
    border-left: 3px solid var(--green);
}

/* ============================================================
   PRODUITS SIMILAIRES — MAILLAGE INTERNE SEO
   ============================================================ */
.ch-similaires-section {
    background: var(--bg-card);
    padding: 24px 0 40px;
    margin-top: 0;
}

.ch-similaires-heading {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green);
    display: inline-block;
}

.ch-similaires-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ch-sim-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ch-sim-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.ch-sim-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.ch-sim-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg);
}

.ch-sim-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.25s ease;
    mix-blend-mode: multiply;
}

.ch-sim-card:hover .ch-sim-img img {
    transform: scale(1.05);
}

.ch-sim-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ch-sim-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dc2626;
    color: var(--white);
    font-size: 0.70rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 20px;
    line-height: 1.4;
}

.ch-sim-body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ch-sim-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    transition: color 0.2s;
}

.ch-sim-card:hover .ch-sim-title {
    color: var(--green-dark);
}

.ch-sim-prix-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
}

.ch-sim-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--green-dark);
    margin: 0;
}

.ch-sim-old {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: line-through;
    margin: 0;
}

@media (max-width: 900px) {
    .ch-similaires-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ch-similaires-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ch-sim-title { font-size: 0.78rem; }
    .ch-sim-body  { padding: 10px 10px 12px; }
}

/* ============================================================
   PAGE TOP PROMOS
   ============================================================ */

/* Hero */
.tp-hero {
    background: linear-gradient(135deg, #111827 0%, #1a2e1a 100%);
    padding: 40px 0 32px;
    border-bottom: 2px solid var(--green);
}

.tp-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.tp-hero-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.tp-hero-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin: 0 0 10px;
}

.tp-hero-title span {
    color: var(--green);
}

.tp-hero-sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.90rem;
    max-width: 460px;
    line-height: 1.6;
    margin: 0;
}

.tp-hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
}

.tp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tp-stat-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
}

.tp-stat-live {
    position: relative;
}

.tp-stat-live::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    margin-left: 5px;
    vertical-align: middle;
    animation: tp-pulse 1.5s infinite;
}

@keyframes tp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.tp-stat-label {
    font-size: 0.70rem;
    color: rgba(255,255,255,0.50);
    text-align: center;
    font-weight: 500;
}

.tp-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
}

/* Bandeau urgence */
.tp-urgency-bar {
    background: #fef3c7;
    border-bottom: 1px solid #fcd34d;
    padding: 8px 0;
    font-size: 0.82rem;
    color: #92400e;
}

.tp-urgency-bar .ch-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-urgency-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    flex-shrink: 0;
    animation: tp-pulse 1.2s infinite;
}

/* Section intro 3 blocs */
.tp-intro-section {
    padding: 32px 0 8px;
}

.tp-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tp-intro-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
}

.tp-intro-icon {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 10px;
}

.tp-intro-block h3 {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 8px;
}

.tp-intro-block p {
    font-size: 0.80rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .tp-intro-grid { grid-template-columns: 1fr; gap: 12px; }
    .tp-intro-section { padding: 20px 0 0; }
}

/* Grille */
.tp-main {
    padding-top: 32px;
    padding-bottom: 56px;
}

.tp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

/* Carte */
.tp-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.tp-card--top {
    border-color: #f59e0b;
    box-shadow: 0 0 0 1px #f59e0b, var(--shadow-sm);
}

.tp-card--top:hover {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px #f59e0b, var(--shadow-md);
}

.tp-card-rank {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.70rem;
    font-weight: 800;
    text-align: center;
    padding: 5px 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tp-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg);
}

.tp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.25s ease;
    mix-blend-mode: multiply;
}

.tp-card:hover .tp-card-img img {
    transform: scale(1.05);
}

.tp-card-reduc {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #dc2626;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220,38,38,0.45);
}

.tp-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.tp-card-title {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    transition: color 0.2s;
}

.tp-card:hover .tp-card-title { color: var(--green-dark); }

.tp-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.tp-card-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tp-card-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--green-dark);
}

.tp-card-old {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.tp-card-save {
    font-size: 0.70rem;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
}

/* FOMO signals */
.tp-card-fomo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 8px;
}

.tp-fomo-stock {
    font-size: 0.72rem;
    font-weight: 700;
    color: #dc2626;
}

.tp-fomo-fresh {
    font-size: 0.70rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tp-fomo-livraison {
    font-size: 0.70rem;
    color: var(--green-dark);
    font-weight: 600;
}

.tp-btn-cta {
    font-size: 0.82rem;
    font-weight: 800;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.tp-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .tp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .tp-hero-inner { flex-direction: column; align-items: flex-start; }
    .tp-hero-title  { font-size: 1.5rem; }
    .tp-hero-stats  { width: 100%; justify-content: space-between; }
    .tp-grid        { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
    .tp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.ch-footer {
    background: var(--header-bg);
    color: var(--white);
    padding: 48px 0 28px;
}

.ch-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.ch-footer-brand p {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-top: 10px;
    max-width: 260px;
}

.ch-footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.50);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.ch-footer-col a {
    display: block;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.ch-footer-col a:hover { color: var(--green); }

.ch-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.40);
}

.ch-footer-affil {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    max-width: 500px;
    text-align: center;
    line-height: 1.5;
}

/* ============================================================
   ÉTATS VIDES & MESSAGES
   ============================================================ */
.ch-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.ch-empty p { font-size: 0.95rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablette : empilage du layout produit dès 900px ── */
@media (max-width: 900px) {
    .ch-single-top {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .ch-single-gallery {
        flex: 0 0 auto;
        width: 100%;
        max-width: 420px;
        position: static;
        order: -1;
    }

    .ch-single-info {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .ch-layout {
        grid-template-columns: 1fr;
    }

    .ch-sidebar {
        position: static;
    }

    /* Dès que l'écran passe en 1 colonne : grid → flex pour plus de contrôle */
    .ch-single-top {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    /* Galerie remonte visuellement avant le bloc info */
    .ch-single-gallery {
        position: static;            /* désactive le sticky */
        order: -1;
        width: 100%;
    }

    .ch-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ch-container {
        padding: 0 20px;
    }

    /* ── Header : largeur contrainte, pas de débordement ── */
    .ch-header-main {
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 0;
        width: 100%;
    }

    .ch-logo img {
        height: 28px;
    }

    .ch-logo a {
        font-size: 1.05rem;
    }

    .ch-search {
        order: 3;
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .ch-search input {
        font-size: 0.80rem;
        padding: 8px 12px;
    }

    .ch-nav { display: none; }
    .ch-burger { display: flex; }
    .ch-mobile-menu { display: block; }

    /* ── Hamburger ── */
    .ch-burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
        flex-shrink: 0;
    }
    .ch-burger span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--white);
        border-radius: 2px;
        transition: transform 0.25s, opacity 0.25s;
    }
    .ch-burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .ch-burger.is-open span:nth-child(2) { opacity: 0; }
    .ch-burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* ── Menu mobile drawer ── */
    .ch-mobile-menu {
        background: var(--header-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .ch-mobile-menu.is-open {
        max-height: 300px;
    }
    .ch-mobile-menu nav {
        display: flex;
        flex-direction: column;
        padding: 12px 20px 16px;
        gap: 4px;
    }
    .ch-mobile-menu nav a {
        color: rgba(255,255,255,0.85);
        font-weight: 600;
        font-size: 0.95rem;
        padding: 10px 12px;
        border-radius: 8px;
        transition: background 0.2s, color 0.2s;
        text-decoration: none;
    }
    .ch-mobile-menu nav a:hover,
    .ch-mobile-menu nav a.active {
        background: rgba(255,255,255,0.10);
        color: var(--white);
    }
    .ch-mobile-menu nav a.ch-nav-cta {
        background: var(--green);
        color: var(--white);
        margin-top: 4px;
        text-align: center;
    }
    .ch-mobile-menu nav a.ch-nav-cta:hover {
        background: var(--green-dark);
    }
    body.ch-menu-open { overflow: hidden; }

    /* ── Slider catégories : conteneur verrouillé, barre fantôme supprimée ── */
    .ch-cats-wrap {
        width: 100%;
        overflow: hidden;          /* empêche tout débordement horizontal */
    }

    /* Suppression du fondu-gradient blanc (apparaît comme une barre sur mobile) */
    .ch-cats-wrap::after {
        display: none;
    }

    .ch-cats-scroll {
        height: 50px;
        padding: 0 12px 0 4px;
        align-items: center;
    }

    .ch-cat-item {
        font-size: 0.78rem;
        padding: 5px 13px;
    }

    /* Bouton "Plus" toujours visible */
    .ch-cat-more {
        min-width: 52px;
        width: 52px;
        z-index: 10;
        position: relative;
    }

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

    .mag-row,
    .mag-row:nth-child(even) {
        flex-direction: column;
    }

    .mag-img { width: 100%; }

    .ch-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ch-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* ╔══════════════════════════════════════════════════════════╗
       ║   SINGLE PRODUIT — MOBILE-FIRST  (max-width: 768px)    ║
       ║   Architecture : stack vertical • zéro overflow         ║
       ║   image → thumbs → infos → blocs Z → sticky CTA        ║
       ╚══════════════════════════════════════════════════════════╝ */

    /* ── Wrapper : espace pour le CTA sticky en bas ── */
    .ch-single-wrap {
        padding-top: 8px;
        padding-bottom: 100px;
        gap: 16px;
    }

    /* ── Layout top → flex colonne (remplace la CSS grid) ── */
    .ch-single-top {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       1. GALERIE — image toujours EN PREMIER visuellement
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .ch-single-gallery {
        order: -1;                   /* remonte avant .ch-single-info */
        position: static;            /* plus de sticky sur mobile */
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    /* Conteneur image : hauteur maîtrisée, jamais de ratio forcé */
    .ch-img-main-wrap {
        width: 100%;
        max-width: 100%;
        aspect-ratio: unset;         /* annule le 4/3 du desktop */
        height: auto;
        max-height: 300px;
        overflow: hidden;
        cursor: default;             /* pas de crosshair sur tactile */
        border-radius: 14px;
    }

    /* Image elle-même : contained, jamais tronquée */
    .ch-zoom-img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
        padding: 14px;
        display: block;
        mix-blend-mode: multiply;
    }

    /* Lentille zoom : hors-sujet sur mobile */
    .ch-zoom-lens { display: none !important; }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       2. SLIDER MINIATURES — scroll natif au doigt, sans boutons
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .ch-thumbs-wrap {
        width: 100%;
        overflow: hidden;            /* masque le scroll technique */
        position: relative;
    }

    /* Boutons flèche masqués → le doigt suffit */
    .ch-thumb-arrow {
        display: none;
    }

    .ch-single-thumbs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;  /* momentum iOS */
        scrollbar-width: none;
        padding: 4px 0;
        flex: unset;
        width: 100%;
        box-sizing: border-box;
    }

    .ch-single-thumbs::-webkit-scrollbar { display: none; }

    .ch-single-thumb {
        width: 54px;
        height: 54px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       3. BLOC INFO — colonne unique, aéré, 100 % largeur
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .ch-single-info {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    /* Contraindre chaque enfant du bloc info */
    .ch-single-badges,
    .ch-single-title,
    .ch-single-accroche,
    .ch-divider,
    .ch-price-block,
    .ch-price-main-row,
    .ch-price-sub-row,
    .ch-specs-block,
    .ch-single-disclaimer,
    .ch-video-link,
    .btn-amazon {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }

    /* Titre : dominant, lisible sans zoomer */
    .ch-single-title {
        font-size: 1.18rem;
        font-weight: 800;
        line-height: 1.35;
    }

    /* Prix : chiffre fort */
    .ch-single-price {
        font-size: 1.70rem;
        line-height: 1;
    }

    /* Badges : enveloppants, jamais en ligne forcée */
    .ch-single-badges {
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
    }

    /* CTA principal : pleine largeur, tap-friendly */
    .btn-amazon {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        padding: 14px 20px;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       4. BLOCS ÉDITORIAUX EN Z — empilement strict, zéro float
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .ch-single-content {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Blocs Z normaux ET inversés : colonne dans les deux cas */
    .ch-z-row,
    .ch-z-row.ch-z-reverse {
        flex-direction: column !important;
        gap: 14px;
        margin-bottom: 24px;
        width: 100%;
    }

    /* Image du bloc Z : pleine largeur, pas de float hérité */
    .ch-z-img-wrap {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        float: none !important;
        min-width: 0;
    }

    .ch-z-img {
        width: 100%;
        height: auto;
        max-height: 220px;
        object-fit: cover;
        float: none !important;
    }

    /* Texte du bloc Z : pleine largeur */
    .ch-z-text {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    .ch-z-text p,
    .ch-z-text h3 {
        width: 100%;
        min-width: 0;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       4b. AVIS (PROS / CONS) — cards compactes, respiration douce
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

    /* Points forts / Points faibles → 1 colonne */
    .ch-pros-cons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
    }

    /* Padding réduit sur mobile, radius augmenté pour look app */
    .ch-pros,
    .ch-cons {
        padding: 14px 16px;
        border-radius: 14px;
    }

    /* Titres légèrement plus petits sur mobile */
    .ch-pros-title,
    .ch-cons-title {
        font-size: 0.72rem;
        margin-bottom: 10px;
    }

    /* Items de liste — taille adaptée, icônes alignées haut */
    .ch-pros li,
    .ch-cons li {
        font-size: 0.84rem;
        line-height: 1.5;
        margin-bottom: 7px;
        align-items: flex-start;
        gap: 8px;
    }

    /* Icônes ✔ / ✗ : légèrement plus petites sur petits écrans */
    .ch-check,
    .ch-cross {
        width: 16px;
        height: 16px;
        min-width: 16px;
        font-size: 0.55rem;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       4c. VERDICT — aéré, bien proportionné, lisible d'un coup d'œil
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .ch-z-verdict {
        padding: 18px 16px;
        border-radius: 14px;
        border-left-width: 4px;
    }

    /* Titre verdict : ⭐ inclus — on contrôle sa hauteur de ligne */
    .ch-z-verdict .ch-z-text h3 {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    /* Texte verdict : lisible, respirant */
    .ch-z-verdict .ch-z-text p {
        font-size: 0.86rem;
        line-height: 1.75;
    }

    /* Badge éditorial (VERDICT DE L'EXPERT / ANALYSE...) — discret sur mobile */
    .ch-editorial-badge {
        font-size: 0.62rem;
        padding: 6px 10px 4px 10px;
        letter-spacing: 0.07em;
        margin: 0 0 8px 0;
        line-height: 1 !important;
    }

    /* Images insérées via the_content() → jamais de float */
    .ch-single-content img,
    .ch-single-content figure img,
    .ch-single-content .wp-block-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 260px;
        object-fit: contain;
        float: none !important;
        display: block;
        margin: 0 auto 14px;
    }

    .ch-single-content figure,
    .ch-single-content .wp-block-image,
    .ch-single-content .alignleft,
    .ch-single-content .alignright {
        float: none !important;
        width: 100% !important;
        margin: 0 0 14px 0 !important;
        display: block;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       5. BARRE CATÉGORIES — artefacts supprimés
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .ch-cat-more {
        border-left: none;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       6. CTA STICKY — invariant, toujours visible en bas d'écran
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .ch-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 24px rgba(0,0,0,0.13);
        z-index: 998;
    }

    .ch-sticky-cta .btn-amazon {
        width: 100%;
        font-size: 1rem;
        padding: 14px 20px;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       7. SÉLECTEURS ULTRA-SPÉCIFIQUES — force le rendu des icônes
          et de l'étoile verdict quels que soient les conflits CSS
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

    /* Icône ✔ Points forts — badge circulaire vert, max 16px */
    body.single-produit .ch-single-content .ch-pros li .ch-check,
    body.single-produit .ch-pros li span.ch-check {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        background: #dcfce7 !important;
        border-radius: 50% !important;
        font-size: 0.55rem !important;
        color: #16a34a !important;
        font-weight: 900 !important;
        flex-shrink: 0 !important;
        margin-top: 2px !important;
        line-height: 1 !important;
    }

    /* Icône ✗ Points faibles — badge circulaire rouge, max 16px */
    body.single-produit .ch-single-content .ch-cons li .ch-cross,
    body.single-produit .ch-cons li span.ch-cross {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        background: #fee2e2 !important;
        border-radius: 50% !important;
        font-size: 0.55rem !important;
        color: #dc2626 !important;
        font-weight: 900 !important;
        flex-shrink: 0 !important;
        margin-top: 2px !important;
        line-height: 1 !important;
    }

    /* ── Titre h3 du verdict — taille de base contrôlée ── */
    body.single-produit .ch-z-verdict .ch-z-text h3,
    body.single-produit .ch-single-content .ch-z-row.ch-z-verdict h3 {
        font-size: 0.93rem !important;
        line-height: 1.45 !important;
        font-weight: 800 !important;
        color: var(--text) !important;
        margin-bottom: 8px !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    /* ── Emoji ⭐ — span dédié, taille strictement ≤ 20px ── */
    body.single-produit .ch-z-verdict .ch-z-text h3 .ch-verdict-star,
    body.single-produit .ch-single-content .ch-z-row.ch-z-verdict h3 .ch-verdict-star {
        font-size: 14px !important;       /* emoji suit le font-size du parent inline */
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        line-height: 1 !important;
        overflow: hidden !important;
    }

    /* Cards Pros/Cons — fond coloré garanti même si un thème parent override */
    body.single-produit .ch-pros-cons .ch-pros {
        background: #f0fdf4 !important;
        border: 1px solid #bbf7d0 !important;
        border-left: 3px solid #22c55e !important;
        padding: 14px 16px !important;
        border-radius: 14px !important;
    }

    body.single-produit .ch-pros-cons .ch-cons {
        background: #fef2f2 !important;
        border: 1px solid #fecaca !important;
        border-left: 3px solid #ef4444 !important;
        padding: 14px 16px !important;
        border-radius: 14px !important;
    }

    /* Verdict card — fond ambre garanti */
    body.single-produit .ch-single-content .ch-z-verdict {
        background: #fffbeb !important;
        border-left: 4px solid #f59e0b !important;
        border-radius: 14px !important;
        padding: 18px 16px !important;
    }

    /* ── Titre éditorial — mobile ── */
    .ch-editorial-title {
        font-size: 1.05rem;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    /* ── Score EEAT — pleine largeur sur mobile ── */
    .ch-eeat-bar {
        padding: 14px 16px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
    .ch-eeat-score-wrap {
        gap: 8px;
    }
    .ch-eeat-label {
        font-size: 0.65rem;
    }
    .ch-eeat-num {
        font-size: 1rem;
    }

    /* ── TOC — pleine largeur sur mobile ── */
    .ch-toc {
        display: block;
        margin-bottom: 20px;
        padding: 14px 16px;
    }
    .ch-toc a {
        font-size: 0.85rem;
        padding: 5px 0;
    }

    /* ── FAQ accordion — padding réduit ── */
    .ch-faq-q {
        padding: 12px 14px;
        font-size: 0.87rem;
    }
    .ch-faq-answer {
        padding: 12px 14px 14px;
        font-size: 0.85rem;
    }

    /* ── Tableau Avantages/Inconvénients — scroll horizontal ── */
    .ch-z-verdict table,
    .ch-z-row table,
    .ch-single-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.82rem;
    }

    /* ── Lien interne ── */
    .ch-internal-link {
        font-size: 0.83rem;
        padding: 10px 14px;
    }
}

/* ============================================================
   PAGE — HUB CATÉGORIES  ·  Apple × Shadcn × 21st.dev
   ============================================================ */


/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.ch-allcats-page {
    padding: 56px 0 0;
}

.ch-hero {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 52px;
}

.ch-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--green-light, #edfbf3);
    color: var(--green-dark, #0a7a40);
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 4px 12px 4px 9px;
    border-radius: 99px;
    margin-bottom: 22px;
}

.ch-hero-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-dark, #0a7a40);
    flex-shrink: 0;
    animation: ch-blink 1.8s ease-in-out infinite;
}

@keyframes ch-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.7); }
}

.ch-hero-title {
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text, #0f1117);
    letter-spacing: -0.035em;
    margin-bottom: 18px;
}

.ch-hero-title em {
    font-style: normal;
    color: var(--green-dark, #0a7a40);
}

.ch-hero-intro {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-muted, #6b7280);
    max-width: 540px;
    margin: 0 auto;
}

.ch-hero-intro strong {
    color: var(--text, #0f1117);
    font-weight: 600;
}


/* ════════════════════════════════════════════════════════════
   GRILLE BENTO
   ════════════════════════════════════════════════════════════ */
.ch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

/* Les 2 premieres cartes occupent 2 colonnes et sont en mode paysage */
.ch-card--wide {
    grid-column: span 2;
}

/* ════════════════════════════════════════════════════════════
   CARTE  -  Architecture flex-column robuste
   ------------------------------------------------
   .ch-card
     +-- .ch-card-body   (flex: 1 => centre l icone)
     |     +-- .ch-card-icon
     +-- .ch-card-foot   (ancre naturellement en bas)
           +-- .ch-card-name
           +-- .ch-card-desc
           +-- .ch-card-count
   + .ch-card-link       (overlay absolu cliquable)
   ════════════════════════════════════════════════════════════ */
.ch-card {
    /* Flexbox vertical : la seule regle qui compte pour l alignement */
    display: flex;
    flex-direction: column;

    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    overflow: hidden;
    background: var(--g, linear-gradient(145deg, #4facfe, #00f2fe));

    /* Ombre douce style Apple */
    box-shadow:
        0 1px 2px rgba(0,0,0,0.05),
        0 4px 16px rgba(0,0,0,0.10);

    transition:
        transform .26s cubic-bezier(.34,1.56,.64,1),
        box-shadow .26s ease;

    will-change: transform;
}

.ch-card--wide {
    aspect-ratio: 2 / 1;
}

.ch-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.06),
        0 16px 40px rgba(0,0,0,0.15);
}

/* ── Grain SVG (feTurbulence, sans ressource externe) ── */
.ch-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    opacity: 0.038;
}

/* ── Zone icone : prend tout l espace libre et centre l icone ── */
.ch-card-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 16px;
    min-height: 0;
}

/* ── Icone Lucide — 50px, blanche, avec halo ── */
.ch-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    color: #fff;
    position: relative;

    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12));
    transition:
        transform .26s cubic-bezier(.34,1.56,.64,1),
        filter    .26s ease;
}

/* Halo lumineux derriere l icone */
.ch-card-icon::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.20);
    filter: blur(14px);
    z-index: -1;
    pointer-events: none;
}

.ch-card-icon svg {
    width: 50px;
    height: 50px;
    stroke-width: 1.5;
    stroke: currentColor;
    fill: none;
    display: block;
}

.ch-card:hover .ch-card-icon {
    transform: scale(1.12);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18)) brightness(1.10);
}

/* Icones plus grandes sur les cartes larges */
.ch-card--wide .ch-card-icon,
.ch-card--wide .ch-card-icon svg {
    width: 62px;
    height: 62px;
}

/* ── Bandeau glassmorphism bas ── */
.ch-card-foot {
    /* Ancre en bas par le flex-column — aucun positionnement absolu */
    flex-shrink: 0;
    z-index: 3;
    padding: 11px 14px 13px;

    background: rgba(255,255,255,0.11);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-top: 1px solid rgba(255,255,255,0.14);

    display: flex;
    flex-direction: column;
    gap: 1px;

    transition: background .22s ease;
}

.ch-card:hover .ch-card-foot {
    background: rgba(255,255,255,0.17);
}

.ch-card-name {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0,0,0,0.18);
    letter-spacing: .005em;
}

/* Micro-description SEO — toujours visible */
.ch-card-desc {
    display: block;
    font-size: 0.67rem;
    font-weight: 400;
    color: rgba(255,255,255,0.72);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.ch-card-count {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.50);
    letter-spacing: .03em;
    margin-top: 3px;
}

/* ── Lien couvrant toute la carte ── */
.ch-card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
}

.ch-card-link:focus-visible {
    outline: 3px solid rgba(255,255,255,0.80);
    outline-offset: -3px;
}

/* ── Message vide ── */
.ch-empty {
    text-align: center;
    color: var(--text-muted, #9ca3af);
    padding: 56px 0;
}


/* ════════════════════════════════════════════════════════════
   SEO FOOTER
   ════════════════════════════════════════════════════════════ */
.ch-seo-section {
    background: var(--surface-alt, #f9fafb);
    border-top: 1px solid var(--border, #e5e7eb);
    padding: 64px 0 80px;
}

.ch-seo-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.ch-seo-col p {
    font-size: 0.875rem;
    color: var(--text-muted, #4b5563);
    line-height: 1.78;
    margin: 0 0 12px;
}

.ch-seo-col p strong {
    color: var(--text, #0f1117);
    font-weight: 600;
}

.ch-seo-h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text, #0f1117);
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green-dark, #0a7a40);
}

.ch-seo-h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #0f1117);
    margin: 20px 0 6px;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

/* Tablette (900px) : 3 colonnes */
@media (max-width: 900px) {
    .ch-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .ch-card--wide:nth-child(1) {
        grid-column: span 3;
        aspect-ratio: 3 / 1;
    }

    .ch-card--wide:nth-child(2) {
        grid-column: span 2;
    }

    .ch-seo-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Tablette étroite (480px) : 2 colonnes, Bento simplifié */
@media (max-width: 480px) {
    .ch-container { padding: 0 12px; }

    .ch-header-main { gap: 8px; }

    .ch-logo img { height: 26px; }

    .ch-search button { padding: 8px 10px; }

    /* Slider catégories : hauteur minimale garantie */
    .ch-cats-scroll {
        height: 48px;
        padding: 0 8px 0 2px;
    }

    .ch-cat-item {
        font-size: 0.74rem;
        padding: 5px 11px;
    }
}

/* Mobile (600px) : 1 seule colonne — cartes verticales, icônes et titres grands */
@media (max-width: 600px) {
    .ch-allcats-page { padding: 24px 0 0; }

    .ch-hero {
        margin-bottom: 20px;
        padding: 0 4px;
    }

    .ch-hero-title { font-size: 1.65rem; }

    .ch-hero-intro { font-size: 0.88rem; }

    /* ── UNE seule carte par ligne ── */
    .ch-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
        margin-bottom: 32px;
    }

    /* Annulation de tous les spans Bento — colonne unique */
    .ch-grid > * {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        /* Format paysage : icône + texte bien visibles, facilement cliquable */
        aspect-ratio: 3 / 1 !important;
    }

    /* Carte en mode horizontal : icône à gauche, texte à droite */
    .ch-card {
        flex-direction: row;
        border-radius: 16px;
        align-items: stretch;
    }

    .ch-card-body {
        flex: 0 0 80px;          /* zone icône fixe à gauche */
        padding: 12px;
    }

    .ch-card-icon,
    .ch-card-icon svg {
        width: 40px;
        height: 40px;
    }

    /* Le bandeau texte prend tout le reste */
    .ch-card-foot {
        flex: 1;
        justify-content: center;
        border-top: none;
        border-left: 1px solid rgba(255,255,255,0.14);
        padding: 12px 16px;
    }

    /* Description visible sur mobile — texte agrandi */
    .ch-card-desc {
        display: block;
        white-space: normal;
        font-size: 0.70rem;
    }

    .ch-card-name { font-size: 0.92rem; }

    .ch-card-count { display: block; }

    .ch-seo-section { padding: 36px 0 48px; }

    .ch-seo-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Très petit (360px) : conserve 1 colonne, proportion légèrement réduite */
@media (max-width: 360px) {
    .ch-grid {
        grid-template-columns: 1fr !important;
        gap: 8px;
    }

    .ch-grid > * {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 2 / 1 !important;
    }

    .ch-card-name { font-size: 0.82rem; }
    .ch-card-count { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   CENTRAGE PIXEL-PERFECT — Badges éditoriaux de section
   Spécificité maximale pour écraser toute règle WordPress / thème.
   Cible : h2.ch-editorial-badge (Analyse, Détails & Usage, Verdict)
   ══════════════════════════════════════════════════════════════════ */
html body.single-produit h2.ch-editorial-badge,
html body.single-produit h2.ch-badge-conception,
html body.single-produit h2.ch-badge-usage,
html body.single-produit h2.ch-badge-verdict {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    line-height: 1 !important;
    padding: 0 14px !important;
    transform: none !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    margin: 0 0 8px 0 !important;
}

html body.single-produit h2.ch-editorial-badge::before,
html body.single-produit h2.ch-editorial-badge::after {
    display: none !important;
}

@media (max-width: 768px) {
    html body.single-produit h2.ch-editorial-badge,
    html body.single-produit h2.ch-badge-conception,
    html body.single-produit h2.ch-badge-usage,
    html body.single-produit h2.ch-badge-verdict {
        min-height: 24px !important;
        padding: 0 10px !important;
        font-size: 0.62rem !important;
        line-height: 1 !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   PAGINATION — ch-pagination
   ══════════════════════════════════════════════════════════════════ */


.ch-pagination {
    margin: 40px 0 28px;
    display: flex;
    justify-content: center;
    width: 100%;
    clear: both;
}

.ch-pagination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.ch-pagination-item a,
.ch-pagination-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

.ch-pagination-item a:hover {
    background: var(--green-light);
    border-color: var(--green);
    color: var(--green-dark);
}

.ch-pagination-item span.current {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    cursor: default;
}

.ch-pagination-item span.dots {
    border-color: transparent;
    background: transparent;
    color: var(--text-muted);
    cursor: default;
    min-width: 24px;
    padding: 0 4px;
}

@media (max-width: 600px) {
    .ch-pagination { margin: 32px 0 20px; }
    .ch-pagination-list { gap: 5px; }
    .ch-pagination-item a,
    .ch-pagination-item span {
        min-width: 44px;
        height: 44px;
        padding: 0 10px;
        font-size: 0.85rem;
    }
}

/* ============================================================
   RESPONSIVE COMPLÉMENTAIRE — Touch targets & gaps
   ============================================================ */

/* Protection overflow sur les sections Top Promos */
.tp-hero,
.tp-urgency-bar {
    overflow-x: clip;
    max-width: 100%;
}

/* btn-voir : hauteur minimale tactile sur tous les écrans */
.btn-voir {
    min-height: 44px;
}

/* Tablette 640px : masque les stats hero Top Promos */
@media (max-width: 640px) {
    .tp-hero-stats { display: none; }
    .tp-hero-title  { font-size: 1.25rem; }
}

/* Mobile 480px : déjà géré pour tp-hero-stats, on override ici */
@media (max-width: 480px) {
    /* Touch target pour les filtres catégories */
    .ch-cat-item {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    /* Footer brand : retire la max-width trop contraignante */
    .ch-footer-brand p {
        max-width: 100%;
    }

    /* Top Promos : titre hero compact */
    .tp-hero-title { font-size: 1.15rem; }

    /* Deals list : passe à 1 colonne si pas encore fait */
    .tp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Très petit mobile 375px */
@media (max-width: 375px) {
    .ch-container { padding: 0 10px; }

    .tp-grid { grid-template-columns: 1fr; }

    .ch-similaires-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .ch-sim-title { font-size: 0.75rem; }
}

/* ============================================================
   SINGLE COMPARATIF
   ============================================================ */

.ch-compa-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 0 56px;
}

/* Hero */
.ch-compa-hero {
    text-align: center;
    padding: 32px 0 24px;
}

.ch-compa-hero-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.ch-compa-h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1.25;
    margin: 0 0 16px;
}

.ch-compa-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ch-compa-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--green-light);
    color: var(--green-dark);
}

.ch-pill-score  { background: #fef9c3; color: #854d0e; }
.ch-pill-tests  { background: #ede9fe; color: #5b21b6; }
.ch-pill-avis   { background: #dbeafe; color: #1e40af; }
.ch-pill-date   { background: var(--bg); color: var(--text-muted); }

/* Titres de section H2 */
.ch-compa-section-title {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green);
}

.ch-compa-section {
    margin-bottom: 40px;
}

/* Duel — 2 cartes */
.ch-compa-duel {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 16px;
    margin-bottom: 12px;
}

.ch-compa-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
    position: relative;
}

.ch-compa-card-winner {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.15), var(--shadow-md);
}

.ch-compa-winner-badge {
    background: var(--green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    padding: 5px 12px;
    letter-spacing: 0.02em;
}

.ch-compa-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ch-compa-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.ch-compa-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ch-compa-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin: 0;
}

.ch-compa-card-prix {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--green-dark);
}

.ch-compa-score-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
}

.ch-compa-score-label {
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.ch-compa-bar-bg {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}

.ch-compa-bar-fill {
    height: 100%;
    background: var(--green);
    border-radius: 99px;
    transition: width 0.6s ease;
}

.ch-compa-score-val {
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}

.ch-compa-btn {
    font-size: 0.82rem;
    padding: 9px 14px;
    text-align: center;
    width: 100%;
}

.ch-compa-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    align-self: center;
    background: var(--text);
    color: #fff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* Note affilié */
.ch-affiliate-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 32px;
    font-style: italic;
}

.ch-affiliate-note-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Bloc expertise */
.ch-compa-expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ch-compa-expert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ch-compa-expert-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

/* Score de fiabilité */
.ch-compa-fiabilite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.ch-fiabilite-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.ch-fiabilite-val {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.ch-fiabilite-val small {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 2px;
}

.ch-fiabilite-high { color: var(--green-dark); }
.ch-fiabilite-mid  { color: #d97706; }
.ch-fiabilite-low  { color: #dc2626; }

/* Verdict expert */
.ch-compa-verdict-expert {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ch-verdict-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green-dark);
    background: var(--green-light);
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}

.ch-compa-verdict-expert p {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.65;
    margin: 0;
}

/* Tableau specs */
.ch-compa-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.ch-compa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: var(--bg-card);
}

.ch-compa-table thead {
    background: var(--header-bg);
    color: #fff;
}

.ch-compa-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.ch-compa-table thead th:first-child {
    width: 34%;
}

.ch-compa-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s ease;
}

.ch-compa-table tbody tr:last-child {
    border-bottom: none;
}

.ch-compa-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.ch-compa-table tbody tr:hover {
    background: var(--green-light);
}

.ch-compa-table td {
    padding: 10px 16px;
    vertical-align: top;
    color: var(--text);
    line-height: 1.5;
}

.ch-specs-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Verdict final */
.ch-compa-verdict-section {
    background: var(--bg-card);
    border: 2px solid var(--green);
    border-radius: var(--radius-lg);
    padding: 28px 28px 24px;
}

.ch-compa-verdict-section .ch-compa-section-title {
    border-color: var(--green-dark);
}

.ch-compa-verdict-text p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text);
    margin: 0 0 20px;
}

.ch-compa-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ch-btn-secondary {
    background: var(--text) !important;
    color: #fff !important;
}

.ch-btn-secondary:hover {
    background: #374151 !important;
}

/* Méthodologie */
.ch-compa-methodo {
    background: #f8faff;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-lg);
    padding: 28px;
}

.ch-compa-methodo .ch-compa-section-title {
    border-color: #3b82f6;
}

.ch-methodo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ch-methodo-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ch-methodo-icon {
    font-size: 1.4rem;
}

.ch-methodo-block h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.ch-methodo-block p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .ch-compa-duel {
        grid-template-columns: 1fr;
    }

    .ch-compa-vs {
        align-self: center;
        margin: 0 auto;
    }

    .ch-compa-expertise-grid {
        grid-template-columns: 1fr;
    }

    .ch-methodo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ch-compa-verdict-section {
        padding: 20px 16px;
    }

    .ch-compa-cta-row {
        flex-direction: column;
    }

    .ch-compa-cta-row .btn-amazon {
        text-align: center;
    }

    .ch-compa-methodo {
        padding: 20px 16px;
    }

    .ch-compa-table thead th:first-child {
        width: auto;
    }
}

@media (max-width: 480px) {
    .ch-compa-hero-meta {
        gap: 6px;
    }

    .ch-compa-pill {
        font-size: 0.72rem;
        padding: 3px 10px;
    }
}

/* ============================================================
   NAVIGATION LOADER — barre de progression inter-pages
   ============================================================ */
#ch-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--green-dark, #16a34a);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.5);
}
