/* ========================================
   GFV Store — Godfather Noir Luxe
   Style: Cinematic Dark Premium
   Version: 3.0
   ======================================== */

/* CSS Variables - Design System */
:root {
    /* Primary Colors — Crimson */
    --color-primary: #9B1B1B;
    --color-primary-light: #C42B2B;
    --color-primary-dark: #6B0000;

    /* Gold Accent */
    --color-gold: #C9A96E;
    --color-gold-light: #E8C47A;
    --color-gold-dark: #9A7840;

    /* Background Colors — Deep Noir */
    --bg-primary: #080808;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #161616;
    --bg-card: #1a1a1a;
    --bg-hover: #222222;

    /* Text Colors */
    --text-primary: #F5F0E8;
    --text-secondary: #a89f94;
    --text-muted: #5a5248;
    --text-accent: #C9A96E;

    /* Status Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Border & Shadow */
    --border-color: rgba(155, 27, 27, 0.35);
    --border-gold: rgba(201, 169, 110, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px rgba(155, 27, 27, 0.35);
    --shadow-gold: 0 0 20px rgba(201, 169, 110, 0.2);

    /* Typography */
    --font-title: 'Cormorant Garamond', 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse at 15% 5%, rgba(155, 27, 27, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 90%, rgba(155, 27, 27, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(201, 169, 110, 0.03) 0%, transparent 60%);
    background-attachment: fixed;
}

/* Film grain cinématographique */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 160px 160px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: 0.8px;
}

h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: 1.5px; }
h2 { font-size: 2rem; letter-spacing: 1px; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Header Modern */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
    transition: all var(--transition-base);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
    min-height: 70px;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-text img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Main Content */
.main-content {
    padding-top: 90px;
    min-height: 100vh;
    padding-bottom: var(--space-12);
}

/* Footer Modern */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-gold);
    padding: var(--space-8) 0;
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.3;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer a {
    color: var(--color-gold);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--color-gold-light);
}

/* ========================================
   MODERN BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #F5F0E8;
    box-shadow: 0 4px 18px rgba(155, 27, 27, 0.45);
    letter-spacing: 1.2px;
}

.btn-primary:hover {
    background: linear-gradient(145deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(155, 27, 27, 0.55);
    color: #fff;
}

.btn-gold {
    background: linear-gradient(145deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #0a0a0a;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(201, 169, 110, 0.35);
    letter-spacing: 1.2px;
}

.btn-gold:hover {
    background: linear-gradient(145deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 169, 110, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-light);
    background: rgba(201, 169, 110, 0.06);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: 0.8125rem;
}

.btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   MODERN CARDS
   ======================================== */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.06) 0%, transparent 50%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold), 0 16px 40px rgba(0, 0, 0, 0.6);
}

.card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(155, 27, 27, 0.15) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card:hover .card-image::before {
    opacity: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.card-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.card-image-fallback span {
    font-size: 3rem;
    opacity: 0.3;
}

.card-body {
    padding: var(--space-5);
}

.card-title {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-title);
    letter-spacing: 0.5px;
}

.card-price .old-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: var(--space-2);
}

.card-price .promo-price {
    color: var(--color-gold-light);
    text-shadow: 0 0 12px rgba(201, 169, 110, 0.3);
}

/* ========================================
   BADGES MODERNES
   ======================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
}

.badge-promo {
    background: linear-gradient(135deg, var(--text-accent) 0%, var(--color-primary) 100%);
    color: white;
    border: none;
}

.badge-outstock {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.badge-instock {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border-color: rgba(34, 197, 94, 0.3);
}

/* ========================================
   GRID RESPONSIVE
   ======================================== */

.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-categories {
    grid-template-columns: repeat(2, 1fr);
}

.grid-products {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

/* Mobile first: 2 produits par ligne */
@media (max-width: 767px) {
    .grid-products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-3);
    }
    
    .grid-products .card-title {
        font-size: 0.9375rem;
    }
    
    .grid-products .card-price {
        font-size: 1rem;
    }
}

/* Tablet: 3 produits */
@media (min-width: 768px) and (max-width: 1023px) {
    .grid-products {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }
}

/* Desktop: 4 produits par ligne */
@media (min-width: 1024px) {
    .grid-products {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-5);
    }
}

/* Catégories responsive */
@media (min-width: 640px) {
    .grid-categories {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-categories {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   PANIER FLOTTANT MODERNE
   ======================================== */

.cart-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 999;
}

.cart-btn {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow), 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-base);
    position: relative;
}

.cart-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.5), 0 6px 24px rgba(0, 0, 0, 0.5);
}

