:root {
    /* STYLE B — Tech moderne */
    --bg-color: #ffffff;
    --surface-color: #fafafa;
    --surface-hover: #f0f0f0;
    --text-primary: #0a0a0a;
    --text-secondary: #666666;
    --text-mute: #999999;
    --accent-color: #0a0a0a;
    --accent-hover: #333333;
    --accent-light: #f0f0f0;
    --line: #e8e8e8;
    --line-soft: #f0f0f0;

    /* Espacements et dimensions */
    --container-max: 1240px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(236, 231, 223, 0.9);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(112, 128, 144, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 60px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 16px;
    z-index: 2;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 38px;
    background: #66f2ff;
    border-radius: 30px;
    transition: all 0.2s ease-out; /* Transition beaucoup plus rapide et sans rebond */
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(102, 242, 255, 0.5);
    opacity: 0;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    color: #111111;
    background-color: #66f2ff; /* Bleu Néon Clair */
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cart-icon:hover {
    background-color: #00ccff; /* Bleu Néon moins foncé au survol */
    color: #111111;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FFF066; /* Jaune Clair */
    color: #111111;
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: #66f2ff;
    color: #111111; /* Contraste fort pour un cyan fluo clair */
}

.btn-primary:hover {
    background-color: #00ccff;
    transform: translateY(-2px);
    color: #111111;
}

.btn-block {
    width: 100%;
}

/* Hero Section — Bannière CHEF & CO en fond */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(20,24,27,0.85) 0%, rgba(20,24,27,0.65) 35%, rgba(20,24,27,0.25) 60%, rgba(20,24,27,0.15) 100%),
        url('../images/chefco-banner.webp?v=2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f7f5f2;
}

.hero-bg { display: none; }

/* On masque le collage 4-produits car la bannière les montre déjà */
.hero-collage,
.hero-image { display: none; }

.hero-container {
    grid-template-columns: 1fr !important;
}

/* Texte hero adapté au fond sombre */
.hero .hero-content { max-width: 620px; }
.hero .badge {
    background: rgba(201, 169, 97, 0.18);
    color: #c9a961;
    border: 1px solid rgba(201, 169, 97, 0.4);
}
.hero .hero-title {
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.hero .hero-desc {
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero .hero-desc strong[style] { color: #c9a961 !important; }
.hero .btn-primary {
    background: #c9a961;
    color: #1d2327;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.hero .btn-primary:hover {
    background: #d6b878;
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .hero {
        background-image:
            linear-gradient(180deg, rgba(20,24,27,0.55) 0%, rgba(20,24,27,0.85) 100%),
            url('../images/chefco-banner.webp?v=2');
        background-position: center top;
        min-height: auto;
        padding: 120px 0 4rem;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(112, 128, 144, 0.1);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* === Hero collage : mosaïque 2×2 d'appareils représentatifs === */
.hero-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.2rem;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 540px;
    margin: 0 auto;
}
.hc-item {
    position: relative;
    background: linear-gradient(145deg, var(--surface-color), #f4f6f9);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow:
        0 18px 40px rgba(22, 74, 65, 0.08),
        0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(112, 128, 144, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}
.hc-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 60px rgba(22, 74, 65, 0.18),
        0 8px 20px rgba(0,0,0,0.08);
}
.hc-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    animation: float 6s ease-in-out infinite;
}
/* Décalage de l'animation pour un mouvement organique */
.hc-1 img { animation-delay: 0s;    }
.hc-2 img { animation-delay: 1.5s;  }
.hc-3 img { animation-delay: 3s;    }
.hc-4 img { animation-delay: 4.5s;  }

/* La 2e tuile (Air Fryer) sert de pièce maîtresse : fond accentué */
.hc-2 {
    background: linear-gradient(145deg, #ffffff, var(--accent-light));
}
.hc-2 img {
    padding: 10%;
}

/* Mobile : reste en grille 2×2 mais plus compacte */
@media (max-width: 600px) {
    .hero-collage {
        max-width: 380px;
        gap: 0.8rem;
    }
    .hc-item img { padding: 12%; }
    .hc-2 img { padding: 6%; }
}

/* Products Section */
.products-section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(112, 128, 144, 0.1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    background: var(--surface-hover);
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(22, 74, 65, 0.1);
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.add-to-cart {
    background: #66f2ff;
    border: none;
    color: #111111;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.add-to-cart:hover {
    background: #00ccff;
    color: #111111;
}

/* Footer */
.footer {
    background: var(--surface-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(112, 128, 144, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links h4 {
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-hover);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(112, 128, 144, 0.1);
    padding-top: 2rem;
}

/* === Bande défilante des marques distribuées === */
.brands-marquee {
    background: var(--surface-color);
    padding: 2.5rem 0 3rem;
    border-top: 1px solid rgba(112, 128, 144, 0.08);
    border-bottom: 1px solid rgba(112, 128, 144, 0.08);
    overflow: hidden;
}
.brands-marquee-title {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 1.5rem;
}
.brands-track-wrap {
    overflow: hidden;
    /* Fade left/right pour effet pro */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.brands-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: brandsScroll 20s linear infinite;
    /* Force l'animation même si le navigateur a prefers-reduced-motion mais
       l'utilisateur veut explicitement voir le défilement publicitaire. */
    will-change: transform;
}
.brands-track:hover {
    animation-play-state: paused;
}
.brands-group {
    display: flex;
    align-items: center;
    gap: 4rem;
    /* Crucial : padding-right = gap → la transition entre les 2 groupes est
       parfaitement identique à l'espacement entre items, pas de "trou". */
    padding: 0 4rem 0 0;
    margin: 0;
    list-style: none;
}
.brand-item {
    flex: 0 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-item img {
    max-height: 60px;
    width: auto;
    max-width: 160px;
    opacity: 0.75;
    filter: grayscale(20%);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
.brand-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* Défilement infini (translateX -50% car on duplique la liste) */
@keyframes brandsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 600px) {
    .brands-track { animation-duration: 15s; }
    .brands-group { gap: 2.5rem; padding-right: 2.5rem; }
    .brand-item { height: 44px; }
    .brand-item img { max-height: 44px; max-width: 110px; }
    .brands-marquee { padding: 1.8rem 0 2rem; }
    .brands-marquee-title { font-size: 0.75rem; letter-spacing: 1.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .brands-track { animation: none; transform: none; }
    .brands-track-wrap { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
}

/* === Sélecteur de langue : cercles drapeaux === */
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 1rem;
}
.lang-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--surface-color);
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.18s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    -webkit-tap-highlight-color: transparent;
}
.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
    pointer-events: none;
}
.lang-flag:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.lang-flag.active {
    border-color: var(--accent-color);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(77, 119, 78, 0.35);
}
.lang-flag:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* === Desktop (≥ 881px) : sélecteur flottant en bas à droite ===
   Sortí du header pour avoir son propre espace sans gêner ni déborder.
   Ouverture VERS LE HAUT (puisqu'il est en bas de l'écran).
   ============================================================ */
@media (min-width: 881px) {
    .lang-switcher {
        position: fixed;
        right: 24px;
        bottom: 100px;     /* au-dessus du widget WhatsApp (bottom 24px + 58px + marge) */
        margin: 0;
        gap: 0;
        padding: 0;
        z-index: 9985;     /* sous WhatsApp (9990) mais au-dessus du contenu */
    }
    /* Drapeau actif : seul visible par défaut, en position relative */
    .lang-switcher .lang-flag.active {
        position: relative;
        bottom: 0;
        z-index: 2;
    }
    /* Autres drapeaux masqués empilés verticalement AU-DESSUS de l'actif */
    .lang-switcher .lang-flag:not(.active) {
        position: absolute;
        right: 0;
        bottom: 0;
        opacity: 0;
        transform: translateY(8px) scale(0.85);
        pointer-events: none;
        z-index: 1;
        transition: opacity 0.18s ease, transform 0.18s ease, bottom 0.2s ease;
    }
    /* Au hover/focus : on déploie les non-actifs VERS LE HAUT */
    .lang-switcher:hover .lang-flag:not(.active),
    .lang-switcher:focus-within .lang-flag:not(.active) {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
    }
    .lang-switcher:hover .lang-flag:not(.active):nth-of-type(1),
    .lang-switcher:focus-within .lang-flag:not(.active):nth-of-type(1) { bottom: 42px; }
    .lang-switcher:hover .lang-flag:not(.active):nth-of-type(2),
    .lang-switcher:focus-within .lang-flag:not(.active):nth-of-type(2) { bottom: 84px; }
    .lang-switcher:hover .lang-flag:not(.active):nth-of-type(3),
    .lang-switcher:focus-within .lang-flag:not(.active):nth-of-type(3) { bottom: 126px; }
    .lang-switcher:hover .lang-flag:not(.active):nth-of-type(4),
    .lang-switcher:focus-within .lang-flag:not(.active):nth-of-type(4) { bottom: 168px; }
    .lang-switcher:hover .lang-flag:not(.active):nth-of-type(5),
    .lang-switcher:focus-within .lang-flag:not(.active):nth-of-type(5) { bottom: 210px; }

    /* Petit caret au-dessus du drapeau actif (signale "ça s'ouvre vers le haut") */
    .lang-switcher::before {
        content: '▴';
        position: absolute;
        left: 50%;
        top: -14px;
        transform: translateX(-50%);
        color: var(--text-secondary);
        font-size: 0.75rem;
        opacity: 0.6;
        transition: opacity 0.2s ease;
        pointer-events: none;
    }
    .lang-switcher:hover::before,
    .lang-switcher:focus-within::before { opacity: 0; }

    /* Renforce un peu la visibilité du drapeau actif flottant */
    .lang-switcher .lang-flag.active {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    }
}

@media (max-width: 600px) {
    .lang-switcher { gap: 0.3rem; margin-left: 0.5rem; }
    .lang-flag { width: 28px; height: 28px; font-size: 0.95rem; }
}

/* === Logos moyens de paiement === */
.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.payment-logos img {
    width: 60px;
    height: 38px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}
.payment-logos img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}
@media (max-width: 600px) {
    .payment-logos {
        gap: 0.5rem;
    }
    .payment-logos img {
        width: 48px;
        height: 30px;
    }
}

/* Cart Modal */
/* ============================================
   PANIER — Style CHEF & CO (anthracite + or + ivoire)
   ============================================ */
.cart-modal {
    /* Palette scopée au panier */
    --cc-dark: #1d2327;
    --cc-dark-soft: #2d3338;
    --cc-accent: #c9a961;
    --cc-red: #c8102e;
    --cc-bg: #f7f5f2;
    --cc-card: #ffffff;
    --cc-border: #e8e4dd;
    --cc-text: #1d2327;
    --cc-text-light: #6b6b6b;
    --cc-shadow: 0 1px 3px rgba(29,35,39,0.08), 0 1px 2px rgba(29,35,39,0.04);

    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 460px;
    height: 100vh;
    background: var(--cc-bg);
    color: var(--cc-text);
    z-index: 9999;
    box-shadow: -8px 0 24px rgba(20,24,27,0.18);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-modal.open {
    right: 0;
}

/* Quand le panier est ouvert, on cache la bottom-nav, le widget WhatsApp
   et le sélecteur de langue pour libérer toute la zone d'action en bas. */
body.cart-open .bn-bar,
body.cart-open .wa-fab,
body.cart-open .lang-switcher {
    display: none !important;
}
body.cart-open { padding-bottom: 0 !important; }

.cart-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-header {
    background: var(--cc-dark);
    color: white;
    padding: 18px 20px;
    border-bottom: 2px solid var(--cc-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.cart-header h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.3px;
    color: white;
}

.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
}
.close-btn:hover {
    background: rgba(255,255,255,0.12);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--cc-bg);
}

.cart-item {
    display: flex;
    gap: 12px;
    background: var(--cc-card);
    padding: 14px;
    border-radius: 12px;
    align-items: center;
    box-shadow: var(--cc-shadow);
    border: 1px solid var(--cc-border);
}

.cart-item-img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f0eb;
}

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

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cc-text);
    line-height: 1.35;
}

.cart-item-price {
    color: var(--cc-red);
    font-size: 1.05rem;
    font-weight: 800;
}

.remove-item {
    background: none;
    border: none;
    color: var(--cc-text-light);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.15s;
}
.remove-item:hover {
    color: var(--cc-red);
}

.cart-footer {
    background: white;
    border-top: 1px solid var(--cc-border);
    padding: 14px 16px;
    flex-shrink: 0;
    box-shadow: 0 -4px 12px rgba(20,24,27,0.06);
}

.cart-total {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: var(--cc-text);
}
.cart-total #cart-total-price {
    color: var(--cc-red);
    font-size: 1.25rem;
}

/* CTA paiement — pill anthracite */
.cart-footer .btn-primary {
    width: 100%;
    background: var(--cc-dark);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 15px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s;
}
.cart-footer .btn-primary:hover {
    background: var(--cc-dark-soft);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(29,35,39,0.25);
}

.empty-cart {
    text-align: center;
    color: var(--cc-text-light);
    margin-top: 2rem;
}

/* === Bouton "Besoin d'aide ?" — appel téléphonique service client === */
.cart-help-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 11px 16px;
    border: 1.5px solid var(--cc-border);
    background: transparent;
    color: var(--cc-text);
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.15s;
    font-family: inherit;
    cursor: pointer;
}
.cart-help-call:hover {
    border-color: var(--cc-dark);
    background: rgba(29,35,39,0.04);
    transform: translateY(-1px);
}
.cart-help-call svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Product Detail Page */
.product-detail-section {
    padding: 120px 0 8rem;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-detail-img img {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    width: 100%;
}

.product-detail-info h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-hover);
    margin-bottom: 2rem;
}

.product-detail-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.back-link:hover {
    color: var(--text-primary);
}

/* ============================================================
   RESPONSIVE — Mobile-first refinements
   ============================================================ */

/* === Tablette portrait + Mobile === */
@media (max-width: 880px) {
    /* La nav desktop est masquée par mobile-menu.js (qui injecte le burger) */

    /* Hero adaptatif — pas de min-height: 100vh sur mobile (URL bar iOS) */
    .hero {
        min-height: auto;
        padding: 110px 0 4rem;
    }
    .hero-container, .product-detail-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title {
        font-size: 2.4rem;
        line-height: 1.1;
    }
    .hero-desc {
        margin: 0 auto 1.8rem;
        font-size: 1rem;
    }
    .hero-image img {
        max-width: 75%;
    }

    /* Container : padding réduit */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Section title plus tassé */
    .section-title {
        font-size: 1.6rem;
    }

    /* Footer : flex column, contenu centré */
    .footer {
        padding: 2.5rem 0 1.2rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    .footer-brand p, .footer-brand h3 {
        text-align: center;
    }
    .footer-links {
        text-align: center;
    }
    .footer-links a {
        display: block;
        padding: 0.4rem 0;
    }
    .footer-newsletter {
        max-width: 320px;
        margin: 0 auto;
    }

    /* Cart-modal : full-screen sur mobile */
    .cart-modal {
        width: 100%;
        right: -100%;
    }
    .cart-modal .cart-content {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    .cart-modal.open {
        right: 0;
    }

    /* Boutons et inputs touch-friendly (min 44px) */
    button, .btn, input[type="submit"], input[type="button"] {
        min-height: 44px;
    }
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px; /* Évite le zoom auto sur iOS */
    }
}

/* === Mobile portrait (375px–600px) === */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero {
        min-height: auto;
        padding: 100px 0 3rem;
    }
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .hero-image img {
        max-width: 85%;
        margin: 0 auto;
    }

    /* Header plus compact */
    .header-container {
        height: 64px;
    }
    .logo {
        font-size: 1.05rem;
        letter-spacing: -0.3px;
    }
    .cart-icon {
        padding: 8px;
    }
    .cart-icon svg {
        width: 20px; height: 20px;
    }
    .cart-count {
        width: 18px; height: 18px;
        font-size: 0.7rem;
        top: -4px; right: -4px;
    }

    /* Section title plus tassée */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    .products-section {
        padding: 4rem 0;
    }

    /* Grille produits : adapt auto-fill (jusqu'à 1 col) */
    .products-grid {
        gap: 1.2rem !important;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    .product-card { padding: 1rem; }
    .product-name { font-size: 1.1rem; }
    .product-price { font-size: 1.25rem; }

    /* Product detail : titre/prix + visuel adaptés */
    .product-detail-section {
        padding: 90px 0 4rem;
    }
    .product-detail-container {
        gap: 2rem;
    }
    .product-detail-info h1 {
        font-size: 1.8rem;
    }
    .product-detail-price {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .product-detail-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Cart modal : header/items plus serrés */
    .cart-header { padding: 14px 16px; }
    .cart-header h3 { font-size: 16px; }
    .cart-items { padding: 12px; gap: 10px; }
    .cart-footer { padding: 12px; }
    .cart-item { padding: 10px; }
    .cart-item-img { width: 70px; height: 70px; }
    .cart-item-title { font-size: 0.85rem; }
    .cart-item-price { font-size: 0.95rem; }
    .cart-total { font-size: 1rem; }
    .cart-total #cart-total-price { font-size: 1.15rem; }

    /* Titres légaux plus petits */
    .legal-content {
        padding: 1.5rem !important;
    }
    .legal-content h1 {
        font-size: 1.5rem;
    }
    .legal-content h2 {
        font-size: 1.2rem !important;
    }

    /* Compte : sidebar passe au-dessus, plus de flex-row */
    .account-layout {
        flex-direction: column;
        gap: 1rem !important;
        padding: 0 1rem !important;
        margin: 20px auto !important;
    }
    .account-sidebar {
        width: 100% !important;
    }
    .account-content {
        padding: 1.5rem !important;
    }

    /* Forms profil : 1 colonne */
    .profile-form .form-row {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    /* Boutons CTA pleine largeur sur petit écran */
    .hero-cta, .product-detail-info .btn {
        width: 100%;
    }
}

/* === Très petit mobile (≤ 380px) === */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.7rem;
    }
    .section-title {
        font-size: 1.25rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 0.8rem;
    }
    .logo {
        font-size: 0.95rem;
    }
}

/* === Mobile landscape (orientation paysage, hauteur réduite) === */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 90px 0 2rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}

/* === Sécurité : safe-area iOS (notch) === */
@supports (padding: max(0px)) {
    .header-container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    .footer-bottom {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* === Accessibilité : reduced-motion === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .hero-image img { animation: none !important; }
}

/* Dropdown Menu Catégories */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--surface-color);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    max-height: 400px;
    overflow-y: auto;
}
.dropdown-indicator {
    position: absolute;
    left: 8px;
    width: calc(100% - 16px);
    height: 0;
    background: rgba(102, 242, 255, 0.15);
    border-radius: 6px;
    transition: all 0.2s ease-out;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
}
.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
    transition: color 0.2s;
}
.dropdown-content a:hover {
    color: #00ccff; /* Lisibilité sur fond clair */
    background-color: transparent !important;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Badge Nouveau */
.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color), var(--accent-light), var(--accent-color), var(--accent-hover));
    background-size: 200% 200%;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: gradientShift 4s ease infinite, pulseBadge 2s infinite;
}

