   /* Responsive pour tablettes (max 1024px) */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

/* Responsive pour tablettes petites / mobiles larges (max 768px) */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* Responsive pour mobiles (max 480px) */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr !important; /* Une seule colonne */
    }
    
    .product-card {
        margin-bottom: 20px;
    }
}
/* Assurer que les images restent bien proportionnées */
.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Ajustement du header de la page */
.page-header {
    padding: 40px 5%;
    text-align: center;
}

/* Ajustement du footer pour mobile */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
}
        /* ==================== VARIABLES ==================== */
        :root {
            --primary-black: #1a1a1a;
            --secondary-black: #2d2d2d;
            --gold: #c9a962;
            --gold-light: #d4b876;
            --cream: #f9f7f2;
            --white: #ffffff;
            --gray-light: #f8f8f8;
            --gray: #9e9e9e;
            --gray-dark: #666666;
            --transition: all 0.3s ease;
            --shadow: 0 10px 30px rgba(0,0,0,0.08);
            --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
        }
        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 500;
            letter-spacing: 4px;
            color: var(--primary-black);
        }
          .logo img {
    height: 85px;
    width: auto;
}
        /* ==================== RESET ==================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Lato', sans-serif;
            color: var(--primary-black);
            background-color: var(--white);
            line-height: 1.7;
            overflow-x: hidden;
        }

        a { 
            text-decoration: none; 
            color: inherit; 
        }

        ul { 
            list-style: none; 
        }

        img { 
            max-width: 100%; 
            height: auto; 
        }

        /* ==================== TYPOGRAPHY ==================== */
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 500;
        }

        .subtitle {
            font-size: 0.75rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--gold);
            font-weight: 500;
        }

        /* ==================== HEADER ==================== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 30px rgba(0,0,0,0.06);
        }

        .header-top {
            background: var(--primary-black);
            color: var(--white);
            text-align: center;
            padding: 10px 0;
            font-size: 0.8rem;
            letter-spacing: 2px;
        }

        .header-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 8%;
            max-width: 1600px;
            margin: 0 auto;
        }

        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.9rem;
            font-weight: 600;
            letter-spacing: 3px;
            color: var(--primary-black);
        }

        .logo span { 
            color: var(--gold); 
        }

        .nav-menu {
            display: flex;
            gap: 45px;
        }

        .nav-menu a {
            font-size: 0.85rem;
            font-weight: 500;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            position: relative;
            padding: 8px 0;
            transition: var(--transition);
        }

        .nav-menu a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 1.5px;
            background: var(--gold);
            transition: var(--transition);
            transform: translateX(-50%);
        }

        .nav-menu a:hover::before,
        .nav-menu a.active::before {
            width: 100%;
        }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--gold);
        }

        .header-actions {
            display: flex;
            gap: 25px;
            align-items: center;
        }

        .header-actions a {
            font-size: 1.1rem;
            position: relative;
            transition: var(--transition);
            padding: 8px;
        }

        .header-actions a:hover {
            color: var(--gold);
        }

        .cart-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            background: var(--gold);
            color: var(--white);
            font-size: 0.65rem;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }

        /* ==================== HERO SECTION ==================== */
        .hero {
            height: 50vh;
            min-height: 350px;
            background: linear-gradient(135deg, rgba(26,26,26,0.85), rgba(26,26,26,0.7)),
                        url('https://images.unsplash.com/photo-1469334031218-e382a71b716b?w=1920') center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            margin-top: 68px;
        }

        .hero-content {
            max-width: 700px;
            padding: 0 30px;
        }

        .hero .subtitle {
            color: var(--gold);
            margin-bottom: 15px;
            animation: fadeInUp 0.8s ease;
        }

        .hero h1 {
            font-size: 3.2rem;
            letter-spacing: 3px;
            margin-bottom: 20px;
            animation: fadeInUp 0.8s ease 0.15s both;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.05rem;
            opacity: 0.9;
            animation: fadeInUp 0.8s ease 0.3s both;
        }

        /* ==================== PAGE HEADER ==================== */
        .page-header {
            background: var(--cream);
            padding: 120px 8% 60px;
            text-align: center;
        }

        .page-header h1 {
            font-size: 2.8rem;
            margin: 15px 0;
        }

        .breadcrumb {
            display: flex;
            justify-content: center;
            gap: 15px;
            font-size: 0.85rem;
            color: var(--gray);
        }

        .breadcrumb a {
            transition: var(--transition);
        }

        .breadcrumb a:hover {
            color: var(--gold);
        }

        .breadcrumb span {
            color: var(--gold);
        }

        /* ==================== FILTER SECTION ==================== */
        .filter-section {
            padding: 30px 8%;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .filter-categories {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 10px 25px;
            border: 1px solid #ddd;
            background: var(--white);
            font-size: 0.8rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            cursor: pointer;
            transition: var(--transition);
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: var(--primary-black);
            color: var(--white);
            border-color: var(--primary-black);
        }

        .filter-sort {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .filter-sort label {
            font-size: 0.85rem;
            color: var(--gray-dark);
        }

        .filter-sort select {
            padding: 10px 35px 10px 15px;
            border: 1px solid #ddd;
            font-size: 0.85rem;
            cursor: pointer;
            appearance: none;
            background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M6%207l4%204H2z%22%2F%3E%3C%2Fsvg%3E') no-repeat right 12px center;
        }

        /* ==================== PRODUCTS GRID ==================== */
        .products-section {
            padding: 50px 8% 100px;
            max-width: 1600px;
            margin: 0 auto;
        }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

     .product-card {
    background: #fff;
    border-radius: 0; /* Un look plus minimaliste */
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #eee;
    position: relative;
}
      .product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

    .product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

   .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

    .product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-actions {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
	background: var(--gold);
}
.product-card:hover .product-actions {
    opacity: 1;
}

.view-btn {
    display: block;
    background: #c9a962;
    color: #fff;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Infos produit --- */
.product-info {
    padding: 20px;
    text-align: center;
}

.product-category {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    font-weight: 600;
    color: #c9a962; /* Votre couleur or */
    font-size: 1rem;
}
        .product-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            padding: 6px 12px;
            font-size: 0.7rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 600;
        }

        .badge-new {
            background: var(--primary-black);
            color: var(--white);
        }

        .badge-sale {
            background: #e74c3c;
            color: var(--white);
        }

        .badge-soldout {
            background: var(--gray-dark);
            color: var(--white);
        }

        .product-actions {
            position: absolute;
            bottom: -60px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 10px;
            padding: 15px;
            background: rgba(255,255,255,0.95);
            transition: var(--transition);
        }

        .product-card:hover .product-actions {
            bottom: 0;
        }

        .product-actions button {
            width: 42px;
            height: 42px;
            border: 1px solid #ddd;
            background: var(--white);
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

        .product-actions button:hover {
            background: var(--primary-black);
            color: var(--white);
            border-color: var(--primary-black);
        }

        .product-info {
            padding: 22px 5px;
            text-align: center;
        }

        .product-category {
            font-size: 0.7rem;
            color: var(--gray);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 8px;
        }

        .product-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.1rem;
            margin-bottom: 10px;
            transition: var(--transition);
        }

        .product-card:hover .product-title {
            color: var(--gold);
        }

        .product-price {
            display: flex;
            justify-content: center;
            gap: 12px;
            font-weight: 600;
        }

        .price-current {
            color: var(--primary-black);
        }

        .price-old {
            color: var(--gray);
            text-decoration: line-through;
            font-weight: 400;
            font-size: 0.9rem;
        }

        /* ==================== FOOTER ==================== */
        footer {
            background: var(--primary-black);
            color: var(--white);
            padding: 80px 8% 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
            gap: 50px;
            max-width: 1600px;
            margin: 0 auto 60px;
        }

        .footer-brand .logo {
            color: var(--white);
            margin-bottom: 20px;
            display: inline-block;
        }

        .footer-brand p {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 25px;
            line-height: 1.8;
        }

        .footer-social {
            display: flex;
            gap: 12px;
        }

        .footer-social a {
            width: 42px;
            height: 42px;
            border: 1px solid #444;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            color: var(--white);
        }

        .footer-social a:hover {
            background: var(--gold);
            border-color: var(--gold);
        }

        .footer-links h4 {
            font-size: 1rem;
            margin-bottom: 25px;
            color: var(--white);
            letter-spacing: 1px;
        }

        .footer-links ul li {
            margin-bottom: 14px;
        }

        .footer-links a {
            color: var(--gray);
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--gold);
            padding-left: 5px;
        }

        .footer-newsletter p {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        .newsletter-form {
            display: flex;
            gap: 10px;
        }

        .newsletter-form input {
            flex: 1;
            padding: 14px 18px;
            border: 1px solid #444;
            background: transparent;
            color: var(--white);
            font-size: 0.9rem;
        }

        .newsletter-form input::placeholder {
            color: #666;
        }

        .newsletter-form input:focus {
            outline: none;
            border-color: var(--gold);
        }

        .newsletter-form button {
            padding: 14px 25px;
            background: var(--gold);
            color: var(--white);
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }

        .newsletter-form button:hover {
            background: var(--gold-light);
        }

        .footer-contact li {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .footer-contact i {
            color: var(--gold);
            width: 20px;
        }

        .footer-bottom {
            border-top: 1px solid #333;
            padding-top: 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--gray);
            font-size: 0.85rem;
            max-width: 1600px;
            margin: 0 auto;
        }

        .footer-payments {
            display: flex;
            gap: 15px;
            font-size: 1.6rem;
            color: var(--gray);
        }

        /* ==================== ANIMATIONS ==================== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(25px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ==================== RESPONSIVE ==================== */
        @media (max-width: 1200px) {
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 992px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
            }
            .nav-menu {
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
           @media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .products-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }
}
        }
 /* ==================== LAYOUT BOUTIQUE ==================== */

