/* ================================================
   BC-GAMES — Thème inspiré bcxx
   E-commerce clair · Bleu logo · Cartes produits
   ================================================ */

.theme-bcxx {
    --brand-blue: #2B2BFF;
    --brand-blue-dark: #1a1acc;
    --brand-blue-light: #6b6bff;
    --primary-color: var(--brand-blue);
    --primary-dark: var(--brand-blue-dark);
    --primary-darker: #1212a0;
    --primary-light: var(--brand-blue-light);
    --accent-neon: #00f0ff;
    --accent-yellow: #ffee00;
    --accent-on-yellow: #0a0a12;
    --text-dark: #1a1a1a;
    --text-light: #555;
    --text-muted: #888;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #ececee;
    --bg-elevated: #ffffff;
    --border-color: #ddd;
    --border-accent: rgba(43, 43, 255, 0.35);
    --primary-alpha-08: rgba(43, 43, 255, 0.08);
    --primary-alpha-10: rgba(43, 43, 255, 0.12);
    --primary-alpha-12: rgba(43, 43, 255, 0.18);
    --neon-alpha: rgba(0, 240, 255, 0.1);
    --overlay-backdrop: rgba(0, 0, 0, 0.45);
    --gradient-brand: linear-gradient(135deg, #fff 0%, #f0f0ff 100%);
    --gradient-menu: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    --gradient-footer: #2d2d2d;
    --gradient-hero: none;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 4px 20px rgba(43, 43, 255, 0.25);
    --shadow-neon: none;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Inter', system-ui, sans-serif;
    --header-height: 130px;
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

.theme-bcxx body {
    background: var(--bg-secondary);
    background-image: none;
    color: var(--text-dark);
}

.theme-bcxx a,
.theme-bcxx a:visited,
.theme-bcxx a:link {
    color: var(--brand-blue);
}

.theme-bcxx a:hover {
    color: var(--brand-blue-dark);
}

/* Trust bar (fond noir : marque + menu + engagements) */
.trust-bar {
    --trust-bar-height: 88px;
    background: #2d2d2d;
    color: #fff;
    font-size: var(--text-xs);
    border-bottom: 3px solid var(--brand-blue);
    position: relative;
    z-index: 999;
}

.trust-bar__head {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.trust-bar__head .site-brand--bar {
    flex: 1;
    min-width: 0;
}

.trust-bar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.trust-bar__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    text-decoration: none;
    box-sizing: border-box;
}

.trust-bar__action:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.trust-bar__action img {
    width: 22px;
    height: 22px;
    display: block;
    filter: brightness(0) invert(1);
}

.trust-bar__action svg {
    display: block;
    color: #fff;
}

.trust-bar__action svg path,
.trust-bar__action svg circle {
    stroke: #fff;
}

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

.trust-bar .toogle-open {
    position: relative;
    top: auto;
    left: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    box-shadow: none;
}

.trust-bar .toogle-open span {
    position: relative;
    display: block;
    width: 22px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.trust-bar .toogle-open span::before,
.trust-bar .toogle-open span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.trust-bar .toogle-open span::before {
    transform: translateY(-7px);
}

.trust-bar .toogle-open span::after {
    transform: translateY(7px);
}

.trust-bar .toogle-open:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

.offcanvas-menu input[type="checkbox"]:checked ~ .trust-bar .toogle-open {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.site-brand--bar .site-brand__name {
    color: #fff;
}

.site-brand--bar .site-brand__tagline {
    color: rgba(255, 255, 255, 0.72);
}

.site-brand--bar:hover .site-brand__name {
    color: #fff;
}

.trust-bar__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 24px;
}

@media (min-width: 901px) {
    .trust-bar {
        --trust-bar-height: 56px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        max-width: 100%;
    }

    .trust-bar__head {
        flex: 0 1 auto;
        padding: 8px 16px;
        min-width: 280px;
    }

    .trust-bar__head .site-brand--bar {
        flex: 0 1 auto;
    }

    .trust-bar__inner {
        flex: 1;
        padding: 8px 16px 8px 0;
        justify-content: flex-end;
        border-top: none;
    }
}

.trust-bar__item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.trust-bar__title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
}

.trust-bar__text {
    color: #ccc;
    font-weight: 400;
}

/* Header */
.theme-bcxx .site-header .topmenu {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 10px 16px;
    backdrop-filter: none;
}

.theme-bcxx .topmenu-bar {
    display: flex;
    align-items: center;
    align-content: center;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 64px;
    gap: 16px;
    width: 100%;
}

.theme-bcxx .topmenu-logo {
    display: flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.15;
    text-decoration: none;
    color: inherit;
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand__name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--brand-blue);
    text-transform: uppercase;
}

.site-brand__tagline {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
}

.offcanvas-menu__panel .site-brand__name {
    font-size: 1.5rem;
}

.site-brand--footer .site-brand__name {
    color: #fff;
}

.site-brand--footer .site-brand__tagline {
    color: #aaa;
}

.theme-bcxx .topmenu-search-form {
    flex: 1;
    max-width: 520px;
    min-width: 0;
    width: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex !important;
    align-items: center;
    align-self: center;
    position: static !important;
    transform: none !important;
    box-shadow: none;
    margin: 0;
}

.theme-bcxx .topmenu-actions {
    display: flex;
    align-items: center;
    align-self: center;
    flex: 0 0 auto;
    gap: 8px;
}

.theme-bcxx .topmenu-search-form:focus-within {
    border-color: var(--brand-blue);
}

.theme-bcxx .zsearch {
    color: var(--text-dark);
    height: 44px;
    font-size: 15px;
}

.theme-bcxx .zsearchbutton {
    background: var(--brand-blue);
    width: auto;
    padding: 0 16px;
    gap: 6px;
    height: 44px;
}

.theme-bcxx .zsearchbutton:hover {
    background: var(--brand-blue-dark);
    box-shadow: none;
}

.theme-bcxx .zsearchbutton__label {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.theme-bcxx .topmenu-action {
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    background: #fff;
    width: auto;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    gap: 6px;
    align-items: center;
    box-sizing: border-box;
}

.theme-bcxx .topmenu-action svg {
    flex-shrink: 0;
    display: block;
}

.theme-bcxx .topmenu-action:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background: var(--primary-alpha-08);
    box-shadow: none;
}

.theme-bcxx .topmenu-action img {
    filter: none;
    opacity: 1;
}

.theme-bcxx .topmenu-action-label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    font-size: 12px;
    font-weight: 600;
    color: inherit;
}

