/* ============================================================
   CATALOGUE — XPERIENCE VISION (démo)
   ============================================================ */

/* ============================================================
   DESIGN TOKENS — variables centralisées
   ============================================================ */
:root {
    /* Texte secondaire avec contraste WCAG AA garanti sur #0a0a0a */
    --xv-text-muted: #a0a0a0;       /* ratio ~7.1:1 */
    --xv-text-faint: #888;          /* ratio ~5.4:1 — uniquement pour les textes ≥ 14px en gras */
    --xv-text-disabled: #555;

    --xv-radius-pill: 999px;
    --xv-radius-sm: 0.8rem;
    --xv-radius-md: 1.2rem;
    --xv-radius-lg: 1.5rem;
    --xv-radius-xl: 2rem;
    --xv-radius-2xl: 2.5rem;

    --xv-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --xv-shadow-md: 0 12px 30px rgba(0, 0, 0, 0.4);
    --xv-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --xv-shadow-xl: 0 30px 70px rgba(0, 0, 0, 0.6);

    /* Z-index ordonnés et explicites (plus de collisions) */
    --xv-z-base: 1;
    --xv-z-sticky-low: 30;        /* filtres in-section */
    --xv-z-sticky-mid: 45;        /* subnav catalogue */
    --xv-z-navbar: 100;
    --xv-z-fab: 90;               /* FAB paniers */
    --xv-z-whatsapp: 95;          /* bouton WhatsApp flottant */
    --xv-z-drawer: 120;           /* drawer panier */
    --xv-z-modal: 130;            /* modals */
    --xv-z-banner: 200;           /* bandeau démo en haut */

    --xv-touch-target: 44px;      /* WCAG AAA / Apple / Google */
}

/* ============================================================
   prefers-reduced-motion — désactive transitions/animations
   pour les utilisateurs sensibles au mouvement
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   SECTIONS PLEIN ÉCRAN — index.html (page-ecommerce)
   - Chaque section occupe exactement 100vh, contenu entièrement
     visible sans scroll.
   - Pour les catalogues services/produits : seule la 1ère ligne de
     cartes est visible, le reste est masqué (overflow hidden).
   ============================================================ */
body.page-catalogue section {
    height: auto !important;
    max-height: unset !important;
    overflow: visible !important;
}

/* Hauteur combinée navbar + subnav (navbar + subnav en position: fixed) */
body.page-ecommerce {
    --xv-navbar-height: 72px;
    --xv-subnav-height: 62px;
    --xv-nav-offset: calc(var(--xv-navbar-height) + var(--xv-subnav-height));
}
@media (max-width: 767px) {
    body.page-ecommerce {
        --xv-navbar-height: 64px;
        --xv-subnav-height: 60px;
    }
}

/* HERO — hauteur exacte du viewport moins la hauteur du subnav
   car le navbar est fixed en overlay et le subnav est dans le flow juste
   après. Le haut du hero est derrière le navbar (le contenu est centré
   vertically donc reste lisible). */
body.page-ecommerce #main-content {
    padding-top: var(--xv-nav-offset);
}

body.page-ecommerce #accueil {
    height: calc(100vh - var(--xv-nav-offset)) !important;
    min-height: calc(100vh - var(--xv-nav-offset)) !important;
    max-height: calc(100vh - var(--xv-nav-offset)) !important;
    scroll-margin-top: var(--xv-nav-offset);
}

/* Mobile : contenu du hero plus proche du haut, moins d'espace vide */
@media (max-width: 767px) {
    body.page-ecommerce #accueil {
        justify-content: flex-start !important;
        padding-top: 2.5rem !important;
    }
}

body.page-ecommerce .cat-section {
    min-height: calc(100vh - var(--xv-nav-offset));
    height: calc(100vh - var(--xv-nav-offset));
    max-height: calc(100vh - var(--xv-nav-offset));
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 4.5rem 1.5rem;
    box-sizing: border-box;
    scroll-margin-top: var(--xv-nav-offset);
}

/* Mobile : laisser les sections respirer naturellement (pas de contrainte 100vh qui coupe) */
@media (max-width: 767px) {
    body.page-ecommerce .cat-section {
        height: auto;
        max-height: none;
        min-height: 0;
        overflow: visible;
        padding: 3rem 1rem;
    }
}

body.page-ecommerce .cat-section-inner {
    width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}

/* EXCEPTION : Services et Produits peuvent dépasser (scroll naturel).
   Le min-height garantit que l'en-tête + filtres + 1ère ligne de cartes
   tiennent dans l'espace visible sous navbar+subnav. */
body.page-ecommerce .cat-section-services,
body.page-ecommerce .cat-section-produits {
    height: auto !important;
    max-height: none !important;
    min-height: calc(100vh - var(--xv-nav-offset));
    overflow: visible !important;
    justify-content: flex-start;
    padding: 4.5rem 1.5rem;
}

body.page-ecommerce .cat-section-services .cat-section-inner,
body.page-ecommerce .cat-section-produits .cat-section-inner {
    max-height: none;
}

body.page-ecommerce .cat-section-services .cat-content,
body.page-ecommerce .cat-section-produits .cat-content {
    overflow: visible;
}

/* Best Sellers : compact centré (padding unifié via .cat-section) */
body.page-ecommerce .cat-section-best {
    /* padding hérité de .cat-section : 4.5rem 1.5rem */
}

/* Avis : démarre en haut + hauteur libre (annule la contrainte 100vh de .cat-section
   pour que toutes les cartes soient visibles sans troncature) */
body.page-ecommerce .reviews-section {
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Configurateur : hauteur calculée stricte (pas de dépassement) */
body.page-ecommerce #configurateur {
    height: calc(100vh - var(--xv-nav-offset)) !important;
    max-height: calc(100vh - var(--xv-nav-offset)) !important;
    min-height: calc(100vh - var(--xv-nav-offset)) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: 4.5rem 1.5rem !important;
    box-sizing: border-box;
    scroll-margin-top: var(--xv-nav-offset);
}

/* FAQ : min-height 100vh quand fermée, peut dépasser si questions ouvertes */
body.page-ecommerce #faq {
    height: auto !important;
    max-height: none !important;
    min-height: calc(100vh - var(--xv-nav-offset)) !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: 4.5rem 1.5rem !important;
    box-sizing: border-box;
    scroll-margin-top: var(--xv-nav-offset);
}

/* ============================================================
   ALTERNANCE SECTIONS — 2 tons très proches + séparateurs subtils
   Best Sellers en section highlight avec glow doré
   ============================================================ */
body.page-ecommerce #configurateur {
    background: #0a0a0a !important;
}

body.page-ecommerce #best-sellers {
    background: #050505 !important;
    background-image:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(191, 149, 63, 0.07), transparent 70%) !important;
    border-top: 1px solid rgba(191, 149, 63, 0.1);
}

body.page-ecommerce #installation {
    border-top: none !important;
}

body.page-ecommerce #services {
    background: #0a0a0a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

body.page-ecommerce #produits {
    background: #050505 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

body.page-ecommerce #faq {
    background: #0a0a0a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

body.page-ecommerce #avis {
    background: #050505 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Configurateur — contenu équilibré (lisible + marges respirables) */
body.page-ecommerce #configurateur .text-center.mb-14 {
    margin-bottom: 2.5rem !important;
}

body.page-ecommerce #configurateur h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
    margin-bottom: 1.2rem !important;
}

body.page-ecommerce #configurateur .text-center p {
    font-size: 0.85rem;
    line-height: 1.75;
}

body.page-ecommerce #configurateur .config-progress {
    margin-bottom: 2.5rem !important;
}

body.page-ecommerce #configurateur .config-step-title {
    margin-bottom: 1.6rem;
    font-size: 13px;
}

body.page-ecommerce #configurateur .config-brands-grid {
    gap: 11px;
}

body.page-ecommerce #configurateur .config-brand-btn {
    padding: 18px 12px;
    font-size: 13px;
    border-radius: 12px;
}

/* Configurateur — layout étape 1 vs étape 2 (résultats) */
body.page-ecommerce #configurateur .config-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

body.page-ecommerce #configurateur .config-header {
    margin-bottom: 1.8rem;
}

body.page-ecommerce #configurateur .config-header .cat-section-tag {
    margin-bottom: 0.8rem;
}

