/* =========================================
   1. BASE & LUXURY RESET
   ========================================= */
   :root {
    --bg-body: #ffffff;
    --text-main: #000000;
    --text-light: #555555;
    --gold-accent: #D4AF37; 
    --font-head: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --card-height: 450px; 
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: var(--font-body); 
    background-color: var(--bg-body); 
    color: var(--text-main); 
    line-height: 1.8; 
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.4s ease; }
ul { list-style: none; }
button { font-family: var(--font-body); }

/* =========================================
   2. HEADER (MINIMALISTE & CHIC)
   ========================================= */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; 
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}

.brand-logo { 
    font-family: var(--font-head); 
    font-size: 1.8rem; 
    font-weight: 700; 
    letter-spacing: 3px; 
    color: #000; 
    line-height: 0.9;
}
.brand-sub { 
    font-size: 0.6rem; 
    letter-spacing: 8px; 
    color: var(--gold-accent); 
    display: block; 
    text-transform: uppercase;
    margin-top: 5px;
}

.nav-links { display: flex; gap: 40px; }
.nav-links a { 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    letter-spacing: 2px; 
    font-weight: 700; 
    position: relative;
    color: #000;
}
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 1px;
    bottom: -5px; left: 0; background: #000; transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.cart-icon { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    cursor: pointer; 
    border: 1px solid #ddd;
    padding: 10px 20px;
    transition: 0.3s;
}
.cart-icon:hover { background: #000; color: #fff; border-color: #000; }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    height: 90vh;
    width: 100%;
    background-color: #eee; 
    background-image: url('img.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    display: flex; 
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding-bottom: 80px;
}

.hero::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 100%);
    display: block;
}

.hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px;}

.hero h2 { 
    font-family: var(--font-head); 
    font-size: 3.5rem; 
    margin-bottom: 15px; 
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero p { 
    font-size: 1.1rem; 
    letter-spacing: 2px; 
    margin-bottom: 30px; 
    font-weight: 300;
    color: rgba(255,255,255,0.9);
}

.hero button {
    padding: 15px 50px; 
    background: #fff; 
    color: #000; 
    border: none;
    text-transform: uppercase; 
    letter-spacing: 3px; 
    font-size: 0.8rem;
    cursor: pointer; 
    transition: 0.4s;
}
.hero button:hover { background: #000; color: #fff; }

/* =========================================
   4. SHOP GRID — CORRECTION IMAGE & CARTE
   ========================================= */
.container { max-width: 1100px; margin: 80px auto; padding: 0 40px; }

.section-title { 
    text-align: center; 
    font-family: var(--font-head); 
    font-size: 2.5rem; 
    letter-spacing: 5px; 
    margin-bottom: 60px; 
    color: #000;
    text-transform: uppercase;
}

.grid-products,
#product-list,
.grid-container {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    justify-content: center;
}

/* CARTE PRODUIT */
.product-card { 
    background: #fff; 
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
    cursor: pointer;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06); 
    border-radius: 4px; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12); 
}