.theme-bcxx .topmenu-action--cart {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.theme-bcxx .topmenu-action--cart:hover {
    background: var(--brand-blue-dark);
    color: #fff;
}

.theme-bcxx .topmenu-action--cart img {
    filter: brightness(0) invert(1);
}

/* Mega navigation — masqué par défaut sur grand écran */
.mega-nav-wrap {
    display: none;
}

.mega-nav-wrap__bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.mega-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    margin: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-dark);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.mega-nav-toggle:hover {
    background: var(--primary-alpha-08);
    color: var(--brand-blue);
}

.mega-nav-toggle__chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.mega-nav-wrap.is-open .mega-nav-toggle__chevron {
    transform: rotate(180deg);
}

.mega-nav {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 0 solid var(--border-color);
    transition: max-height 0.3s ease, border-width 0.2s ease;
}

.mega-nav-wrap.is-open .mega-nav {
    max-height: 40vh;
    border-bottom-width: 1px;
    overflow-y: auto;
}

.mega-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 16px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mega-nav__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-dark) !important;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.mega-nav__chip:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue) !important;
    background: var(--primary-alpha-08);
}

.mega-nav__chip--promo {
    border-color: #ff9800;
    color: var(--brand-blue) !important;
    background: #fff8e6;
}

/* mega-nav : masqué sur tous les écrans (navigation catalogue = barres compactes) */

.theme-bcxx .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.theme-bcxx .offcanvas-menu__panel {
    background: #fff;
    color: var(--text-dark);
    z-index: 1102;
    top: 0;
    padding-top: 20px;
}

.theme-bcxx .offcanvas-menu__backdrop {
    z-index: 1101;
}

.theme-bcxx .offcanvas-menu__head label.toogle-close span,
.theme-bcxx .offcanvas-menu__head label.toogle-close span::before,
.theme-bcxx .offcanvas-menu__head label.toogle-close span::after {
    background: var(--text-dark);
}

.theme-bcxx .offcanvas-menu__head label.toogle-close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.theme-bcxx .offcanvas-menu__head label.toogle-close span {
    position: relative;
    display: block;
    width: 18px;
    height: 3px;
    background: var(--text-dark);
}

.theme-bcxx .offcanvas-menu__head label.toogle-close span::before,
.theme-bcxx .offcanvas-menu__head label.toogle-close span::after {
    background: var(--text-dark);
}

.theme-bcxx .site-menu__heading {
    color: var(--text-muted);
}

.theme-bcxx .site-menu__link,
.theme-bcxx .site-menu__sublink {
    color: var(--text-dark);
}

.theme-bcxx .site-menu__link:hover,
.theme-bcxx .site-menu__sublink:hover {
    color: var(--brand-blue);
    background: var(--primary-alpha-08);
}

.theme-bcxx .site-menu__subs {
    background: var(--bg-secondary);
}

.theme-bcxx .site-menu__toggle {
    background: var(--bg-secondary);
    color: var(--text-dark);
}

.theme-bcxx .site-menu__sep {
    background: var(--border-color);
}

/* Main content (header en flux : pas de marge compensatoire) */
.theme-bcxx .maincontent {
    background: var(--bg-primary);
    border: none;
    box-shadow: none;
    border-radius: 0;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto 20px;
    overflow-x: clip;
    box-sizing: border-box;
}

.theme-bcxx #main-content {
    background: var(--bg-primary);
}

/* Bandeaux du haut (catalogue + cybercafé) */
.home-top-banners {
    border-bottom: 1px solid var(--border-color);
}

.home-top-banners__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: min(420px, 50vh);
}

.home-top-banners__panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 24px 32px;
}

.home-top-banners:has(.home-hero.is-collapsed) .home-top-banners__grid {
    grid-template-columns: 1fr;
}

/* Bandeaux — palette unifiée BC-GAMES (#2B2BFF) */
.home-hero,
.home-cyber-banner,
.home-pc-banner {
    --banner-brand: var(--brand-blue);
    --banner-brand-dark: var(--brand-blue-dark);
    --banner-brand-glow: rgba(43, 43, 255, 0.35);
}

