:root {
    --bg: #05050f; --card: rgba(15, 15, 32, 0.75); --purple: #A855F7; --neon-cyan: #22D3EE;
    --text: #F1F5F9; --text2: #94A3B8; --border: rgba(168, 85, 247, 0.3); --red: #EF4444; --green: #22C55E;
}

body { 
    background-color: var(--bg);
    background-image: linear-gradient(rgba(2, 1, 8, 0.8), rgba(2, 1, 8, 0.95)), url('https://images.unsplash.com/photo-1506703719100-a0f3a48c0f86?q=80&w=2000&auto=format&fit=crop'); 
    background-size: cover; background-position: center; background-attachment: fixed;
    color: var(--text); font-family: 'Nunito', sans-serif; margin: 0; padding: 0; min-height: 100vh; overflow-x: hidden; 
}

/* ON GARDE JUSTE LE CANVAS POUR LES ETOILES SI ON VEUT, MAIS LE FOND IMAGE EST EN DESSOUS */
#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* HEADER */
.header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: rgba(10, 10, 26, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.logo { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 900; color: #fff; }
.logo span { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.btn-header { color: var(--text); text-decoration: none; font-size: 0.85rem; font-weight: bold; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; transition: 0.3s; }
.btn-header:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }
.btn-panier { background: transparent; color: var(--neon-cyan); border: 1px solid var(--neon-cyan); padding: 8px 15px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-panier:hover { background: rgba(34, 211, 238, 0.1); box-shadow: 0 0 10px var(--neon-cyan); }

/* LAYOUT & HERO */
.layout-principal { display: grid; grid-template-columns: 250px 1fr; gap: 20px; padding: 20px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 10; }
.sidebar-categories { background: var(--card); border: 1px solid var(--border); border-radius: 15px; padding: 15px; backdrop-filter: blur(10px); height: fit-content; }
.contenu-catalogue h1 { font-family: 'Orbitron', sans-serif; font-size: 2rem; margin-bottom: 20px; }
.hero-section { text-align: center; padding: 60px 20px 40px; max-width: 800px; margin: 0 auto; position: relative; z-index: 10;}
.hero-subtitle { font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase; color: var(--text2); margin-bottom: 15px; }
.hero-title { font-family: 'Outfit', sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin: 0 0 20px; }
.hero-title span { background: linear-gradient(90deg, var(--purple), #F472B6, var(--neon-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.1rem; color: var(--text2); max-width: 500px; margin: 0 auto 40px; }

/* FEATURED */
.featured-section { max-width: 1200px; margin: 0 auto 30px; padding: 0 20px; position: relative; z-index: 10; }
.featured-title { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; color: #fff; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; text-shadow: 0 0 15px var(--neon-cyan);}
.featured-card { display: flex; background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(34,211,238,0.05)); border: 1px solid var(--neon-purple); border-radius: 20px; overflow: hidden; box-shadow: 0 0 30px rgba(168,85,247,0.2); }
.featured-card img { width: 300px; height: 100%; object-fit: cover; }
.featured-info { padding: 30px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.featured-info h2 { font-family: 'Orbitron', sans-serif; font-size: 2rem; margin: 0 0 10px; color: var(--neon-cyan); }
.featured-info p { font-size: 1rem; color: #ccc; margin-bottom: 20px; }
.featured-badge { display: inline-block; background: var(--red); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; animation: pulse 1.5s infinite; }

/* PRODUITS */
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.category-column { background: var(--card); border: 1px solid var(--border); border-radius: 15px; overflow: hidden; backdrop-filter: blur(10px); transition: 0.3s; }
.category-column:hover { border-color: var(--purple); box-shadow: 0 0 15px rgba(168, 85, 247, 0.2); }
.category-header { padding: 15px; text-align: center; border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.3); cursor: pointer; }
.category-header img { width: 100px; height: 100px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.category-header h2 { font-size: 1.2rem; margin: 0 0 5px 0; color: var(--neon-cyan); font-family: 'Orbitron', sans-serif; display: flex; justify-content: center; align-items: center; gap: 10px;}
.price-badge { background: rgba(168, 85, 247, 0.2); color: var(--purple); padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.flavor-list { padding: 10px; }
.flavor-row { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.flavor-row:last-child { border-bottom: none; }
.flavor-name { font-weight: bold; }
.btn-mini { background: var(--neon-cyan); color: black; border: none; width: 30px; height: 30px; border-radius: 5px; font-weight: 900; font-size: 1.2rem; cursor: pointer; transition: 0.2s; }
.btn-mini:hover { transform: scale(1.1); box-shadow: 0 0 10px var(--neon-cyan); }

/* PANIER */
#cart-drawer { position: fixed; top: 0; right: -400px; width: 350px; height: 100%; background: var(--card); border-left: 1px solid var(--border); z-index: 10000; transition: right 0.3s; padding: 20px; box-sizing: border-box; display: flex; flex-direction: column; backdrop-filter: blur(15px); box-shadow: -10px 0 30px rgba(0,0,0,0.5); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .header { flex-direction: column; gap: 15px; padding: 15px; text-align: center; }
    .header-actions { flex-wrap: wrap; justify-content: center; width: 100%; }
    .layout-principal { grid-template-columns: 1fr; padding: 10px; }
    .sidebar-categories { display: none; }
    #cart-drawer { width: 100%; right: -100%; }
    .grille-produits { grid-template-columns: 1fr; }
    .logo { font-size: 1.3rem; }
    .hero-title { font-size: 2.5rem; }
    .featured-card { flex-direction: column; }
    .featured-card img { width: 100%; height: 200px; }
}