/* ============================================
   index packaging - STYLES GLOBAUX (VERSION CORRIGÉE)
   Version: 1.1.0
   ============================================ */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
    /* Couleurs principales */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #1e293b;
    --accent-color: #f59e0b;
    
    /* Couleurs d'état */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    /* Couleurs neutres */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Bordures */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--gray-50);
    color: var(--secondary-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

.text-muted {
    color: var(--gray-500) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ============================================
   BOUTONS PERSONNALISÉS
   ============================================ */
.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 14px 40px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    border: none;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: white;
    padding: 14px 40px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--secondary-color);
    border-color: white;
}

/* Bouton Ajouter au panier - Page produit */
.btn-add-cart-lg {
    background: var(--primary-color);
    color: white;
    padding: 16px 50px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all var(--transition-base);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-add-cart-lg:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-add-cart-lg:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Bouton Wishlist */
.btn-wishlist {
    background: white;
    color: var(--secondary-color);
    padding: 16px 25px;
    border-radius: var(--border-radius-full);
    border: 2px solid var(--gray-200);
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-wishlist:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
    background: #fef2f2;
}

/* Bouton Ajouter au panier - Cards */
.btn-add-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
    width: 100%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   NAVBAR MODERNE
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Effet au scroll */
.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

/* ===== LOGO ===== */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 30px;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
}

/* ===== LIENS ===== */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary-color) !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.navbar-nav .nav-link i {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Soulignement animé */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Hover */
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.05);
}

/* Lien actif */
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active i {
    opacity: 1;
}

/* Lien WhatsApp spécial */
.navbar-nav .nav-link.whatsapp-nav {
    color: #25D366 !important;
}

.navbar-nav .nav-link.whatsapp-nav:hover {
    background: rgba(37, 211, 102, 0.08);
}

.navbar-nav .nav-link.whatsapp-nav::after {
    background: #25D366;
}

/* ===== DROPDOWN ===== */
.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 10px;
    min-width: 240px;
    margin-top: 10px;
    animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary-color);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.navbar .dropdown-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.navbar .dropdown-item:hover i {
    color: white !important;
}

.navbar .dropdown-divider {
    margin: 8px 0;
    opacity: 0.1;
}

/* ===== BARRE DE RECHERCHE ===== */
.search-form {
    position: relative;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: var(--gray-400);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.25s ease;
}