.home-hero {
    --banner-eyebrow: var(--banner-brand);
    --banner-title: #14142b;
    --banner-text: #4a4a5c;
    color: var(--banner-title);
    border-right: 1px solid var(--border-color);
}

.home-banner--dark {
    --banner-eyebrow: #c5c5ff;
    --banner-title: #ffffff;
    --banner-text: rgba(255, 255, 255, 0.9);
    color: var(--banner-title);
}

.home-top-banners:has(.home-hero.is-collapsed) .home-hero {
    display: none;
    border-right: none;
}

.home-hero.is-collapsed {
    display: none;
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.home-cyber-banner.home-banner--dark {
    --banner-eyebrow: #e4e4ff;
    --banner-title: #ffffff;
    --banner-text: #f5f5ff;
}

.home-cyber-banner__inner {
    position: relative;
    z-index: 2;
    max-width: 400px;
    margin: 0 auto;
    padding: 22px 20px 24px;
    text-align: center;
    background: rgba(8, 10, 28, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.home-cyber-banner__eyebrow,
.home-pc-banner__eyebrow {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--banner-eyebrow);
    margin-bottom: 8px;
}

.home-cyber-banner__title,
.home-pc-banner__title {
    font-size: clamp(1.25rem, 2.8vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--banner-title);
}

.home-cyber-banner__lead {
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--banner-text);
    margin-bottom: 16px;
    max-width: 34em;
    margin-left: auto;
    margin-right: auto;
}

.home-cyber-banner__list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.home-cyber-banner__list li {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.home-cyber-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 900px) {
    .home-top-banners__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-hero {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .home-top-banners:has(.home-hero.is-collapsed) .home-top-banners__grid {
        grid-template-columns: 1fr;
    }
}

.home-hero__eyebrow {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--banner-eyebrow);
    margin-bottom: 8px;
}

.home-hero__title {
    font-size: clamp(1.25rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: var(--banner-title);
    line-height: 1.2;
    margin-bottom: 12px;
}

.home-hero__lead,
.home-cyber-banner__lead,
.home-pc-banner__lead {
    line-height: 1.55;
    color: var(--banner-text);
}

.home-hero__lead {
    font-size: var(--text-base);
    margin-bottom: 20px;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--brand-blue);
    color: #fff !important;
    border-color: var(--brand-blue);
}

.btn--primary:hover {
    background: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    color: #fff !important;
}

.btn--outline {
    background: #fff;
    color: var(--text-dark) !important;
    border-color: var(--border-color);
}

.btn--outline:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue) !important;
}

.btn--promo {
    background: #ff9800;
    color: #fff !important;
    border-color: #ff9800;
}

/* Arrière-plans photo des bandeaux */
.home-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-banner__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.home-banner__photo.is-missing {
    opacity: 0;
}

.home-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home-banner__overlay--catalogue {
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.91) 0%,
        rgba(245, 246, 255, 0.86) 55%,
        rgba(255, 255, 255, 0.89) 100%
    );
}

.home-cyber-banner .home-banner__photo {
    filter: brightness(0.5) saturate(0.65);
}

.home-banner__overlay--cybercafe {
    background: linear-gradient(
        165deg,
        rgba(10, 12, 32, 0.95) 0%,
        rgba(20, 22, 56, 0.93) 50%,
        rgba(43, 43, 255, 0.82) 100%
    );
}

.home-banner__overlay--pc {
    background: linear-gradient(
        135deg,
        rgba(14, 16, 42, 0.78) 0%,
        rgba(43, 43, 255, 0.45) 50%,
        rgba(14, 16, 42, 0.82) 100%
    );
}

.home-pc-banner {
    position: relative;
    overflow: hidden;
    padding: 36px 20px 40px;
    border-bottom: 1px solid var(--border-color);
}

.home-pc-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.home-cyber-banner__lead {
    font-size: var(--text-base);
    margin-bottom: 14px;
}

.home-pc-banner__lead {
    font-size: var(--text-lg);
    margin-bottom: 22px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.home-pc-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Accueil — carrousel à la une ($sfocus, 4 articles) */
.theme-bcxx .home-focus {
    background: linear-gradient(125deg, #0f0f2e 0%, var(--brand-blue) 48%, var(--brand-blue-dark) 100%);
    color: #fff;
    padding: 36px 20px 32px;
    border-bottom: 3px solid var(--accent-neon);
}

.theme-bcxx .home-focus__head {
    max-width: 1200px;
    margin: 0 auto 20px;
    text-align: center;
}

.theme-bcxx .home-focus__viewport {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.theme-bcxx .home-focus__track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .theme-bcxx .home-focus__track {
        transition: none;
    }
}

.theme-bcxx .home-focus__slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
}

.theme-bcxx .home-focus__inner {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 40%);
    gap: 28px 40px;
    align-items: center;
}

.theme-bcxx .home-focus__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    max-width: 1200px;
    margin: 22px auto 0;
}

.theme-bcxx .home-focus__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--brand-blue);
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s ease, background 0.15s ease;
}