.badge-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shineBadge 2.5s infinite;
}

@keyframes shineBadge {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseBadge {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(77, 119, 78, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 15px 5px rgba(77, 119, 78, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(77, 119, 78, 0); }
}

.product-img-wrap {
    position: relative; /* Pour que le badge absolute se place bien */
}


/* ====================================================================
   STYLE B — Refonte tech moderne (overrides)
   ==================================================================== */

/* Topstrip — compact */
.topstrip {
    background: #0a0a0a;
    color: #fff;
    text-align: center;
    padding: 7px 16px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 101;
}
.topstrip b, .topstrip strong { color: #fff; }
.topstrip a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* Header — sticky avec blur */
.header {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 0.5px solid var(--line) !important;
    box-shadow: none !important;
}
.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo CHEF & CO + MBM Conciergerie en sous-ligne */
.logo, .logo-stack {
    color: var(--text-primary) !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    line-height: 1 !important;
    font-size: 22px !important;
    text-decoration: none;
}
.logo-stack {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
}
.logo-sub {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: #B5452D !important;
    text-transform: uppercase !important;
    margin-top: 3px !important;
}

/* Nav links */
.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    position: relative;
    padding: 8px 2px !important;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--text-secondary) !important; }
.nav-indicator { display: none; }

/* Dropdown */
.dropdown-content {
    background: #fff !important;
    border: 0.5px solid var(--line) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
    padding: 12px !important;
}
.dropdown-content a {
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
}
.dropdown-content a:hover {
    background: var(--surface-color) !important;
}

/* Cart icon — pill style */
.cart-icon {
    background: var(--text-primary) !important;
    color: #fff !important;
    border-radius: var(--radius-pill) !important;
    padding: 8px 16px !important;
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.cart-icon:hover { background: var(--accent-hover) !important; }
.cart-icon svg { width: 16px !important; height: 16px !important; stroke: #fff !important; }
.cart-count {
    background: #fff !important;
    color: var(--text-primary) !important;
    position: static !important;
    width: auto !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 6px !important;
    border-radius: var(--radius-pill) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 4px !important;
}

/* Lang switcher — plus discret */
.lang-switcher {
    display: flex !important;
    gap: 4px !important;
    background: var(--surface-color);
    padding: 4px;
    border-radius: var(--radius-pill);
}
.lang-flag {
    background: transparent !important;
    border: 0 !important;
    padding: 4px !important;
    opacity: 0.5;
    transition: opacity 0.2s;
    cursor: pointer;
}
.lang-flag:hover, .lang-flag.active { opacity: 1; }
.lang-flag img { width: 20px !important; height: 20px !important; border-radius: 2px; }

/* Boutons — pills noirs */
.btn, .btn-primary {
    background: var(--text-primary) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: var(--radius-pill) !important;
    padding: 14px 28px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer;
    transition: all 0.2s;
}
.btn:hover, .btn-primary:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent !important;
    color: var(--text-primary) !important;
    border: 0.5px solid var(--text-primary) !important;
}
.btn-ghost:hover {
    background: var(--text-primary) !important;
    color: #fff !important;
}

/* Hero — image de fond + overlay dégradé + titre blanc */
.hero {
    background:
        linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.55) 70%, rgba(10,10,10,0.75) 100%),
        url('../images/chefco-banner.webp?v=2') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 80px 24px 90px !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
    min-height: 56vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
}
.hero-container, .hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 100% !important;
}
.hero .badge, .hero-content .badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border: 0.5px solid rgba(255,255,255,0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: var(--radius-pill) !important;
    padding: 6px 14px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 20px !important;
}
.hero-title, .hero .hero-title {
    font-size: clamp(36px, 6vw, 72px) !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    text-wrap: balance;
    margin-bottom: 18px !important;
    color: #fff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero-desc, .hero .hero-desc {
    font-size: 17px !important;
    line-height: 1.5 !important;
    color: rgba(255,255,255,0.85) !important;
    max-width: 580px !important;
    margin: 0 auto 28px !important;
    font-weight: 400 !important;
}
.hero .hero-desc strong {
    color: #fff !important;
    background: rgba(255,255,255,0.15) !important;
    padding: 2px 10px !important;
    border-radius: 6px !important;
}
.hero .btn-primary {
    background: #fff !important;
    color: #0a0a0a !important;
    padding: 18px 36px !important;
    font-size: 15px !important;
}
.hero .btn-primary:hover {
    background: rgba(255,255,255,0.9) !important;
    transform: translateY(-2px) !important;
}
.hero-image, .hero-collage, .hero-bg { display: none !important; }