body.page-ecommerce #configurateur .config-subtitle {
    font-size: 0.82rem;
    color: var(--xv-text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

/* Étape 1 & 2 — grille marques/modèles centrée + plus étroite */
body.page-ecommerce #configurateur .config-step[data-step="1"] .config-brands-grid,
body.page-ecommerce #configurateur .config-step[data-step="2"] .config-brands-grid {
    max-width: 680px;
    margin: 0 auto;
}

body.page-ecommerce #configurateur #config-step-brand {
    color: #fcf6ba;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Footer étapes — bouton(s) retour en bas, plus présents */
body.page-ecommerce #configurateur .config-step-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

body.page-ecommerce #configurateur .config-back-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 48px;
}

@media (hover: hover) {
    body.page-ecommerce #configurateur .config-back-cta:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
}

body.page-ecommerce #configurateur .config-back-cta-alt {
    background: transparent;
    color: var(--xv-text-muted);
    border-color: rgba(255, 255, 255, 0.08);
}

@media (hover: hover) {
    body.page-ecommerce #configurateur .config-back-cta-alt:hover {
        background: rgba(255, 255, 255, 0.04);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.2);
    }
}

/* Bouton "Tous les modèles" en première position, stylé or */
body.page-ecommerce #configurateur .config-model-all {
    background: linear-gradient(135deg, rgba(191, 149, 63, 0.15), rgba(252, 246, 186, 0.05));
    border-color: rgba(191, 149, 63, 0.35);
    color: #fcf6ba;
}

body.page-ecommerce #configurateur .config-model-all:hover,
body.page-ecommerce #configurateur .config-model-all:focus {
    background: linear-gradient(135deg, rgba(191, 149, 63, 0.25), rgba(252, 246, 186, 0.1));
    border-color: rgba(191, 149, 63, 0.55);
}

/* Étape 2 — affichage des résultats, peut dépasser 100vh */
body.page-ecommerce #configurateur.config-showing-results {
    height: auto !important;
    max-height: none !important;
    min-height: calc(100vh - var(--xv-nav-offset)) !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    padding: 4.5rem 1.5rem !important;
}

body.page-ecommerce #configurateur.config-showing-results .config-header {
    text-align: center;
}

body.page-ecommerce #configurateur .config-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.8rem 1.1rem;
    margin-bottom: 1.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.9rem;
}

body.page-ecommerce #configurateur .config-back-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #ccc;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    min-height: 36px;
}

body.page-ecommerce #configurateur .config-back-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

body.page-ecommerce #configurateur .config-results-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    flex: 1;
    text-align: center;
    min-width: 0;
}

body.page-ecommerce #configurateur .config-results-eyebrow {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #888;
}

body.page-ecommerce #configurateur .config-results-brand strong {
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.02em;
}

body.page-ecommerce #configurateur .config-results-filter select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #fff;
    padding: 0.5rem 0.95rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    min-height: 36px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

body.page-ecommerce #configurateur .config-results-filter select:focus {
    border-color: rgba(191, 149, 63, 0.5);
}

body.page-ecommerce #configurateur #config-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}
@media (min-width: 480px) {
    body.page-ecommerce #configurateur #config-results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    body.page-ecommerce #configurateur #config-results-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
}
@media (min-width: 1024px) {
    body.page-ecommerce #configurateur #config-results-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.9rem;
    }
}
@media (min-width: 1280px) {
    body.page-ecommerce #configurateur #config-results-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Les cartes du configurateur héritent des overrides de .cat-section-produits */
body.page-ecommerce #configurateur .cat-card {
    border-radius: 0.9rem;
}

body.page-ecommerce #configurateur .cat-card-media {
    aspect-ratio: 1 / 1;
    height: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 100%);
}

body.page-ecommerce #configurateur .cat-card-icon {
    font-size: 2.4rem;
    color: rgba(255, 255, 255, 0.22);
}

body.page-ecommerce #configurateur .cat-card-media img,
body.page-ecommerce #configurateur .cat-card-media picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-ecommerce #configurateur .cat-card-body {
    padding: 0.8rem 0.9rem 0.9rem;
}

body.page-ecommerce #configurateur .cat-card-body h4 {
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    margin-bottom: 0.3rem;
    line-height: 1.25;
}

body.page-ecommerce #configurateur .cat-card-body p {
    font-size: 0.7rem;
    line-height: 1.45;
    margin-bottom: 0.7rem;
    color: #888;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.page-ecommerce #configurateur .cat-card-bottom {
    padding-top: 0.6rem;
    gap: 0.4rem;
}

body.page-ecommerce #configurateur .cat-price {
    font-size: 1rem;
}

body.page-ecommerce #configurateur .cat-price-cents {
    font-size: 0.58rem;
}

body.page-ecommerce #configurateur .cat-buy-btn {
    padding: 0.55rem 0.9rem;
    font-size: clamp(10px, 1.8vw, 11px);
    letter-spacing: 0.12em;
    min-height: 36px;
}

body.page-ecommerce #configurateur .config-results-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--xv-text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    max-width: 680px;
    margin: 1.5rem auto 0;
}

body.page-ecommerce #configurateur .config-results-empty a {
    color: #fcf6ba;
    text-decoration: underline;
}

@media (max-width: 640px) {
    body.page-ecommerce #configurateur .config-results-head {
        justify-content: center;
    }
    body.page-ecommerce #configurateur .config-results-brand {
        order: -1;
        flex: 1 1 100%;
    }
}

/* Accessoires — bannière CTA vers configurateur sur-mesure */
body.page-ecommerce .cat-custom-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    margin: 0 auto 1rem;
    max-width: 1100px;
    background: linear-gradient(90deg, rgba(191, 149, 63, 0.1), rgba(191, 149, 63, 0.04) 50%, transparent);
    border: 1px solid rgba(191, 149, 63, 0.25);
    border-radius: 0.9rem;
    color: #fff;
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

body.page-ecommerce .cat-custom-banner:hover {
    border-color: rgba(191, 149, 63, 0.5);
    transform: translateY(-1px);
    background: linear-gradient(90deg, rgba(191, 149, 63, 0.15), rgba(191, 149, 63, 0.06) 50%, transparent);
}

body.page-ecommerce .cat-custom-banner-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
    font-size: 0.9rem;
}

body.page-ecommerce .cat-custom-banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

body.page-ecommerce .cat-custom-banner-content strong {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #fff;
}

body.page-ecommerce .cat-custom-banner-content span {
    font-size: 0.7rem;
    color: #a0a0a0;
    letter-spacing: 0.05em;
}