.theme-bcxx .home-focus__nav-btn:hover {
    transform: scale(1.05);
    background: var(--accent-yellow);
}

.theme-bcxx .home-focus__dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.theme-bcxx .home-focus__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.theme-bcxx .home-focus__dot.is-active {
    width: 28px;
    background: var(--accent-yellow);
}

.theme-bcxx .home-focus__dot:hover {
    background: rgba(255, 255, 255, 0.65);
}

.theme-bcxx .home-focus__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-yellow);
}

.theme-bcxx .home-focus__stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 8px 14px;
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.35;
    color: #0a0a12;
    background: var(--accent-yellow);
    border-radius: 999px;
}

.theme-bcxx .home-focus__stock-icon {
    font-size: 10px;
    color: #1a7a3a;
}

.theme-bcxx .home-focus__title {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.theme-bcxx .home-focus__hook {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    max-width: 38em;
}

.theme-bcxx .home-focus__meta {
    margin: 0 0 16px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.theme-bcxx .home-focus__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
    margin-bottom: 20px;
}

.theme-bcxx .home-focus__price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
}

.theme-bcxx .home-focus__price--old {
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.65;
}

.theme-bcxx .home-focus__price--promo {
    color: var(--accent-yellow);
}

.theme-bcxx .home-focus__soon {
    margin: 0 0 20px;
    font-weight: 600;
    color: var(--accent-yellow);
}

.theme-bcxx .home-focus__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.theme-bcxx .home-focus__visual {
    position: relative;
    display: block;
    padding: 18px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-bcxx .home-focus__visual:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.theme-bcxx .home-focus__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #e53935;
    border-radius: 999px;
}

.theme-bcxx .home-focus__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.theme-bcxx .home-focus__img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .theme-bcxx .home-focus__inner {
        grid-template-columns: 1fr;
    }

    .theme-bcxx .home-focus__visual {
        order: -1;
    }

    .theme-bcxx .home-focus__title {
        font-size: 1.35rem;
    }

    .theme-bcxx .home-focus__controls {
        margin-top: 16px;
    }
}

/* Boutons bandeaux sombres — identiques cyber + PC */
.home-banner--dark .btn--light {
    background: #fff;
    color: var(--banner-brand) !important;
    border-color: #fff;
}

.home-banner--dark .btn--light:hover {
    background: #eef0ff;
    border-color: #eef0ff;
    color: var(--banner-brand-dark) !important;
}

.home-banner--dark .btn--outline-light {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5);
}

.home-banner--dark .btn--outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

/* Lisibilité texte sur photos */
.home-cyber-banner__inner,
.home-cyber-banner__title,
.home-cyber-banner__lead {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.home-banner--dark .home-pc-banner__inner {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.btn--light {
    background: #fff;
    color: var(--brand-blue) !important;
    border-color: #fff;
}

.btn--light:hover {
    background: #eef0ff;
    border-color: #eef0ff;
    color: var(--brand-blue-dark) !important;
}

.btn--outline-light {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

/* Devis PC */
.devis-pc-page {
    padding: 16px 20px 40px;
    max-width: 720px;
    margin: 0 auto;
}

.devis-pc-page__head {
    margin-bottom: 24px;
    text-align: center;
}

.devis-pc-page__title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
}

.devis-pc-page__intro {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.devis-pc-page__success {
    background: #f0fff4;
    border: 1px solid #86efac;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.devis-pc-page__success h2 {
    margin: 0 0 12px;
    color: var(--text-dark);
}

.devis-pc-form__hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.devis-pc-form__errors {
    background: #fff5f5;
    border: 1px solid #fca5a5;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #b91c1c;
    font-size: var(--text-sm);
}

.devis-pc-form__errors ul {
    margin: 0;
    padding-left: 1.2em;
}

.devis-pc-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.devis-pc-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.devis-pc-form__field--full {
    grid-column: 1 / -1;
}

.devis-pc-form__field label,
.devis-pc-form__legend {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-dark);
}

.devis-pc-form__field .req {
    color: var(--brand-blue);
}

.devis-pc-form__field input,
.devis-pc-form__field select,
.devis-pc-form__field textarea {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: inherit;
    color: var(--text-dark);
    background: #fff;
}

.devis-pc-form__field input:focus,
.devis-pc-form__field select:focus,
.devis-pc-form__field textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px var(--primary-alpha-08);
}

.devis-pc-form__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
    font-weight: 500;
    cursor: pointer;
}

.devis-pc-form__note {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 16px 0;
}

.devis-pc-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 600px) {
    .devis-pc-form__grid {
        grid-template-columns: 1fr;
    }
}

/* Home intro */
.home-intro {
    padding: 32px 20px 40px;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.home-intro__inner {
    max-width: 800px;
    margin: 0 auto;
}

.home-intro__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}

.home-intro__content {
    font-size: var(--text-base);
    color: var(--text-light);
    line-height: 1.7;
}

.home-intro__content p {
    margin-bottom: 12px;
}