.search-input {
    padding: 10px 20px 10px 42px;
    border-radius: 999px;
    border: 2px solid var(--gray-200);
    background: var(--gray-50);
    font-size: 0.9rem;
    width: 240px;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
    background: white;
    width: 280px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-input:focus ~ .search-icon,
.search-form:focus-within .search-icon {
    color: var(--primary-color);
}

/* ===== TOGGLER MOBILE ===== */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.25s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler:hover {
    background: var(--gray-100);
}

/* ===== VERSION MOBILE ===== */
@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar-collapse {
        background: white;
        border-radius: 15px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        border-radius: 8px;
        width: 100%;
        justify-content: flex-start;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link:hover {
        background: var(--gray-100);
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        background: var(--gray-50);
        padding-left: 20px;
        margin-top: 5px;
    }

    .search-form {
        margin-top: 15px;
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .search-input:focus {
        width: 100%;
    }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
    background: white;
    padding: 20px 0;
    margin-top: 76px;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb {
    margin: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   PAGE PRODUIT - IMAGES & GALLERIE
   ============================================ */
.main-image {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--gray-200);
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.product-badge-lg {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 5;
}

/* Miniatures */
.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: var(--border-radius-md);
    padding: 10px;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.thumbnail-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============================================
   PAGE PRODUIT - INFOS
   ============================================ */
.product-title-lg {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-rating-lg {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-rating-lg span {
    color: var(--gray-500);
    margin-left: 10px;
    font-weight: 500;
}

.product-price-lg {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.product-price-lg .old-price {
    color: var(--gray-400);
    font-size: 1.5rem;
    text-decoration: line-through;
    margin-left: 15px;
    font-weight: 400;
}

.product-description {
    color: var(--gray-600);
    line-height: 1.8;
    margin: 20px 0;
}

/* Variantes */
.variant-label {
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}

.variant-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.variant-btn {
    padding: 10px 25px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-full);
    background: white;
    font-weight: 500;
    transition: all var(--transition-base);
    cursor: pointer;
}

.variant-btn:hover {
    border-color: var(--primary-color);
}

.variant-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* Sélecteur de couleur */
.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--gray-200);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.color-btn.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Sélecteur quantité */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: white;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qty-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.qty-input {
    width: 70px;
    height: 45px;
    text-align: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    font-size: 1.1rem;
    font-weight: 600;
}

.qty-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Caractéristiques produit */
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-item span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ============================================
   PAGE PRODUIT - TABS
   ============================================ */
.product-tabs {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 30px;
    border: 1px solid var(--gray-200);
    margin-top: 40px;
}

.nav-tabs .nav-link {
    border: none;
    font-weight: 600;
    color: var(--gray-500);
    padding: 12px 25px;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-base);
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: var(--gray-100);
}

.nav-tabs .nav-link.active {
    color: white;
    background: var(--primary-color);
}

.nav-tabs .nav-link i {
    margin-right: 8px;
}

.tab-content {
    padding-top: 25px;
}

.tab-content h5 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.tab-content p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* Tableau des spécifications */
.specs-table {
    width: 100%;
}

.specs-table tr {
    border-bottom: 1px solid var(--gray-100);
}

.specs-table td {
    padding: 12px 0;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--secondary-color);
    width: 30%;
}

/* Avis clients */
.review-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.category-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h5 {
    font-weight: 600;
    color: var(--secondary-color);
}

.category-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================================
   PRODUCT CARDS (Boutique)
   ============================================ */
.product-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 220px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    border-radius: var(--border-radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-sale {
    background: var(--accent-color);
    color: white;
}

.badge-new {
    background: var(--success-color);
    color: white;
}

.badge-hot {
    background: var(--danger-color);
    color: white;
}

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
    z-index: 2;
}

.product-wishlist:hover {
    background: var(--danger-color);
    color: white;
}

.product-body {
    padding: 18px 20px 20px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.05rem;
    margin: 5px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 52px;
}

.product-title a {
    color: var(--secondary-color);
    transition: color var(--transition-base);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-rating {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.product-rating span {
    color: var(--gray-400);
    margin-left: 5px;
    font-weight: 500;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .old-price {
    color: var(--gray-400);
    font-size: 0.95rem;
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.product-stock {
    font-size: 0.8rem;
    margin-top: 5px;
}

.product-stock.in-stock {
    color: var(--success-color);
}

.product-stock.low-stock {
    color: var(--warning-color);
}

.product-stock.out-of-stock {
    color: var(--danger-color);
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-xl);
    padding: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.promo-banner h2 {
    font-weight: 800;
    font-size: 2.5rem;
    color: white;
}

.promo-banner p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.promo-banner .btn-light {
    padding: 12px 35px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
}

/* ============================================
   FILTERS (Boutique)
   ============================================ */
.filters-section {
    background: white;
    padding: 25px 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 76px;
    z-index: 99;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.filter-label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.filter-select {
    padding: 8px 20px;
    border-radius: var(--border-radius-full);
    border: 2px solid var(--gray-200);
    background: white;
    font-weight: 500;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-btn {
    padding: 8px 20px;
    border-radius: var(--border-radius-full);
    border: 2px solid var(--gray-200);
    background: white;
    font-weight: 500;
    color: var(--secondary-color);
    transition: all var(--transition-base);
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Vue Toggle */
.view-toggle {
    display: flex;
    gap: 5px;
    margin-left: auto;
}

.view-toggle button {
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--gray-200);
    background: white;
    transition: all var(--transition-base);
    cursor: pointer;
}

.view-toggle button:hover,
.view-toggle button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination-custom .page-link {
    padding: 10px 18px;
    border-radius: var(--border-radius-md);
    border: 2px solid var(--gray-200);
    color: var(--secondary-color);
    font-weight: 500;
    transition: all var(--transition-base);
    text-decoration: none;
    display: block;
}

.pagination-custom .page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-custom .page-item.active .page-link {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-base);
    display: block;
    margin-bottom: 10px;
}

.footer a:hover {
    color: white;
}

.footer-social a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .product-title-lg {
        font-size: 1.8rem;
    }
    
    .product-price-lg {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .breadcrumb-section {
        margin-top: 66px;
    }
    
    .promo-banner {
        padding: 30px 20px;
    }
    
    .promo-banner h2 {
        font-size: 1.8rem;
    }
    
    .main-image {
        min-height: 250px;
        padding: 20px;
    }
    
    .main-image img {
        max-height: 200px;
    }
    
    .product-title-lg {
        font-size: 1.6rem;
    }
    
    .product-price-lg {
        font-size: 1.8rem;
    }
    
    .product-price-lg .old-price {
        font-size: 1.2rem;
    }
    
    .btn-add-cart-lg {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-wishlist {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .view-toggle {
        margin-left: 0;
    }
    
    .filters-section {
        position: relative;
        top: 0;
    }
    
    .product-features {
        grid-template-columns: 1fr 1fr;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs .nav-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .product-tabs {
        padding: 20px 15px;
    }
    
    .specs-table td {
        padding: 8px 0;
        font-size: 0.9rem;
    }
    
    .specs-table td:first-child {
        width: 40%;
    }
}

/* ============================================
   SCROLLBAR PERSONNALISÉE
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   UTILITAIRES
   ============================================ */
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Vue Liste - Boutique */
.product-card.list-view {
    display: flex;
    flex-direction: row;
    height: auto;
}

.product-card.list-view .product-image {
    width: 250px;
    height: 200px;
    flex-shrink: 0;
}

.product-card.list-view .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card.list-view .btn-add-cart {
    width: auto;
    padding: 10px 30px;
}

@media (max-width: 768px) {
    .product-card.list-view {
        flex-direction: column;
    }
    .product-card.list-view .product-image {
        width: 100%;
        height: 200px;
    }
}