/* Section titles */
.section-title {
    font-size: clamp(28px, 5vw, 44px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    color: var(--text-primary) !important;
    margin-bottom: 36px !important;
    text-align: left !important;
}
.products-section { padding: 60px 0 !important; }

/* Products grid + cards */
.products-grid {
    gap: 16px !important;
}
.product-card {
    background: var(--surface-color) !important;
    border: 0 !important;
    border-radius: var(--radius-lg) !important;
    padding: 20px !important;
    transition: transform 0.3s !important;
}
.product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important;
}
.product-img-wrap {
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    aspect-ratio: 1;
    margin-bottom: 16px !important;
}

/* Brands marquee */
.brands-marquee {
    padding: 32px 0 !important;
    border-top: 0.5px solid var(--line) !important;
    border-bottom: 0.5px solid var(--line) !important;
    background: #fff !important;
}
.brands-marquee-title {
    font-size: 11px !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    color: var(--text-mute) !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}
.brand-item {
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    color: var(--text-mute) !important;
    transition: color 0.2s;
}
.brand-item:hover { color: var(--text-primary) !important; }

/* Footer refresh */
.footer {
    background: #f5f5f5 !important;
    padding: 60px 0 24px !important;
    border-top: 0.5px solid var(--line) !important;
    color: var(--text-primary) !important;
}
.footer-container { padding: 0 24px !important; }
.footer-brand h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    color: var(--text-primary) !important;
    margin-bottom: 4px !important;
}
.footer-brand p {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    line-height: 1.6;
}
.footer-links h4, .footer-newsletter h4 {
    font-size: 12px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 14px !important;
}
.footer-links a {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    text-decoration: none;
    display: block;
    margin-bottom: 8px !important;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary) !important; }