body.page-ecommerce .cat-custom-banner-cta {
    flex-shrink: 0;
    padding: 0.45rem 0.95rem;
    background: #fff;
    color: #000;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

@media (max-width: 640px) {
    body.page-ecommerce .cat-custom-banner {
        flex-wrap: nowrap;
        padding: 0.55rem 0.7rem;
        gap: 0.6rem;
        margin-bottom: 0.8rem;
    }
    body.page-ecommerce .cat-custom-banner-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    body.page-ecommerce .cat-custom-banner-content {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.1rem;
    }
    body.page-ecommerce .cat-custom-banner-content strong {
        font-size: 0.72rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    body.page-ecommerce .cat-custom-banner-content span {
        font-size: 0.6rem;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    body.page-ecommerce .cat-custom-banner-cta {
        padding: 0.35rem 0.65rem;
        font-size: 8px;
        letter-spacing: 0.12em;
        margin-left: 0;
    }
    body.page-ecommerce .cat-custom-banner-cta i { display: none; }
}

/* Accessoires — cartes produits : 5 colonnes, image dédiée, compact.
   Max-width aligné sur le configurateur (1280px) pour cartes de taille identique. */
body.page-ecommerce .cat-section-produits .cat-section-inner {
    max-width: 1280px;
}

body.page-ecommerce .cat-section-produits .cat-grid {
    gap: 0.7rem;
}
@media (min-width: 480px) {
    body.page-ecommerce .cat-section-produits .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    body.page-ecommerce .cat-section-produits .cat-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
}
@media (min-width: 1024px) {
    body.page-ecommerce .cat-section-produits .cat-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.9rem;
    }
}
@media (min-width: 1280px) {
    body.page-ecommerce .cat-section-produits .cat-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

body.page-ecommerce .cat-section-produits .cat-card {
    border-radius: 0.9rem;
}

body.page-ecommerce .cat-section-produits .cat-card-media {
    aspect-ratio: 1 / 1;
    height: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 100%);
}

body.page-ecommerce .cat-section-produits .cat-card-media img,
body.page-ecommerce .cat-section-produits .cat-card-media picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-ecommerce .cat-section-produits .cat-card-icon {
    font-size: 2.4rem;
    color: rgba(255, 255, 255, 0.22);
}

body.page-ecommerce .cat-section-produits .cat-card-body {
    padding: 0.8rem 0.9rem 0.9rem;
    gap: 0.35rem;
}

body.page-ecommerce .cat-section-produits .cat-card-body h4 {
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    margin-bottom: 0.3rem;
    line-height: 1.25;
}

body.page-ecommerce .cat-section-produits .cat-card-body p {
    font-size: 0.7rem;
    line-height: 1.45;
    margin-bottom: 0.7rem;
    color: #888;

    /* Limite à 2 lignes pour uniformiser la hauteur des cartes */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.page-ecommerce .cat-section-produits .cat-card-bottom {
    padding-top: 0.6rem;
    gap: 0.4rem;
    flex-wrap: wrap;
}

body.page-ecommerce .cat-section-produits .cat-price {
    font-size: 1rem;
    letter-spacing: -0.01em;
}

body.page-ecommerce .cat-section-produits .cat-price-cents {
    font-size: 0.58rem;
}

body.page-ecommerce .cat-section-produits .cat-buy-btn {
    padding: 0.55rem 0.9rem;
    font-size: clamp(10px, 1.8vw, 11px);
    letter-spacing: 0.12em;
    min-height: 36px;
}

/* Installation & Best Sellers — compactage cartes pour tenir en 100vh */
body.page-ecommerce .cat-section-installation .cat-bs-card,
body.page-ecommerce .cat-section-best .cat-bs-card {
    padding: 1.2rem 1.4rem 1.3rem;
    border-radius: 1.4rem;
}

body.page-ecommerce .cat-section-installation .cat-bs-icon,
body.page-ecommerce .cat-section-best .cat-bs-icon {
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
}

body.page-ecommerce .cat-section-installation .cat-bs-media,
body.page-ecommerce .cat-section-best .cat-bs-media {
    margin: 0 -0.3rem 0.6rem;
    border-radius: 0.7rem;
    aspect-ratio: 4 / 3;
    max-height: clamp(150px, 24vh, 240px);
}

/* Packs best-sellers : cadrage personnalisé par pack */
body.page-ecommerce .cat-section-best .cat-bs-card:first-child .cat-bs-media img {
    object-position: center 65%;
}
body.page-ecommerce .cat-section-best .cat-bs-card-feature .cat-bs-media img {
    object-position: bottom;
}
body.page-ecommerce .cat-section-best .cat-bs-card-gold .cat-bs-media img {
    object-position: center 65%;
}

/* Le tag passe en flux normal pour ne plus chevaucher l'image */
body.page-ecommerce .cat-section-installation .cat-bs-card-tag,
body.page-ecommerce .cat-section-best .cat-bs-card-tag {
    position: static;
    transform: none;
    align-self: center;
    margin: 0 auto 0.55rem;
    width: fit-content;
}

/* Compactage pour tenir en 100vh (sections best + installation) */
body.page-ecommerce .cat-section-installation .cat-section-header,
body.page-ecommerce .cat-section-best .cat-section-header {
    margin-bottom: 0.8rem;
}

body.page-ecommerce .cat-section-installation .cat-section-header h2,
body.page-ecommerce .cat-section-best .cat-section-header h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.4rem) !important;
    line-height: 1.05;
    margin: 0.3rem 0 0.3rem;
}

body.page-ecommerce .cat-section-installation .cat-section-pricing-note,
body.page-ecommerce .cat-section-best .cat-section-pricing-note {
    margin-top: 0.3rem;
    font-size: 0.68rem;
    padding: 0.25rem 0.7rem;
}

body.page-ecommerce .cat-section-installation .cat-bs-wrap,
body.page-ecommerce .cat-section-best .cat-bs-wrap {
    padding-bottom: 0.5rem;
}

/* Padding vertical réduit sur ces 2 sections pour agrandir l'image */
body.page-ecommerce .cat-section-installation,
body.page-ecommerce .cat-section-best {
    padding: 2.5rem 1.5rem !important;
}

/* Petits laptops (≤800vh) : compactage plus agressif pour garder le 100vh */
@media (max-height: 800px) {
    body.page-ecommerce .cat-section-installation .cat-section-header,
    body.page-ecommerce .cat-section-best .cat-section-header {
        margin-bottom: 0.5rem;
    }
    body.page-ecommerce .cat-section-installation .cat-section-header h2,
    body.page-ecommerce .cat-section-best .cat-section-header h2 {
        font-size: clamp(1.3rem, 3vw, 1.9rem) !important;
        margin: 0.2rem 0;
    }
    body.page-ecommerce .cat-section-installation .cat-section-tag,
    body.page-ecommerce .cat-section-best .cat-section-tag {
        padding: 0.25rem 0.7rem;
        font-size: 9px;
    }
    body.page-ecommerce .cat-section-installation .cat-bs-media,
    body.page-ecommerce .cat-section-best .cat-bs-media {
        max-height: clamp(110px, 17vh, 155px);
        aspect-ratio: 16 / 9;
    }
    body.page-ecommerce .cat-section-installation .cat-bs-card,
    body.page-ecommerce .cat-section-best .cat-bs-card {
        padding: 0.9rem 1.1rem 1rem;
    }
    body.page-ecommerce .cat-section-installation .cat-bs-card-tag,
    body.page-ecommerce .cat-section-best .cat-bs-card-tag {
        margin-bottom: 0.4rem;
        font-size: 8px;
        padding: 0.2rem 0.7rem;
    }
    body.page-ecommerce .cat-section-installation .cat-bs-cible,
    body.page-ecommerce .cat-section-best .cat-bs-cible {
        -webkit-line-clamp: 1;
        margin-bottom: 0.3rem;
    }
    body.page-ecommerce .cat-section-installation .cat-bs-list,
    body.page-ecommerce .cat-section-best .cat-bs-list {
        padding: 0.35rem 0;
        margin-bottom: 0.4rem;
        gap: 0.15rem;
    }
    body.page-ecommerce .cat-section-installation .cat-bs-list li,
    body.page-ecommerce .cat-section-best .cat-bs-list li {
        font-size: 0.7rem;
    }
    /* Masque le 3e item de liste pour gagner ~25px */
    body.page-ecommerce .cat-section-installation .cat-bs-list li:nth-child(n+3),
    body.page-ecommerce .cat-section-best .cat-bs-list li:nth-child(n+3) {
        display: none;
    }
}

body.page-ecommerce .cat-section-installation .cat-bs-card h3,
body.page-ecommerce .cat-section-best .cat-bs-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

body.page-ecommerce .cat-section-installation .cat-bs-cible,
body.page-ecommerce .cat-section-best .cat-bs-cible {
    font-size: 0.68rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.page-ecommerce .cat-section-installation .cat-bs-list,
body.page-ecommerce .cat-section-best .cat-bs-list {
    margin: 0.3rem 0 0.7rem;
    padding: 0.55rem 0;
    gap: 0.25rem;
}

body.page-ecommerce .cat-section-installation .cat-bs-list li,
body.page-ecommerce .cat-section-best .cat-bs-list li {
    font-size: 0.74rem;
    padding: 0.1rem 0;
    line-height: 1.25;
}

body.page-ecommerce .cat-section-installation .cat-bs-bottom,
body.page-ecommerce .cat-section-best .cat-bs-bottom {
    margin-top: auto;
}

body.page-ecommerce .cat-section-installation .cat-bs-price,
body.page-ecommerce .cat-section-best .cat-bs-price {
    font-size: 1.3rem;
}

body.page-ecommerce .cat-section-installation .cat-rdv-btn,
body.page-ecommerce .cat-section-best .cat-rdv-btn,
body.page-ecommerce .cat-section-best .cat-buy-btn {
    padding: 0.75rem 1.2rem;
    font-size: 10px;
}

body.page-ecommerce .cat-section-installation .cat-bs-card-tag,
body.page-ecommerce .cat-section-best .cat-bs-card-tag {
    font-size: 9px;
    padding: 0.3rem 0.9rem;
}

body.page-ecommerce .cat-section-installation .cat-bs-grid,
body.page-ecommerce .cat-section-best .cat-bs-grid {
    gap: 1rem;
}

@media (min-width: 768px) {
    body.page-ecommerce .cat-section-installation .cat-bs-grid,
    body.page-ecommerce .cat-section-best .cat-bs-grid {
        gap: 1.3rem;
    }
}

/* FAQ — tailles alignées sur le configurateur */
body.page-ecommerce #faq h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
    margin-bottom: 1.2rem !important;
}

body.page-ecommerce #faq .faq-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.75;
    letter-spacing: 0.2em !important;
    color: #888 !important;
    margin-bottom: 2.5rem !important;
}

