/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */
:root {
    --gold-lux: #D4AF37; 
    --gold-hover: #F3C644;
    --elegant-dark: #111111; 
    --nude-bg: #FDFBF7; 
    --shadow-soft: rgba(0, 0, 0, 0.06);
    --shadow-gold: rgba(212, 175, 55, 0.3);
}

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

body { background-color: var(--nude-bg); color: var(--elegant-dark); line-height: 1.6; overflow-x: hidden; position: relative; z-index: 0; }
body.lang-ar { font-family: 'Tajawal', sans-serif; }
body.lang-fr { font-family: 'Montserrat', sans-serif; }

/* Gestion multilingue */
body.lang-ar .fr { display: none !important; }
body.lang-fr .ar { display: none !important; }

/* FOND LUXE STATIQUE */
.fragrance-bg { 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none;
    background: linear-gradient(135deg, #FDFBF7 0%, #EADCC4 50%, #FDFBF7 100%); 
}

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.glass-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: rgba(253, 251, 247, 0.95); border-bottom: 1px solid rgba(212, 175, 55, 0.2); position: relative; z-index: 100; box-shadow: 0 4px 20px var(--shadow-soft); backdrop-filter: blur(10px); }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; letter-spacing: 0.5px; cursor: pointer; text-decoration: none; }
.logo-img { height: 48px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4)); transition: transform 0.4s ease; }
.logo:hover .logo-img { transform: scale(1.08) rotate(-3deg); }
.logo-text strong { color: var(--gold-lux); font-weight: 700; }

nav { display: flex; align-items: center; gap: 24px; }
nav a { color: var(--elegant-dark); text-decoration: none; font-weight: 600; transition: 0.3s; font-size: 0.95rem; position: relative;}
nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--gold-lux); transition: width 0.3s; }
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--gold-lux); }

.lang-switch-container { display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,0.04); padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(212, 175, 55, 0.3);}
.lang-label { font-size: 0.75rem; font-weight: 800; color: #444; }
.switch { position: relative; display: inline-block; width: 36px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #CCC; transition: .4s; border-radius: 20px; }
.slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.2);}
input:checked + .slider { background-color: var(--gold-lux); box-shadow: 0 0 10px var(--shadow-gold); }
input:checked + .slider:before { transform: translateX(16px); }

/* ==========================================================================
   HERO, MARQUEE & FEATURES (PC)
   ========================================================================== */