.footer-bottom {
    padding-top: 24px !important;
    margin-top: 32px !important;
    border-top: 0.5px solid #ddd !important;
    font-size: 12px !important;
    color: var(--text-secondary) !important;
    text-align: center;
}
.footer-newsletter input {
    background: #fff !important;
    border: 0.5px solid var(--line) !important;
    border-radius: var(--radius-pill) !important;
    padding: 12px 18px !important;
    font-family: inherit !important;
    font-size: 13px !important;
}
.footer-newsletter button {
    background: var(--text-primary) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: var(--radius-pill) !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer;
}

/* MBM banner — version plus intégrée */
.mbm-banner {
    display: none !important; /* on vire l'ancien bandeau noir */
}

/* Cart modal */
.cart-modal .cart-content {
    border-radius: var(--radius-lg) !important;
    border: 0 !important;
}
.cart-header { border-bottom: 0.5px solid var(--line) !important; }
.cart-footer { border-top: 0.5px solid var(--line) !important; }
.cart-total {
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
}

/* Divers */
.container { padding: 0 24px !important; max-width: var(--container-max) !important; }

/* Responsive */
@media (max-width: 720px) {
    .nav { display: none; }
    .header-container { padding: 0 16px; }
    .hero { padding: 60px 16px 80px !important; }
    .section-title { font-size: 28px !important; }
    .products-grid { grid-template-columns: 1fr 1fr !important; }
    .container { padding: 0 16px !important; }
}

