/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

:root {
    /* Palette bleu marine → bleu ciel / bleu cyan */
    --primary-color: #06b6d4;
    --primary-dark: #0c4a6e;
    --primary-light: #67e8f9;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Texte */
    --text-dark: #111827;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    
    /* Backgrounds */
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #0c4a6e 0%, #0891b2 50%, #22d3ee 100%);
    
    /* Bordures */
    --border-color: #e5e7eb;
    --border-radius-sm: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    
    /* Ombres améliorées */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Hauteur bannière + navbar (tout en haut fixe, sans espace) */
    --delivery-banner-height: 56px;
    --navbar-height: 90px;
    /* Thème néon (modifiables via admin / theme-loader) */
    --neon-cyan-rgb: 34, 211, 238;
    --neon-pink-rgb: 236, 72, 153;
    --font-heading: 'Orbitron', sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    background-image: url('../images/products/snus image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    /* Réserve la place pour bannière + navbar fixes (collées, sans espace) */
    padding-top: calc(var(--delivery-banner-height) + var(--navbar-height));
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(249, 250, 251, 0.85);
    z-index: -1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    overflow-x: hidden; /* Empêcher le débordement horizontal */
}

/* Bannière Livraison Offerte - design épuré, noir franc */
.delivery-banner {
    background: #0a0a0a;
    color: #fff;
    padding: 0.4rem 0;
    height: var(--delivery-banner-height);
    min-height: var(--delivery-banner-height);
    max-height: var(--delivery-banner-height);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    overflow: hidden;
    z-index: 10001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.delivery-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    max-width: 42rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.delivery-banner-content,
.delivery-banner-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
    width: 100%;
    text-align: center;
}

.delivery-banner-content {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
}

.delivery-banner-promo {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.92;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.delivery-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.delivery-icon {
    font-size: 1.1rem;
    animation: delivery-bounce 2s ease-in-out infinite;
    opacity: 0.95;
}

@keyframes delivery-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.delivery-text {
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    :root {
        --delivery-banner-height: 52px;
        --navbar-height: 72px;
    }
    
    .delivery-banner {
        padding: 0.3rem 0;
    }
    
    .delivery-banner .container {
        padding: 0 0.75rem;
    }
    
    .delivery-banner-content {
        font-size: 0.875rem;
        gap: 0.5rem;
    }
    
    .delivery-banner-promo {
        font-size: 0.7rem;
    }
    
    .delivery-icon {
        font-size: 1.1rem;
    }
    
    .delivery-text {
        font-size: 0.75rem;
    }
    
    .navbar {
        top: var(--delivery-banner-height);
    }
    
    .nav-content {
        padding: 1rem 0;
    }
}

/* Navbar - fixe sous la bannière, collée sans espace, reste en haut au scroll */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: var(--delivery-banner-height);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 10000;
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

.nav-links {
    display: none; /* Caché sur tous les écrans */
}

/* Panier aligné à droite (nav-content en space-between) */
.nav-cart-center {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-cart-link {
    position: relative;
    background: var(--bg-gradient);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
}

.nav-cart-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-cart-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    min-width: 1.5rem;
    text-align: center;
}

/* Bloquer la barre de défilement quand la popup bienvenue est ouverte + masquer la scrollbar */
html.welcome-popup-open,
body.welcome-popup-open {
    overflow: hidden;
}
html.welcome-popup-open {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html.welcome-popup-open::-webkit-scrollbar {
    display: none;
}

/* ========== Popup bienvenue (néon, 5 s, 1ère fois / session 5 min) ========== */
.welcome-popup {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
}
.welcome-popup.is-visible {
    opacity: 1;
    visibility: visible;
}
.welcome-popup.is-closing {
    opacity: 0;
    visibility: hidden;
}
.welcome-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
}
.welcome-popup-box {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 0 20px rgba(6, 182, 212, 0.6),
        0 0 40px rgba(6, 182, 212, 0.4),
        0 0 60px rgba(236, 72, 153, 0.3),
        inset 0 0 30px rgba(6, 182, 212, 0.1);
    border: 2px solid rgba(6, 182, 212, 0.8);
    animation: neonPulse 2s ease-in-out infinite;
}
@keyframes neonPulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(6, 182, 212, 0.6),
            0 0 40px rgba(6, 182, 212, 0.4),
            0 0 60px rgba(236, 72, 153, 0.3),
            inset 0 0 30px rgba(6, 182, 212, 0.1);
    }
    50% {
        box-shadow:
            0 0 30px rgba(6, 182, 212, 0.8),
            0 0 60px rgba(6, 182, 212, 0.5),
            0 0 90px rgba(236, 72, 153, 0.4),
            inset 0 0 40px rgba(6, 182, 212, 0.15);
    }
}
.welcome-popup-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 45vh;
    object-fit: contain;
    vertical-align: middle;
}