.home-intro__toggle {
    display: block;
    margin: 16px auto 0;
    padding: 8px 16px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.home-intro__toggle:hover {
    border-color: var(--brand-blue);
    background: var(--primary-alpha-08);
}

/* Category tabs */
.theme-bcxx .site-tabs,
.theme-bcxx .home-cat-nav {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.theme-bcxx .site-tabs__tab,
.theme-bcxx .home-cat-nav__link {
    color: var(--text-dark);
    border: 1px solid transparent;
    background: transparent;
}

.theme-bcxx .site-tabs__tab.is-active,
.theme-bcxx .home-cat-nav__link.is-active {
    background: var(--brand-blue);
    color: #fff !important;
    border-color: var(--brand-blue);
}

/* Product cards (bcxx) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 16px 20px 24px;
    background: transparent;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.product-card:hover {
    border-color: #ccc;
    box-shadow: var(--shadow-md);
    transform: none;
}

.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--brand-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.product-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 16px;
    background: #fff;
    text-align: center;
    min-height: 180px;
    box-sizing: border-box;
}

.product-card__price-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent-yellow);
    color: var(--brand-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-card__price-tag sup {
    font-size: 12px;
    top: -1px;
}

.product-card__media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 180px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    transition: transform 0.25s ease;
}

.product-card__media--no-photo {
    background: #fff;
}

.product-card__media--no-photo .article-img--placeholder {
    width: auto;
    max-width: 80px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    opacity: 1;
}

.product-card__caption {
    margin: 0;
    padding: 10px 12px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-dark) !important;
    text-align: center;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
    min-height: 3.8em;
}

.product-card__caption:hover {
    color: var(--brand-blue) !important;
}

.product-card__caption + .product-card__body .product-card__cat {
    margin-top: 4px;
}

/* Rayon — panneau filtrage */
.theme-bcxx .catalog-filters-panel {
    margin: 12px 16px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.theme-bcxx .catalog-filters-panel summary {
    padding: 14px 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    list-style-position: outside;
}

.theme-bcxx .catalog-filters-panel__body {
    padding: 4px 16px 16px;
    border-top: 1px solid #eee;
}

.theme-bcxx .rayon-filters__form {
    margin: 0;
}

.theme-bcxx .rayon-filters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px 20px;
}

.theme-bcxx .rayon-filter-group {
    margin: 0;
    padding: 0;
    border: none;
    min-width: 0;
}

.theme-bcxx .rayon-filter-group__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand-blue);
    margin: 0 0 10px;
    padding: 0;
}

.theme-bcxx .rayon-filter-group__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-bcxx .rayon-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.theme-bcxx .rayon-filter-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.theme-bcxx .rayon-filter-chip span {
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    background: #f5f5f7;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.theme-bcxx .rayon-filter-chip:hover span {
    border-color: var(--brand-blue);
    background: var(--primary-alpha-08);
}

.theme-bcxx .rayon-filter-chip input:checked + span {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.theme-bcxx .rayon-filter-chip input:focus-visible + span {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

.theme-bcxx .rayon-filters__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.theme-bcxx .rayon-filters__submit {
    min-width: 140px;
}

.theme-bcxx .rayon-filters__reset {
    text-decoration: none;
}

@media (max-width: 600px) {
    .theme-bcxx .rayon-filters__grid {
        grid-template-columns: 1fr;
    }
}

.theme-bcxx .breadcrumb-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 16px 12px;
    padding: 0;
}

.theme-bcxx .breadcrumb-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-blue) !important;
    background: var(--primary-alpha-08);
    border: 1px solid var(--border-accent);
    border-radius: 999px;
    text-decoration: none;
}

.theme-bcxx .breadcrumb-filter:hover {
    background: var(--primary-alpha-12);
    border-color: var(--brand-blue);
}

/* Recherche : colonne « filtrer » (lipa / lipa2) — priorité sur les liens globaux */
.theme-bcxx .column1 h4 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.theme-bcxx .lipa a,
.theme-bcxx .lipa a:visited,
.theme-bcxx .lipa a:link {
    color: var(--text-dark);
}

.theme-bcxx .lipa:hover {
    background: var(--primary-alpha-08);
}

.theme-bcxx .lipa:hover a {
    color: var(--brand-blue);
}

.theme-bcxx .lipa2 {
    background: var(--brand-blue);
}

.theme-bcxx .lipa2 a,
.theme-bcxx .lipa2 a:visited,
.theme-bcxx .lipa2 a:link,
.theme-bcxx .lipa2 a:hover {
    color: #fff;
}

.theme-bcxx .lipa2 span {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.product-card:hover .product-card__media img:not(.article-img--placeholder) {
    transform: scale(1.03);
}

.article-img--placeholder {
    object-fit: contain;
    background: #fff;
}

.boxarts.product-grid img[src*="nophoto"] {
    background: #fff;
}

/* Rayon (liste) : désignation si pas de photo */
.theme-bcxx .listarts--no-photo-label .listarts__media--no-photo {
    display: block;
    background: #f0f1f8;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.theme-bcxx .listarts--no-photo-label .article-no-photo--list {
    aspect-ratio: 1;
    min-height: 0;
    padding: 14px 10px;
    box-sizing: border-box;
}

.theme-bcxx .listarts--no-photo-label .article-no-photo--list .article-no-photo__icon {
    width: 36px !important;
    height: 36px !important;
    max-height: 36px !important;
}

.theme-bcxx .listarts--no-photo-label .article-no-photo--list .article-no-photo__title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    word-break: break-word;
}