/* ====================================================================
   STYLE B — Navigation fluide + icônes fines
   ==================================================================== */

/* Nav links avec underline animé */
.nav-link {
    position: relative !important;
    padding: 10px 2px !important;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-link:hover { color: var(--text-primary) !important; }

/* Dropdown — animation plus fluide */
.dropdown-content {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    visibility: hidden;
    display: block !important;
    pointer-events: none;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}
.dropdown-content a {
    transition: all 0.2s ease !important;
    position: relative;
}
.dropdown-content a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.2s ease;
    color: var(--text-primary);
}
.dropdown-content a:hover {
    padding-left: 24px !important;
}
.dropdown-content a:hover::before {
    opacity: 1;
    transform: translateX(6px);
}

/* Icônes — strokes fins et transparence */
.header svg,
.cart-icon svg,
.nav svg,
.ico-inline svg {
    stroke-width: 1.4 !important;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.header svg:hover,
.cart-icon:hover svg,
.nav a:hover svg {
    opacity: 1;
}

/* Search icon (si présent dans header) */
.header .search-btn,
.header [class*="search"] {
    background: transparent !important;
    border: 0 !important;
    opacity: 0.75;
    transition: opacity 0.2s;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.header .search-btn:hover,
.header [class*="search"]:hover {
    opacity: 1;
    background: var(--surface-color) !important;
}

/* Cart icon — moins "gros", plus fluide */
.cart-icon {
    padding: 10px 18px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.cart-icon:hover {
    background: #000 !important;
    transform: translateY(-1px) !important;
}
.cart-icon svg {
    stroke-width: 1.4 !important;
    stroke: #fff !important;
    opacity: 0.95 !important;
}

/* Lang flags — plus discrets */
.lang-flag {
    width: 28px !important;
    height: 28px !important;
    padding: 4px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-radius: 50% !important;
}
.lang-flag:hover {
    transform: scale(1.1);
    background: var(--surface-color) !important;
}
.lang-flag img {
    width: 20px !important;
    height: 20px !important;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.lang-flag:hover img, .lang-flag.active img {
    opacity: 1;
}

/* Header — transition fluide au scroll */
.header {
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

/* Boutons — micro-interaction */
.btn, .btn-primary {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}
.btn:active, .btn-primary:active {
    transform: scale(0.97) !important;
}

/* Product cards — hover plus doux */
.product-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
}
.product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 50px -12px rgba(0,0,0,0.1) !important;
}
.product-img-wrap img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.05) !important;
}

/* Topstrip — micro-animation du texte */
.topstrip {
    animation: topstripFade 0.6s ease-out;
}
@keyframes topstripFade {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

/* ====================================================================
   STYLE B — Fiche produit (inspiration Avelo adaptée en light theme)
   ==================================================================== */
.product-detail-section {
    padding: 40px 0 80px !important;
}
.back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 32px !important;
    transition: color 0.2s;
}
.back-link:hover { color: var(--text-primary) !important; }

.product-detail-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
    gap: 36px !important;
    align-items: start !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
}
@media (max-width: 900px) {
    .product-detail-container { grid-template-columns: 1fr !important; gap: 20px !important; }
}
.product-detail-section .container {
    max-width: 1120px !important;
}

