/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --bg-black: #0F0F0F;
    --text-gold: #D4AF37;
    --text-white: #F5F5F5;
    --accent-dark: #1a1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden; 
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--text-gold); }

/* =========================================
   2. NAVIGATION
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--bg-black);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img { height: 60px; width: auto; object-fit: contain; }

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--text-white); text-decoration: none; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: var(--text-gold); }
.nav-links a.active { color: var(--text-gold); border-bottom: 1px solid var(--text-gold); }

/* Hamburger Menu (Hidden on Desktop) */
.hamburger { display: none; cursor: pointer; z-index: 1001; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: var(--text-gold); }
.nav-extras { display: flex; align-items: center; gap: 15px; }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('TEXTURE_DE_LUXE.jpeg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}
.hero h1 { font-size: 4rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; letter-spacing: 1px; }

/* =========================================
   4. BUTTONS & CONTROLS
   ========================================= */
.btn-primary { padding: 12px 30px; background-color: var(--text-gold); color: var(--bg-black); text-decoration: none; font-weight: bold; text-transform: uppercase; transition: 0.3s; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { background-color: #fff; }

.btn-secondary { 
    padding: 10px 20px; 
    background: transparent; 
    border: 1px solid var(--text-gold); 
    color: var(--text-gold); 
    cursor: pointer; 
    margin-top: 10px; 
    transition: 0.3s; 
    width: 100%; 
    max-width: 200px; 
}
.btn-secondary:hover { background: var(--text-gold); color: var(--bg-black); }
.btn-secondary:disabled { border-color: #555; color: #555; cursor: not-allowed; }

/* --- CARD ACTIONS (Centers Button & Qty) --- */
.card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    height: 45px; 
}

/* --- QTY SELECTOR --- */
/* Qty controls: hidden by default, shown by JS */
.qty-controls{
  display:none;
  align-items:center;
  justify-content:center;
  gap:10px;
}

/* When JS activates it */
.qty-controls.active{
  display:flex;
}

.product-card .qty-controls {
  display: none;
}

.product-card .qty-controls.active {
  display: flex;
}


.qty-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: transparent;
    width: 100%;
}

.qty-btn {
    background: transparent;
    border: 1px solid var(--text-gold);
    color: var(--text-gold);
    width: 35px; 
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    user-select: none;
}

.qty-btn:hover { background: var(--text-gold); color: #000; }
.qty-display { font-size: 1.2rem; font-weight: bold; color: var(--text-white); min-width: 30px; text-align: center; }

/* =========================================
   5. SHOP & PRODUCTS
   ========================================= */
.products { padding: 80px 50px; text-align: center; }
.products h2 { font-size: 2.5rem; margin-bottom: 50px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.product-card { background: var(--accent-dark); padding: 20px; border: 1px solid #333; transition: 0.3s; }
.product-card:hover { border-color: var(--text-gold); transform: translateY(-5px); }
.product-img { width: 100%; height: 250px; object-fit: conver; margin-bottom: 15px; border-bottom: 1px solid #333; }

/* Dropdown Styling */
.size-selector { 
    padding: 10px; 
    background-color: var(--bg-black); 
    color: var(--text-white); 
    border: 1px solid #444; 
    font-family: 'Montserrat', sans-serif; 
    margin: 10px auto; /* Centered */
    cursor: pointer; 
    outline: none; 
    width: 90%; 
    max-width: 250px; 
    text-align: center;
    text-align-last: center;
    display: block;
}
.size-selector option { text-align: center; }
.size-selector:hover, .size-selector:focus { border-color: var(--text-gold); }
.size-selector:disabled { opacity: 0.5; cursor: not-allowed; border-color: #333; }

/* =========================================
   6. SOCIALS
   ========================================= */
.socials { padding: 60px 20px; text-align: center; background-color: var(--accent-dark); border-top: 1px solid #333; }
.socials h2 { margin-bottom: 30px; font-size: 2rem; }
.social-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.social-btn { display: inline-block; padding: 12px 25px; text-decoration: none; color: var(--text-white); border: 1px solid #555; font-family: 'Montserrat', sans-serif; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; transition: 0.3s; }
.social-btn:hover { border-color: var(--text-gold); color: var(--text-gold); background-color: #222; }

/* =========================================
   7. CART PAGE
   ========================================= */
.cart-container { max-width: 800px; margin: 120px auto 50px; padding: 20px; background-color: var(--accent-dark); border: 1px solid #333; min-height: 400px; }
.cart-actions { display: flex; justify-content: space-between; margin-top: 30px; }

.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid #333; }

.remove-btn { 
    color: #ff4d4d; 
    background: none; 
    border: none; 
    cursor: pointer; 
    text-decoration: underline; 
    font-size: 0.9rem;
    margin-left: 15px;
}

.cart-total {
    text-align: right;
    font-size: 1.5rem;
    margin-top: 20px;
    color: var(--text-gold);
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    border-top: 1px solid #333;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .cart-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cart-item > div:last-child { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 5px; border-top: 1px solid #333; padding-top: 10px; }
    .remove-btn { margin: 0; font-size: 0.8rem; text-decoration: none; border: 1px solid #ff4d4d; padding: 5px 10px; border-radius: 4px; }
}

/* =========================================
   8. PRODUCT DETAILS & SLIDER
   ========================================= */
.page-container { padding: 80px 50px; min-height: 80vh; }
.pd-layout { display: flex; flex-wrap: wrap; gap: 50px; max-width: 1200px; margin: 0 auto; margin-bottom: 60px; }
.pd-image-container { flex: 1 1 400px; }
.main-pd-img { width: 100%; height: auto; border: 1px solid #333; padding: 10px; background: var(--accent-dark); }
.pd-info-container { flex: 1 1 400px; display: flex; flex-direction: column; justify-content: center; }
.pd-info-container h1 { font-size: 3rem; margin-bottom: 10px; }
.pd-price { font-size: 2rem; color: var(--text-gold); font-weight: bold; margin-bottom: 30px; }
.pd-description h3 { color: var(--text-white); margin-bottom: 10px; font-size: 1.2rem; }
.pd-description p { line-height: 1.8; color: #ccc; margin-bottom: 30px; }

/* Stats Grid */
.pd-stats-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.stat-box { background: var(--accent-dark); border: 1px solid #333; padding: 20px; border-radius: 4px; }
.stat-box h3 { font-size: 1.1rem; margin-bottom: 20px; border-bottom: 1px solid #444; padding-bottom: 10px; color: var(--text-gold); text-transform: uppercase; letter-spacing: 1px; }

.accord-item { margin-bottom: 15px; }
.accord-name { display: block; font-size: 0.9rem; margin-bottom: 5px; color: #ccc; }
.accord-bar-bg { width: 100%; height: 10px; background-color: #000; border-radius: 5px; overflow: hidden; }
.accord-bar-fill { height: 100%; background-color: var(--text-gold); border-radius: 5px; }

.profile-row { display: flex; justify-content: space-between; margin-bottom: 15px; color: #ccc; font-size: 0.9rem; }
.profile-row strong { color: var(--text-white); }
.profile-row i { color: var(--text-gold); margin-right: 8px; }

.day-night-selector { display: flex; gap: 10px; margin-bottom: 20px; }
.dn-pill { flex: 1; text-align: center; padding: 8px; border: 1px solid #444; color: #666; border-radius: 4px; opacity: 0.5; font-size: 0.9rem; }
.dn-pill.active { border-color: var(--text-gold); color: var(--text-gold); opacity: 1; font-weight: bold; background: #222; }

.seasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.season-pill { text-align: center; padding: 8px; border: 1px solid #444; color: #666; border-radius: 4px; font-size: 0.85rem; opacity: 0.5; }
.season-pill.active { background-color: var(--text-gold); color: #000; border-color: var(--text-gold); opacity: 1; font-weight: bold; }

.notes-section { margin-bottom: 15px; }
.notes-section h4 { color: #fff; font-size: 0.9rem; margin-bottom: 5px; text-transform: uppercase; opacity: 0.8; }
.notes-section p { color: #aaa; font-size: 0.9rem; line-height: 1.4; }

/* Pack Slider */
.pack-slider { position: relative; width: 100%; height: 250px; background-color: #000; margin-bottom: 20px; border: 1px solid #333; overflow: hidden; }
.slides-wrapper { width: 100%; height: 100%; position: relative; }
.pack-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: none; padding: 10px; }
.pack-slide.active { display: block; animation: fadeEffect 0.5s; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.5); color: var(--text-gold); border: none; font-size: 1.5rem; padding: 10px; cursor: pointer; z-index: 10; transition: 0.3s; }
.slider-btn:hover { background-color: var(--text-gold); color: #000; }
.prev-btn { left: 0; }
.next-btn { right: 0; }
@keyframes fadeEffect { from {opacity: .4} to {opacity: 1} }

/* =========================================
   9. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .navbar { padding: 15px 20px; position: sticky; top: 0; z-index: 1000; }
    .hamburger { display: block; }
    .nav-links {
        display: none; position: fixed; top: 100px; left: 0; width: 100%;
        flex-direction: column; background-color: var(--bg-black);
        border-bottom: 1px solid var(--text-gold); padding: 20px 0; z-index: 999; gap: 0;
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; width: 100%; text-align: center; }
    .hero { height: 60vh; }
    .hero h1 { font-size: 2.5rem; }
    .products, .page-container { padding: 40px 20px; }
    .cart-container { width: 95%; margin: 20px auto; }
    .cart-actions { flex-direction: column; gap: 15px; }
    .cart-actions button, .cart-actions a { width: 100%; text-align: center; }
    .social-links { flex-direction: column; }
    .social-btn { width: 100%; }
    .pd-layout { flex-direction: column; gap: 30px; }
    .pd-info-container h1 { font-size: 2.2rem; }
    .pd-price { font-size: 1.5rem; }
    .pd-stats-container { grid-template-columns: 1fr; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* =========================================
   10. FOOTER & BENEFITS
   ========================================= */
.benefits-bar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
    padding: 40px 20px; background-color: var(--bg-black); border-bottom: 1px solid #333;
}
.benefit-item {
    display: flex; align-items: center; gap: 15px; background: var(--accent-dark);
    border: 1px solid #333; padding: 20px; flex: 1 1 300px; max-width: 400px; transition: 0.3s;
}
.benefit-item:hover { border-color: var(--text-gold); }
.benefit-icon { font-size: 2rem; color: var(--text-gold); }
.benefit-text h3 { font-size: 0.9rem; margin-bottom: 5px; color: var(--text-gold); text-transform: uppercase; font-family: 'Playfair Display', serif; }
.benefit-text p { font-size: 0.8rem; color: #ccc; }

footer { background-color: var(--bg-black); color: #ccc; padding: 60px 20px 20px; border-top: 1px solid #333; font-family: 'Montserrat', sans-serif; }
.footer-container { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding-bottom: 40px; border-bottom: 1px solid #333; }
.footer-col { flex: 1; padding: 0 20px; text-align: center; border-right: 1px solid #444; display: flex; flex-direction: column; align-items: center; }
.footer-col:last-child { border-right: none; }
.footer-logo { max-width: 150px; height: auto; filter: grayscale(100%) brightness(1.2); transition: 0.3s; }
.footer-logo:hover { filter: none; }
.footer-col h4 { color: var(--text-gold); font-size: 0.95rem; margin-bottom: 15px; text-transform: uppercase; font-weight: bold; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #ccc; font-size: 0.8rem; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--text-gold); }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 0.75rem; color: #666; }

@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap: 30px; }
    .footer-col { border-right: none; border-bottom: 1px solid #333; padding-bottom: 30px; }
    .footer-col:last-child { border-bottom: none; }
}

/* =========================================
   11. WIDGETS (CHATBOT & WHATSAPP)
   ========================================= */
.chatbot-container { position: fixed; bottom: 20px; left: 20px; z-index: 2000; font-family: 'Montserrat', sans-serif; }
.chatbot-toggle-btn {
    width: 50px; height: 50px; border-radius: 50%; background-color: var(--text-gold); color: var(--bg-black);
    border: none; box-shadow: 0 4px 10px rgba(0,0,0,0.3); cursor: pointer; display: flex; align-items: center;
    justify-content: center; font-size: 24px; transition: all 0.3s ease;
}
.chatbot-toggle-btn:hover { transform: scale(1.1); background-color: #fff; }

.chat-window {
    position: absolute; bottom: 70px; left: 0; width: 320px; max-height: 450px;
    background-color: var(--accent-dark); border: 1px solid #333; border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); display: none; flex-direction: column;
    overflow: hidden; animation: slideUp 0.3s ease forwards;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.chat-header { background-color: var(--bg-black); padding: 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; }
.chat-title { display: flex; align-items: center; gap: 10px; font-weight: bold; color: var(--text-white); font-size: 0.9rem; }
.close-chat-btn { background: none; border: none; color: #888; cursor: pointer; font-size: 1.1rem; }
.close-chat-btn:hover { color: var(--text-gold); }

.chat-body { padding: 15px; overflow-y: auto; flex-grow: 1; display: flex; flex-direction: column; gap: 15px; }
.bot-message, .user-message-bubble { max-width: 85%; padding: 10px 15px; border-radius: 15px; font-size: 0.85rem; line-height: 1.4; animation: fadeIn 0.3s ease; }
.bot-message { background-color: #333; color: #ddd; align-self: flex-start; border-bottom-left-radius: 2px; }
.user-message-bubble { background-color: var(--text-gold); color: var(--bg-black); align-self: flex-end; border-bottom-right-radius: 2px; font-weight: 500; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

.chat-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.chat-option-btn {
    background-color: transparent; border: 1px solid var(--text-gold); color: var(--text-gold); padding: 8px 5px;
    border-radius: 20px; cursor: pointer; font-size: 0.75rem; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.chat-option-btn:hover { background-color: var(--text-gold); color: var(--bg-black); }

.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background-color: #25D366; color: #FFF;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 2000; transition: transform 0.3s ease; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* =========================================
   12. MODAL & CLONES STYLE
   ========================================= */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-content { background-color: #1a1a1a; margin: 10% auto; padding: 30px; border: 1px solid #D4AF37; width: 90%; max-width: 500px; border-radius: 8px; text-align: center; position: relative; box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
.close-btn { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; position: absolute; right: 20px; top: 10px; }
.close-btn:hover { color: #D4AF37; }
.modal-selectors label { display: block; text-align: left; color: #D4AF37; margin-top: 15px; font-size: 0.9rem; }

/* Clone Specifics */
.clone-stats-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; padding: 20px; background: #111; border: 1px solid #D4AF37; }
.clone-header { text-align: center; border-bottom: 1px solid #333; padding-bottom: 20px; margin-bottom: 20px; }
.clone-inspiration { color: #aaa; font-style: italic; font-size: 1.1rem; }
.clone-inspiration strong { color: #D4AF37; }
.clone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.clone-box h3 { color: #fff; border-left: 3px solid #D4AF37; padding-left: 10px; margin-bottom: 15px; text-transform: uppercase; font-size: 1rem; }
.clone-notes-list, .clone-accords-tags { list-style: none; padding: 0; }
.clone-notes-list li { margin-bottom: 8px; color: #ccc; border-bottom: 1px solid #222; padding-bottom: 5px; }
.clone-accords-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.clone-tag { background: #222; color: #D4AF37; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; border: 1px solid #444; }
.hidden-section { display: none !important; }
@media (max-width: 768px) { .clone-grid { grid-template-columns: 1fr; } }

/* =========================================
   13. THEME: SILVER (CLONES)
   ========================================= */
body.silver-theme { --text-gold: #E0E0E0; }
body.silver-theme h1, body.silver-theme h2, body.silver-theme h3,
body.silver-theme .nav-links a:hover, body.silver-theme .nav-links li a.active,
body.silver-theme #lang-switch { color: #E0E0E0 !important; }

body.silver-theme .navbar, body.silver-theme #lang-switch,
body.silver-theme .product-card, body.silver-theme .btn-secondary,
body.silver-theme .pack-slider { border-color: #555 !important; }

body.silver-theme .btn-secondary { color: #E0E0E0 !important; border: 1px solid #777 !important; transition: all 0.3s ease; }
body.silver-theme .btn-secondary:hover { background-color: #E0E0E0 !important; color: #000 !important; box-shadow: 0 0 15px rgba(224, 224, 224, 0.4); }

body.silver-theme .slider-btn { color: #fff !important; }
body.silver-theme .slider-btn:hover { background: rgba(255, 255, 255, 0.2); }
body.silver-theme .chatbot-toggle-btn { background: #333; color: #E0E0E0; border: 1px solid #555; }

/* Silver Product Details specific overrides */
body.silver-theme .clone-stats-container { border-color: #555 !important; }
body.silver-theme .clone-header h2, body.silver-theme .clone-box h3, 
body.silver-theme .clone-box h3 i { color: #E0E0E0 !important; }
body.silver-theme .clone-box h3 { border-left-color: #E0E0E0 !important; }
body.silver-theme .clone-inspiration strong { color: #fff !important; }
body.silver-theme .clone-box div[style*="border"] { border-color: #555 !important; }
body.silver-theme .clone-tag { color: #E0E0E0 !important; border: 1px solid #555 !important; background-color: #222 !important; }


/* =========================================
   14. THEME: ROSE GOLD LUXE (FEMME)
   ========================================= */
body.rose-theme {
    --text-gold: #EA9AB2; /* Rose Vibrant */
}

/* --- Typographie & Couleurs de base --- */
body.rose-theme h1, 
body.rose-theme h2, 
body.rose-theme h3,
body.rose-theme h4,
body.rose-theme .nav-links a.active,
body.rose-theme .nav-links a:hover,
body.rose-theme #lang-switch,
body.rose-theme .benefit-icon, 
body.rose-theme .benefit-text h3 {
    color: #EA9AB2 !important;
}

body.rose-theme h1, 
body.rose-theme h2, 
body.rose-theme h3 {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    letter-spacing: 1px !important; /* Espacement élégant */
    text-shadow: 0 0 10px rgba(234, 154, 178, 0.3); /* Légère aura lumineuse */
}

/* --- Bordures & Cadres --- */
body.rose-theme .navbar,
body.rose-theme .product-card,
body.rose-theme .btn-secondary, 
body.rose-theme .chat-option-btn,
body.rose-theme #lang-switch {
    border-color: #EA9AB2 !important;
}

/* --- Glassmorphism (Effet Verre) pour les boîtes de détails --- */
body.rose-theme .pd-box,
body.rose-theme .stat-box {
    border-radius: 30px !important;
    border: 1px solid rgba(234, 154, 178, 0.2) !important;
    background: linear-gradient(145deg, rgba(30,30,30,0.9), rgba(10,10,10,0.95)) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(234, 154, 178, 0.05) !important;
}

/* --- Images Arrondies --- */
body.rose-theme .pd-image-container img {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(234, 154, 178, 0.2);
}

/* --- Boutons "Add to Cart" --- */
body.rose-theme .btn-secondary,
body.rose-theme #add-to-cart-btn {
    border-radius: 50px !important;
    color: #EA9AB2 !important;
    font-weight: 400 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Effet spécial sur le bouton Ajouter au Panier (Page Détails) */
body.rose-theme #add-to-cart-btn {
    background-color: #EA9AB2 !important;
    color: #000 !important;
    font-weight: 600 !important;
    box-shadow: 0 0 25px rgba(234, 154, 178, 0.4) !important;
    border: none !important;
}

body.rose-theme #add-to-cart-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(234, 154, 178, 0.7) !important;
}

/* Hover classique pour les autres boutons secondaires */
body.rose-theme .btn-secondary:hover {
    background-color: #EA9AB2 !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(234, 154, 178, 0.4);
}

/* --- Barres de Progression & Sélecteurs --- */
body.rose-theme .accord-bar-fill {
    background: linear-gradient(90deg, #EA9AB2, #fff) !important;
    box-shadow: 0 0 10px rgba(234, 154, 178, 0.5);
    border-radius: 10px !important;
}

body.rose-theme .accord-bar-bg {
    border-radius: 10px !important;
    height: 6px !important;
}

body.rose-theme select {
    border-radius: 15px !important;
    border: 1px solid rgba(234, 154, 178, 0.5) !important;
}

/* --- Chatbot & Extras --- */
body.rose-theme .chatbot-toggle-btn {
    background-color: #EA9AB2 !important;
    color: #000 !important;
}

body.rose-theme .user-message-bubble {
    background-color: #EA9AB2 !important;
    color: #000 !important;
}

body.rose-theme .dn-pill, 
body.rose-theme .season-pill {
    border-radius: 20px !important;
}

body.rose-theme .dn-pill.active, 
body.rose-theme .season-pill.active {
    background-color: rgba(234, 154, 178, 0.15) !important;
    border-color: #EA9AB2 !important;
    color: #EA9AB2 !important;
}

.pack-slide {
    object-fit: cover !important; 
    width: 100% !important;
    height: 100% !important;
}

/* (Optionnel) Ajoute la même bordure en bas que les images normales */
.pack-slider {
    border-bottom: 1px solid #333 !important;
    background-color: var(--accent-dark) !important; /* Même fond que la carte */
}

#Dupe .pack-slide {
    object-fit: fill !important;  /* Étire l'image pour remplir tout le cadre */
}

#Clones .pack-slide {
    object-fit: cover !important; 
    width: 100% !important;
    height: 100% !important;
    transform: scale(1.1); /* Petite astuce : zoome à 110% pour manger les bordures */
}

/* =============================================
   CORRECTION FORME SLIDER (BOÎTE CARRÉE)
   ============================================= */

/* 1. On change la forme de la boîte pour qu'elle soit CARRÉE */
.pd-image-container .pack-slider {
    height: auto !important;        /* On ignore la hauteur fixe de 400px */
    aspect-ratio: 1 / 1 !important; /* Force un ratio Carré parfait */
    width: 100% !important;
    max-width: 500px;               /* Limite la taille pour pas que ce soit géant */
    margin: 0 auto 20px;            /* Centre la boîte */
    border: 1px solid #333;         /* Petit cadre propre */
    border-radius: 10px;            /* Coins arrondis */
}

/* 2. Maintenant, l'image remplit tout parfaitement */
.pd-image-container .pack-slide {
    object-fit: cover !important;   /* Remplir le carré (comme l'image est carrée, ça ne coupera rien !) */
    border-radius: 10px;            /* Suit l'arrondi du cadre */
}

/* =========================================
   PRODUCT PAGE STYLES (Added Fix)
   ========================================= */

/* Main Container - Splits screen in two */
.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    gap: 40px;
}

/* Left: Images */
.detail-images {
    flex: 1;
    min-width: 300px;
}
.main-image-frame {
    width: 100%;
    height: 500px; /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000; /* Black background for images */
    border: 1px solid #333;
    margin-bottom: 15px;
    overflow: hidden;
}
.main-image-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.thumbnail-row {
    display: flex;
    gap: 10px;
}
.thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #555;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}
.thumb:hover { opacity: 1; border-color: #D4AF37; }

/* Right: Info */
.detail-info {
    flex: 1;
    min-width: 300px;
    color: #fff;
}
.breadcrumb { color: #888; font-size: 0.9rem; margin-bottom: 10px; }
.detail-info h1 {
    font-size: 2.5rem;
    color: #D4AF37; /* Gold Title */
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}
.quote-text {
    font-style: italic;
    color: #ccc;
    border-left: 3px solid #D4AF37;
    padding-left: 10px;
    margin: 15px 0;
}
.price-display {
    font-size: 2rem;
    color: #fff;
    margin: 20px 0;
}

/* Selectors & Buttons */
.selectors { margin-bottom: 20px; }
.main-selector {
    padding: 12px;
    width: 100%;
    max-width: 300px;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #D4AF37;
    font-size: 1rem;
}
.action-area {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

/* Description & Stats */
.description-box {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #ddd;
}
.description-box h3 { color: #D4AF37; margin-bottom: 10px; }

/* Stats Grid (Season, Longevity) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    background: #111;
    padding: 20px;
    border: 1px solid #333;
}
.stat-item span { display: block; color: #888; font-size: 0.85rem; margin-bottom: 5px; }
.stat-item p { margin: 0; font-weight: bold; color: #fff; }

/* Accords Bars (The Visual Bars) */
.accords-section h3 { color: #D4AF37; margin-bottom: 15px; }
.accord-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.accord-row span {
    width: 120px;
    font-size: 0.9rem;
    color: #ccc;
}
.progress-bg {
    flex: 1;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37, #F8E71C); /* Gold Gradient */
    width: 0%; /* Default, JS/PHP sets this */
}

/* Clone Technical Sheet (Silver Theme Tags) */
.tech-sheet {
    background: #111;
    padding: 20px;
    border: 1px solid #555;
    margin-top: 20px;
}
.tags-container { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.tag {
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid #777;
}

/* THEME OVERRIDES */
/* Silver Theme (Clones) */
.silver-theme .detail-info h1, 
.silver-theme .description-box h3,
.silver-theme .accords-section h3 { color: #C0C0C0 !important; }
.silver-theme .main-selector,
.silver-theme .thumb:hover { border-color: #C0C0C0 !important; }

/* Rose Theme (Women) */
.rose-theme .detail-info h1,
.rose-theme .description-box h3,
.rose-theme .accords-section h3 { color: #EFB8C8 !important; }
.rose-theme .main-selector,
.rose-theme .thumb:hover { border-color: #EFB8C8 !important; }
.rose-theme .progress-fill { background: linear-gradient(90deg, #EFB8C8, #FFD1DC) !important; }

.nav-links a.cart-link {
  position: relative;
}

#cart-count {
  font-weight: 700;
}

/* ================================
   ABOUT PAGE (OLD DESIGN RESTORE)
================================ */

/* Main page container */
.about-page-container {
  padding: 70px 20px;
  min-height: calc(100vh - 120px);
  background: #0f0f0f;
}

/* About Title */
.page-container h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: #D4AF37;
  text-align: center;
  margin-bottom: 40px;
}

/* Text content container */
.text-content {
  max-width: 850px;
  margin: 0 auto;
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.9;
}

/* Highlight box ("Our Unique Concept") */
.text-content > div {
  background: #151515;
  padding: 25px;
  border-left: 4px solid #D4AF37;
  border-radius: 10px;
  margin: 35px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Highlight box title */
.text-content > div h3 {
  color: #D4AF37;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}

/* Paragraphs */
.text-content p {
  color: #ccc;
  margin-bottom: 20px;
}

/* List inside concept box */
.text-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.text-content ul li {
  margin-bottom: 15px;
  color: #ccc;
}

/* Closing quote */
.text-content p[style*="italic"] {
  margin-top: 45px;
  text-align: center;
  font-size: 1.15rem;
  color: #D4AF37;
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-container h1 {
    font-size: 2.2rem;
  }
  .text-content {
    font-size: 1rem;
    line-height: 1.7;
  }
}


/* SILVER BUTTON (For Clones Page) */
.silver-mode {
    background: transparent !important;
    border: 1px solid #C0C0C0 !important; /* Silver Border */
    color: #C0C0C0 !important;            /* Silver Text */
    padding: 5px 15px;                    /* Matches the Gold button size */
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

.silver-mode:hover {
    background-color: #C0C0C0 !important; /* Solid Silver on Hover */
    color: #000 !important;               /* Black Text on Hover */
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5); /* Soft Silver Glow */
}

/* CLONES SPECIFIC IMAGE STYLE */
.product-card-clones img {
    width: 100%;
    height: 300px;          /* Matches the height of the Men's cards */
    object-fit: contain;    /* Shows the WHOLE bottle (no cutting) */
    background-color: #000; /* Fills the empty side gaps with seamless Black */
    padding: 5px;           /* Tiny padding so the bottle doesn't touch the edge */
}

/* INSTAGRAM STYLE DONATION BUTTON */
.donation-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0 40px 0; /* Space at the bottom */
    background-color: transparent; /* Blends with footer */
}

.btn-donate-instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    /* Shape & Size */
    width: 90%;
    max-width: 350px; /* Looks good on desktop too */
    padding: 12px 0;
    border-radius: 8px; /* Soft corners like IG */
    
    /* Colors */
    background-color: transparent;
    border: 1px solid #D4AF37; /* Gold Border */
    color: #D4AF37; /* Gold Text */
    
    /* Font */
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-donate-instagram:hover {
    background-color: #D4AF37;
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); /* Gold Glow */
}

.product-disclaimer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #333;
    font-size: 0.65rem; /* Slightly smaller to fit the long text */
    color: #888;
    font-style: italic;
    line-height: 1.3;
    opacity: 0.9;
    text-align: justify; /* Makes the block of text look neater */
}

/* CUSTOM PACK BUILDER (NETLIFY STYLE) */
.custom-pack-section {
    width: 100%;
    background-color: #0d0d0d; /* Deep Black */
    padding: 60px 20px;
    margin: 40px 0;
    text-align: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.pack-title {
    color: #D4AF37; /* Gold */
    font-size: 2rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.pack-subtitle {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 1rem;
}

.pack-selectors {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Stacks on mobile */
    margin-bottom: 30px;
}

.selector-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 250px;
}

.selector-group label {
    color: #D4AF37;
    font-size: 0.8rem;
    margin-bottom: 5px;
    margin-left: 2px;
}

.selector-group select {
    background: #1a1a1a;
    color: white;
    border: 1px solid #444;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

.selector-group select:focus {
    border-color: #D4AF37;
}

.pack-footer h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.btn-pack {
    background-color: #D4AF37;
    color: black;
    padding: 15px 40px;
    border: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    border-radius: 4px;
}

.btn-pack:hover {
    background-color: #b5952f;
    transform: scale(1.05);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
    text-align: center;
}
.note-card {
    background: rgba(212, 175, 55, 0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.note-card i {
    color: var(--text-gold);
    display: block;
    margin-bottom: 5px;
}
.note-label {
    font-size: 0.8em;
    text-transform: uppercase;
    color: #888;
}
.note-values {
    font-size: 0.9em;
    font-weight: bold;
    margin: 5px 0 0 0;
}

/* Container Spécifique Pack */
.pack-detail-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 150px auto 80px;
    gap: 80px; /* Espace large entre image et texte */
    padding: 0 40px;
}

/* Colonne Image (Réduite) */
.pack-media-column {
    flex: 0 0 35%; /* L'image prend seulement 35% */
}

.pack-img-container img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Coins plus carrés pour un look luxe */
    filter: brightness(0.9);
}

/* Colonne Texte (Élargie) */
.pack-text-column {
    flex: 1; /* Prend tout l'espace restant */
    display: flex;
    flex-direction: column;
}

.pack-breadcrumb {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 15px;
}

.pack-title {
    font-size: 3rem;
    color: var(--text-gold);
    margin-bottom: 30px;
    font-weight: 300;
}

.pack-main-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #eee;
    margin-bottom: 40px;
}

.pack-whats-inside {
    border-left: 2px solid var(--text-gold);
    padding-left: 25px;
    margin-bottom: 40px;
}

.pack-whats-inside h4 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-gold);
}

.verdict-content {
    font-style: italic;
    color: #bbb;
}

.pack-caption-box {
    margin-top: auto;
    padding: 15px 0;
    border-top: 1px solid #222;
}

.pack-buy-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.pack-price {
    font-size: 2rem;
    font-weight: bold;
}

.btn-pack-add {
    background: white;
    color: black;
    border: none;
    padding: 18px 45px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-pack-add:hover {
    background: var(--text-gold);
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .pack-detail-wrapper {
        flex-direction: column;
        margin-top: 100px;
        gap: 40px;
    }
    .pack-media-column { flex: 1; max-width: 300px; margin: 0 auto; }
}

.btn-view-details {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border: 1px solid #eff236; /* Or your brand's primary color */
    text-decoration: none;
    color: #D4AF37;
    font-size: 0.8rem;
    /*text-transform: lowercase;*/
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-view-details:hover {
    background-color: #000;
    color: #fff;
}
.btn-view-details_clones {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    /*border: 1px solid #7a9609; /* Or your brand's primary color */
    text-decoration: none;
    color: #909090;
    font-size: 0.8rem;
    /*text-transform: lowercase;*/
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-view-details_clones:hover {
    /*background-color: #cdc8c8;*/
    color: #797878;
}