.welcome-popup-text {
    padding: 1.25rem 1.5rem 1.5rem;
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}
.welcome-popup-text p {
    margin: 0 0 0.75rem;
}
.welcome-popup-text p:last-of-type {
    margin-bottom: 1rem;
}
.welcome-popup-age {
    font-size: 1rem;
    margin: 0.75rem 0 !important;
}
.welcome-popup-timer {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-bottom: 1rem !important;
}
.welcome-popup-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.welcome-popup-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
}
.welcome-popup-checkbox.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}
.welcome-popup-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.welcome-popup-checkbox input:disabled + .checkmark {
    opacity: 0.6;
}
.welcome-popup-checkbox .checkmark {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    transition: all 0.2s;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.welcome-popup-checkbox input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.welcome-popup-checkbox input:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
}
.welcome-popup-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 0.5rem;
}
.welcome-popup-btn {
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid rgba(255, 255, 255, 0.9);
    min-height: 48px;
    flex-shrink: 0;
}
.welcome-popup-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}
.welcome-popup-btn-enter {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.5), 0 0 0 1px rgba(0,0,0,0.2);
}
.welcome-popup-btn-enter:hover:not(:disabled) {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6), 0 0 0 1px rgba(0,0,0,0.2);
}
.welcome-popup-btn-exit {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.5), 0 0 0 1px rgba(0,0,0,0.2);
}
.welcome-popup-btn-exit:hover:not(:disabled) {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6), 0 0 0 1px rgba(0,0,0,0.2);
}

/* ========== Popup Ramadan (excuses retards + vœux, sans timer, validation seule) ========== */
html.ramadan-popup-open,
body.ramadan-popup-open {
    overflow: hidden;
}
.ramadan-popup {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.ramadan-popup.is-visible {
    opacity: 1;
    visibility: visible;
}
.ramadan-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}
.ramadan-popup-box {
    position: relative;
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5), 0 0 40px rgba(6, 182, 212, 0.25);
    border: 2px solid rgba(6, 182, 212, 0.6);
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}
.ramadan-popup-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    vertical-align: middle;
    background: rgba(0, 0, 0, 0.2);
}
.ramadan-popup-text {
    padding: 1.5rem 1.25rem;
    color: #e2e8f0;
    font-size: 0.9375rem;
    line-height: 1.6;
    text-align: center;
}
.ramadan-popup-text p {
    margin: 0 0 0.75rem;
}
.ramadan-popup-text p:last-of-type {
    margin-bottom: 1.25rem;
}
.ramadan-popup-emojis {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem !important;
    font-size: 1.5rem;
}
.ramadan-popup-emojis.ramadan-emojis-bottom {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.ramadan-emoji {
    display: inline-block;
    animation: ramadan-emoji-bounce 1.5s ease-in-out infinite;
}
.ramadan-emoji-1 { animation-delay: 0s; }
.ramadan-emoji-2 { animation-delay: 0.25s; }
.ramadan-emoji-3 { animation-delay: 0.5s; }
.ramadan-emoji-4 { animation-delay: 0.1s; }
.ramadan-emoji-5 { animation-delay: 0.35s; }
.ramadan-emoji-6 { animation-delay: 0.6s; }
@keyframes ramadan-emoji-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.1); }
}
.ramadan-chat-info {
    margin: 0.75rem 0 !important;
    font-size: 0.9rem;
    color: #a5f3fc;
}
.ramadan-call-text {
    margin-top: 1rem !important;
    font-size: 0.9rem;
    font-weight: 600;
}
.ramadan-popup-call {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin: 0.5rem 0 0;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-color);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
}
.ramadan-popup-call:hover {
    background: #0891b2;
    transform: scale(1.03);
}
.ramadan-popup-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.ramadan-popup-actions-middle {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.ramadan-popup-btn-chat {
    background: var(--primary-color) !important;
    color: #fff !important;
}
.ramadan-popup-btn-chat:hover {
    background: #0891b2 !important;
}
.ramadan-popup-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: none;
    background: #06b6d4;
    color: #fff;
    transition: background 0.2s;
}
.ramadan-popup-btn:hover {
    background: #0891b2;
}