body.page-ecommerce #faq .faq-container {
    max-width: 760px;
}

body.page-ecommerce #faq details {
    margin-bottom: 10px;
    border-radius: 14px;
}

body.page-ecommerce #faq summary {
    padding: 17px 24px;
    font-size: 12px;
    gap: 16px;
}

body.page-ecommerce #faq summary::after {
    font-size: 20px;
}

body.page-ecommerce #faq details p {
    padding: 14px 24px 18px;
    font-size: 13.5px;
    line-height: 1.75;
}

/* En-têtes de section compacts pour laisser la place au contenu */
body.page-ecommerce .cat-section-header {
    flex-shrink: 0;
    margin-bottom: 1rem;
}

body.page-ecommerce .cat-section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    margin-bottom: 0.4rem;
}

body.page-ecommerce .cat-section-header p {
    font-size: 10px;
    letter-spacing: 0.25em;
    margin-bottom: 0.3rem;
}

body.page-ecommerce .cat-section-pricing-note {
    margin-top: 0.5rem !important;
    padding: 0.3rem 0.9rem !important;
    font-size: 9px !important;
}

/* Compactage filtres catalogue pour gagner de la place */
body.page-ecommerce .cat-filters {
    padding: 0.5rem 0.7rem !important;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

body.page-ecommerce .cat-filter-row {
    gap: 0.3rem;
}

body.page-ecommerce .cat-filter {
    padding: 0.4rem 0.9rem !important;
    font-size: 10px !important;
}

/* L'attribut HTML [hidden] doit toujours masquer,
   même si l'élément a display:flex/grid plus loin. */
[hidden] {
    display: none !important;
}

/* --- A11Y skip-link --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #fff;
    color: #000;
    padding: 1rem 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    z-index: 9999;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    outline: 3px solid #ffb84d;
}

/* ============================================================
   STICKY SUBNAV CATALOGUE
   ============================================================ */
.cat-subnav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 1rem;
}

@media (min-width: 768px) {
    .cat-subnav { top: 72px; }
}

@media (max-width: 767px) {
    .cat-subnav { padding: 0.5rem 0.5rem; }
}

.cat-subnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cat-subnav-inner::-webkit-scrollbar { display: none; }

.cat-subnav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    min-height: var(--xv-touch-target);
    border-radius: var(--xv-radius-pill);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--xv-text-muted);
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

.cat-subnav-btn i { font-size: 1.3em; }

@media (hover: hover) {
    .cat-subnav-btn:hover {
        color: white;
        background: rgba(255, 255, 255, 0.05);
    }
}

.cat-subnav-btn.active {
    color: black;
    background: white;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

/* Mobile + tablette : icônes seules, plus grosses */
@media (max-width: 1023px) {
    .cat-subnav-btn { padding: 0.55rem 0.95rem; letter-spacing: 0.15em; }
    .cat-subnav-btn span { display: none; }
    .cat-subnav-btn i { font-size: 1.4rem; }
}

/* ============================================================
   HERO COURT
   ============================================================ */
.cat-hero {
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(191, 149, 63, 0.06), transparent 60%),
        #0a0a0a;
}

.cat-hero-inner { max-width: 900px; margin: 0 auto; }

.cat-hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--xv-text-muted);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-hero-title {
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    font-style: italic;
}

.cat-hero-sub {
    color: #a0a0a0;
    font-size: clamp(11px, 1.8vw, 13px);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    line-height: 2;
    margin: 0;
    font-weight: 600;
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.cat-section {
    padding: 4rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cat-section-best {
    background: linear-gradient(180deg, #0a0a0a, #080808 50%, #0a0a0a);
    border-top: none;
}

.cat-section-produits {
    background: #0a0a0a;
    scroll-margin-top: 130px;
}

.cat-section-services {
    background: #050505;
    scroll-margin-top: 130px;
}

.cat-section-best { scroll-margin-top: 130px; }

@media (max-width: 768px) {
    .cat-section-produits,
    .cat-section-services,
    .cat-section-best { scroll-margin-top: 145px; }
}

.cat-section-inner {
    max-width: 1500px;
    margin: 0 auto;
}

/* En-tête de section */
.cat-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cat-section-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(95, 191, 100, 0.1);
    color: #5fbf64;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(95, 191, 100, 0.2);
}

.cat-section-tag-gold {
    background: rgba(191, 149, 63, 0.1);
    color: #fcf6ba;
    border-color: rgba(191, 149, 63, 0.25);
}

.cat-section-header h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.cat-section-header p {
    color: var(--xv-text-muted);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
}

.cat-section-pricing-note {
    margin-top: 0.8rem !important;
    display: inline-block;
    padding: 0.5rem 1.1rem;
    background: rgba(95, 191, 100, 0.08);
    border: 1px solid rgba(95, 191, 100, 0.2);
    border-radius: 999px;
    color: #b5e5b8 !important;
    font-size: 10px !important;
    letter-spacing: 0.15em !important;
}

/* ============================================================
   FILTRES IN-SECTION
   ============================================================ */
.cat-filters {
    position: sticky;
    top: 120px;
    z-index: 30;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .cat-filters { top: 138px; }
}

.cat-filter-row {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1px;
}

.cat-filter-row::-webkit-scrollbar { display: none; }

.cat-filter-row[data-level="cat"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.65rem;
    margin-bottom: 0.7rem;
}

.cat-filters > .cat-filter-row[data-level="cat"]:only-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Boutons catégories */
.cat-filter-cat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--xv-text-muted);
    padding: 0.7rem 1.2rem;
    min-height: var(--xv-touch-target);
    border-radius: var(--xv-radius-pill);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (hover: hover) {
    .cat-filter-cat:hover {
        color: white;
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
    }
}

.cat-filter-cat.active {
    background: white;
    color: black;
    border-color: white;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.12);
}

/* Boutons sous-catégories */
.cat-filter-sub {
    background: transparent;
    border: none;
    color: var(--xv-text-muted);
    padding: 0.6rem 1rem;
    min-height: var(--xv-touch-target);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: 2px solid transparent;
}

@media (hover: hover) {
    .cat-filter-sub:hover { color: #ddd; }
}

.cat-filter-sub.active {
    color: #ffb84d;
    border-bottom-color: #ffb84d;
}

/* Compteurs catégorie/sous-cat (optionnel) */
.cat-filter-cat span,
.cat-filter-sub span {
    margin-left: 0.35rem;
    opacity: 0.5;
    font-size: 9px;
}

/* ============================================================
   BEST SELLERS
   ============================================================ */
/* Mobile: slider horizontal à swipe, 1 carte par page avec peek de la suivante */
.cat-bs-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 1rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.cat-bs-grid::-webkit-scrollbar { height: 4px; }
.cat-bs-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}
.cat-bs-grid > .cat-bs-card {
    flex: 0 0 calc(100% - 2.5rem);
    min-width: 0;
    scroll-snap-align: start;
}
.cat-bs-grid {
    scroll-padding-inline-start: 1rem;
}

/* Petit-tablet : montre ~2 cartes pour meilleur ratio */
@media (min-width: 560px) and (max-width: 767px) {
    .cat-bs-grid > .cat-bs-card {
        flex: 0 0 calc(58% - 0.5rem);
    }
}