.theme-bcxx .listarts__item[data-product-url] {
    cursor: pointer;
}

.theme-bcxx .listarts__item[data-product-url]:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

.theme-bcxx .listarts--responsive .listarts__top {
    display: block;
}

.theme-bcxx .listarts--responsive .listarts__media {
    display: block;
    position: relative;
}

.theme-bcxx .listarts--responsive .listarts__media img:not(.article-no-photo__icon) {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.theme-bcxx .listarts__price-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent-yellow);
    color: var(--brand-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.theme-bcxx .listarts__price-tag sup {
    font-size: 12px;
    top: -1px;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 12px 13px;
    gap: 8px;
}

.product-card[data-product-url] {
    cursor: pointer;
}

.product-card[data-product-url]:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

.product-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card__cat::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-blue);
    flex: 0 0 auto;
}

.product-card__footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #ececf2;
    display: flex;
    align-items: flex-end;
    min-height: 44px;
}

.product-card__prices {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 4px 7px;
    min-width: 0;
    min-height: 22px;
    line-height: 1.1;
}

.product-card__price {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-dark);
    font-variant-numeric: tabular-nums;
}

.product-card__price--old {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.product-card__price--promo {
    color: var(--brand-blue);
}

/* Sécurise l'affichage des prix sur l'accueil/catalogue */
.theme-bcxx .product-card__prices {
    display: flex !important;
    align-items: baseline;
    gap: 6px;
    min-height: 22px;
}

.theme-bcxx .product-card__price,
.theme-bcxx .product-card__price sup {
    color: var(--text-dark) !important;
}

.theme-bcxx .product-card__price--promo,
.theme-bcxx .product-card__price--promo sup {
    color: var(--brand-blue) !important;
}

.product-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-dark) !important;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    text-transform: none;
}

.product-card__cta:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue) !important;
    background: var(--primary-alpha-08);
}

