/* style.css - Version unifiée et corrigée sans conflit z-index mobile */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --gold: #D4AF37;
    --gold-light: #E8D5A3;
    --gold-dark: #B8960C;
    --white: #F5F5F5;
    --black: #1A1A1A;
    --gray: #6B6B6B;
    --gray-light: #E0E0E0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Lato', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 600; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: 'Lato', sans-serif; background: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== SPECIAL OFFER BANNER ===== */
.offer-banner {
    background: var(--black);
    color: var(--gold);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1001;
}
.offer-banner span { font-weight: 700; }
.offer-banner .close-banner {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: var(--gold-light);
    font-size: 1.2rem;
    padding: 0 5px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 245, 245, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}
.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    cursor: pointer;
}
.nav-logo em { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links li a {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--black);
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: var(--transition);
}
.nav-links li a:hover::after,
.nav-links li a.active::after { width: 100%; }
.nav-links li a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 20px; }

.nav-search-btn {
    background: none;
    color: var(--black);
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 4px;
}
.nav-search-btn:hover { color: var(--gold); }

.nav-cart {
    position: relative;
    background: none;
    font-size: 1.3rem;
    color: var(--black);
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 4px;
}
.nav-cart:hover { color: var(--gold); }
.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--gold);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.cart-count.bump { animation: cartBump 0.3s ease; }
@keyframes cartBump {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.mobile-toggle { display: none; background: none; flex-direction: column; gap: 5px; padding: 5px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--black); transition: var(--transition); }

/* ===== STRUCTURE DU VOLET DE RECHERCHE DYNAMIQUE ===== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1501;
    background: white;
    padding: 20px;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.search-bar.open { transform: translateY(0); }
.search-bar-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-bar-inner input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition);
}
.search-bar-inner input:focus { outline: none; border-color: var(--gold); }
.search-close-btn {
    background: var(--black);
    color: white;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}
.search-close-btn:hover { background: var(--gold); color: var(--black); }
.search-results {
    max-width: 600px;
    margin: 15px auto 0;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    background: white;
    border-radius: 4px;
}
.search-results.active { display: block; }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    cursor: pointer;
    transition: var(--transition);
}
.search-result-item:hover { background: var(--white); }
.search-result-img { width: 55px; height: 55px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info h4 { font-size: 0.95rem; margin-bottom: 3px; font-weight: 600; }
.search-result-info p { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; }
.search-result-info .sr-price { color: var(--gold-dark); font-weight: 700; font-size: 0.9rem; font-family: 'Courier New', monospace; }
.search-no-results { text-align: center; padding: 30px 20px; color: var(--gray); font-size: 0.9rem; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/logo.png') center/cover no-repeat;
    opacity: 0.4;
    filter: blur(2px);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,26,26,0.3), rgba(26,26,26,0.7)); }
.hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 40px 20px; max-width: 700px; }
.hero-content h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 15px; line-height: 1.2; }
.hero-content h1 em { color: var(--gold); }
.hero-content p { font-size: 1.2rem; font-weight: 300; margin-bottom: 30px; opacity: 0.9; }
.hero-btn { display: inline-block; padding: 14px 40px; background: var(--gold); color: var(--black); font-weight: 700; font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; border-radius: 0; transition: var(--transition); }
.hero-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,175,55,0.3); }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; color: white; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.6; animation: scrollBounce 2s infinite; }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== SECTION STYLES ===== */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; margin-bottom: 10px; color: var(--black); }
.section-title .divider { width: 60px; height: 2px; background: var(--gold); margin: 15px auto; }
.section-title p { color: var(--gray); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ===== GRIDS & PRODUCT CARDS ===== */
.bestsellers-grid, .shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; padding: 20px 0; }
.product-card { background: white; border-radius: 4px; overflow: hidden; transition: var(--transition); cursor: pointer; position: relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.product-card-img { position: relative; overflow: hidden; aspect-ratio: 1; background: #f0f0f0; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-badge, .product-card-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: white; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; text-transform: uppercase; letter-spacing: 1px; }
.product-card-quick { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(26,26,26,0.85); color: white; padding: 12px; text-align: center; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; transform: translateY(100%); transition: var(--transition); }
.product-card:hover .product-card-quick { transform: translateY(0); }
.product-info { padding: 20px; }
.product-info h3 { font-size: 1.05rem; margin-bottom: 5px; font-weight: 600; }
.product-cat { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.5px; }
.product-price { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--gold-dark); font-weight: 600; }

/* ===== TRUST BADGES ===== */
.trust-section { background: white; padding: 50px 0; border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.trust-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.trust-icon svg { width: 40px; height: 40px; }
.trust-item h4 { font-size: 0.95rem; font-weight: 600; }
.trust-item p { font-size: 0.85rem; color: var(--gray); }

/* ===== TIROIRS CACHÉS ===== */
.search-overlay, .cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1500; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(2px); }
.search-overlay.open, .cart-overlay.open { opacity: 1; visibility: visible; }
.search-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1501; background: white; padding: 20px; transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.search-bar.open { transform: translateY(0); }
.search-bar-inner { max-width: 600px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.search-bar-inner input { flex: 1; padding: 12px 16px; border: 2px solid var(--gray-light); font-size: 1rem; border-radius: 4px; }
.search-bar-inner input:focus { outline: none; border-color: var(--gold); }
.search-close-btn { background: var(--black); color: white; padding: 12px 18px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; border-radius: 4px; }
.search-close-btn:hover { background: var(--gold); color: var(--black); }

.cart-sidebar { position: fixed; top: 0; right: -420px; width: 400px; max-width: 90vw; height: 100vh; background: white; z-index: 2001; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--gray-light); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--gray-light); align-items: center; }
.cart-item-img { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-item-qty button { width: 26px; height: 26px; border: 1px solid var(--gray-light); background: white; display: flex; align-items: center; justify-content: center; }
.cart-item-remove { background: none; color: var(--gray); font-size: 0.8rem; margin-top: 5px; cursor: pointer; }
.cart-item-remove:hover { color: #e74c3c; }
.cart-footer { padding: 20px; border-top: 1px solid var(--gray-light); background: white; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.cart-total span:last-child { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--gold-dark); }
.checkout-btn { width: 100%; padding: 14px; background: var(--gold); color: var(--black); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; transition: var(--transition); border-radius: 4px; }
.checkout-btn:hover { background: var(--gold-dark); color: white; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--black); color: white; }
.testimonials-section .section-title h2 { color: white; }
.testimonials-section .section-title p { color: rgba(255,255,255,0.6); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 30px; transition: var(--transition); }
.testimonial-stars { color: var(--gold); margin-bottom: 15px; font-size: 1.1rem; }
.testimonial-text { font-style: italic; font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; opacity: 0.9; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--black); }
.testimonial-author-info h4 { font-size: 0.9rem; font-weight: 600; }
.testimonial-author-info p { font-size: 0.8rem; opacity: 0.6; }