.cart-btn svg {
    width: 28px;
    height: 28px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--space-2);
    background: white;
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/* ========================================
   FORMULAIRES MODERNES
   ======================================== */

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
    background: var(--bg-card);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23AAAAAA' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ========================================
   TABLEAUX MODERNES
   ======================================== */

.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
}

.table th,
.table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.table th {
    background: var(--bg-secondary);
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.table tbody tr {
    transition: background var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--bg-hover);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ========================================
   ALERTES MODERNES
   ======================================== */

.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.alert::before {
    font-size: 1.25rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--success);
}

.alert-success::before { content: '✓'; }

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-error::before { content: '✕'; }

.alert-info {
    background: rgba(139, 0, 0, 0.08);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.alert-info::before { content: 'ℹ'; }

/* ========================================
   PAGE DE MAINTENANCE
   ======================================== */

.maintenance {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-8);
    background: 
        radial-gradient(circle at 50% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 70%),
        var(--bg-primary);
}

.maintenance-logo {
    max-width: 180px;
    margin-bottom: var(--space-6);
    filter: drop-shadow(0 4px 20px rgba(139, 0, 0, 0.3));
}

.maintenance h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.maintenance p {
    font-size: 1.125rem;
    max-width: 500px;
    color: var(--text-secondary);
}

/* ========================================
   ADMIN LAYOUT MODERNE
   ======================================== */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-subtle);
    padding: var(--space-6) 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-header {
    padding: 0 var(--space-6) var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-6);
}

.admin-sidebar-header h2 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.admin-sidebar-header h2 img {
    height: 32px;
    width: auto;
}

.admin-sidebar-header p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: var(--space-2) 0 0;
}

.admin-nav {
    list-style: none;
    padding: 0 var(--space-4);
}

.admin-nav li {
    margin-bottom: var(--space-1);
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(201, 169, 110, 0.07);
    color: var(--text-primary);
}

.admin-nav a.active {
    border-left: 3px solid var(--color-gold);
    color: var(--color-gold-light);
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: var(--space-8);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
}

.admin-header h1 {
    margin: 0;
    font-size: 1.75rem;
}

/* Stats Cards Modernes */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.stat-card-title {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-2);
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-title);
}

/* ========================================
   SÉPARATEURS & DÉCORATIONS
   ======================================== */

.separator {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-gold) 30%, var(--color-gold) 50%, var(--border-gold) 70%, transparent 100%);
    margin: var(--space-8) 0;
    position: relative;
}

.separator::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    color: var(--color-gold);
    font-size: 0.6rem;
    padding: 0 0.5rem;
    letter-spacing: 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