.hero { text-align: center; padding: 80px 20px 60px; max-width: 1000px; margin: 0 auto;}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 800; color: var(--elegant-dark); text-shadow: 0 5px 15px rgba(0,0,0,0.05); line-height: 1.2;}
.hero p { font-size: 1.2rem; color: #555; max-width: 800px; margin: 0 auto; line-height: 1.8;}

.marquee-middle { width: 100%; overflow: hidden; white-space: nowrap; padding: 25px 0; margin-bottom: 20px; background: #050505; border-top: 2px solid var(--gold-lux); border-bottom: 2px solid var(--gold-lux); box-shadow: 0 15px 35px rgba(0,0,0,0.3); direction: ltr; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: scrollMarquee 25s linear infinite; }
.marquee-content { display: flex; align-items: center; }
.brand-name { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; letter-spacing: 5px; color: var(--gold-lux); font-weight: 700; margin: 0 30px; text-transform: uppercase; }
.marquee-item { margin: 0 15px; position: relative; display: flex; align-items: center; justify-content: center;}
.marquee-item img { height: 75px; width: 75px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold-lux); padding: 2px; transition: 0.4s; background: #000; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.trust-badges { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: -20px auto 40px auto; padding: 0 5%; max-width: 1200px; position: relative; z-index: 5; scroll-behavior: smooth; }
.trust-badge { background: #fff; border: 1px solid rgba(212,175,55,0.3); border-radius: 16px; padding: 25px 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); flex: 1; min-width: 280px; transition: transform 0.3s;}
.trust-badge:hover { transform: translateY(-5px); border-color: var(--gold-lux); }
.trust-badge i { font-size: 2.2rem; color: var(--gold-lux); }
.trust-badge-text h4 { margin: 0 0 5px 0; font-size: 1.05rem; color: var(--elegant-dark); font-weight: 800; }
.trust-badge-text p { margin: 0; font-size: 0.85rem; color: #666; line-height: 1.4;}

/* SECTION FEATURES PC */
.features { display: flex; justify-content: center; gap: 30px; margin: 0 auto 40px auto; max-width: 1200px; padding: 0 5%; }
.feature-box { flex: 1; background: #fff; border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 16px; padding: 20px; text-align: center; box-shadow: 0 5px 15px var(--shadow-soft); }
.feature-box i { font-size: 2rem; color: var(--gold-lux); margin-bottom: 10px; }
.feature-box h4 { margin-bottom: 5px; color: var(--elegant-dark); }

/* ==========================================================================
   GRILLES DE PRODUITS (PC)
   ========================================================================== */
.catalog-container { padding: 40px 5% 80px; max-width: 1400px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 50px; color: var(--elegant-dark); font-weight: 800; }

.grid, .flash-sales-container, .horizontal-scroll-mobile { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px; 
    justify-content: center; 
    width: 100%;
}

.btn-catalog { display: inline-flex; justify-content: center; align-items: center; background: #FFF; color: var(--elegant-dark); border: 2px solid var(--gold-lux); padding: 18px 50px; border-radius: 40px; text-decoration: none; font-weight: 700; font-size: 1.15rem; transition: 0.4s; box-shadow: 0 10px 25px var(--shadow-soft); font-family: inherit;}
.btn-catalog:hover { background: linear-gradient(135deg, #D4AF37 0%, #F9E596 50%, #D4AF37 100%); border-color: transparent; color: #111; box-shadow: 0 15px 35px var(--shadow-gold); transform: translateY(-4px);}

/* ==========================================================================
   CARTES PRODUITS & BOUTONS PC
   ========================================================================== */
.pro-card, .animated-product-card { 
    background: rgba(255,255,255,0.95); border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 20px; padding: 25px; 
    text-align: center; transition: all 0.4s ease; position: relative; box-shadow: 0 10px 30px var(--shadow-soft); 
    display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}
.pro-card:hover, .animated-product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px var(--shadow-gold); border-color: var(--gold-lux); z-index: 2;}

.pro-card .product-img, .animated-product-card .product-img { width: 100%; height: 280px; object-fit: contain; transition: transform 0.5s ease; border-radius: 12px; padding: 15px; background: #fff;}
.pro-card:hover .product-img { transform: scale(1.08); }

.pro-card h3, .animated-product-card h3 { font-size: 1.1rem; margin: 15px 0; color: #111; min-height: 45px; display: flex; align-items: center; justify-content: center; }

.price-container { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 20px; direction: ltr; }
.price-amount { color: var(--elegant-dark); font-size: 1.8rem; font-weight: 800; }
.price-currency { color: var(--gold-lux); font-size: 1.2rem; font-weight: 700; }
.old-price { text-decoration: line-through; color: #aaa; font-size: 1rem; margin-right: 15px; font-weight: 500;}

.badge { position: absolute; top: 15px; background: #E74C3C; color: #FFF; padding: 6px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 800; z-index: 4; box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);}
body.lang-ar .badge { left: 15px; } body.lang-fr .badge { right: 15px; }

.urgency-badge { color: #E74C3C; font-size: 0.75rem; text-align: center; margin-bottom: 8px; background: rgba(231, 76, 60, 0.08); padding: 5px 10px; border-radius: 6px; display: inline-block; margin-left: auto; margin-right: auto; font-weight: 600; border: 1px dashed rgba(231, 76, 60, 0.3);}
.pulse-icon { animation: firePulse 1.5s infinite; color: #E74C3C; }
@keyframes firePulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }

/* BOUTONS D'ACHAT (PC) */
.dual-buttons { display: flex; gap: 10px; width: 100%; margin-top: auto; }
.btn-cart-sm, .btn-buy-sm { flex: 1; padding: 12px 10px; border-radius: 10px; font-weight: 700; border: none; cursor: pointer; transition: 0.3s; font-size: 0.95rem; }
.btn-cart-sm { background: #111; color: var(--gold-lux); }
.btn-buy-sm { background: var(--gold-lux); color: #111; }
.btn-cart-sm:hover { background: #333; }
.btn-buy-sm:hover { background: #F9E596; transform: translateY(-2px); }

/* ==========================================================================
   RECHERCHE LIVE & FILTRES
   ========================================================================== */
.catalog-controls { max-width: 1000px; margin: 0 auto 50px auto; padding: 0 5%; display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 50;}
.search-bar { position: relative; width: 100%; max-width: 700px; margin: 0 auto; }
.search-bar i { position: absolute; left: 25px; top: 50%; transform: translateY(-50%); color: var(--gold-lux); font-size: 1.4rem; z-index: 2; transition: color 0.3s ease; }
body.lang-ar .search-bar i { left: auto; right: 25px; }
.search-bar input { width: 100%; padding: 18px 25px 18px 65px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border: 2px solid rgba(212, 175, 55, 0.2); border-radius: 40px; font-size: 1.1rem; font-family: inherit; color: var(--elegant-dark); outline: none; transition: all 0.4s ease; box-shadow: 0 10px 30px var(--shadow-soft); }
body.lang-ar .search-bar input { padding: 18px 65px 18px 25px; }
.search-bar input:focus { background: #FFF; border-color: var(--gold-lux); box-shadow: 0 15px 40px var(--shadow-gold); transform: translateY(-2px); }

.search-results-wrapper { position: absolute; top: 100%; left: 0; width: 100%; background: rgba(255,255,255,0.98); backdrop-filter: blur(15px); border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); margin-top: 10px; max-height: 350px; overflow-y: auto; border: 1px solid rgba(212, 175, 55, 0.2); display: none; }
.search-results-wrapper.active { display: block; animation: fadeIn 0.3s ease; }
.search-item { display: flex; align-items: center; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #eee; cursor: pointer; transition: 0.3s; }
.search-item:hover { background: rgba(212, 175, 55, 0.05); }
.search-item img { width: 50px; height: 50px; object-fit: contain; border-radius: 8px; border: 1px solid #ddd; background: #fff;}
.search-item-info { flex: 1; text-align: left; }
body.lang-ar .search-item-info { text-align: right; }
.search-item-title { font-weight: 700; font-size: 0.95rem; color: var(--elegant-dark); margin-bottom: 3px; }
.search-item-price { color: var(--gold-lux); font-weight: 800; font-size: 0.9rem; }

.elegant-filters { display: flex; gap: 15px; margin-top: 15px; justify-content: center; flex-wrap: wrap; }
.filter-select-group { position: relative; flex: 1; min-width: 150px; max-width: 300px; }
.filter-select-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--gold-lux); font-size: 1rem; z-index: 2; }
body.lang-ar .filter-select-group i { left: auto; right: 15px; }
.pro-select { width: 100%; padding: 12px 15px 12px 40px; background: #fff; border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 30px; font-family: inherit; font-size: 0.95rem; color: var(--elegant-dark); font-weight: 700; cursor: pointer; outline: none; appearance: none; -webkit-appearance: none; box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: 0.3s; }
body.lang-ar .pro-select { padding: 12px 40px 12px 15px; }
.pro-select:focus { border-color: var(--gold-lux); box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2); }
.filter-select-group::after { content: '\f0d7'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #888; pointer-events: none; }
body.lang-ar .filter-select-group::after { right: auto; left: 15px; }

/* ==========================================================================
   REVIEWS, GALERIE & LOCALISATION PC
   ========================================================================== */
.reviews-section { padding: 80px 5%; background: rgba(255,255,255,0.6); border-top: 1px solid rgba(212,175,55,0.2); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.review-card { background: #FFF; border: 1px solid rgba(212,175,55,0.15); border-radius: 16px; padding: 35px; box-shadow: 0 10px 30px var(--shadow-soft); }
.stars { color: var(--gold-lux); margin-bottom: 15px; font-size: 1.2rem;}

.vip-gallery-section { padding: 60px 5%; background: var(--nude-bg); border-top: 1px solid rgba(212,175,55,0.2); }
.gallery-track { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 15px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-img { flex: 0 0 300px; height: 350px; border-radius: 16px; object-fit: cover; scroll-snap-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border: 1px solid rgba(212, 175, 55, 0.3); transition: transform 0.4s; }
.gallery-img:hover { transform: scale(1.02); }

.location-section { padding: 80px 5%; max-width: 1300px; margin: 0 auto; }
.location-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: center; background: rgba(255,255,255,0.9); border-radius: 20px; padding: 50px; border: 1px solid rgba(212, 175, 55, 0.2); box-shadow: 0 15px 40px var(--shadow-soft);}
.map-container { border-radius: 16px; overflow: hidden; border: 2px solid var(--gold-lux);}

/* ==========================================================================
   FOOTER PC
   ========================================================================== */
.pro-footer { background: #080808; color: #FFF; border-top: 1px solid rgba(212, 175, 55, 0.5); padding: 40px 5% 15px 5%; margin-top: 40px; position: relative; z-index: 10; }
.footer-main { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);}
.footer-logo-section .logo-img { height: 50px; }
.footer-tagline { color: #888; font-size: 0.85rem; letter-spacing: 1px; font-weight: 300; margin-top: 5px; }
.footer-social-hub h4 { color: var(--gold-lux); font-size: 0.95rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; }
.social-buttons { display: flex; justify-content: center; gap: 15px; }
.social-btn { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #FFF; text-decoration: none; transition: all 0.4s; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(212, 175, 55, 0.3); }
.social-btn:hover { transform: translateY(-5px); }
.whatsapp:hover { background: #25D366; border-color: #25D366; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);}
.tiktok:hover { background: #000; border-color: #FE2C55; box-shadow: 2px 2px 0px #FE2C55, -2px -2px 0px #25F4EE; }
.footer-bottom { text-align: center; padding-top: 15px; color: #555; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }

/* ==========================================================================
   VIP MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100vh !important; display: flex !important; justify-content: center !important; align-items: center !important; opacity: 0; visibility: hidden; pointer-events: none; background: rgba(10, 10, 10, 0.7) !important; backdrop-filter: blur(12px) !important; z-index: 99999 !important; transition: all 0.3s ease !important; }
.modal-overlay.active { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
.modal-content { background: #FFF !important; border-radius: 24px !important; padding: 35px 25px !important; width: 90% !important; max-width: 480px !important; box-shadow: 0 30px 60px rgba(0,0,0,0.3) !important; transform: scale(0.9) translateY(30px) !important; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; position: relative !important; text-align: center !important; max-height: 90vh; overflow-y: auto;}
.modal-overlay.active .modal-content { transform: scale(1) translateY(0) !important; }

.vip-modal-content { border: 1px solid rgba(212, 175, 55, 0.3) !important; }
.vip-modal-title { font-size: 1.6rem !important; color: var(--elegant-dark) !important; margin-bottom: 25px !important; font-weight: 800 !important; display: flex; align-items: center; justify-content: center; gap: 10px; }
.vip-input-group { position: relative; margin-bottom: 20px; text-align: left; }
body.lang-ar .vip-input-group { text-align: right; }
.vip-input-group label { display: block; font-size: 0.9rem; font-weight: 700; color: #555; margin-bottom: 8px; }
.vip-input-group input, .vip-input-group select { width: 100% !important; padding: 15px 15px 15px 45px !important; border: 2px solid #EFEFEF !important; border-radius: 12px !important; font-size: 1.05rem !important; background: #FAFAFA !important; transition: all 0.3s ease !important; font-family: inherit !important; color: var(--elegant-dark) !important;}
body.lang-ar .vip-input-group input, body.lang-ar .vip-input-group select { padding: 15px 45px 15px 15px !important; }
.vip-input-icon { position: absolute; bottom: 17px; left: 15px; color: #bbb; font-size: 1.2rem; transition: 0.3s; }
body.lang-ar .vip-input-icon { left: auto; right: 15px; }
.vip-input-group input:focus, .vip-input-group select:focus { border-color: var(--gold-lux) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1) !important; outline: none !important; }
.vip-input-group input:focus ~ .vip-input-icon, .vip-input-group select:focus ~ .vip-input-icon { color: var(--gold-lux); }

.vip-btn-submit { background: linear-gradient(135deg, #111 0%, #333 100%) !important; color: var(--gold-lux) !important; width: 100% !important; padding: 18px !important; border: none !important; border-radius: 30px !important; font-size: 1.15rem !important; font-weight: 800 !important; cursor: pointer !important; transition: all 0.3s ease !important; margin-top: 10px !important; display: flex; justify-content: center; align-items: center; gap: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important; }
.vip-btn-submit:hover { transform: translateY(-4px) !important; box-shadow: 0 15px 30px rgba(0,0,0,0.25) !important; background: #000 !important; }

.vip-track-input { text-align: center !important; padding: 18px !important; font-size: 1.4rem !important; letter-spacing: 3px !important; font-weight: bold !important; border-radius: 12px !important; border: 2px dashed #ccc !important; background: #f9f9f9 !important; width: 100% !important; margin-bottom: 25px !important; outline: none; transition: 0.3s; }
.vip-track-input:focus { border-color: var(--gold-lux) !important; background: #fff !important; }

.tracking-timeline { display: flex; justify-content: space-between; position: relative; margin: 30px 0 10px 0; padding: 0 10px; }
.tracking-timeline::before { content: ''; position: absolute; top: 15px; left: 30px; right: 30px; height: 3px; background: #eee; z-index: 1; }
.track-step { position: relative; z-index: 2; text-align: center; color: #ccc; flex: 1; font-weight: bold; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.track-step .icon-box { width: 34px; height: 34px; background: #eee; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px auto; transition: 0.4s; color: #fff; font-size: 0.9rem; border: 3px solid #fff; box-shadow: 0 0 0 2px #eee; }
.track-step.active { color: var(--elegant-dark); }
.track-step.active .icon-box { background: var(--gold-lux); box-shadow: 0 0 0 2px var(--gold-lux); animation: vipPulse 2s infinite; }
.track-step.completed { color: var(--gold-lux); }
.track-step.completed .icon-box { background: var(--gold-lux); box-shadow: 0 0 0 2px var(--gold-lux); }

/* ==========================================================================
   NOUVELLES FONCTIONNALITÉS (UPSELL, PROMO, WHATSAPP, TOAST, PANIER)
   ========================================================================== */
.upsell-banner { background: #111; color: var(--gold-lux); text-align: center; padding: 12px 10px; font-weight: 700; font-size: 0.95rem; z-index: 1000; position: relative; letter-spacing: 0.5px; }
.upsell-banner i { margin-right: 8px; font-size: 1.1rem; }

.promo-container { display: flex; gap: 10px; margin-bottom: 20px; margin-top: 10px; border-top: 1px dashed #ddd; padding-top: 15px; }
.promo-input { flex: 1; padding: 12px 15px; border: 2px solid #eee; border-radius: 8px; font-family: inherit; font-size: 0.9rem; outline: none; transition: 0.3s;}
.promo-input:focus { border-color: var(--gold-lux); }
.promo-btn { background: var(--elegant-dark); color: var(--gold-lux); border: none; padding: 0 20px; border-radius: 8px; font-weight: 800; cursor: pointer; transition: 0.3s; }
.promo-btn:hover { background: var(--gold-lux); color: #111; }
.promo-success { color: #2ecc71; font-size: 0.85rem; font-weight: 700; display: none; text-align: center; margin-bottom: 10px; }

.floating-wa { position: fixed; bottom: 85px; right: 20px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 10px 25px rgba(37,211,102,0.4); z-index: 999; text-decoration: none; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.floating-wa:hover { transform: scale(1.15) rotate(-5deg); }
.floating-tiktok { position: fixed; bottom: 160px; left: 30px; background: #000; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; text-decoration: none; box-shadow: 0 10px 25px rgba(0,0,0,0.3); z-index: 998; border: 2px solid #25F4EE; transition: 0.3s; animation: pulseTiktok 2s infinite; }
.floating-tiktok:hover { transform: scale(1.1); border-color: #FE2C55; box-shadow: 3px 3px 0px #FE2C55, -3px -3px 0px #25F4EE; }

.toast-notification { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: rgba(17, 17, 17, 0.95); color: #fff; padding: 12px 20px; border-radius: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); display: flex; align-items: center; gap: 15px; z-index: 100000; transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); font-weight: 600; font-size: 0.9rem; border: 1px solid rgba(212, 175, 55, 0.5); backdrop-filter: blur(10px); width: max-content; max-width: 90%; }
.toast-notification.show { bottom: 30px; }
.toast-btn { background: var(--gold-lux); color: #111; border: none; padding: 8px 15px; border-radius: 20px; font-weight: 800; cursor: pointer; font-size: 0.85rem; transition: 0.3s; }
.toast-btn:hover { background: #fff; transform: scale(1.05); }

.floating-cart-btn { position: fixed; bottom: 20px; left: 20px; background: var(--elegant-dark); color: var(--gold-lux); width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 10px 25px rgba(0,0,0,0.4); z-index: 9999; cursor: pointer; transition: 0.3s; border: 2px solid var(--gold-lux); display: none; }
.floating-cart-btn:hover { transform: scale(1.1); background: #222; }
.floating-cart-btn .badge { position: absolute; top: -5px; right: -5px; background: #E74C3C; color: white; font-size: 0.8rem; font-weight: bold; height: 24px; width: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; border: 2px solid #111; }
body.lang-ar .floating-cart-btn { left: auto; right: 20px; }
body.lang-ar .floating-wa { left: 20px; right: auto; }

/* STYLE UPSELL PANIER */
.cart-upsell { background: rgba(212, 175, 55, 0.1); border: 1px dashed var(--gold-lux); padding: 12px; border-radius: 8px; text-align: center; font-size: 0.85rem; font-weight: 700; margin-bottom: 15px; color: var(--elegant-dark); transition: 0.3s; }
.cart-upsell.success { background: rgba(46, 204, 113, 0.1); border-color: #2ecc71; color: #27ae60; }

/* ==========================================================================
   📱📱 OPTIMISATION MOBILE EXTRÊME (100% SMARTPHONE & iPHONE FIXES) 📱📱
   ========================================================================== */
@supports (-webkit-touch-callout: none) {
    .fragrance-bg { height: -webkit-fill-available; height: 100dvh; }
    .modal-overlay { height: -webkit-fill-available; height: 100dvh; }
    body { min-height: -webkit-fill-available; min-height: 100dvh; }
}
/* ==========================================================================
   FORCER 4 PRODUITS SUR LA MÊME LIGNE (PC UNIQUEMENT)
   ========================================================================== */
@media (min-width: 769px) {
    .grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 25px !important;
        align-items: stretch !important;
    }
}
@media (max-width: 768px) {
    .glass-header { flex-direction: column !important; padding: env(safe-area-inset-top) 5% 15px 5% !important; gap: 12px !important; }
    .logo { justify-content: center !important; font-size: 1.2rem !important; width: 100% !important; }
    .logo-img { height: 40px !important; } 
    .logo-text { display: block !important; } 
    nav { display: flex !important; width: 100% !important; justify-content: center !important; align-items: center !important; flex-wrap: wrap !important; gap: 12px !important; margin: 0 !important; }
    nav a { display: inline-block !important; font-size: 0.85rem !important; font-weight: 700 !important; } 
    .lang-switch-container { padding: 4px 10px !important; margin-left: 5px !important; }
    .lang-label { font-size: 0.7rem !important; }

    .hero { padding: 30px 10px 20px !important; }
    .hero h1 { font-size: 1.6rem !important; margin-bottom: 12px !important; line-height: 1.3 !important; }
    .hero p { font-size: 0.9rem !important; line-height: 1.5 !important; }
    .section-title { font-size: 1.4rem !important; margin-bottom: 20px !important; padding: 0 10px !important; }
    
    .search-bar { padding: 0 10px !important; }
    .search-bar input { padding: 12px 20px 12px 45px !important; font-size: 0.95rem !important; border-radius: 30px !important; }
    body.lang-ar .search-bar input { padding: 12px 45px 12px 20px !important; }
    .search-bar i { font-size: 1.1rem !important; left: 25px !important; }
    body.lang-ar .search-bar i { left: auto !important; right: 25px !important; }
    
    .elegant-filters { flex-direction: row !important; flex-wrap: wrap !important; gap: 10px !important; padding: 0 10px !important; }
    .filter-select-group { flex: 1 !important; min-width: 45% !important; }
    .pro-select { font-size: 0.85rem !important; padding: 10px 10px 10px 35px !important; border-radius: 20px !important;}
    body.lang-ar .pro-select { padding: 10px 35px 10px 10px !important; }

    .trust-badges { flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; padding: 15px !important; gap: 15px !important; justify-content: flex-start !important; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; margin: 0 auto 30px auto !important; }
    .trust-badge { width: 280px !important; min-width: 280px !important; margin: 0 !important; scroll-snap-align: center; }
    
    .grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; padding: 0 10px !important; width: 100% !important; box-sizing: border-box !important; }
    
    .pro-card { padding: 10px !important; margin: 0 !important; width: 100% !important; box-sizing: border-box !important; border-radius: 12px !important; box-shadow: 0 3px 10px rgba(0,0,0,0.05) !important; display: flex !important; flex-direction: column !important; }
    .pro-card .product-img { height: 110px !important; padding: 4px !important; margin-bottom: 8px !important; }
    
    .pro-card h3 { font-size: 0.8rem !important; min-height: 35px !important; margin: 0 0 8px 0 !important; line-height: 1.3 !important; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    
    .price-container { margin-bottom: 10px !important; flex-wrap: wrap; gap: 4px; justify-content: center !important; }
    .price-amount { font-size: 1.1rem !important; }
    .price-currency { font-size: 0.8rem !important; }
    .old-price { font-size: 0.75rem !important; width: 100%; text-align: center; margin: 0; }
    .badge { font-size: 0.65rem !important; padding: 4px 8px !important; top: 8px !important; }
    body.lang-fr .badge { right: 8px !important; } body.lang-ar .badge { left: 8px !important; }

    .dual-buttons { flex-direction: row !important; gap: 6px !important; margin-top: auto !important; }
    .btn-cart-sm, .btn-buy-sm { width: 50% !important; padding: 8px 4px !important; font-size: 0.7rem !important; border-radius: 6px !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 3px !important; }

    /* SCROLL HORIZONTAL MOBILE SEULEMENT */
    .features, .horizontal-scroll-mobile, .reviews-grid, .gallery-track, .flash-sales-container { 
        display: flex !important; flex-direction: row !important; overflow-x: auto !important; flex-wrap: nowrap !important; 
        scroll-snap-type: x mandatory !important; gap: 12px !important; padding: 0 10px 20px 10px !important; 
        -webkit-overflow-scrolling: touch !important; justify-content: flex-start !important; margin: 0 !important; width: 100% !important; box-sizing: border-box !important; 
        scrollbar-width: none; 
    }
    .features::-webkit-scrollbar, .horizontal-scroll-mobile::-webkit-scrollbar, .reviews-grid::-webkit-scrollbar, .gallery-track::-webkit-scrollbar, .flash-sales-container::-webkit-scrollbar { display: none; }
    
    .feature-box, .animated-product-card, .review-card, .flash-sales-container .pro-card { flex: 0 0 75% !important; scroll-snap-align: center !important; border-radius: 16px !important; }
    .gallery-img { flex: 0 0 80% !important; height: 280px !important; }
    body.lang-ar .feature-box, body.lang-ar .gallery-img { margin-right: 0 !important; margin-left: 10px !important; }

    .location-grid { grid-template-columns: 1fr !important; gap: 15px !important; padding: 25px 15px !important; margin: 0 10px !important; border-radius: 16px !important; }
    .pro-footer { padding: 30px 15px calc(90px + env(safe-area-inset-bottom)) 15px !important; margin-top: 30px !important; } 
    .footer-main { flex-direction: column !important; text-align: center !important; gap: 15px !important; padding: 0 10px 20px 10px !important; }
    .footer-logo-section .logo { justify-content: center !important; font-size: 1.2rem !important; }
    .footer-logo-section .logo-img { height: 40px !important; }
    .footer-social-hub h4 { margin-bottom: 10px !important; font-size: 0.85rem !important; }
    .social-btn { width: 40px !important; height: 40px !important; font-size: 1.1rem !important; }

    .floating-wa { bottom: calc(95px + env(safe-area-inset-bottom)) !important; right: 20px !important; width: 60px !important; height: 60px !important; font-size: 2rem !important; justify-content: center !important; padding: 0 !important; }
    .floating-cart-btn { bottom: calc(20px + env(safe-area-inset-bottom)) !important; right: 20px !important; width: 60px !important; height: 60px !important; font-size: 1.5rem !important; }
    body.lang-ar .floating-wa { left: 20px !important; right: auto !important; }
    body.lang-ar .floating-cart-btn { left: 20px !important; right: auto !important; }
    
    .toast-notification.show { bottom: calc(30px + env(safe-area-inset-bottom)) !important; }

    .upsell-banner { padding: 12px 10px calc(12px + env(safe-area-inset-top)); font-size: 0.85rem; }
    .promo-container { flex-direction: column; gap: 8px; }
    .promo-btn { padding: 12px; }

    html { scroll-behavior: smooth; }
    * { -webkit-tap-highlight-color: transparent; } 
    input, select, textarea { font-size: 16px !important; touch-action: manipulation; }
}