/* Hero - styles de base, sans animations ni effets ajoutés */
.hero {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    margin: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-title .hero-word {
    display: inline;
}

.hero-neon {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 6px rgba(var(--neon-cyan-rgb), 0.9), 0 0 12px rgba(var(--neon-cyan-rgb), 0.7), 0 0 20px rgba(var(--neon-cyan-rgb), 0.5), 0 0 30px rgba(var(--neon-cyan-rgb), 0.4);
}

.hero-neon-alt {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 6px rgba(var(--neon-pink-rgb), 0.9), 0 0 12px rgba(var(--neon-pink-rgb), 0.7), 0 0 20px rgba(var(--neon-pink-rgb), 0.5), 0 0 30px rgba(var(--neon-pink-rgb), 0.4);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-subtitle-2 {
    margin-top: -0.75rem;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    font-weight: 600;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.hero-features .feature-neon {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: 2px solid rgba(var(--neon-cyan-rgb), 0.85);
    box-shadow: 0 0 10px rgba(var(--neon-cyan-rgb), 0.4), 0 0 20px rgba(var(--neon-cyan-rgb), 0.25), inset 0 0 12px rgba(var(--neon-cyan-rgb), 0.08);
    background: rgba(var(--neon-cyan-rgb), 0.12);
}

.hero-features .feature-neon:hover {
    border-color: rgba(var(--neon-cyan-rgb), 1);
    box-shadow: 0 0 15px rgba(var(--neon-cyan-rgb), 0.6), 0 0 30px rgba(var(--neon-cyan-rgb), 0.35), inset 0 0 15px rgba(var(--neon-cyan-rgb), 0.12);
}

body.theme-no-feature-neon .hero-features .feature-neon {
    border: 1px solid var(--border-color);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
}

.hero-features .feature-icon {
    font-size: 1.25rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Sections */
.products-section,
.about-section,
.contact-section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    text-shadow: 0 0 20px rgba(var(--neon-cyan-rgb), 0.35), 0 0 40px rgba(var(--neon-cyan-rgb), 0.2);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Products */
.products-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.brand-floor {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden; /* Bloc fixe : seul le contenu du carousel défile à l'intérieur */
    will-change: auto;
}

/* Couleurs de fond par marque */
.brand-floor[data-brand="VELO"] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.brand-floor[data-brand="H&P"] {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.brand-floor[data-brand="NOIS"] {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.brand-floor[data-brand="PABLO"] {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
}

/* Alternance de couleurs pour les autres marques (évite les blocs blancs) */
.brand-floor:nth-child(odd):not([data-brand="VELO"]):not([data-brand="H&P"]):not([data-brand="NOIS"]):not([data-brand="PABLO"]) {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.brand-floor:nth-child(even):not([data-brand="VELO"]):not([data-brand="H&P"]):not([data-brand="NOIS"]):not([data-brand="PABLO"]) {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.brand-header {
    margin-bottom: 2rem;
}

.brand-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.brand-description {
    text-align: center;
}

.brand-products-count {
    text-align: center;
}

.brand-description {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Carousel : boutons sur les côtés, centrés verticalement, rectangulaires verticaux */
.products-carousel-container {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.products-carousel {
    flex: 1;
    min-width: 0;
    margin: 0 3.25rem; /* Dégage l’espace des boutons latéraux */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-carousel::-webkit-scrollbar {
    display: none;
}

.products-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 0.25rem 0;
    width: max-content;
    min-width: 100%;
}

/* Bloc VELO : deux lignes avec le même thème (flèches + carrousel) que les autres marques */
.velo-rows-wrapper {
    width: 100%;
}
.velo-rows-wrapper .products-carousel-container {
    /* Même style que les autres marques : aligné */
}
.velo-line-separator {
    width: 100%;
    height: 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.12);
    margin: 1rem 0;
    flex-shrink: 0;
}
/* Dots : un bloc par ligne VELO, espacés */
.velo-rows-wrapper .carousel-dots {
    margin-top: 0.5rem;
}
.velo-rows-wrapper .carousel-dots:last-of-type {
    margin-bottom: 0.25rem;
}

/* Product Card - largeur fixe identique pour toutes les marques */
.product-card {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.product-card:hover::before {
    transform: scaleX(1);
}

/* Zone image fixe : même taille pour toutes les marques (comme PABLO, KILLA, CUBA) */
.product-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-normal);
}

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

/* Badge de marque sur l'image */
.product-image-container::after {
    content: attr(data-brand);
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.product-description {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
    min-height: 2.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    justify-content: center;
    align-items: center;
}

.product-nicotine,
.product-flavor {
    font-size: 0.7rem;
    padding: 0.4rem 0.875rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-radius: 999px;
    color: #92400e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    text-align: center;
}

.product-nicotine {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    color: #991b1b;
}

.product-flavor {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    color: #5b21b6;
}

.product-footer {
    border-top: 2px solid var(--bg-light);
    padding-top: 1.25rem;
    background: linear-gradient(to bottom, transparent, rgba(6, 182, 212, 0.08));
}

.product-price-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1rem;
}

.promo-badge {
    background: var(--danger-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price-old {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 600;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Bouton Ajouter au panier */
.btn-product {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--bg-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-product:hover::before {
    left: 100%;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-product:active {
    transform: translateY(0);
}

/* Contrôles de quantité */
.qty-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.qty-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    width: 100%;
    text-align: center;
    margin-bottom: 0.25rem;
}

.qty-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.qty-btn:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-buttons input {
    width: 3rem;
    height: 2.25rem;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    background: white;
}

.delivery-info {
    font-size: 0.875rem;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 0.6rem 1rem;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(12, 74, 110, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

/* Animations d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


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

/* Appliquer l'animation aux cards */
.product-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }

/* Carousel buttons */
/* Boutons carrousel : sur les côtés, centrés verticalement, rectangulaires verticaux (haut en bas) */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 5.5rem;
    min-height: 100px;
    border-radius: 0.75rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 20;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    font-size: 1.75rem;
}
.carousel-btn-prev {
    left: 0;
}
.carousel-btn-next {
    right: 0;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Responsive : même largeur fixe pour toutes les cartes */
@media (max-width: 1280px) {
    .product-card {
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
        max-width: 260px;
    }
}

@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 240px;
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-features {
        gap: 1.5rem;
    flex-direction: column;
    align-items: center;
    }
    
    .feature {
        width: 100%;
        max-width: 300px;
    justify-content: center;
    }
    
    .nav-content {
        padding: 1rem 0;
        min-height: 60px;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .nav-cart-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .product-card {
        flex: 0 0 220px;
        width: 220px;
        min-width: 220px;
        max-width: 220px;
        margin: 0 0.5rem;
    }

    .product-name {
        font-size: 1rem;
        min-height: 2.4rem;
}

    .product-description {
        font-size: 0.8125rem;
        min-height: 2.25rem;
}

    .product-price {
        font-size: 1.5rem;
    }
    
    .btn-product {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
}

    .carousel-btn {
        width: 2.25rem;
        height: 4.5rem;
        min-height: 80px;
        font-size: 1.5rem;
        opacity: 1;
        display: flex !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }
    
    .products-carousel {
        margin: 0 2.75rem;
    }
    
    .products-carousel-track {
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
}

    .about-card {
        padding: 2rem;
}

    .about-icon {
        font-size: 3rem;
}
}

@media (max-width: 480px) {
    :root {
        --navbar-height: 64px;
    }
    
    .hero {
        padding: 3rem 0;
}

    .hero-title {
        font-size: 2rem;
}

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .product-card {
        flex: 0 0 200px;
        width: 200px;
        min-width: 200px;
        max-width: 200px;
        margin: 0 0.25rem;
    }
    
    .product-info {
        padding: 1.25rem;
    }
    
    .carousel-btn {
        width: 2rem;
        height: 4rem;
        min-height: 72px;
        font-size: 1.35rem;
        opacity: 1;
        display: flex !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }
    
    .products-carousel {
        margin: 0 2.5rem;
    }
    
    .brand-floor {
        padding: 1rem;
        /* Fixer le brand-floor pour qu'il ne bouge pas */
        position: relative;
        overflow: visible;
    }
    
    /* Réduire le padding du carousel sur mobile */
    .products-carousel-container {
        gap: 0.5rem;
    }
    
    .products-carousel {
        padding: 0 0.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .about-card h3 {
        font-size: 1.375rem;
    }
    
    .qty-control {
    flex-direction: column;
        gap: 0.5rem;
}
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform var(--transition-normal);
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.625rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-shadow: 0 0 12px rgba(var(--neon-cyan-rgb), 0.3), 0 0 24px rgba(var(--neon-pink-rgb), 0.15);
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Section Livraison (fond sombre + néons en bas) */
.livraison-neon-section {
    background: var(--primary-dark);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}
.livraison-neon-section .section-title.livraison-neon-title {
    color: #fff;
    text-shadow: 0 0 20px rgba(var(--neon-cyan-rgb), 0.5), 0 0 40px rgba(var(--neon-cyan-rgb), 0.3);
}
.livraison-neon-subtitle {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
    font-size: 1.05rem;
}
.livraison-neon-text {
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.7;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Contact section */
.contact-section {
    background: var(--bg-white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(var(--neon-cyan-rgb), 0.25);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    text-shadow: 0 0 12px rgba(var(--neon-cyan-rgb), 0.3);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Loading & Error states */
.loading,
.error-message,
.no-products {
    text-align: center;
    padding: 4rem 2rem;
}

.btn-retry,
.retry-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.btn-retry:hover,
.retry-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.retry-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

.retry-button:hover {
    background: var(--primary-dark);
}

/* ==================== PAGE PANIER ==================== */
.cart-page {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    text-shadow: 0 0 20px rgba(var(--neon-cyan-rgb), 0.35), 0 0 40px rgba(var(--neon-cyan-rgb), 0.2);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

/* Cart Items */
.cart-items-section {
    flex: 1;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 0.5rem;
    background: var(--bg-light);
    padding: 0.5rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.free-item-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.qty-input {
    width: 60px;
    height: 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-weight: 600;
}

.cart-item-total {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
    text-align: right;
}

.free-price {
    color: var(--primary-color);
    text-decoration: line-through;
    opacity: 0.6;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: var(--danger-color);
}

/* Cart Summary Sidebar - sous le header fixe (bannière + navbar) */
.cart-summary-sidebar {
    position: sticky;
    top: calc(var(--delivery-banner-height) + var(--navbar-height));
    height: fit-content;
}

.cart-summary-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.cart-summary-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.summary-line.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.summary-line.total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-top: 1rem;
}

.summary-divider {
    border-top: 2px solid var(--border-color);
    margin: 1.5rem 0;
}

.free-badge {
    color: var(--primary-color);
    font-weight: 700;
}

.btn-block {
    width: 100%;
    margin-bottom: 0.75rem;
}

/* Free Products Section */
.free-products-section {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.free-products-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.free-products-info {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.free-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Cartes produits gratuits - Design premium */
.free-product-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    background: white;
    position: relative;
    overflow: hidden;
}

.free-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.free-product-card:hover:not(.disabled) {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.free-product-card:hover:not(.disabled)::before {
    transform: scaleX(1);
}

.free-product-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.free-product-card.selected::before {
    transform: scaleX(1);
}

.free-product-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.free-product-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    transition: transform var(--transition-normal);
}

.free-product-card:hover:not(.disabled) img {
    transform: scale(1.05);
}

.free-product-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.free-product-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.free-product-price .original-price {
    font-size: 0.75rem;
    text-decoration: line-through;
    color: var(--text-light);
}

.free-product-price .free-price-badge {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

/* Boutons du panier - Style moderne */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-success {
    background: var(--bg-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--border-color);
    border-color: var(--text-gray);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 0.75rem;
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-cart h2 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.empty-cart p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* ==================== PAGE CONFIRMATION ==================== */
.checkout-page {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.checkout-layout {
    max-width: 800px;
    margin: 0 auto;
}

.checkout-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.checkout-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-textarea {
    resize: vertical;
}

.phone-fields-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-prefix-input {
    width: 5rem;
    min-width: 5rem;
    text-align: center;
    font-weight: 600;
}

.phone-number-input {
    flex: 1;
    min-width: 0;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-prefix {
    padding: 0.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.phone-input {
    flex: 1;
}

.helper-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Section après commande : inviter à appeler pour valider */
.order-call-section {
    margin-top: 1.5rem;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 50%, #f0f9ff 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
}
.order-call-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}
.order-call-intro {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    text-align: center;
    line-height: 1.6;
}
.order-call-chat {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
    background: rgba(6, 182, 212, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}
/* Indication flèche vers le chat Tawk (en bas à droite) */
.order-call-chat-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--primary-dark);
    text-align: center;
}
.order-call-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-left: 20px solid var(--primary-color);
    border-bottom: 12px solid transparent;
    transform: rotate(-45deg);
    animation: order-call-arrow-pulse 1.5s ease-in-out infinite;
}
@keyframes order-call-arrow-pulse {
    0%, 100% { opacity: 1; transform: rotate(-45deg) scale(1); }
    50% { opacity: 0.7; transform: rotate(-45deg) scale(1.1); }
}
.order-call-24h {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
}
.order-call-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.order-call-btn-chat {
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.order-call-btn-chat:focus {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}
.order-call-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.85rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-color);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}
.order-call-btn:hover {
    background: #0891b2;
    transform: scale(1.03);
    color: #fff;
}
.order-call-footer {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
    text-align: center;
}
.order-call-footer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==================== NOTIFICATIONS ==================== */
/* Notification d'ajout au panier */
.cart-notification {
    position: fixed;
    top: calc(var(--delivery-banner-height) + var(--navbar-height) + 0.5rem);
    right: 2rem;
    background: white;
    padding: 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-2xl);
    border-left: 4px solid var(--primary-color);
    z-index: 10000;
    min-width: 380px;
    max-width: 420px;
    transform: translateX(500px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.cart-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.cart-notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    position: relative;
}

.cart-notification-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cart-notification-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-notification-text strong {
    font-size: 1rem;
    color: var(--text-dark);
    display: block;
}

.cart-notification-text span {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.cart-notification-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    color: var(--text-gray);
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.cart-notification-close:hover {
    background: var(--danger-color);
    color: white;
    transform: scale(1.1);
}

.cart-notification-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-notification-actions button,
.cart-notification-actions .btn-view-cart {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

.cart-notification-actions .btn-view-cart {
    box-sizing: border-box;
}

.btn-continue-shopping {
    background: var(--bg-light);
    color: var(--text-dark);
}

.btn-continue-shopping:hover {
    background: var(--border-color);
}

.btn-view-cart {
    background: var(--bg-gradient);
    color: white !important;
}

.btn-view-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.add-to-cart-notification {
    position: fixed;
    top: calc(var(--delivery-banner-height) + var(--navbar-height) + 0.5rem);
    right: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-color);
    z-index: 9999;
    min-width: 320px;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out;
}

.add-to-cart-notification.show {
    transform: translateX(0);
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.notification-icon {
    font-size: 2rem;
}

.notification-header h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-dark);
    }

.notification-body {
    margin-bottom: 1rem;
}

.notification-body p {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    }

.free-product-notification {
    position: fixed;
    top: calc(var(--delivery-banner-height) + var(--navbar-height) + 0.5rem);
    right: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    min-width: 300px;
    transform: translateX(400px);
        opacity: 0;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
    }

.free-product-notification.show {
        transform: translateX(0);
    opacity: 1;
}

.free-product-notification.success {
    border-left: 4px solid var(--primary-color);
    color: #065f46;
}

.free-product-notification.warning {
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-summary-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }

    .cart-item-quantity,
    .cart-item-total {
        grid-column: 2;
    }
    
    .cart-item-remove {
        grid-column: 2;
        text-align: right;
    }

    .free-products-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }

    .cart-notification,
    .add-to-cart-notification,
    .free-product-notification {
        right: 1rem;
        left: 1rem;
        min-width: auto;
        max-width: none;
    }

    .cart-notification-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Bouton panier flottant */
.floating-cart-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-gradient);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    box-shadow: var(--shadow-2xl);
    z-index: 999;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}

.floating-cart-button.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-cart-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.4);
}

.floating-cart-button.pulse {
    animation: cartPulse 2s ease-in-out infinite;
}

@keyframes cartPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(6, 182, 212, 0.35);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 15px 40px rgba(6, 182, 212, 0.5);
        transform: scale(1.05);
    }
}

.floating-cart-icon {
    font-size: 1.5rem;
}

.floating-cart-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.floating-cart-title {
    font-size: 0.875rem;
    opacity: 0.9;
}

.floating-cart-count {
    font-size: 0.75rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .floating-cart-button {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .floating-cart-icon {
        font-size: 1.25rem;
    }
    
    .nav-content {
        padding: 0.875rem 0;
        min-height: 60px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .nav-cart-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
}

/* GIF décoratif en premier plan (toutes les pages sauf mentions légales / admin) */
.gif-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9995;
    pointer-events: none;
    overflow: hidden;
}
.gif-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.35;
}
idth: 768px) {
    .floating-cart-button {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .floating-cart-icon {
        font-size: 1.25rem;
    }
    
    .nav-content {
        padding: 0.875rem 0;
        min-height: 60px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .nav-cart-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
}

/* GIF décoratif en premier plan (toutes les pages sauf mentions légales / admin) */
.gif-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9995;
    pointer-events: none;
    overflow: hidden;
}
.gif-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.35;
}