.image-box {
    width: 100%;
    height: 260px;
    background: #f5f5f5; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

/* ✅ IMAGE : cover pour remplir sans dépasser */
.image-box img { 
    width: 100%;             /* ✅ Prend toute la largeur du cadre */
    height: 100%;            /* ✅ Prend toute la hauteur du cadre */
    object-fit: cover;       /* ✅ Remplit le cadre, recadre proprement */
    object-position: center; /* ✅ Centre l'image dans le cadre */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    mix-blend-mode: normal;  /* ✅ Normal pour photos produit réelles */
    display: block;
}

.product-card:hover .image-box img { transform: scale(1.05); }

/* TEXTES PRODUIT */
.product-info { 
    padding: 12px 15px 15px; 
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
} 

.product-info h3 { 
    font-family: var(--font-body);
    font-size: 0.85rem; 
    font-weight: 600; 
    letter-spacing: 0.5px;
    margin-bottom: 3px; 
    text-transform: uppercase;
    color: #000;
}
.product-info .category { 
    font-size: 0.65rem; 
    color: #999; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-bottom: 8px; 
    display: block;
}

/* PRIX NOIR */
.price { 
    font-family: var(--font-body);
    display: inline-block; 
    margin: 8px 0; 
    font-weight: 700; 
    font-size: 1.05rem; 
    color: #000 !important;
}

.old-price { 
    text-decoration: line-through; 
    color: #bbb; 
    font-weight: 300; 
    margin-right: 8px;
    font-size: 0.85rem;
}

.btn-add {
    width: 100%; 
    padding: 10px 15px; 
    background: #fff; 
    color: #000; 
    border: 1px solid #000;
    cursor: pointer; 
    text-transform: uppercase; 
    font-size: 0.7rem; 
    letter-spacing: 2px;
    transition: 0.3s;
    margin-top: 10px;
}
.btn-add:hover { background: #000; color: #fff; }

/* =========================================
   5. PANIER "DRAWER" 
   ========================================= */
.cart-modal {
    position: fixed; top: 0; right: -100%; 
    width: 100%; height: 100%;
    z-index: 2000;
    background: rgba(0,0,0,0.5); 
    transition: right 0s; 
}

.cart-modal.active { right: 0; }
.cart-modal.active .cart-content { right: 0; }

.cart-content {
    position: absolute; top: 0; right: -500px;
    width: 450px; height: 100%;
    background: #fff;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    display: flex; flex-direction: column;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.cart-content h3 { 
    font-family: var(--font-head); 
    font-size: 1.5rem; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 20px; 
    margin-bottom: 20px;
}

.close-cart { 
    position: absolute; top: 20px; right: 20px; 
    font-size: 2rem; cursor: pointer; color: #000; 
    line-height: 0.5;
}

#cart-items { flex: 1; overflow-y: auto; }

.cart-footer { margin-top: auto; border-top: 1px solid #eee; padding-top: 20px; }
.cart-total { 
    font-size: 1.5rem; font-weight: 700; color: #000; 
    display: flex; justify-content: space-between;
}

/* =========================================
   6. FOOTER
   ========================================= */
footer { 
    background: #000000;
    color: #fff; 
    padding: 80px 5% 20px; 
    margin-top: 100px; 
    border-top: 1px solid #1a1a1a;
}

.footer-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 50px; 
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-col h4 { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 25px; 
    color: #888; 
    font-weight: 700;
}

.footer-col p, .footer-links a {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 0.9rem;
}

.contact-list i {
    width: 25px;
    font-size: 1.1rem;
    color: #fff;
    margin-right: 10px;
    text-align: center;
}

.insta-link {
    display: flex; 
    align-items: center;
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover, .insta-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.copyright { 
    text-align: center; 
    margin-top: 60px; 
    padding-top: 20px; 
    border-top: 1px solid #111; 
    font-size: 0.7rem; 
    color: #444; 
    letter-spacing: 1px;
}

/* =========================================
   7. MODAL
   ========================================= */
.modal-overlay { 
    display: none; position: fixed; top: 0; left: 0; 
    width: 100%; height: 100%; background: rgba(0,0,0,0.8); 
    z-index: 3000; justify-content: center; align-items: center;
}

.modal-content { 
    background: #fff; padding: 50px; 
    width: 90%; max-width: 900px; 
    position: relative; 
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.close-modal { 
    position: absolute; top: 20px; right: 20px; 
    font-size: 2.5rem; cursor: pointer; color: #000;
}

/* =========================================
   8. RESPONSIVE MOBILE
   ========================================= */
@media (max-width: 900px) {
    .grid-products,
    #product-list,
    .grid-container { 
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; 
    }
}

@media (max-width: 600px) {
    .nav-links { display: none; } 
    .hero h2 { font-size: 2.5rem; }

    .grid-products,
    #product-list,
    .grid-container { 
        grid-template-columns: 1fr;
        gap: 20px; 
        padding: 0;
    }

    .image-box { 
        height: 340px;
    }

    .product-info {
        padding: 10px 10px 12px;
    }

    .product-info h3 {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .product-info .category {
        font-size: 0.6rem;
    }

    .price {
        font-size: 0.85rem;
    }

    .old-price {
        font-size: 0.72rem;
    }

    .btn-add {
        font-size: 0.62rem;
        padding: 9px;
        letter-spacing: 1px;
    }

    .cart-content { width: 100%; }
    .container { padding: 0 10px; margin: 30px auto; }
}

/* =========================================
   9. PRIX : NOIR & ANCIEN PRIX GRIS
   ========================================= */
.price-container,
.price-container span, 
span[style*="color:#d32f2f"],
.promo-price {
    color: #000000 !important; 
    font-weight: 700 !important;
    text-decoration: none !important;
}

.price-container .old-price, 
.old-price, 
del {
    color: #bbbbbb !important;
    text-decoration: line-through !important;
    font-weight: 300 !important;
    margin-right: 8px;
    font-size: 0.85rem;
}