/* Galerie */
.product-detail-img {
    position: sticky !important;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-detail-img #main-product-image,
.product-detail-img > img {
    width: 100% !important;
    aspect-ratio: 1 !important;
    object-fit: contain !important;
    background: var(--surface-color) !important;
    border-radius: var(--radius-md) !important;
    border: 0.5px solid var(--line) !important;
    padding: 24px !important;
}
.gallery-thumb {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    cursor: pointer;
    border: 1.5px solid transparent !important;
    opacity: 0.65;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 4px !important;
    background: var(--surface-color) !important;
}
.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.gallery-thumb[style*="--accent-color"] {
    opacity: 1 !important;
    border-color: var(--text-primary) !important;
}

/* Étiquette marque rectangulaire en coin sur image produit (logo image) */
.product-brand-sticker {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    line-height: 0;
    min-width: 70px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.product-brand-sticker img {
    max-height: 24px;
    max-width: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.product-brand-sticker.alt {
    background: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
    padding: 8px 14px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

/* Rendre le conteneur image relative pour positionner le sticker */
.product-detail-img > div:first-child,
#main-product-image {
    position: relative;
}

/* Info produit */
.product-detail-info {
    display: flex !important;
    flex-direction: column !important;
}
.product-detail-info h1 {
    font-size: clamp(22px, 2.6vw, 30px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    color: var(--text-primary) !important;
    margin: 6px 0 14px !important;
}
.product-brand-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.product-detail-price {
    font-size: 30px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    color: var(--text-primary) !important;
    margin: 12px 0 6px !important;
}
.product-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #17a34a;
    font-weight: 600;
    margin-bottom: 24px;
}
.product-stock-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #17a34a;
    border-radius: 50%;
}

/* Variantes select */
#variant-select {
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: var(--radius-pill) !important;
    border: 0.5px solid var(--line) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    background: #fff !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 18px) center;
}
#variant-select:focus { outline: 2px solid var(--text-primary); outline-offset: 2px; }

/* Bouton ajouter au panier plein largeur */
.add-to-cart-detail {
    width: 100% !important;
    padding: 18px 32px !important;
    font-size: 15px !important;
    margin-top: 20px !important;
    margin-bottom: 28px !important;
}

/* Liste des bénéfices (livraison, retour, garantie...) — ajoutée par JS */
.product-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 0.5px solid var(--line);
    padding-top: 24px;
}
.product-benefits li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.product-benefits li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
    stroke-width: 1.4;
    opacity: 0.75;
    margin-top: 2px;
}
.product-benefits li strong { color: var(--text-primary); font-weight: 600; }