/* ===== SPECIAL OFFER ===== */
.special-offer { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); padding: 60px 0; text-align: center; color: var(--black); }
.special-offer h2 { font-size: 2.2rem; margin-bottom: 10px; }
.special-offer p { font-size: 1.1rem; margin-bottom: 25px; opacity: 0.85; }
.special-offer .offer-code { display: inline-block; background: var(--black); color: var(--gold); padding: 12px 30px; font-weight: 700; letter-spacing: 3px; border-radius: 4px; cursor: pointer; transition: var(--transition); }
.special-offer .offer-code:hover { transform: scale(1.05); }

/* ===== SHOP & PRODUCT DETAIL PAGES ===== */
.shop-header { background: var(--black); color: white; padding: 60px 0; text-align: center; }
.shop-filters { display: flex; justify-content: center; gap: 15px; padding: 30px 20px; flex-wrap: wrap; background: white; border-bottom: 1px solid var(--gray-light); position: sticky; top: 70px; z-index: 100; }
.filter-btn { padding: 8px 22px; border: 1.5px solid var(--gray-light); background: transparent; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); border-radius: 2px; }
.filter-btn:hover, .filter-btn.active { border-color: var(--gold); background: var(--gold); color: white; }
.shop-results { text-align: center; color: var(--gray); font-size: 0.9rem; padding-bottom: 10px; }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 40px 0; }
.product-main-img { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 4px; position: relative; }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnails { display: flex; gap: 10px; margin-top: 15px; }
.thumb-box { width: 70px; height: 70px; cursor: pointer; border-radius: 4px; overflow: hidden; background: white; transition: var(--transition); }
.product-details h1 { font-size: 1.8rem; margin-bottom: 10px; }