.shop-layout {
    display: flex;
    gap: 30px; /* Espace entre filtres et produits */
    max-width: 1200px; /* Limitez la largeur globale pour éviter que ce soit trop étiré */
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start; /* Aligne tout en haut */
}

/* ==================== FILTRE ==================== */
/* ==================== FILTRES AMÉLIORÉS ==================== */

.filters {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #f0f0f0; /* Bordure plus fine */
    border-radius: 8px;       /* Coins légèrement arrondis */
    padding: 30px;
    position: sticky;
    top: 120px;
    height: fit-content;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Ombre très légère */
}

.filter-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--primary-black);
    text-align: left; /* Aligné à gauche pour plus de lisibilité */
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
    display: inline-block;
}

.filters h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.filters label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--gray-dark);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filters label:hover {
    color: var(--gold);
    transform: translateX(5px); /* Petit effet de mouvement au survol */
}

/* Style custom pour les checkboxes */
.filters input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
}

.filters input[type="checkbox"]:checked {
    background-color: var(--gold);
    border-color: var(--gold);
    position: relative;
}

/* ==================== PRIX ==================== */

.filters input[type="range"] {
    width: 100%;
    margin: 15px 0;
    cursor: pointer;
}

#prixValue {
    font-weight: 700;
    color: var(--gold);
    background: var(--gray-light);
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}

/* ==================== PRODUITS ==================== */
.products-section {
    flex: 1; /* Il prendra tout l'espace restant après les filtres */
    min-width: 0; /* Important : empêche la grille de déborder si une image est trop grande */
}

/* Ajustement de la grille pour ne pas qu'elle soit trop serrée */
.products-grid {
   display: grid;
    /* On change 250px en une valeur plus grande pour forcer le passage à 3 colonnes */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* Espace entre les produits */
    width: 100%;
}

/* ==================== RESPONSIVE ==================== */

@media(max-width:991px){

    .shop-layout{
        flex-direction:column;
    }

    .filters{
        width:100%;
        position:relative;
        top:auto;
    }

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:576px){

    .products-grid{
        grid-template-columns:1fr;
    }
}
.filter-title{
    font-size:22px;
    margin-bottom:25px;
    color:#222;
    text-align:center;
}

.filter-title i{
    color:#c9a962;
    margin-right:8px;
}

.btn-filter {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}

.btn-reset {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
    text-decoration: underline;
}