.product-card__soon {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Legacy boxarts reset */
.theme-bcxx .boxarts > div:not(.product-card) {
    display: none;
}

.theme-bcxx .boxarts.product-grid {
    display: grid;
}

/* Neutralise les styles legacy .boxarts div sur les sous-blocs internes */
.theme-bcxx .boxarts.product-grid .product-card div {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.theme-bcxx .boxarts.product-grid .product-card div:hover {
    transform: none !important;
}

/* Catalog sections */
.theme-bcxx .catalog-section__head {
    border-bottom: 2px solid var(--brand-blue);
    padding-bottom: 10px;
    margin: 0 20px;
}

.theme-bcxx .catalog-section__title,
.theme-bcxx .catalog-section__title a {
    color: var(--text-dark) !important;
    font-size: var(--text-xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.theme-bcxx .catalog-section__more {
    color: var(--brand-blue);
    font-weight: 600;
    border: 1px solid var(--brand-blue);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
}

.theme-bcxx .catalog-section__more:hover {
    background: var(--brand-blue);
    color: #fff !important;
}

/* List view (rayon) */
.theme-bcxx .listarts--responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.theme-bcxx .listarts--responsive .listarts__item {
    margin: 0;
    height: 100%;
}

.theme-bcxx .listarts__item {
    background: #fff;
    border: 1px solid var(--border-color);
}

.theme-bcxx .listarts__item:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.theme-bcxx .listarts__price {
    color: var(--brand-blue);
    font-family: var(--font-body);
}

.theme-bcxx .listarts__cta {
    display: inline-block;
    padding: 8px 14px;
    background: var(--brand-blue);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.theme-bcxx .listarts__cta:hover {
    background: var(--brand-blue-dark);
    color: #fff !important;
}

.theme-bcxx .listarts__cart--icon {
    display: inline-flex;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.theme-bcxx .listarts__cart--icon img {
    filter: none;
}

.theme-bcxx .listarts__title {
    color: var(--text-dark);
    font-family: var(--font-body);
}

.theme-bcxx .listarts__title:hover {
    color: var(--brand-blue);
}

.theme-bcxx .listarts--responsive .listarts__top {
    grid-template-columns: minmax(86px, 110px) minmax(0, 1fr);
    gap: 12px;
}

.theme-bcxx .listarts--responsive .listarts__price {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

@media (max-width: 640px) {
    .theme-bcxx .listarts--responsive {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb & catalog nav */
.theme-bcxx .breadcrumb {
    background: #fff;
    border: 1px solid var(--border-color);
    margin: 16px 20px;
}

.theme-bcxx .breadcrumb__link {
    color: var(--brand-blue);
}

.theme-bcxx .famille-quick-nav,
.theme-bcxx .catalog-nav,
.theme-bcxx .home-cat-nav.famille-quick-nav {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.theme-bcxx .home-cat-nav.famille-quick-nav {
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.theme-bcxx .catalog-page .famille-quick-nav {
    margin: 16px 20px 0;
}

.theme-bcxx .catalog-page .catalog-pc-banner {
    margin: 12px 20px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.theme-bcxx .catalog-page .famille-quick-nav + .catalog-pc-banner {
    margin-top: 12px;
}

.theme-bcxx .catalog-page .catalog-pc-banner + .catalog-nav {
    margin: 8px 20px 16px;
}

.theme-bcxx .catalog-page .famille-quick-nav + .catalog-nav {
    margin: 8px 20px 16px;
}

.theme-bcxx .catalog-page .breadcrumb + .catalog-pc-banner {
    margin: 12px 20px 0;
}

.theme-bcxx .catalog-page .breadcrumb + .catalog-pc-banner + .catalog-nav {
    margin: 8px 20px 16px;
}

.theme-bcxx .catalog-page .catalog-nav:only-of-type,
.theme-bcxx .catalog-page .catalog-nav:first-child {
    margin: 16px 20px;
}

.theme-bcxx .catalog-nav__bar {
    background: var(--bg-secondary);
    border-bottom: none;
    align-items: flex-start;
}

.theme-bcxx .catalog-sort {
    margin: 6px 16px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 6px 10px;
}

.theme-bcxx .catalog-sort--nav {
    margin: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid var(--brand-blue);
    border-radius: var(--radius-md);
    background: var(--primary-alpha-08);
    color: var(--brand-blue);
}

.theme-bcxx .catalog-sort--nav .catalog-sort__label {
    display: none;
}

.theme-bcxx .catalog-sort__label {
    font-size: 11px;
    font-weight: 600;
    color: inherit;
    line-height: 1;
}

.theme-bcxx .catalog-sort__select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.2;
    outline: none;
    cursor: pointer;
    padding: 0 16px 0 0;
    padding-left: 0;
    margin: 0;
    min-height: 0;
}

.theme-bcxx .catalog-sort--nav .catalog-sort__select {
    position: relative;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 10px) calc(50% - 2px), calc(100% - 5px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.theme-bcxx .catalog-sort__select option {
    color: var(--text-dark);
    background: #fff;
}

.theme-bcxx .catalog-sort--nav:hover {
    background: var(--brand-blue);
    color: #fff;
}

.theme-bcxx .catalog-sort--nav:hover .catalog-sort__select {
    color: #fff;
}

.theme-bcxx .catalog-sort--nav .catalog-sort__select:focus,
.theme-bcxx .catalog-sort--nav .catalog-sort__select:active {
    color: var(--text-dark);
}

.theme-bcxx .catalog-nav__context {
    flex: 1;
    min-width: 0;
}

.theme-bcxx .catalog-nav__current {
    white-space: normal;
    overflow: visible;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.35;
}

.theme-bcxx .catalog-nav__picker {
    border-color: var(--brand-blue);
    background: var(--primary-alpha-08);
    color: var(--brand-blue);
}

.theme-bcxx .catalog-nav__picker:hover {
    background: var(--brand-blue);
    color: #fff;
}

@media (max-width: 820px) {
    .theme-bcxx .catalog-nav__bar {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 10px;
    }

    .theme-bcxx .catalog-nav__context {
        flex: 1 1 100%;
        order: 1;
    }

    .theme-bcxx .catalog-nav__current {
        word-break: normal;
        overflow-wrap: break-word;
    }

    .theme-bcxx .catalog-nav__picker {
        order: 2;
        margin-top: 0;
    }

    .theme-bcxx .catalog-sort--nav {
        order: 3;
    }
}

/* Article page */
.theme-bcxx .article-detail__buybox {
    background: #fff;
    border: 1px solid var(--border-color);
}

.theme-bcxx .article-detail__price-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-bcxx .article-detail__price {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent-yellow);
    color: var(--brand-blue) !important;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: none;
}

.theme-bcxx .article-detail__price sup {
    font-size: 12px;
    top: -1px;
}

.theme-bcxx .article-detail__price--old {
    padding: 0;
    background: transparent;
    color: var(--text-muted) !important;
    font-size: 0.95rem;
    text-decoration: line-through;
}

.theme-bcxx .article-detail__cart {
    background: var(--brand-blue);
}

.theme-bcxx .article-detail__share-title {
    color: var(--text-muted);
}

.theme-bcxx .article-detail__phone a {
    color: var(--text-dark);
}

.theme-bcxx .article-detail__phone a:hover {
    color: var(--brand-blue);
}

.theme-bcxx .article-detail__phone svg {
    color: var(--brand-blue);
}

.theme-bcxx .article-detail__share-link {
    border-color: var(--border-color);
    color: var(--text-dark);
    background: #fff;
}

.theme-bcxx .article-detail__share-link:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    background: var(--primary-alpha-08);
}

.theme-bcxx .article-detail__status {
    text-transform: none;
}

.theme-bcxx .price-promo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent-yellow);
    color: var(--brand-blue);
    font-weight: 700;
    line-height: 1;
}

.theme-bcxx .price-promo sup {
    font-size: 10px;
    top: -1px;
}

/* Footer */
.site-footer {
    background: var(--gradient-footer);
    color: #ccc;
    margin-top: 40px;
    padding: 0;
}

.site-footer__grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 24px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
}

.site-footer__brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
    color: #aaa;
}

.site-footer__col h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.site-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__col li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.site-footer__col a {
    color: #ccc !important;
}

.site-footer__col a:hover {
    color: #fff !important;
}

.site-footer__bottom {
    border-top: 1px solid #444;
    padding: 14px 20px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 12px;
    color: #888;
}

.site-footer__bottom a {
    color: #aaa !important;
}

.theme-bcxx footer:not(.site-footer) {
    display: none;
}

/* Popups */
.theme-bcxx dialog.catalog-popup {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.theme-bcxx .catalog-popup__title {
    color: var(--text-dark);
}

.theme-bcxx .catalog-popup__link:hover {
    background: var(--primary-alpha-08);
    color: var(--brand-blue);
}

/* Back to top */
.theme-bcxx .back-to-top {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

/* Mobile */
@media (max-width: 900px) {
    .trust-bar__inner {
        gap: 6px 12px;
        font-size: 11px;
    }

    .trust-bar__item {
        flex-direction: column;
        align-items: center;
        gap: 0;
        text-align: center;
    }

    .theme-bcxx .maincontent {
        margin-top: 0;
        width: 100%;
        border-radius: 0;
    }

    .theme-bcxx .topmenu {
        padding: 8px 12px;
    }

    .theme-bcxx .topmenu-bar {
        flex-wrap: wrap;
        align-items: center;
    }

    .theme-bcxx .topmenu-logo,
    .theme-bcxx .topmenu-actions {
        align-self: center;
    }

    .theme-bcxx .topmenu-search-form {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        align-self: stretch;
    }

    .theme-bcxx .zsearchbutton__label {
        display: none;
    }

    .theme-bcxx .zsearchbutton {
        width: 44px;
        padding: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px;
    }

    .product-card__title {
        font-size: 13px;
        min-height: auto;
        -webkit-line-clamp: 2;
    }

    .product-card__price {
        font-size: 1.1rem;
    }

    .product-card__body {
        gap: 8px;
        padding: 12px;
    }

    .product-card__cat {
        font-size: 10px;
        padding: 2px 7px;
    }

    .product-card__footer {
        gap: 7px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 901px) {
    .theme-bcxx .zsearchbutton__label {
        display: inline;
    }
}

/* Page magasin */
.shops-page {
    padding: 16px;
    max-width: 100%;
    box-sizing: border-box;
}

.shops-page__title {
    margin: 0 0 16px;
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-dark);
}

.shops-page .shops {
    max-width: 100%;
}

.shops-page .shops__card,
.shops-page .shops div {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
}

.shops-page .shops__name,
.shops-page .shops h4 {
    margin: 0 0 12px;
    font-size: var(--text-xl);
    color: var(--text-dark);
}

.shops-page .shops p {
    margin: 0 0 10px;
    line-height: 1.5;
    word-wrap: break-word;
}

.shops-map {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    aspect-ratio: 4 / 3;
    min-height: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.shops-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Assistant chat (questions / réponses) */
.theme-bcxx .site-chat {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    font-size: 14px;
}

.theme-bcxx .site-chat__launcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--brand-blue);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform 0.15s ease, background 0.15s ease;
}

.theme-bcxx .site-chat__launcher:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-2px);
}

.theme-bcxx .site-chat__launcher-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 16px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.theme-bcxx .site-chat__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(380px, calc(100vw - 32px));
    max-height: min(520px, calc(100vh - 100px));
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.theme-bcxx .site-chat__panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.theme-bcxx .site-chat__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: #fff;
    border-radius: 14px 14px 0 0;
}

.theme-bcxx .site-chat__head .site-chat__title,
.theme-bcxx .site-chat__head h2.site-chat__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.theme-bcxx .site-chat__head .site-chat__subtitle,
.theme-bcxx .site-chat__head p.site-chat__subtitle {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
}

.theme-bcxx .site-chat__close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.theme-bcxx .site-chat__messages {
    flex: 1;
    min-height: 180px;
    max-height: 280px;
    overflow-y: auto;
    padding: 14px 16px;
    background: var(--bg-secondary);
}

.theme-bcxx .site-chat__msg {
    max-width: 92%;
    margin-bottom: 10px;
    padding: 10px 12px;
    line-height: 1.45;
    border-radius: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.theme-bcxx .site-chat__msg--bot {
    margin-right: auto;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.theme-bcxx .site-chat__msg--user {
    margin-left: auto;
    background: var(--brand-blue);
    color: #fff;
}

.theme-bcxx .site-chat__msg--typing {
    font-style: italic;
    opacity: 0.75;
}

.theme-bcxx .site-chat__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px 10px;
    background: var(--bg-secondary);
}

.theme-bcxx .site-chat__chip {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-blue);
    background: #fff;
    border: 1px solid var(--border-accent);
    border-radius: 999px;
    cursor: pointer;
}

.theme-bcxx .site-chat__chip:hover {
    background: var(--primary-alpha-08);
}

.theme-bcxx .site-chat__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

.theme-bcxx .site-chat__input {
    width: 100%;
    min-height: 56px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    resize: vertical;
}

.theme-bcxx .site-chat__send {
    align-self: flex-end;
}

.theme-bcxx .site-chat__notice {
    margin: 0;
    padding: 8px 16px 12px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-muted);
}

.theme-bcxx .site-chat__notice a {
    color: var(--brand-blue);
}

@media (max-width: 480px) {
    .theme-bcxx .site-chat {
        right: 10px;
        bottom: 10px;
    }

    .theme-bcxx .site-chat__launcher-label {
        display: none;
    }

    .theme-bcxx .site-chat__launcher {
        padding: 14px;
        border-radius: 50%;
    }
}