/* Desktop : grille 3 colonnes classique */
@media (min-width: 768px) {
    .cat-bs-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        overflow-x: visible;
        overflow-y: visible;
        scroll-snap-type: none;
        padding: 0;
    }
    .cat-bs-grid > .cat-bs-card {
        flex: none;
        scroll-snap-align: none;
    }
    /* Mode test : si la carte TEST-50C est révélée, bascule en 4 colonnes
       pour garder les 4 cartes (3 écrans + test) sur la même ligne */
    .cat-bs-grid:has(.cat-test-card:not([hidden])) {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.3rem;
    }
}

.cat-bs-card {
    background: linear-gradient(180deg, #131313 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.cat-bs-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.cat-bs-card-feature {
    border-color: rgba(95, 191, 100, 0.2);
    background: linear-gradient(180deg, rgba(95, 191, 100, 0.04) 0%, #0a0a0a 100%);
}

.cat-bs-card-gold {
    border-color: rgba(191, 149, 63, 0.25);
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.cat-bs-card-gold:hover {
    border-color: rgba(191, 149, 63, 0.55);
    box-shadow: 0 30px 70px rgba(191, 149, 63, 0.2);
}

.cat-bs-card-tag {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.cat-bs-card-tag-gold {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
    border-color: transparent;
}

.cat-bs-icon {
    font-size: 2.4rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem auto 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Media image pour cat-bs-card (bestsellers + écrans) — remplace .cat-bs-icon */
.cat-bs-media {
    position: relative;
    margin: 0.5rem -0.5rem 1.2rem;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 100%);
}

.cat-bs-media picture,
.cat-bs-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@media (hover: hover) {
    .cat-bs-card:hover .cat-bs-media img {
        transform: scale(1.04);
    }
}

.cat-bs-card-gold .cat-bs-media {
    box-shadow: 0 0 0 1px rgba(191, 149, 63, 0.2) inset;
}

.cat-bs-card-gold .cat-bs-icon {
    background: rgba(191, 149, 63, 0.1);
    color: #fcf6ba;
}

.cat-bs-card h3 {
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: white;
}

.cat-bs-cible {
    color: var(--xv-text-muted);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cat-bs-list {
    list-style: none;
    padding: 1.3rem 0;
    margin: 0 0 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.cat-bs-list li {
    color: #ccc;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1.5;
}

.cat-bs-list i {
    color: #5fbf64;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.cat-bs-card-gold .cat-bs-list i { color: #fcf6ba; }

.cat-bs-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.cat-bs-price {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
    text-align: left;
}

/* ============================================================
   GRILLES PRODUITS (accessoires)
   ============================================================ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}
@media (min-width: 480px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; } }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 0.9rem; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
@media (min-width: 1280px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }

.cat-card {
    background: linear-gradient(180deg, #131313 0%, #0c0c0c 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.9rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.cat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cat-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #1f1f1f 0%, #0c0c0c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cat-card-media img,
.cat-card-media picture {
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
    .cat-card:hover .cat-card-media img {
        transform: scale(1.06);
    }
}

/* Cards cliquables pour ouvrir la modal détails */
.cat-card,
.cat-bs-card {
    cursor: pointer;
}

.cat-card:focus-visible,
.cat-bs-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

.cat-card-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.2);
    transition: transform 0.4s ease, color 0.4s ease;
}

.cat-card:hover .cat-card-icon {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.35);
}

.cat-card-body {
    padding: 0.7rem 0.8rem 0.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-card-body h4 {
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 0.3rem;
    color: white;
    line-height: 1.2;
}

.cat-card-body p {
    color: #999;
    font-size: clamp(0.68rem, 1.4vw, 0.78rem);
    line-height: 1.45;
    margin-bottom: 0.6rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-price {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1;
}

.cat-price-cents {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--xv-text-muted);
    margin-left: 0.1rem;
}

.cat-buy-btn {
    background: white;
    color: black;
    border: none;
    padding: 0.5rem 0.75rem;
    min-height: 32px;
    border-radius: var(--xv-radius-pill);
    font-size: clamp(9px, 1.6vw, 10px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .cat-buy-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
    }
}

.cat-buy-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================================
   BANDEAU GARANTIE
   ============================================================ */
.cat-warranty-banner {
    background: linear-gradient(135deg, rgba(95, 191, 100, 0.06), rgba(95, 191, 100, 0.02));
    border: 1px solid rgba(95, 191, 100, 0.2);
    border-radius: 1.2rem;
    padding: 1.4rem 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.cat-warranty-icon { font-size: 1.8rem; color: #5fbf64; flex-shrink: 0; }

.cat-warranty-banner p {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.cat-warranty-banner strong { color: white; }

/* ============================================================
   GRILLE SERVICES (compacte)
   ============================================================ */
.cat-srv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 600px) { .cat-srv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-srv-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
@media (min-width: 1280px) { .cat-srv-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-srv-card {
    background: linear-gradient(180deg, #0f0f0f 0%, #080808 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.2rem;
    padding: 1.3rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    min-height: 250px;
}

.cat-srv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.cat-srv-card-highlight {
    border-color: rgba(191, 149, 63, 0.25);
    background: linear-gradient(180deg, rgba(191, 149, 63, 0.04) 0%, #080808 100%);
}

.cat-srv-card-highlight:hover {
    border-color: rgba(191, 149, 63, 0.5);
    box-shadow: 0 15px 35px rgba(191, 149, 63, 0.15);
}

.cat-srv-ref {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    font-size: 8px;
    color: #666;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.cat-srv-badge {
    position: absolute;
    top: 0.9rem;
    left: 1rem;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

.cat-srv-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.cat-srv-icon-wrap i {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.5);
}

.cat-srv-card-highlight .cat-srv-icon-wrap {
    background: rgba(191, 149, 63, 0.08);
    border-color: rgba(191, 149, 63, 0.25);
}

.cat-srv-card-highlight .cat-srv-icon-wrap i { color: #fcf6ba; }

.cat-srv-card h4 {
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    min-height: 2.3em;
}

.cat-srv-models, .cat-srv-univers {
    color: var(--xv-text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 1.2rem;
    flex: 1;
}

.cat-srv-univers { color: #fcf6ba; }

.cat-srv-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.7rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.cat-srv-price {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 1.05rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
}

.cat-srv-from {
    font-size: 8px;
    color: var(--xv-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.cat-rdv-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    padding: 0.85rem 1.1rem;
    min-height: var(--xv-touch-target);
    border-radius: var(--xv-radius-pill);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .cat-rdv-btn:hover {
        background: white;
        color: black;
        border-color: white;
        transform: translateY(-2px);
    }
}

.cat-rdv-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.cat-srv-card-highlight .cat-rdv-btn,
.cat-rdv-btn-gold {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
    border-color: transparent;
}

/* ============================================================
   PACKS (KITS)
   ============================================================ */
.cat-packs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .cat-packs-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.cat-pack-card {
    background: linear-gradient(180deg, #131313 0%, #0c0c0c 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.cat-pack-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.cat-pack-card-dark {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-color: rgba(191, 149, 63, 0.2);
}

.cat-pack-card-dark:hover {
    border-color: rgba(191, 149, 63, 0.5);
    box-shadow: 0 30px 70px rgba(191, 149, 63, 0.15);
}

.cat-pack-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1a1a1a;
}

.cat-pack-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.cat-pack-card:hover .cat-pack-media img { transform: scale(1.04); }

.cat-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: white;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 2;
}

.cat-badge-gold {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
}

.cat-photo-pending {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    color: #ffb84d;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid rgba(255, 184, 77, 0.3);
    backdrop-filter: blur(10px);
}

.cat-photo-pending-dark {
    bottom: 1rem;
    right: 1rem;
    font-size: 9px;
    padding: 0.4rem 0.9rem;
}

.cat-pack-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (min-width: 768px) { .cat-pack-body { padding: 2.5rem; } }

.cat-pack-eyebrow {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--xv-text-muted);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.cat-pack-body h3 {
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.05;
    color: white;
}

.cat-pack-desc {
    color: #a0a0a0;
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.6rem;
}

.cat-pack-list {
    list-style: none;
    padding: 1.4rem 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-pack-list li {
    color: #ccc;
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    line-height: 1.5;
}

.cat-pack-list i {
    color: #5fbf64;
    font-size: 0.7rem;
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.cat-pack-card-dark .cat-pack-list i { color: #fcf6ba; }

.cat-pack-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.cat-price-block {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.cat-price-label {
    font-size: 9px;
    color: var(--xv-text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.cat-pack-price {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1;
}

.cat-price-note {
    font-size: 9px;
    color: #5fbf64;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0.4rem;
}

.cat-pack-btn {
    background: white;
    color: black;
    border: none;
    padding: 1rem 1.6rem;
    min-height: var(--xv-touch-target);
    border-radius: var(--xv-radius-pill);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (hover: hover) {
    .cat-pack-btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 15px 35px rgba(255, 255, 255, 0.18);
    }
}

.cat-pack-btn-gold {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
}

.cat-pack-btn-gold:hover {
    box-shadow: 0 15px 35px rgba(191, 149, 63, 0.35);
}

/* --- Disclaimer --- */
.cat-disclaimer {
    text-align: center;
    margin-top: 3rem;
    color: var(--xv-text-muted);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cat-disclaimer strong { color: #ffb84d; }

/* ============================================================
   FAB PANIERS FLOTTANTS
   ============================================================ */
.cat-fab-carts {
    position: fixed;
    bottom: 30px;
    right: 110px;
    z-index: var(--xv-z-fab);
    display: flex;
    gap: 0.7rem;
    flex-direction: column;
}

@media (max-width: 768px) {
    .cat-fab-carts {
        right: 20px;
        bottom: 110px;
    }
}

.cat-fab-cart {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .cat-fab-cart:hover {
        transform: translateY(-3px);
        background: rgba(40, 40, 40, 1);
        border-color: rgba(255, 255, 255, 0.3);
    }
}

.cat-fab-cart-gold {
    color: #fcf6ba;
    border-color: rgba(191, 149, 63, 0.5);
    background: rgba(40, 30, 0, 0.95);
}

.cat-fab-cart-gold:hover {
    background: rgba(60, 45, 0, 1);
    border-color: rgba(191, 149, 63, 0.8);
}

.cat-fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff3b30;
    color: white;
    font-size: 9px;
    font-weight: 900;
    border-radius: 999px;
    padding: 2px 5px;
    min-width: 16px;
    text-align: center;
    border: 2px solid #0a0a0a;
}

.cat-fab-count:not(.has-items) { display: none; }

@keyframes flash {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(255, 184, 77, 0.3); }
    100% { transform: scale(1); }
}

.cat-fab-cart.flash { animation: flash 0.5s ease; }

/* ============================================================
   DRAWER PANIER
   ============================================================ */
.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--xv-z-drawer);
    pointer-events: none;
}

.cart-drawer.open { pointer-events: auto; }

.cart-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer.open .cart-drawer-overlay { opacity: 1; }

.cart-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: linear-gradient(180deg, #131313 0%, #0a0a0a 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
}

.cart-drawer.open .cart-drawer-panel { transform: translateX(0); }

.cart-drawer-panel-gold { border-left-color: rgba(191, 149, 63, 0.3); }

.cart-drawer-header {
    padding: 1.5rem 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.cart-drawer-header h2 {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
}

.cart-drawer-icon { color: #ffb84d; font-size: 1.2rem; }
.cart-drawer-panel-gold .cart-drawer-icon { color: #fcf6ba; }

.cart-drawer-close {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--xv-text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: var(--xv-touch-target);
    height: var(--xv-touch-target);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

@media (hover: hover) {
    .cart-drawer-close:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-drawer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cart-drawer-empty {
    text-align: center;
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    padding: 4rem 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.8rem;
}

.cart-item-info { min-width: 0; }

.cart-item-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.2rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.7rem;
    color: var(--xv-text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.2rem 0.3rem;
}

.cart-qty-btn {
    background: none;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .cart-qty-btn:hover { background: rgba(255, 255, 255, 0.1); }
}

.cart-qty-value {
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    min-width: 16px;
    text-align: center;
}

.cart-item-total {
    font-size: 0.85rem;
    font-weight: 900;
    color: white;
    text-align: right;
    white-space: nowrap;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--xv-text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

@media (hover: hover) {
    .cart-item-remove:hover {
        color: #ff3b30;
        background: rgba(255, 59, 48, 0.1);
    }
}

.cart-drawer-footer {
    padding: 1.5rem 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.cart-drawer-breakdown {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cart-drawer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--xv-text-muted);
    letter-spacing: 0.05em;
}

.cart-drawer-row > span:last-child {
    color: #ddd;
    font-weight: 700;
}

.cart-drawer-row-shipping > span:first-child {
    display: inline-flex;
    align-items: center;
}

.cart-drawer-free {
    color: #5fbf64 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.cart-drawer-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.cart-drawer-total-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--xv-text-muted);
    font-weight: 800;
}

.cart-drawer-total-value {
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
}

.cart-drawer-cta {
    width: 100%;
    background: white;
    color: black;
    border: none;
    padding: 1.1rem 1.5rem;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer-cta:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.18);
}

.cart-drawer-cta:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.cart-drawer-cta {
    min-height: var(--xv-touch-target);
}

.cart-drawer-cta-gold {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
}

.cart-drawer-cta-gold:hover:not(:disabled) {
    box-shadow: 0 15px 35px rgba(191, 149, 63, 0.35);
}

.cart-drawer-note {
    text-align: center;
    margin-top: 0.8rem;
    color: #666;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}

/* ============================================================
   TRUST CTA
   ============================================================ */
.cat-trust {
    padding: 6rem 1.5rem;
    text-align: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 70%),
        #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cat-trust-inner { max-width: 700px; margin: 0 auto; }

.cat-trust h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.cat-trust p {
    color: #999;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 2;
    margin-bottom: 2.5rem;
}

.cat-trust-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cat-wa-btn {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.cat-wa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
}

/* ============================================================
   MODAL DEMO
   ============================================================ */
.demo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: var(--xv-z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.demo-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.demo-modal-card {
    background: linear-gradient(180deg, #1a1a1a 0%, #0c0c0c 100%);
    border: 1px solid rgba(255, 184, 77, 0.3);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.demo-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--xv-text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    width: var(--xv-touch-target);
    height: var(--xv-touch-target);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

@media (hover: hover) {
    .demo-modal-close:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }
}

.demo-modal-icon {
    font-size: 2.5rem;
    color: #ffb84d;
    margin-bottom: 1.2rem;
}

.demo-modal h3 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.demo-modal p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.demo-modal-ok {
    margin-top: 1.5rem;
    background: white;
    color: black;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s;
}

.demo-modal-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* --- Focus visible (a11y) --- */
.cat-filter-cat:focus-visible,
.cat-filter-sub:focus-visible,
.cat-fab-cart:focus-visible,
.cat-buy-btn:focus-visible,
.cat-pack-btn:focus-visible,
.cat-rdv-btn:focus-visible,
.cart-drawer-cta:focus-visible,
.cart-qty-btn:focus-visible,
.cart-item-remove:focus-visible,
.cat-hero-anchors a:focus-visible,
.cat-subnav-btn:focus-visible {
    outline: 3px solid #ffb84d;
    outline-offset: 2px;
}

/* ============================================================
   ===== EXTENSIONS POUR LA REFONTE E-COMMERCE (index.html) =====
   ============================================================ */

/* ----- COUVERTURE MARQUES (section #marques) ----- */
.brands-tier-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
}

@media (min-width: 700px) { .brands-tier-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1100px) { .brands-tier-grid { grid-template-columns: repeat(4, 1fr); } }

.brand-tier {
    background: linear-gradient(180deg, #131313 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 1.8rem 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-tier:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.brand-tier-expert {
    border-color: rgba(191, 149, 63, 0.3);
    background: linear-gradient(180deg, rgba(191, 149, 63, 0.05) 0%, #0a0a0a 100%);
}

.brand-tier-specialist {
    border-color: rgba(192, 192, 192, 0.2);
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.04) 0%, #0a0a0a 100%);
}

.brand-tier-compatible { border-color: rgba(255, 255, 255, 0.08); }

.brand-tier-universal {
    border-color: rgba(95, 191, 100, 0.18);
    background: linear-gradient(180deg, rgba(95, 191, 100, 0.04) 0%, #0a0a0a 100%);
}

.brand-tier header { margin-bottom: 1.2rem; }

.brand-tier-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #aaa;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 0.7rem;
}

.brand-tier-expert .brand-tier-label {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
}

.brand-tier-specialist .brand-tier-label {
    background: linear-gradient(135deg, #d8d8d8, #f5f5f5, #b0b0b0);
    color: #1a1a1a;
}

.brand-tier-universal .brand-tier-label {
    background: rgba(95, 191, 100, 0.15);
    color: #5fbf64;
}

.brand-tier header p {
    color: var(--xv-text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin: 0;
}

.brand-tier-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brand-tier-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-tier-item-muted { color: var(--xv-text-muted); font-style: italic; font-weight: 600; }

/* ----- BEST SELLERS WRAPPER (intro section #services) ----- */
.cat-bs-wrap {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
}

.cat-bs-title {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #fcf6ba;
    margin-bottom: 2rem;
}

/* ----- BANDEAU "Recommandé pour votre véhicule" ----- */
.cat-recommend-banner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(191, 149, 63, 0.1), rgba(191, 149, 63, 0.04));
    border: 1px solid rgba(191, 149, 63, 0.3);
    border-radius: 1rem;
    padding: 1rem 1.4rem;
    margin: 0 0 1.5rem;
    flex-wrap: wrap;
}

.cat-recommend-banner i {
    font-size: 1.2rem;
    color: #fcf6ba;
}

.cat-recommend-banner p {
    color: #ccc;
    font-size: 0.85rem;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.cat-recommend-banner strong { color: white; }

.cat-recommend-banner [data-recommend-vehicle] {
    color: #fcf6ba;
    font-style: italic;
}

#clear-recommend {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.25s ease;
}

#clear-recommend:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.sr-only,
.cat-block-title-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----- AVIS CLIENTS ----- */
.reviews-section { background: #0a0a0a; }

/* Mobile : slider horizontal swipe */
.reviews-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.9rem;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 1rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.reviews-grid::-webkit-scrollbar { height: 4px; }
.reviews-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

/* Desktop/tablette ≥ 768px : grille wrap classique, pas de slider */
@media (min-width: 768px) {
    .reviews-grid {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 1280px;
        overflow: visible;
        scroll-snap-type: none;
        padding: 0;
    }
}

.reviews-loading,
.reviews-error {
    width: 100%;
    text-align: center;
    color: var(--xv-text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    padding: 3rem;
}

.review-card {
    flex: 0 0 calc(100% - 2rem);
    max-width: 360px;
    background: linear-gradient(180deg, #131313, #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    box-sizing: border-box;
    scroll-snap-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 560px) and (max-width: 767px) {
    .review-card { flex: 0 0 320px; }
}

@media (min-width: 768px) {
    .review-card {
        flex: 0 0 calc((100% - 1.8rem) / 3);
        max-width: 400px;
        scroll-snap-align: none;
    }
}

.review-card--with-photo {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0a0a0a;
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.review-card--with-photo:hover .review-photo img {
    transform: scale(1.04);
}

.review-photo-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
}

.review-photo-btn:focus-visible {
    outline: 2px solid #fcf6ba;
    outline-offset: 2px;
}

/* ===== MODAL LIGHTBOX AVIS ===== */
.review-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.review-modal.is-open {
    display: flex;
    opacity: 1;
}

.review-modal-inner {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.review-modal-photo {
    flex: 1 1 60%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
}

.review-modal-photo img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 80vh;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
}

.review-modal-body {
    flex: 1 1 40%;
    min-width: 0;
    padding: 3.75rem 4rem 3.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    color: #ddd;
    overflow-y: auto;
}

.review-modal-stars {
    color: #fcf6ba;
    font-size: 1rem;
    letter-spacing: 0.14em;
    line-height: 1;
}

.review-modal-date {
    color: var(--xv-text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.review-modal-text {
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    color: #eaeaea;
}

.review-modal-signature {
    margin: 0;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.review-modal-signature .review-vehicle-inline {
    margin-left: 0.25rem;
}

.review-modal-close,
.review-modal-prev,
.review-modal-next {
    position: absolute;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.review-modal-close:hover,
.review-modal-prev:hover,
.review-modal-next:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
}

.review-modal-close {
    top: 12px;
    right: 12px;
}

.review-modal-prev {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}
.review-modal-prev:hover { transform: translateY(-50%) scale(1.05); }

.review-modal-next {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}
.review-modal-next:hover { transform: translateY(-50%) scale(1.05); }

.review-modal-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.review-modal-open {
    overflow: hidden;
}

@media (max-width: 860px) {
    .review-modal { padding: 0.75rem; }
    .review-modal-inner {
        flex-direction: column;
        max-height: 95vh;
    }
    .review-modal-photo {
        flex: 0 0 auto;
        max-height: 55vh;
    }
    .review-modal-photo img {
        max-height: 55vh;
    }
    .review-modal-body {
        padding: 1.25rem 1.25rem 2.5rem;
        overflow-y: auto;
    }
    .review-modal-prev { left: 8px; }
    .review-modal-next { right: 8px; }
    .review-modal-close { top: 8px; right: 8px; }
}

.review-body {
    padding: 1rem 1.1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-body .review-text {
    flex: 1;
}

@media (min-width: 768px) {
    .review-card { width: calc(50% - 0.5rem); }
}
@media (min-width: 1100px) {
    .review-card { width: calc(33.333% - 0.6rem); }
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

.review-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.review-stars {
    color: #fcf6ba;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    line-height: 1;
}

.review-date {
    color: var(--xv-text-muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.review-text {
    color: #ddd;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0 0 0.5rem;
    font-style: italic;
}

.review-signature {
    margin: 0;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.review-vehicle-inline {
    color: var(--xv-text-muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    margin-left: 0.25rem;
}

/* ----- AJUSTEMENT subnav (déjà définie pour catalogue.html) ----- */
/* Dans index.html, la subnav est sous le navbar (top: 36px + ~60px = ~96px),
   sans hero court intermédiaire. Les filtres in-section sont à 152px. OK. */

/* ============================================================
   TOAST FEEDBACK — composant réutilisable
   ============================================================ */
.xv-toast-stack {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: calc(var(--xv-z-modal) + 1);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    pointer-events: none;
    width: max-content;
    max-width: calc(100vw - 2rem);
}

@media (max-width: 768px) {
    .xv-toast-stack { bottom: 20px; }
}

.xv-toast {
    background: rgba(20, 20, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    padding: 0.85rem 1.4rem;
    border-radius: var(--xv-radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: var(--xv-shadow-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    animation: xv-toast-in 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.xv-toast-out {
    animation: xv-toast-out 0.35s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

.xv-toast-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5fbf64, #4caf50);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.xv-toast-gold .xv-toast-icon {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
}

@keyframes xv-toast-in {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes xv-toast-out {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(20px); }
}

.xv-toast-error .xv-toast-icon {
    background: linear-gradient(135deg, #e74c3c, #ff7675);
    color: #fff;
}

/* ============================================================
   NAV CART BUTTON — bouton panier dans le navbar principal
   ============================================================ */
.nav-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    height: 42px;
    padding: 0 1.1rem 0 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    min-height: var(--xv-touch-target);
}

.nav-cart-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

@media (max-width: 480px) {
    .nav-cart-btn { padding: 0 0.9rem 0 0.85rem; gap: 0.4rem; }
    .nav-cart-label { display: none; }
}

@media (hover: hover) {
    .nav-cart-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.25);
        transform: translateY(-1px);
    }
}

.nav-cart-btn:focus-visible {
    outline: 2px solid #bf953f;
    outline-offset: 3px;
}

.nav-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #333;
    color: #888;
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a0a0a;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-cart-count.has-items {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    color: #1a0e00;
}

.nav-cart-btn.flash {
    animation: xv-cart-flash 0.5s ease;
}

@keyframes xv-cart-flash {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(191, 149, 63, 0.3); }
}

/* ============================================================
   CART ITEM TYPE BADGE — Service / Produit par ligne
   ============================================================ */
.cart-item-type-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #bbb;
    vertical-align: middle;
}

.cart-item-type-badge-gold {
    background: linear-gradient(135deg, rgba(191, 149, 63, 0.25), rgba(252, 246, 186, 0.15));
    color: #fcf6ba;
    border: 1px solid rgba(191, 149, 63, 0.35);
}

/* ============================================================
   XPERIENCE VISION MODAL — formulaire, Cal.com, Stripe
   ============================================================ */
.xv-modal {
    position: fixed;
    inset: 0;
    z-index: var(--xv-z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.xv-modal.open {
    display: flex;
    opacity: 1;
}

.xv-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

.xv-modal-card {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 3rem);
    background: linear-gradient(180deg, #141414, #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--xv-radius-xl);
    box-shadow: var(--xv-shadow-xl);
    padding: 2.2rem 2.2rem 2rem;
    overflow-y: auto;
    animation: xv-modal-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.xv-modal-wide .xv-modal-card {
    max-width: 900px;
    padding: 2rem;
}

@keyframes xv-modal-in {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.xv-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: var(--xv-touch-target);
    height: var(--xv-touch-target);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #ccc;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

@media (hover: hover) {
    .xv-modal-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        transform: scale(1.05);
    }
}

.xv-modal-header {
    margin-bottom: 1.4rem;
    padding-right: 3rem;
}

.xv-modal-eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.6rem;
}

.xv-modal-eyebrow-gold {
    color: #fcf6ba;
}

.xv-modal-header h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 0.6rem;
}

.xv-modal-sub {
    font-size: 0.85rem;
    color: var(--xv-text-muted);
    margin: 0;
}

.xv-modal-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--xv-text-muted);
    text-align: center;
    letter-spacing: 0.05em;
}

/* ============================================================
   XPERIENCE VISION MODAL PRODUCT — détail produit (image grande + description)
   ============================================================ */
.xv-modal-product .xv-modal-card-product {
    padding: 0;
    overflow: hidden;
    max-width: 1040px;
    max-height: 85vh;
}

.xv-modal-product-body {
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

@media (min-width: 768px) {
    .xv-modal-product-body {
        flex-direction: row;
        min-height: 420px;
    }
}

.xv-modal-product-media {
    flex: 0 0 55%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 100%);
    overflow: hidden;
    position: relative;
    max-height: 85vh;
}

@media (min-width: 768px) {
    .xv-modal-product-media {
        aspect-ratio: auto;
        min-height: 100%;
    }
}

.xv-modal-product-media picture,
.xv-modal-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.xv-modal-product-info {
    flex: 1;
    padding: 2.6rem 4rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    overflow-y: auto;
    max-height: 85vh;
}

.xv-modal-product-tag {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    width: fit-content;
}

.xv-modal-product-info h3 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.02em;
    color: white;
    margin: 0;
    line-height: 1.15;
}

.xv-modal-product-cible {
    color: var(--xv-text-muted);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
}

.xv-modal-product-desc {
    color: #ccc;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.xv-modal-product-list {
    list-style: none;
    padding: 0.9rem 0;
    margin: 0.4rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.xv-modal-product-list li {
    color: #ccc;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    line-height: 1.5;
}

.xv-modal-product-list li i {
    color: #5fbf64;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.xv-modal-product-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 0.6rem;
}

.xv-modal-product-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.xv-modal-product-price {
    font-size: 1.7rem;
    font-weight: 900;
    font-style: italic;
    color: white;
    letter-spacing: -0.02em;
}

.xv-modal-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: flex-end;
}

.xv-modal-product-actions button {
    padding: 0.85rem 1.5rem;
    font-size: 10px;
    letter-spacing: 0.15em;
}

/* Bouton "Un doute ? Contactez-nous" — pleine largeur sous prix/CTA, uniquement pour écrans */
.xv-modal-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: transparent;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
    text-align: center;
}
.xv-modal-contact-btn i { font-size: 0.9em; opacity: 0.85; }
.xv-modal-contact-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-1px);
}
.xv-modal-contact-btn[hidden] { display: none !important; }

/* ============================================================
   XPERIENCE VISION FORM — formulaire pré-commande
   ============================================================ */
.xv-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.xv-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

@media (max-width: 480px) {
    .xv-form-row { grid-template-columns: 1fr; }
}

.xv-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.xv-form-field > span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #bbb;
}

.xv-form-field input,
.xv-form-field select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.7rem;
    padding: 0.85rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
    min-height: var(--xv-touch-target);
}

.xv-form-field input:focus,
.xv-form-field select:focus {
    outline: none;
    border-color: #bf953f;
    background: rgba(191, 149, 63, 0.05);
}

.xv-form-field input::placeholder {
    color: #555;
}

.xv-form-field input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: rgba(231, 76, 60, 0.5);
}

.xv-form-services-group {
    border: 1px solid rgba(191, 149, 63, 0.2);
    background: rgba(191, 149, 63, 0.04);
    border-radius: var(--xv-radius-md);
    padding: 1.2rem 1.1rem 1.1rem;
    margin: 0.4rem 0 0.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.xv-form-services-group legend {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fcf6ba;
    padding: 0 0.5rem;
}

/* ============================================================
   XPERIENCE VISION LIEU RDV — choix radio Domicile / Garage XPERIENCE VISION
   ============================================================ */
.xv-lieu-group {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.xv-lieu-group legend {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #bbb;
    padding: 0;
    margin-bottom: 0.4rem;
}

.xv-lieu-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

@media (min-width: 520px) {
    .xv-lieu-options { grid-template-columns: 1fr 1fr; }
}

.xv-lieu-option {
    position: relative;
    cursor: pointer;
    display: block;
}

.xv-lieu-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.xv-lieu-option-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.8rem;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.xv-lieu-option-inner i {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0.3rem;
    transition: color 0.2s ease;
}

.xv-lieu-option-inner strong {
    font-size: 0.82rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.01em;
}

.xv-lieu-option-inner span {
    font-size: 0.7rem;
    color: #888;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.xv-lieu-option input[type="radio"]:checked + .xv-lieu-option-inner {
    background: rgba(191, 149, 63, 0.08);
    border-color: rgba(191, 149, 63, 0.5);
}

.xv-lieu-option input[type="radio"]:checked + .xv-lieu-option-inner i {
    color: #fcf6ba;
}

.xv-lieu-option input[type="radio"]:focus-visible + .xv-lieu-option-inner {
    outline: 2px solid #fcf6ba;
    outline-offset: 2px;
}

@media (hover: hover) {
    .xv-lieu-option:hover .xv-lieu-option-inner {
        border-color: rgba(255, 255, 255, 0.2);
    }
}

.xv-form-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 0.7rem;
    padding: 0.8rem 1rem;
    color: #ffb3ac;
    font-size: 0.85rem;
    margin: 0;
}

.xv-form-submit {
    margin-top: 0.8rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 999px;
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    min-height: var(--xv-touch-target);
}

@media (hover: hover) {
    .xv-form-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
    }
}

.xv-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.xv-form-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--xv-text-muted);
    margin: 0.4rem 0 0;
    letter-spacing: 0.05em;
}

/* ============================================================
   XPERIENCE VISION BOOKING MOUNT — conteneur Cal.com inline embed
   ============================================================ */
.xv-booking-mount {
    min-height: 520px;
    width: 100%;
    border-radius: var(--xv-radius-md);
    overflow: hidden;
    background: #0a0a0a;
}

.xv-booking-loading,
.xv-stripe-loading {
    text-align: center;
    color: var(--xv-text-muted);
    padding: 3rem 1rem;
    font-size: 0.9rem;
}

.xv-stripe-error {
    text-align: center;
    color: #ffb3ac;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 0.7rem;
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
}

/* ============================================================
   XPERIENCE VISION STRIPE MOUNT — conteneur Embedded Checkout
   ============================================================ */
.xv-stripe-mount {
    min-height: 500px;
    width: 100%;
    border-radius: var(--xv-radius-md);
    overflow: hidden;
}

/* Responsive pour les modals wide sur petit écran */
@media (max-width: 768px) {
    .xv-modal {
        padding: 0.8rem;
        align-items: flex-start;
    }
    .xv-modal-card {
        padding: 1.8rem 1.3rem 1.5rem;
        max-height: calc(100vh - 1.6rem);
    }
    .xv-modal-wide .xv-modal-card {
        padding: 1.5rem 1rem;
    }
    .xv-booking-mount {
        min-height: 450px;
    }
}
