        /* Couleurs inspirées du logo */
        .bg-kardafrica-primary { 
            background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%); 
        }
        .bg-kardafrica-secondary { background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%); }
        .bg-kardafrica-accent { background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 50%, #FF6B6B 100%); }
        .text-kardafrica-primary { color: #44A08D; }
        .text-kardafrica-secondary { color: #FF6B6B; }
        .border-kardafrica-primary { border-color: #44A08D; }
        .hover-kardafrica { transition: all 0.3s ease; }
        .hover-kardafrica:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
        
        /* Top Bar Styles */
        .top-bar {
            background: #111827; /* Gray-900 to match mobile dark theme base */
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .top-bar a:hover {
            color: #4ECDC4;
            transform: translateY(-1px);
        }
        
        /* Mobile-Aligned Navbar Styles */
        .navbar-mobile-style {
            background-color: #1F2937; /* Mobile Header Color */
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        /* Dropdown Menu Styles */
        .group:hover .group-hover\:opacity-100 {
            opacity: 1;
        }
        
        .group:hover .group-hover\:visible {
            visibility: visible;
        }
        
        .group:hover .group-hover\:translate-y-0 {
            transform: translateY(0);
        }
        
        .group:hover .group-hover\:rotate-180 {
            transform: rotate(180deg);
        }
        
        /* Navbar hover effects */
        .navbar-glass a:hover,
        .navbar-glass button:hover {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            transform: translateY(-1px);
        }
        
        /* Cart notification animation */
        #cartCount {
            animation: bounceIn 0.3s ease-out;
        }
        
        @keyframes bounceIn {
            0% { transform: scale(0.3); opacity: 0; }
            50% { transform: scale(1.05); }
            70% { transform: scale(0.9); }
            100% { transform: scale(1); opacity: 1; }
        }
        
        /* Animation du logo */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        .float-animation { animation: float 3s ease-in-out infinite; }
        
        /* Loader animations */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.7; transform: scale(1.1); }
        }
        @keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; }
        }
        
        .loader-spin { animation: spin 2s linear infinite; }
        .loader-pulse { animation: pulse 2s ease-in-out infinite; }
        .loader-fadeout { animation: fadeOut 0.5s ease-out forwards; }
        
        /* Loader styles */
        .page-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 50%, #FF6B6B 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }
        
        .loader-content {
            text-align: center;
            color: white;
        }
        
        .loader-logo {
            width: 120px;
            height: 120px;
            margin: 0 auto 30px;
            background: white;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        
        .loader-logo img {
            width: 80px;
            height: 80px;
        }
        
        /* Styles pour les cartes */
        .card-gradient { background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%); }
        .card-shadow { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
        
        /* Advanced Carousel Styles */
        .carousel-container {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
        }
        
        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .carousel-slide.active {
            opacity: 1;
            transform: translateX(0);
        }
        
        .carousel-slide.prev {
            transform: translateX(-100%);
        }
        
        .carousel-slide.next {
            transform: translateX(100%);
        }
        
        /* Parallax Background Effect */
        .carousel-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: inherit;
            background-attachment: fixed;
            background-size: cover;
            background-position: center;
            transform: scale(1.1);
            transition: transform 0.8s ease;
        }
        
        .carousel-slide.active::before {
            transform: scale(1);
        }
        
        /* Dynamic Background Images */
        .carousel-slide.netflix {
            background-image: url("/assets/banner/Banner-Netflix---Kardafrica.jpg");
        }
        .carousel-slide.spotify {
            background-image: url("/assets/banner/Banner-Spotify---Kardafrica.jpg");
        }
        .carousel-slide.apple {
            background-image: url("/assets/banner/Banner-Apple---Kardafrica.jpg");
        }
        .carousel-slide.uber {
            background-image: url("/assets/banner/Banner-Uber--Kardafrica.jpg");
        }
        
        /* Animated Overlay */
        .carousel-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
            opacity: 0;
            transition: opacity 0.6s ease;
        }
        
        .carousel-slide.active .carousel-overlay {
            opacity: 1;
        }
        
        /* Animated Content */
        .carousel-content {
            position: relative;
            z-index: 10;
            transform: translateY(50px);
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.3s;
        }
        
        .carousel-slide.active .carousel-content {
            transform: translateY(0);
            opacity: 1;
        }
        
        .carousel-title {
            font-size: 4rem;
            font-weight: 800;
            background: linear-gradient(45deg, #fff, #f0f0f0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            margin-bottom: 1rem;
            transform: translateY(30px);
            opacity: 0;
            transition: all 0.6s ease;
            transition-delay: 0.5s;
        }
        
        .carousel-slide.active .carousel-title {
            transform: translateY(0);
            opacity: 1;
        }
        
        .carousel-subtitle {
            font-size: 1.5rem;
            color: rgba(255,255,255,0.9);
            margin-bottom: 2rem;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.6s ease;
            transition-delay: 0.7s;
        }
        
        .carousel-slide.active .carousel-subtitle {
            transform: translateY(0);
            opacity: 1;
        }
        
        .carousel-button {
            display: inline-block;
            padding: 1rem 2rem;
            background: linear-gradient(45deg, #4ECDC4, #44A08D);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            transform: translateY(20px) scale(0.9);
            opacity: 0;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.9s;
            position: relative;
            overflow: hidden;
        }
        
        .carousel-slide.active .carousel-button {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
        
        .carousel-button::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.6s;
        }
        
        .carousel-button:hover::before {
            left: 100%;
        }
        
        .carousel-button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        }
        
        /* Enhanced Navigation */
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 60px;
            height: 60px;
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            z-index: 20;
        }
        
        .carousel-nav:hover {
            background: rgba(255,255,255,0.2);
            border-color: rgba(255,255,255,0.5);
            transform: translateY(-50%) scale(1.1);
        }
        
        .carousel-nav.prev {
            left: 20px;
        }
        
        .carousel-nav.next {
            right: 20px;
        }
        
        .carousel-nav svg {
            width: 24px;
            height: 24px;
            color: white;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
        }
        
        /* Enhanced Dots */
        .carousel-dots {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 20;
        }
        
        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            border: 2px solid rgba(255,255,255,0.5);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .carousel-dot.active {
            background: white;
            transform: scale(1.2);
            box-shadow: 0 0 20px rgba(255,255,255,0.5);
        }
        
        .carousel-dot:hover {
            background: rgba(255,255,255,0.6);
            transform: scale(1.1);
        }
        
        /* Progress Bar */
        .carousel-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 4px;
            background: linear-gradient(90deg, #4ECDC4, #44A08D);
            width: 0%;
            transition: width 5s linear;
            z-index: 20;
        }
        
        .carousel-slide.active .carousel-progress {
            width: 100%;
        }
        
        /* Floating Particles Effect */
        .carousel-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
            z-index: 5;
        }
        
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255,255,255,0.6);
            border-radius: 50%;
            animation: float-particles 8s linear infinite;
        }
        
        @keyframes float-particles {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }
        
                 /* Responsive Design */
         @media (max-width: 768px) {
             .carousel-title {
                 font-size: 2.5rem;
             }
             
             .carousel-subtitle {
                 font-size: 1.2rem;
             }
             
             .carousel-nav {
                 width: 50px;
                 height: 50px;
             }
             
             .carousel-nav.prev {
                 left: 15px;
             }
             
             .carousel-nav.next {
                 right: 15px;
             }
         }

         /* Section Animations */
         .section-animate {
             opacity: 0;
             transform: translateY(50px);
             transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
         }
         
         .section-animate.animate {
             opacity: 1;
             transform: translateY(0);
         }
         
         .card-hover-effect {
             transition: all 0.3s ease;
             position: relative;
             overflow: hidden;
         }
         
         .card-hover-effect::before {
             content: '';
             position: absolute;
             top: 0;
             left: -100%;
             width: 100%;
             height: 100%;
             background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
             transition: left 0.5s;
         }
         
         .card-hover-effect:hover::before {
             left: 100%;
         }
         
         .card-hover-effect:hover {
             transform: translateY(-8px) scale(1.02);
             box-shadow: 0 20px 40px rgba(0,0,0,0.15);
         }
         
         /* Enhanced Hero Section */
         .hero-text-animate {
             opacity: 0;
             transform: translateY(30px);
             animation: slideInUp 1s ease-out forwards;
         }
         
         .hero-text-animate:nth-child(1) { animation-delay: 0.2s; }
         .hero-text-animate:nth-child(2) { animation-delay: 0.4s; }
         .hero-text-animate:nth-child(3) { animation-delay: 0.6s; }
         .hero-text-animate:nth-child(4) { animation-delay: 0.8s; }
         
         @keyframes slideInUp {
             to {
                 opacity: 1;
                 transform: translateY(0);
             }
         }
         
         /* Brand Grid Animation */
         .brand-grid-item {
             opacity: 0;
             transform: scale(0.8);
             transition: all 0.5s ease;
             position: relative;
             overflow: hidden;
         }
         
         .brand-grid-item.animate {
             opacity: 1;
             transform: scale(1);
         }
         
         .brand-grid-item:hover {
             transform: scale(1.05) translateY(-5px);
             background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
             color: white;
             box-shadow: 0 15px 35px rgba(0,0,0,0.2);
         }
         
         .brand-grid-item .brand-icon {
             transition: all 0.3s ease;
         }
         
         .brand-grid-item:hover .brand-icon {
             transform: scale(1.2) rotate(5deg);
             filter: brightness(1.2);
         }
         
         /* Specific brand colors on hover */
         .brand-grid-item[data-brand="itunes"]:hover {
             background: linear-gradient(135deg, #333 0%, #000 100%);
         }
         
         .brand-grid-item[data-brand="psn"]:hover {
             background: linear-gradient(135deg, #0070f3 0%, #003d82 100%);
         }
         
         .brand-grid-item[data-brand="netflix"]:hover {
             background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
         }
         
         .brand-grid-item[data-brand="google"]:hover {
             background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
         }
         
         .brand-grid-item[data-brand="spotify"]:hover {
             background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
         }
         
         .brand-grid-item[data-brand="amazon"]:hover {
             background: linear-gradient(135deg, #ff9900 0%, #e68900 100%);
         }
         
         .brand-grid-item[data-brand="xbox"]:hover {
             background: linear-gradient(135deg, #107c10 0%, #0e6b0e 100%);
         }
         
         .brand-grid-item[data-brand="steam"]:hover {
             background: linear-gradient(135deg, #1b2838 0%, #171a21 100%);
         }
         
         .brand-grid-item[data-brand="uber"]:hover {
             background: linear-gradient(135deg, #000 0%, #333 100%);
         }
         
         .brand-grid-item[data-brand="roblox"]:hover {
             background: linear-gradient(135deg, #00a2ff 0%, #0066cc 100%);
         }
         
         /* Panier Dropdown */
         .cart-dropdown {
             position: absolute;
             top: 100%;
             right: 0;
             background: white !important;
             border-radius: 20px;
             box-shadow: 0 25px 50px rgba(0,0,0,0.2);
             width: 350px;
             opacity: 0;
             visibility: hidden;
             transform: translateY(-15px) scale(0.95);
             transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
             z-index: 9999 !important;
             border: 1px solid rgba(78, 205, 196, 0.1);
             backdrop-filter: blur(10px);
             -webkit-backdrop-filter: blur(10px);
         }
         
         .cart-dropdown.show {
             opacity: 1 !important;
             visibility: visible !important;
             transform: translateY(0) scale(1) !important;
             display: block !important;
         }


         
         /* Animation pour les items du panier */
         .cart-item {
             background: white;
             border-radius: 12px;
             border: 1px solid rgba(0,0,0,0.05);
             margin-bottom: 8px;
             transition: all 0.3s ease;
         }
         
         .cart-item:hover {
             box-shadow: 0 4px 20px rgba(0,0,0,0.1);
             transform: translateY(-2px);
         }
         
         /* ============================================================
              CHATBOT — Assistant Kardafrica (premium)
            ============================================================ */
         .ka-bot-container {
             position: fixed; bottom: 20px; right: 20px; z-index: 1000;
             font-family: 'Inter', 'Figtree', sans-serif;
         }
         /* En mobile, on remonte légèrement pour éviter le bord du clavier
            virtuel et le bottom-nav éventuel */
         @media (max-width: 540px) {
             .ka-bot-container { bottom: 16px; right: 14px; }
             /* Sur petits écrans, on cache directement le label du launcher
                (déjà visible dans le header de la fenêtre une fois ouverte) */
             .ka-bot-launcher-label { display: none !important; }
         }

         /* Étiquette "Kara — assistante IA" qui glisse à côté du bouton sur
            mobile (premier affichage), puis se replie vers l'icône */
         .ka-bot-launcher {
             position: relative;
             display: inline-flex; align-items: center; gap: 10px;
         }
         .ka-bot-launcher-label {
             display: flex; flex-direction: column;
             padding: 8px 14px;
             background: white;
             border-radius: 999px;
             box-shadow: 0 10px 25px -8px rgba(15,23,42,0.20), 0 0 0 1px rgba(15,23,42,0.05);
             white-space: nowrap;
             animation: ka-bot-label-in .4s cubic-bezier(.22,1,.36,1);
             transition: opacity .25s ease, transform .25s ease;
         }
         .ka-bot-launcher-label-name {
             font-family: 'Space Grotesk', 'Inter', sans-serif;
             font-size: 13px; font-weight: 800; color: #0F172A; line-height: 1;
         }
         .ka-bot-launcher-label-sub {
             font-size: 10px; font-weight: 600; color: #44A08D; line-height: 1; margin-top: 3px;
             display: flex; align-items: center; gap: 4px;
         }
         .ka-bot-launcher-label-sub::before {
             content: ''; width: 5px; height: 5px; border-radius: 50%; background: #34D399;
             box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
             animation: ka-bot-online-pulse 1.8s ease-out infinite;
         }
         .ka-bot-launcher-label.hidden {
             opacity: 0; pointer-events: none;
             transform: translateX(10px) scale(0.95);
         }
         @keyframes ka-bot-label-in {
             0% { opacity: 0; transform: translateX(10px) scale(.95); }
             100% { opacity: 1; transform: translateX(0) scale(1); }
         }
         @keyframes ka-bot-online-pulse {
             0%   { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
             70%  { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
             100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
         }

         /* Toggle launcher */
         .ka-bot-toggle {
             position: relative;
             width: 60px; height: 60px;
             border: 0; border-radius: 50%;
             background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
             color: white; cursor: pointer;
             box-shadow: 0 14px 30px -8px rgba(78, 205, 196, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
             display: flex; align-items: center; justify-content: center;
             transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
             flex-shrink: 0;
         }
         /* Plus compact sur mobile */
         @media (max-width: 540px) {
             .ka-bot-toggle { width: 54px; height: 54px; }
         }
         .ka-bot-toggle::before {
             content: ''; position: absolute; inset: -3px;
             border-radius: 50%;
             background: linear-gradient(135deg, #4ECDC4, #44A08D);
             opacity: .35; z-index: -1;
             animation: ka-bot-pulse 2.4s ease-out infinite;
         }
         .ka-bot-toggle:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 40px -10px rgba(78, 205, 196, 0.65); }
         .ka-bot-toggle:active { transform: scale(0.96); }
         .ka-bot-toggle .ka-bot-badge {
             position: absolute; top: -2px; right: -2px;
             min-width: 20px; height: 20px; padding: 0 6px;
             background: linear-gradient(135deg, #F43F5E, #BE123C); color: white;
             border-radius: 9999px; font-size: 11px; font-weight: 700;
             display: flex; align-items: center; justify-content: center;
             box-shadow: 0 4px 10px -2px rgba(244, 63, 94, .45), 0 0 0 2px white;
         }
         @keyframes ka-bot-pulse {
             0%   { transform: scale(1);   opacity: .35; }
             70%  { transform: scale(1.4); opacity: 0; }
             100% { transform: scale(1.4); opacity: 0; }
         }

         /* Window */
         .ka-bot-window {
             position: absolute;
             bottom: 78px; right: 0;
             width: 380px; max-width: calc(100vw - 32px);
             height: 580px; max-height: calc(100vh - 120px);
             background: #ffffff;
             border-radius: 20px;
             box-shadow: 0 30px 80px -15px rgba(15,23,42,0.25), 0 0 0 1px rgba(15,23,42,0.06);
             opacity: 0; visibility: hidden; pointer-events: none;
             transform: translateY(20px) scale(.96);
             transform-origin: bottom right;
             transition: opacity .25s ease, transform .25s cubic-bezier(.22,1,.36,1), visibility 0s linear .25s;
             display: flex; flex-direction: column; overflow: hidden;
         }
         .ka-bot-window.show {
             opacity: 1; visibility: visible; pointer-events: auto;
             transform: translateY(0) scale(1);
             transition: opacity .25s ease, transform .25s cubic-bezier(.22,1,.36,1), visibility 0s;
         }

         /* ============================================================
            BACKDROP MOBILE — masque la page derrière Kara
          ============================================================ */
         .ka-bot-backdrop {
             position: fixed; inset: 0;
             background: rgba(15,23,42,0.55);
             z-index: 999;  /* juste sous la fenêtre */
             opacity: 0; visibility: hidden; pointer-events: none;
             transition: opacity .25s ease, visibility 0s linear .25s;
             display: none;
         }
         @media (max-width: 540px) {
             .ka-bot-backdrop { display: block; }
             .ka-bot-backdrop.show {
                 opacity: 1; visibility: visible; pointer-events: auto;
                 transition: opacity .25s ease, visibility 0s;
             }
         }

         /* ============================================================
            FENÊTRE MOBILE — plein écran, design refait
          ============================================================ */
         @media (max-width: 540px) {
             .ka-bot-window {
                 position: fixed !important;
                 top: 0 !important; right: 0 !important; left: 0 !important; bottom: 0 !important;
                 width: 100vw !important; max-width: 100vw !important;
                 height: 100dvh !important; max-height: 100dvh !important;
                 border-radius: 0 !important;
                 transform: translateY(100%) !important;
                 z-index: 1001;
             }
             .ka-bot-window.show {
                 transform: translateY(0) !important;
             }

             /* HEADER compact en haut */
             .ka-bot-header {
                 padding: 12px 12px 12px !important;
                 padding-top: max(12px, env(safe-area-inset-top, 0px)) !important;
                 flex-shrink: 0;
             }
             .ka-bot-header > div:first-child {
                 gap: 10px !important;
             }
             .ka-bot-avatar {
                 width: 38px !important; height: 38px !important; border-radius: 11px !important;
             }
             .ka-bot-avatar svg { width: 20px !important; height: 20px !important; }
             .ka-bot-avatar-dot {
                 width: 10px !important; height: 10px !important; bottom: -2px !important; right: -2px !important;
                 border-width: 2px !important;
             }
             /* Titre + sous-titre du header (cibles via leur CSS inline) */
             .ka-bot-header [style*="font-family:'Space Grotesk'"],
             .ka-bot-header [style*='font-family:"Space Grotesk"'] {
                 font-size: 15px !important;
             }

             /* CLOSE button */
             #closeChatbot {
                 width: 36px !important; height: 36px !important; border-radius: 10px !important;
             }

             /* MESSAGES : plus de place, padding optimisé */
             .ka-bot-messages {
                 padding: 14px 14px 8px !important;
                 gap: 8px !important;
                 background: #F8FAFC !important;
             }
             .ka-bot-msg { max-width: 90% !important; gap: 7px !important; }
             .ka-bot-msg-bubble {
                 font-size: 13.5px !important; line-height: 1.5 !important;
                 padding: 9px 13px !important; border-radius: 14px !important;
             }
             .ka-bot-msg.bot .ka-bot-msg-bubble  { border-bottom-left-radius: 3px !important; }
             .ka-bot-msg.user .ka-bot-msg-bubble { border-bottom-right-radius: 3px !important; }
             .ka-bot-msg-mini-avatar { width: 24px !important; height: 24px !important; }

             /* Suggestions chips — bande horizontale qui scroll */
             .ka-bot-suggestions {
                 padding: 8px 12px !important; gap: 6px !important;
                 background: white !important;
                 border-top: 1px solid #F1F5F9;
                 flex-wrap: nowrap !important;
                 overflow-x: auto !important;
                 -webkit-overflow-scrolling: touch;
                 scrollbar-width: none;
             }
             .ka-bot-suggestions::-webkit-scrollbar { display: none; }
             /* (le nom réel est .ka-bot-chip — voir renderChips() en bas du fichier) */
             .ka-bot-chip {
                 white-space: nowrap !important;
                 flex-shrink: 0 !important;
                 padding: 7px 12px !important;
                 font-size: 12px !important;
             }

             /* Composer sticky en bas */
             .ka-bot-composer {
                 padding: 10px 12px !important;
                 padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important;
                 background: white !important;
                 border-top: 1px solid #F1F5F9;
                 gap: 8px !important;
             }
             .ka-bot-input {
                 font-size: 15px !important;  /* >=16px évite le zoom iOS, mais 15px est OK avec font-size>=15 */
                 padding: 11px 16px !important;
                 border-radius: 999px !important;
                 background: #F8FAFC !important;
                 border: 1px solid #E2E8F0 !important;
             }
             .ka-bot-send {
                 width: 42px !important; height: 42px !important; border-radius: 50% !important;
                 flex-shrink: 0;
             }

             /* Évite que le scroll de la page passe derrière la modale */
             body.ka-bot-open { overflow: hidden; }
         }

         /* Header */
         .ka-bot-header {
             position: relative;
             padding: 18px 18px 16px;
             background:
                radial-gradient(circle at 90% 0%, rgba(255,255,255,0.18) 0%, transparent 45%),
                linear-gradient(135deg, #44A08D 0%, #4ECDC4 100%);
             color: white; overflow: hidden;
         }
         .ka-bot-header::before {
             content: ''; position: absolute; inset: 0;
             background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.10) 1px, transparent 0);
             background-size: 18px 18px; opacity: .6; pointer-events: none;
         }
         .ka-bot-avatar {
             position: relative;
             width: 44px; height: 44px; border-radius: 14px;
             background: rgba(255,255,255,0.18);
             display: flex; align-items: center; justify-content: center;
             box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
             flex-shrink: 0;
         }
         .ka-bot-avatar-dot {
             position: absolute; bottom: -2px; right: -2px;
             width: 12px; height: 12px; border-radius: 50%;
             background: #34D399; border: 2.5px solid #44A08D;
         }

         /* Messages area */
         .ka-bot-messages {
             flex: 1; min-height: 0; padding: 16px;
             overflow-y: auto; background: #F8FAFC;
             display: flex; flex-direction: column; gap: 10px;
             scroll-behavior: smooth;
         }
         .ka-bot-messages::-webkit-scrollbar { width: 6px; }
         .ka-bot-messages::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 9999px; }
         .ka-bot-messages::-webkit-scrollbar-track { background: transparent; }

         .ka-bot-msg { display: flex; gap: 8px; max-width: 90%; align-items: flex-end; animation: ka-bot-msg-in .25s cubic-bezier(.22,1,.36,1); }
         .ka-bot-msg.bot { align-self: flex-start; }
         .ka-bot-msg.user { align-self: flex-end; flex-direction: row-reverse; }
         .ka-bot-msg-bubble {
             padding: 10px 14px; border-radius: 16px;
             font-size: 13.5px; line-height: 1.55;
             max-width: 100%; word-wrap: break-word;
         }
         .ka-bot-msg.bot .ka-bot-msg-bubble {
             background: white; color: #0F172A;
             border-bottom-left-radius: 4px;
             box-shadow: 0 1px 2px rgba(15,23,42,0.05);
         }
         .ka-bot-msg.user .ka-bot-msg-bubble {
             background: linear-gradient(135deg, #44A08D, #4ECDC4); color: white;
             border-bottom-right-radius: 4px;
             box-shadow: 0 4px 10px -2px rgba(68,160,141,0.35);
         }
         .ka-bot-msg-mini-avatar {
             width: 26px; height: 26px; border-radius: 50%;
             flex-shrink: 0; align-self: flex-end;
             display: flex; align-items: center; justify-content: center;
             font-size: 11px; font-weight: 700;
         }
         .ka-bot-msg.bot .ka-bot-msg-mini-avatar {
             background: linear-gradient(135deg, #44A08D, #4ECDC4); color: white;
         }
         .ka-bot-msg-time {
             font-size: 10px; color: #94A3B8;
             margin-top: 4px; padding: 0 4px;
         }
         @keyframes ka-bot-msg-in {
             from { opacity: 0; transform: translateY(8px); }
             to   { opacity: 1; transform: translateY(0); }
         }

         /* Quick links inside a bot message */
         .ka-bot-quick-links {
             display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
         }
         .ka-bot-quick-link {
             display: inline-flex; align-items: center; gap: 5px;
             padding: 6px 12px; border-radius: 9999px;
             background: rgba(68,160,141,0.10); color: #44A08D;
             border: 1px solid rgba(68,160,141,0.25);
             font-size: 11.5px; font-weight: 600;
             text-decoration: none; transition: all .15s ease;
         }
         .ka-bot-quick-link:hover { background: #44A08D; color: white; border-color: #44A08D; }

         /* Typing indicator */
         .ka-bot-typing { display: flex; gap: 4px; padding: 12px 14px; background: white; border-radius: 16px 16px 16px 4px; box-shadow: 0 1px 2px rgba(15,23,42,0.05); }
         .ka-bot-typing span {
             width: 7px; height: 7px; border-radius: 50%; background: #94A3B8;
             animation: ka-bot-typing-bounce 1.2s ease-in-out infinite;
         }
         .ka-bot-typing span:nth-child(2) { animation-delay: .15s; }
         .ka-bot-typing span:nth-child(3) { animation-delay: .30s; }
         @keyframes ka-bot-typing-bounce {
             0%, 60%, 100% { transform: translateY(0); opacity: .4; }
             30%           { transform: translateY(-5px); opacity: 1; }
         }

         /* Suggestion chips (initial / after bot replies) */
         .ka-bot-suggestions {
             padding: 10px 14px;
             background: #F8FAFC; border-top: 1px solid #F1F5F9;
             display: flex; gap: 6px; overflow-x: auto;
             scrollbar-width: none;
         }
         .ka-bot-suggestions::-webkit-scrollbar { display: none; }
         .ka-bot-chip {
             flex-shrink: 0;
             padding: 7px 12px; border-radius: 9999px;
             background: white; color: #475569;
             border: 1px solid #E2E8F0;
             font-size: 12px; font-weight: 600; cursor: pointer;
             white-space: nowrap; transition: all .15s ease;
         }
         .ka-bot-chip:hover { background: #44A08D; color: white; border-color: #44A08D; transform: translateY(-1px); }

         /* Composer */
         .ka-bot-composer {
             padding: 12px 14px;
             border-top: 1px solid #F1F5F9; background: white;
             display: flex; gap: 8px; align-items: center;
         }
         .ka-bot-input {
             flex: 1; min-width: 0; padding: 10px 14px;
             background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px;
             font-size: 13.5px; color: #0F172A; outline: none;
             transition: all .15s ease;
         }
         .ka-bot-input:focus { background: white; border-color: #44A08D; box-shadow: 0 0 0 3px rgba(68,160,141,0.12); }
         .ka-bot-send {
             width: 38px; height: 38px; border: 0; border-radius: 12px;
             background: linear-gradient(135deg, #44A08D, #4ECDC4); color: white;
             display: flex; align-items: center; justify-content: center;
             cursor: pointer; flex-shrink: 0;
             box-shadow: 0 6px 14px -4px rgba(68,160,141,0.45);
             transition: all .15s ease;
         }
         .ka-bot-send:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 18px -4px rgba(68,160,141,0.55); }
         .ka-bot-send:disabled { opacity: .4; cursor: not-allowed; }
         
         /* Enhanced Section Styles */
         .section-title {
             background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
             -webkit-background-clip: text;
             -webkit-text-fill-color: transparent;
             background-clip: text;
             text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
         }
         
         .section-bg-pattern {
             position: relative;
             overflow: hidden;
         }
         
         .section-bg-pattern::before {
             content: '';
             position: absolute;
             top: 0;
             left: 0;
             right: 0;
             bottom: 0;
             background: 
                 radial-gradient(circle at 20% 50%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
                 radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                 radial-gradient(circle at 40% 80%, rgba(68, 160, 141, 0.1) 0%, transparent 50%);
             pointer-events: none;
         }
         
         /* Modal Styles */
         .modal-overlay {
             position: fixed;
             top: 0;
             left: 0;
             right: 0;
             bottom: 0;
             background: rgba(0, 0, 0, 0.5);
             backdrop-filter: blur(5px);
             z-index: 9999;
             display: flex;
             align-items: center;
             justify-content: center;
             opacity: 0;
             visibility: hidden;
             transition: all 0.3s ease;
         }
         
         .modal-overlay.show {
             opacity: 1;
             visibility: visible;
         }
         
         .modal-content {
             background: white;
             border-radius: 20px;
             max-width: 450px;
             width: 90%;
             max-height: 90vh;
             overflow-y: auto;
             transform: scale(0.9) translateY(20px);
             transition: all 0.3s ease;
             box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
         }
         
         .modal-overlay.show .modal-content {
             transform: scale(1) translateY(0);
         }
         
         .modal-header {
             background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
             color: white;
             padding: 20px;
             border-radius: 20px 20px 0 0;
             text-align: center;
         }
         
         .modal-tabs {
             display: flex;
             background: #f8f9fa;
         }
         
         .modal-tab {
             flex: 1;
             padding: 15px;
             text-align: center;
             cursor: pointer;
             transition: all 0.3s ease;
             border-bottom: 3px solid transparent;
             font-weight: 500;
         }
         
         .modal-tab.active {
             background: white;
             color: #44A08D;
             border-bottom-color: #44A08D;
         }
         
         .modal-tab:hover {
             background: #e9ecef;
         }
         
         .modal-tab.active:hover {
             background: white;
         }
         
         .modal-body {
             padding: 30px;
         }
         
         .tab-content {
             display: none;
         }
         
         .tab-content.active {
             display: block;
         }
         
         .form-group {
             margin-bottom: 20px;
         }
         
         .form-label {
             display: block;
             margin-bottom: 8px;
             font-weight: 500;
             color: #374151;
         }
         
         .form-input {
             width: 100%;
             padding: 12px 16px;
             border: 2px solid #e5e7eb;
             border-radius: 10px;
             font-size: 16px;
             transition: all 0.3s ease;
             background: #fafafa;
         }
         
         .form-input:focus {
             outline: none;
             border-color: #4ECDC4;
             background: white;
             box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
         }
         
         .form-button {
             width: 100%;
             padding: 12px;
             background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
             color: white;
             border: none;
             border-radius: 10px;
             font-size: 16px;
             font-weight: 600;
             cursor: pointer;
             transition: all 0.3s ease;
             text-transform: uppercase;
             letter-spacing: 0.5px;
         }
         
         .form-button:hover {
             transform: translateY(-2px);
             box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
         }
         
         .form-button:active {
             transform: translateY(0);
         }
         
         .form-footer {
             text-align: center;
             margin-top: 20px;
             padding-top: 20px;
             border-top: 1px solid #e5e7eb;
         }
         
         .form-link {
             color: #44A08D;
             text-decoration: none;
             font-weight: 500;
         }
         
         .form-link:hover {
             text-decoration: underline;
         }
         
         .close-modal {
             position: absolute;
             top: 15px;
             right: 15px;
             background: rgba(255, 255, 255, 0.2);
             border: none;
             color: white;
             width: 35px;
             height: 35px;
             border-radius: 50%;
             cursor: pointer;
             display: flex;
             align-items: center;
             justify-content: center;
             transition: all 0.3s ease;
         }
         
         .close-modal:hover {
             background: rgba(255, 255, 255, 0.3);
             transform: scale(1.1);
         }

         /* Styles pour le menu mobile et overlay */
         /* Garde-fou : l'overlay reste invisible tant que .show n'est pas applique par le JS */
         #mobileMenuOverlay,
         #mobileCartOverlay {
             opacity: 0;
             visibility: hidden;
             pointer-events: none;
         }
         #mobileMenuOverlay.show,
         #mobileCartOverlay.show {
             opacity: 1 !important;
             visibility: visible !important;
             pointer-events: auto;
             display: block !important;
         }

         #mobileMenu {
             background: #ffffff !important;
             background-color: #ffffff !important;
             box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
             z-index: 1000;
             border-left: 1px solid #e5e7eb;
             opacity: 1 !important;
         }

         /* Tailwind v4 utilise la prop CSS native `translate` au lieu de `transform`,
            donc on neutralise les deux pour etre sur que la sidebar glisse. */
         #mobileMenu.show {
             transform: translateX(0) !important;
             translate: 0 0 !important;
             --tw-translate-x: 0;
         }
         #mobileCartSidebar.show {
             transform: translateX(0) !important;
             translate: 0 0 !important;
             --tw-translate-x: 0;
         }

         /* Forcer le fond blanc pour tous les éléments de la sidebar */
         #mobileMenu > * {
             background-color: transparent;
         }

         #mobileMenu .sidebar-content {
             background: #ffffff !important;
             background-color: #ffffff !important;
         }

         /* Header de la sidebar avec dégradé solide */
         #mobileMenu .sidebar-header {
             background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%) !important;
             opacity: 1 !important;
         }

         /* Animation pour les éléments de la sidebar */
         #mobileMenu .sidebar-item {
             opacity: 0;
             transform: translateX(20px);
             transition: all 0.3s ease;
         }

         #mobileMenu.show .sidebar-item {
             opacity: 1;
             transform: translateX(0);
         }

         #mobileMenu.show .sidebar-item:nth-child(1) { transition-delay: 0.1s; }
         #mobileMenu.show .sidebar-item:nth-child(2) { transition-delay: 0.15s; }
         #mobileMenu.show .sidebar-item:nth-child(3) { transition-delay: 0.2s; }
         #mobileMenu.show .sidebar-item:nth-child(4) { transition-delay: 0.25s; }
         #mobileMenu.show .sidebar-item:nth-child(5) { transition-delay: 0.3s; }
         #mobileMenu.show .sidebar-item:nth-child(6) { transition-delay: 0.35s; }

         /* Empêcher le scroll du body quand la sidebar est ouverte */
         body.mobile-menu-open {
             overflow: hidden;
             position: fixed;
             width: 100%;
         }

         /* Styles pour la sidebar panier mobile */
         #mobileCartOverlay {
             background: rgba(0, 0, 0, 0.6) !important;
             backdrop-filter: blur(4px);
             -webkit-backdrop-filter: blur(4px);
             z-index: 999;
         }

         #mobileCartOverlay.show {
             opacity: 1 !important;
             visibility: visible !important;
         }

         #mobileCartSidebar {
             background: #ffffff !important;
             background-color: #ffffff !important;
             box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
             z-index: 1000;
             border-left: 1px solid #e5e7eb;
             opacity: 1 !important;
         }

         #mobileCartSidebar.show {
             transform: translateX(0) !important;
         }

         /* Animation pour les éléments de la sidebar panier */
         #mobileCartSidebar .sidebar-item {
             opacity: 0;
             transform: translateX(20px);
             transition: all 0.3s ease;
         }

         #mobileCartSidebar.show .sidebar-item {
             opacity: 1;
             transform: translateX(0);
         }

         #mobileCartSidebar.show .sidebar-item:nth-child(1) { transition-delay: 0.1s; }
         #mobileCartSidebar.show .sidebar-item:nth-child(2) { transition-delay: 0.15s; }
         #mobileCartSidebar.show .sidebar-item:nth-child(3) { transition-delay: 0.2s; }

         /* Empêcher le scroll du body quand la sidebar panier est ouverte */
         body.mobile-cart-open {
             overflow: hidden;
             position: fixed;
             width: 100%;
         }