/* ========================================
   SPACING UTILITIES
   ======================================== */

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* ========================================
   LOADING & ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        padding: var(--space-4) 0;
    }
    
    .admin-main {
        margin-left: 0;
        padding: var(--space-4);
    }
    
    .admin-nav {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
    }
    
    .admin-nav li {
        margin: 0;
    }
    
    .admin-nav a {
        padding: var(--space-2) var(--space-3);
        font-size: 0.875rem;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .cart-float {
        bottom: var(--space-4);
        right: var(--space-4);
    }
    
    .cart-btn {
        width: 56px;
        height: 56px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible pour accessibilité */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ========================================
   CHECKOUT & RESPONSIVE IMPROVEMENTS
   ======================================== */

.checkout-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.checkout-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    width: 100%;
}

@media (min-width: 992px) {
    .checkout-grid {
        flex-direction: row;
        align-items: flex-start;
    }
    .checkout-form-section {
        flex: 1;
    }
    .checkout-summary-section {
        width: 400px;
        position: sticky;
        top: 100px;
    }
}

.input-lg {
    padding: var(--space-4);
    font-size: 1.125rem;
}

.readonly-field {
    display: flex;
    align-items: center;
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.125rem;
}

.readonly-field .city-icon {
    margin-right: var(--space-3);
    font-size: 1.25rem;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.checkout-item:hover {
    border-color: var(--border-color);
    background: rgba(139, 0, 0, 0.05);
}

.checkout-item-info {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.item-qty {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.checkout-item-price {
    font-weight: 700;
    color: var(--color-primary-light);
}

/* Bouton supprimer dans checkout */
.btn-remove-item {
    background: none;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.btn-remove-item:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.1);
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.total-row {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.total-price {
    font-size: 1.5rem;
    color: var(--color-gold-light);
    font-family: var(--font-title);
    text-shadow: 0 0 12px rgba(201, 169, 110, 0.25);
    letter-spacing: 1px;
}

.btn-xl {
    padding: var(--space-4) var(--space-6);
    font-size: 1.125rem;
    height: 60px;
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Checkout Submit Buttons */
.mobile-submit-btn {
    display: none;
}

.desktop-submit-btn {
    display: block;
}

@media (max-width: 991px) {
    .mobile-submit-btn {
        display: block;
        margin-top: var(--space-6);
    }
    .mobile-submit-btn .btn {
        height: 60px;
        font-size: 1.125rem;
    }
    .desktop-submit-btn {
        display: none;
    }
    .checkout-summary-section {
        order: -1;
        margin-bottom: var(--space-6);
    }
    .checkout-grid {
        flex-direction: column-reverse;
    }
}

/* ========================================
   HEADER RED - Nouveau Design
   ======================================== */

.header-red {
    background: linear-gradient(160deg, #2a0000 0%, #1a0000 40%, #0d0000 100%);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), 0 1px 0 var(--border-gold);
    position: relative;
}

.header-red::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.4;
}

.header-red .header-content {
    padding: var(--space-2) 0;
    min-height: 80px;
}

/* Cacher le panier flottant quand on a le header avec icône panier */
.header-red ~ .cart-float,
body:has(.header-red) .cart-float {
    display: none !important;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img-full {
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform var(--transition-fast);
}

.logo-img-full:hover {
    transform: scale(1.05);
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.whatsapp-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

/* Social Buttons - Instagram & Maps */
.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.instagram-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5);
}

.maps-btn {
    background: #4285F4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.maps-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.5);
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

.cart-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.cart-icon-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: white;
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .logo-img-full {
        height: 55px;
        max-width: 160px;
    }
    .header-red .header-content {
        min-height: 70px;
    }
}

/* ========================================
   PAGE PRODUIT - Styles
   ======================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-gold-light);
}

.breadcrumb .sep {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 500;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.product-image-section {
    position: relative;
}

.product-image-main {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.product-image-main .product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    font-size: 0.75rem;
    padding: var(--space-2) var(--space-3);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-fallback-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.product-image-fallback-large span {
    font-size: 5rem;
    opacity: 0.3;
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.product-title {
    font-size: 1.75rem;
    font-family: var(--font-title);
    color: var(--text-primary);
    margin: 0;
}

@media (min-width: 768px) {
    .product-title {
        font-size: 2.25rem;
    }
}

.product-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.category-badge {
    padding: var(--space-1) var(--space-3);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stock-badge {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.stock-badge.in-stock {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.stock-badge.out-stock {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.product-price-block {
    padding: var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin: var(--space-2) 0;
}

.price-promo {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.old-price-large {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.current-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-title);
    letter-spacing: 1px;
}

.current-price-large.promo {
    color: var(--color-gold-light);
    text-shadow: 0 0 16px rgba(201, 169, 110, 0.35);
}

.economy {
    display: inline-block;
    margin-top: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.product-description {
    margin-top: var(--space-2);
}

.product-description h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.product-description p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.qty-btn-large {
    width: 56px;
    height: 56px;
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.qty-input-large {
    width: 80px;
    height: 56px;
    text-align: center;
    background: var(--bg-card);
    border: none;
    border-left: 2px solid var(--border-subtle);
    border-right: 2px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-add-cart-large {
    height: 64px;
    font-size: 1.125rem;
}

.out-of-stock-message {
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
}

.out-of-stock-message span {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--space-3);
}

.related-products-section {
    margin-top: var(--space-12);
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: var(--space-6);
    position: relative;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--space-3) auto 0;
    border-radius: 2px;
}

/* Product Card Link */
.product-card {
    text-decoration: none;
    display: block;
}

.product-card:hover {
    text-decoration: none;
}

/* Amélioration des boutons +/- et ajout panier sur la grille produits */
.product-qty-row {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.qty-selector-small {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn-sm {
    width: 32px;
    height: 36px;
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.qty-input-sm {
    width: 40px;
    height: 36px;
    text-align: center;
    background: var(--bg-card);
    border: none;
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-add-sm {
    flex: 1;
    height: 36px;
    font-size: 0.8125rem;
    padding: var(--space-1) var(--space-2);
}

/* More Mobile Adjustments */
@media (max-width: 576px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    .header-content { padding: var(--space-2) 0; }
    .main-content { padding-top: 90px; }
    .container { padding: 0 var(--space-4); }
    .card-body { padding: var(--space-4); }
    
    .grid-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    
    .grid-products {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    
    .btn { padding: var(--space-2) var(--space-4); font-size: 0.875rem; }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .current-price-large {
        font-size: 1.5rem;
    }
    
    .qty-btn-large {
        width: 48px;
        height: 48px;
    }
    
    .qty-input-large {
        width: 60px;
        height: 48px;
    }
}

/* ========================================
   ANIMATIONS VAPE - Thème fumée & nuages
   ======================================== */

/* Animation flottante de fumée en arrière-plan */
.vape-smoke-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.35;
}

.smoke-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(201,169,110,0.15) 0%, rgba(155,27,27,0.08) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(25px);
    animation: float-smoke 15s infinite ease-in-out;
}

.smoke-particle:nth-child(1) {
    width: 100px;
    height: 100px;
    left: 10%;
    bottom: -50px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.smoke-particle:nth-child(2) {
    width: 150px;
    height: 150px;
    left: 30%;
    bottom: -80px;
    animation-delay: 3s;
    animation-duration: 22s;
}

.smoke-particle:nth-child(3) {
    width: 80px;
    height: 80px;
    left: 60%;
    bottom: -40px;
    animation-delay: 6s;
    animation-duration: 16s;
}

.smoke-particle:nth-child(4) {
    width: 120px;
    height: 120px;
    left: 80%;
    bottom: -60px;
    animation-delay: 9s;
    animation-duration: 20s;
}

.smoke-particle:nth-child(5) {
    width: 60px;
    height: 60px;
    left: 45%;
    bottom: -30px;
    animation-delay: 12s;
    animation-duration: 14s;
}

@keyframes float-smoke {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50vh) scale(1.5) rotate(180deg);
        opacity: 0.3;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) scale(2) rotate(360deg);
        opacity: 0;
    }
}

/* Effet de bulles flottantes pour les liquides */
.vape-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -20px;
    background: radial-gradient(circle at 30% 30%, rgba(139, 0, 0, 0.6), rgba(139, 0, 0, 0.2));
    border-radius: 50%;
    animation: rise 8s infinite ease-in;
    opacity: 0.6;
}

.bubble:nth-child(1) { left: 10%; width: 15px; height: 15px; animation-delay: 0s; animation-duration: 7s; }
.bubble:nth-child(2) { left: 20%; width: 10px; height: 10px; animation-delay: 1s; animation-duration: 9s; }
.bubble:nth-child(3) { left: 35%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 6s; }
.bubble:nth-child(4) { left: 50%; width: 12px; height: 12px; animation-delay: 0.5s; animation-duration: 8s; }
.bubble:nth-child(5) { left: 65%; width: 18px; height: 18px; animation-delay: 3s; animation-duration: 7s; }
.bubble:nth-child(6) { left: 80%; width: 8px; height: 8px; animation-delay: 2.5s; animation-duration: 10s; }
.bubble:nth-child(7) { left: 90%; width: 14px; height: 14px; animation-delay: 1.5s; animation-duration: 8s; }

@keyframes rise {
    0% {
        bottom: -20px;
        transform: translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translateX(20px) scale(1.1);
    }
    100% {
        bottom: 100%;
        transform: translateX(-20px) scale(0.8);
        opacity: 0;
    }
}

/* Halo glow effect pour les produits vape */
.vape-glow {
    position: relative;
}

.vape-glow::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    animation: pulse-glow 3s infinite;
}

.vape-glow:hover::before {
    opacity: 1;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

/* Effet de "vape trail" pour les boutons */
.btn-vape-effect {
    position: relative;
    overflow: hidden;
}

.btn-vape-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-vape-effect:active::after {
    width: 300px;
    height: 300px;
}

/* Nuages décoratifs */
.vape-clouds {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.08;
}

.cloud {
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 100px;
    filter: blur(30px);
    animation: drift 25s infinite linear;
}

.cloud:nth-child(1) {
    width: 200px;
    height: 80px;
    top: 20%;
    left: -200px;
    animation-duration: 30s;
}

.cloud:nth-child(2) {
    width: 150px;
    height: 60px;
    top: 50%;
    left: -150px;
    animation-delay: 10s;
    animation-duration: 25s;
}

.cloud:nth-child(3) {
    width: 180px;
    height: 70px;
    top: 70%;
    left: -180px;
    animation-delay: 20s;
    animation-duration: 35s;
}

@keyframes drift {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(100vw + 300px));
    }
}

/* Animation de transition douce pour les cartes produits */
.card {
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.1) 0%, 
        transparent 50%,
        rgba(139, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Icône de vape animée */
.vape-icon-animated {
    display: inline-block;
    animation: vape-puff 2s infinite ease-in-out;
}

@keyframes vape-puff {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Effet néon pour les promotions */
.neon-promo {
    position: relative;
    animation: neon-flicker 3s infinite alternate;
}

@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px var(--color-primary),
            0 0 40px var(--color-primary),
            0 0 80px var(--color-primary);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* ========================================
   CART SIDEBAR - Style Shopify
   ======================================== */

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-gold);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 50px rgba(0, 0, 0, 0.7);
}

.cart-sidebar.open {
    transform: translateX(0);
}

/* Cart Sidebar Header */
.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border-gold);
    background: linear-gradient(135deg, #1a0000 0%, #0f0f0f 100%);
}

.cart-sidebar-header h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
}

.cart-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-close-btn:hover {
    background: rgba(201, 169, 110, 0.2);
    border: 1px solid var(--border-gold);
    color: var(--color-gold-light);
    transform: rotate(90deg);
}

/* Cart Sidebar Body */
.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
}

/* Cart Empty State */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: var(--space-8);
}