/* Carte marque — supprimée au profit du sticker en coin */
.product-brand-card { display: none !important; }

/* Tabs */
.product-tabs-container { margin-top: 60px !important; }
.tabs-header {
    display: flex;
    gap: 32px;
    border-bottom: 0.5px solid var(--line);
    margin-bottom: 24px;
    overflow-x: auto;
}
.tab-link, .tabs-header .tab-link {
    background: none !important;
    border: 0 !important;
    padding: 14px 0 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--text-secondary) !important;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}
.tab-link:hover { color: var(--text-primary) !important; }
.tab-link.active {
    color: var(--text-primary) !important;
}
.tab-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.5px;
    height: 2px;
    background: var(--text-primary);
}
.tab-content {
    padding: 8px 0 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--text-secondary) !important;
}
.tab-content p, .tab-content li { color: var(--text-secondary) !important; }

/* Reviews + similar sections */
.reviews-container, .similar-products-container {
    border-top: 0.5px solid var(--line) !important;
    margin-top: 60px !important;
    padding-top: 40px !important;
}
.reviews-container h2, .similar-products-container h2 {
    font-size: 28px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 20px !important;
}

/* Icônes de nav header — style outline fine + opacity transparente */
.nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
}
.nav-ic {
    opacity: 0.75;
    transition: opacity 0.25s ease;
    flex-shrink: 0;
    stroke-width: 1.5;
}
.nav-link:hover .nav-ic {
    opacity: 1;
}
.nav-chev {
    stroke-width: 1.5 !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown:hover > .nav-link .nav-chev {
    transform: rotate(180deg);
}

/* ====================================================================
   Cartes produits — style Avelo adapté light theme
   ==================================================================== */
.product-card {
    background: #fff !important;
    border: 0.5px solid var(--line) !important;
    border-radius: var(--radius-lg) !important;
    padding: 14px 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease !important;
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 50px -12px rgba(0,0,0,0.12) !important;
    border-color: rgba(10,10,10,0.15) !important;
}

.pc-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

/* Zone image */
.product-card .product-img-wrap {
    background: var(--surface-color) !important;
    border-radius: var(--radius-md) !important;
    aspect-ratio: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
    overflow: hidden;
    position: relative;
}
.product-card .product-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.06) !important;
}