.product-price-tag {
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--gold-dark);
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.product-desc { color: var(--gray); line-height: 1.8; margin-bottom: 25px; }
.materials-list { list-style: none; margin-bottom: 25px; }
.materials-list li { padding: 6px 0; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; color: var(--gray); }
.materials-list li::before { content: '◆'; color: var(--gold); font-size: 0.6rem; }
.qty-btn { width: 40px; height: 40px; border: 1px solid var(--gray-light); background: white; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }
.qty-value { width: 50px; height: 40px; border: 1px solid var(--gray-light); border-left: none; border-right: none; text-align: center; font-size: 1rem; font-weight: 600; }
.add-to-cart-btn { width: 100%; padding: 16px; background: var(--black); color: white; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition); }
.add-to-cart-btn:hover { background: var(--gold); color: var(--black); }

/* ===== CART SIDEBAR COMPACT ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: -420px; width: 400px; max-width: 90vw; height: 100vh; background: white; z-index: 2001; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--gray-light); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--gray-light); align-items: center; }
.cart-item-img { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.cart-item-price { color: var(--gold-dark); font-weight: 600; font-size: 0.95rem; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-item-qty button { width: 26px; height: 26px; border: 1px solid var(--gray-light); background: white; display: flex; align-items: center; justify-content: center; }
.cart-item-remove { background: none; color: var(--gray); font-size: 0.8rem; margin-top: 5px; cursor: pointer; }
.cart-item-remove:hover { color: #e74c3c; }
.cart-footer { padding: 20px; border-top: 1px solid var(--gray-light); background: var(--white); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.cart-total span:last-child { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--gold-dark); }
.checkout-btn { width: 100%; padding: 14px; background: var(--gold); color: var(--black); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; transition: var(--transition); }
.checkout-btn:hover { background: var(--gold-dark); color: white; }
.payment-placeholders { display: flex; gap: 10px; margin-top: 12px; }
.payment-placeholder { flex: 1; padding: 8px; border: 1px solid var(--gray-light); text-align: center; font-size: 0.75rem; color: var(--gray); background: white; }

/* ===== RECAPITULATIF DE COMMANDE ===== */
.checkout-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; padding: 40px 0 80px; }
.checkout-form-section { display: flex; flex-direction: column; gap: 30px; }
.checkout-section-title { font-size: 1.2rem; padding-bottom: 10px; border-bottom: 1px solid var(--gray-light); margin-bottom: 20px; }
.order-summary { background: var(--white); border: 1px solid var(--gray-light); border-radius: 4px; padding: 30px; position: sticky; top: 100px; height: fit-content; }
.order-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-light); font-size: 0.9rem; }
.order-totals { margin-top: 20px; }
.order-totals .total-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; }
.order-totals .total-row.grand-total { border-top: 2px solid var(--black); margin-top: 10px; padding-top: 15px; font-weight: 700; font-size: 1.1rem; }
.order-totals .grand-total span:last-child { color: var(--gold-dark); font-family: 'Playfair Display', serif; }