.cart-empty p {
    color: var(--text-muted);
    margin: var(--space-4) 0;
    font-size: 1.125rem;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.cart-item:hover {
    border-color: var(--border-color);
    transform: translateX(-4px);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-family: var(--font-title);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

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

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.cart-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-card);
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

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

.cart-qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    padding: 0 var(--space-2);
}

.cart-remove-btn {
    background: none;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    padding: 4px;
}

.cart-remove-btn:hover {
    opacity: 1;
}

.cart-item-total {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9375rem;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Cart Sidebar Footer */
.cart-sidebar-footer {
    padding: var(--space-5) var(--space-6);
    border-top: 1px solid var(--border-gold);
    background: linear-gradient(135deg, #1a0000 0%, #0f0f0f 100%);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    font-size: 1.125rem;
}

.cart-subtotal span:last-child {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 1.25rem;
}

/* Cart Toggle Button */
.cart-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #F5F0E8;
    border: 1px solid var(--border-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(155, 27, 27, 0.5), 0 0 0 1px var(--border-gold);
    z-index: 100;
    transition: all 0.3s ease;
}

.cart-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 36px rgba(155, 27, 27, 0.6), 0 0 0 1px var(--color-gold);
}

.cart-toggle-btn svg {
    width: 26px;
    height: 26px;
}

.cart-toggle-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: white;
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Responsive Cart Sidebar */
@media (max-width: 480px) {
    .cart-sidebar {
        max-width: 100%;
    }
    
    .cart-item {
        grid-template-columns: 60px 1fr;
        position: relative;
    }
    
    .cart-item-total {
        position: absolute;
        bottom: var(--space-3);
        right: var(--space-3);
    }
    
    .cart-sidebar-header,
    .cart-sidebar-footer {
        padding: var(--space-4);
    }
}

/* Animation for adding to cart */
@keyframes cart-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cart-badge-animate {
    animation: cart-bounce 0.3s ease;
}

/* Hide default cart float when sidebar is present */
.cart-float {
    display: none !important;
}

/* ========================================
   STORE COVER — Cinematic Banner
   ======================================== */

.store-cover,
.category-cover {
    position: relative;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

.store-cover::after,
.category-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(8,8,8,0.5) 0%, transparent 40%, transparent 60%, rgba(8,8,8,0.5) 100%),
        linear-gradient(to bottom, rgba(8,8,8,0.3) 0%, transparent 30%, transparent 70%, rgba(8,8,8,0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Category cards — gold title on hover */
.card a:hover .card-title,
.card:hover .card-title {
    color: var(--color-gold-light);
    transition: color 0.3s ease;
}

/* ========================================
   SCROLLBAR — Or et Noir
   ======================================== */

::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.25);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 169, 110, 0.4);
}

/* ========================================
   BADGES — Raffinés
   ======================================== */

.badge {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 1.2px;
}

/* ========================================
   QTY SELECTORS — Raffinés
   ======================================== */

.qty-btn-sm:hover {
    background: rgba(201, 169, 110, 0.08);
    color: var(--color-gold-light);
}

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

/* ========================================
   PRODUCT DETAIL — Raffinements
   ======================================== */

.product-price-block {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.04) 0%, var(--bg-card) 100%);
}

/* ========================================
   CHECKOUT ITEM — Or sur hover
   ======================================== */

.checkout-item:hover {
    border-color: var(--border-gold);
    background: rgba(201, 169, 110, 0.04);
}

.checkout-item-price {
    color: var(--color-gold-light);
}

/* ========================================
   FOCUS — Visible gold
   ======================================== */

:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* ========================================
   CART ITEM — Hover gold
   ======================================== */

.cart-item:hover {
    border-color: var(--border-gold);
}

/* ========================================
   STAT CARDS — Admin
   ======================================== */

.stat-card:hover {
    border-color: var(--border-gold);
}