/* Badge "Nouveau" (coin haut-gauche) */
.badge-new {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #0a0a0a !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    z-index: 2;
}

/* Info produit */
.product-card .product-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    padding: 0 4px !important;
}
.pc-brand {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: var(--text-mute) !important;
    margin-bottom: 2px !important;
}
.product-card .product-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    color: var(--text-primary) !important;
    line-height: 1.3 !important;
    margin: 0 0 4px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.pc-desc {
    font-size: 12.5px !important;
    color: var(--text-secondary) !important;
    line-height: 1.45 !important;
    margin: 0 0 12px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
}

/* Footer : prix à gauche, bouton + à droite */
.product-card .product-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 4px 0 4px !important;
    border-top: 0.5px solid var(--line-soft) !important;
    margin-top: auto !important;
}
.product-card .product-price {
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    color: var(--text-primary) !important;
}
.pc-add, .product-card .add-to-cart {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: var(--text-primary) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.pc-add:hover, .product-card .add-to-cart:hover {
    background: #000 !important;
    transform: scale(1.08) !important;
}
.pc-add:active, .product-card .add-to-cart:active {
    transform: scale(0.95) !important;
}
.pc-add svg {
    stroke-width: 1.8;
    opacity: 1;
}

/* Grille responsive, resserrée */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 16px !important;
}
@media (max-width: 640px) {
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .product-card .product-name { font-size: 14px !important; }
    .product-card .product-price { font-size: 16px !important; }
    .pc-desc { -webkit-line-clamp: 1; min-height: 1.5em !important; }
}

/* Bannière promo inline (sous le hero sur la home) */
.inline-promo {
    background: #fff;
    border-top: 0.5px solid var(--line);
    border-bottom: 0.5px solid var(--line);
    padding: 14px 0;
}
.inline-promo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.ip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.ip-item svg {
    stroke: var(--text-primary);
    opacity: 0.75;
    flex-shrink: 0;
}
.ip-item strong {
    color: var(--text-primary);
    font-weight: 700;
}
@media (max-width: 720px) {
    .inline-promo-row { gap: 20px; flex-direction: column; align-items: flex-start; padding: 0 16px; }
    .ip-item { font-size: 12px; }
}