/* ===== UTILITIES ===== */
.about-header { background: var(--black); color: white; padding: 60px 0; text-align: center; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 0; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group input, .form-group textarea { padding: 12px 16px; border: 1px solid var(--gray-light); font-size: 0.95rem; }
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.notification { position: fixed; bottom: 30px; right: 30px; background: var(--black); color: white; padding: 15px 25px; border-radius: 4px; font-size: 0.9rem; z-index: 3000; transform: translateY(100px); opacity: 0; transition: var(--transition); display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.notification.show { transform: translateY(0); opacity: 1; }
.notification .notif-icon { color: var(--gold); font-size: 1.2rem; }
.back-to-top { position: fixed; bottom: 30px; left: 30px; width: 44px; height: 44px; background: var(--gold); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 900; opacity: 0; visibility: hidden; transition: var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.zoom-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 3000; display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.zoom-modal.active { display: flex; }
.zoom-modal img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 4px; }

/* ===== FOOTER DESIGN SIGNATURE LOGO ===== */
.footer { background: var(--black); color: white; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.9rem; opacity: 0.6; line-height: 1.7; }
.footer-col h4 { font-size: 0.9rem; text-transform: uppercase; margin-bottom: 20px; color: var(--gold); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; opacity: 0.6; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-logo-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: white; margin-bottom: 15px; }
.footer-logo-title em { color: var(--gold); font-style: italic; }

.footer-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-top: 25px;
    opacity: 0.9;
    transition: var(--transition);
    display: block;
}
.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* =========================================================================
   📱 INTERACTION MOBILE SÉCURISÉE (NETTOYÉE ET UNIFIÉE)
   ========================================================================= */
@media (max-width: 900px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000 !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center;
        gap: 20px;
        position: relative;
        z-index: 1020 !important;
    }

    .nav-search-btn, .nav-cart, .mobile-toggle {
        cursor: pointer;
        position: relative;
        z-index: 1021 !important;
    }

    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 70px; 
        left: 0; 
        right: 0; 
        background: white; 
        padding: 20px; 
        gap: 15px; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
        z-index: 1010 !important;
    }

    /* Compatibilité avec les deux classes du projet */
    .nav-links.mobile-open,
    .nav-links.open { 
        display: flex !important; 
    }

    .mobile-toggle { 
        display: flex !important; 
        flex-direction: column;
        gap: 5px;
    }
    
    .mobile-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--black);
        transition: var(--transition);
    }

    /* Transformation en croix lors de l'activation */
    .mobile-toggle.open span:nth-child(1),
    .mobile-toggle.mobile-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-toggle.open span:nth-child(2),
    .mobile-toggle.mobile-open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.open span:nth-child(3),
    .mobile-toggle.mobile-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-content h1 { font-size: 2.2rem; }
    .about-story, .contact-layout, .product-layout { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .search-bar { padding: 15px; }
}

@media (max-width: 600px) {
    .nav-container { height: 60px; }
    .nav-logo { font-size: 1.2rem; }
    .nav-links.mobile-open, .nav-links.open { top: 60px; }
    .cart-sidebar { width: 100%; right: -105%; }
    .cart-sidebar.open { right: 0; }
    .hero-content h1 { font-size: 1.6rem; line-height: 1.3; }
    .section { padding: 40px 0; }
    .bestsellers-grid, .shop-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
    .testimonials-grid, .footer-grid { grid-template-columns: 1fr; }
    .footer-logo-img { height: 90px; margin-top: 20px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
}

/* Formulaires clients */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--black); }
.account-card input { padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Lato', sans-serif; width: 100%; box-sizing: border-box; transition: var(--transition); }
.account-card input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 5px rgba(197, 168, 128, 0.2); }

.btn-logout { background: none; border: 1px solid #ddd; color: var(--gray); padding: 10px 20px; cursor: pointer; border-radius: 4px; font-size: 0.8rem; margin-top: 30px; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.btn-logout:hover { color: var(--black); border-color: var(--black); background: #fcfcfc; }
.order-badge { background: var(--white); border: 1px solid var(--gold); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; }

/* Espace Privé */
.account-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.account-card { background: white; padding: 35px; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid var(--gray-light); }
.account-card h3 { font-size: 1.4rem; margin-bottom: 25px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; font-family: 'Playfair Display', serif; color: var(--black); }
.account-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }
.account-card .order-history { margin-top: 20px; }

/* ===== BOUTONS ET NOTIFICATIONS ===== */
.btn-black { background: var(--black); color: white; border: none; padding: 14px 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; border-radius: 4px; transition: var(--transition); font-size: 0.85rem; width: 100%; }
.btn-black:hover { background: var(--gold); }
.btn-outline { background: transparent; color: var(--black); border: 1px solid var(--black); padding: 14px 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; border-radius: 4px; transition: var(--transition); font-size: 0.85rem; width: 100%; }
.btn-outline:hover { background: var(--black); color: white; }

/* Styles partagés pour toutes les pages de contenu (CGV, Mentions Légales, Contact, Histoire) */
.page-content h2, .legal-content h2 { 
    font-size: 1.6rem; 
    margin: 30px 0 15px; 
    color: var(--black); 
    border-bottom: 1px solid var(--gray-light); 
    padding-bottom: 8px; 
}

.page-content h3, .legal-content h3 { 
    font-size: 1.1rem; 
    margin: 20px 0 10px; 
    color: var(--gold-dark); 
}

.page-content p, .legal-content p { 
    color: var(--gray); 
    margin-bottom: 15px; 
    line-height: 1.8; 
    text-align: justify; 
}
