:root {
    /* Color Palette */
    --emerald-dark: #051A12;
    --emerald-base: #0B3323;
    --emerald-light: #164C35;
    --emerald-accent: #1E6647;
    --emerald-glow: #2D9B6E;
    
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8B2C;
    
    --emerald-glitter: #7EE0B1;
    --emerald-sparkle: #45CB85;
    --green-glamor: rgba(126, 224, 177, 0.4);
    
    --text-main: #EAE6DC;
    --text-muted: #AFAAA0;
    
    --bg-dark: #03100B;
    --bg-card: #082218;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gold-glow: rgba(212, 175, 55, 0.3);
    --glamor-glow: 0 0 15px var(--green-glamor);
}

body { font-size: 15px; }

/* Texture de grain photo */
.grain-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.12; /* Augmenté pour être bien visible */
    pointer-events: none; z-index: 9999; contrast: 150%; brightness: 100%;
}

.stars-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 5; 
    overflow: hidden;
}

.floating-particle {
    position: absolute;
    background: var(--gold-light);
    border-radius: 50%;
    filter: blur(1px) drop-shadow(0 0 5px var(--gold));
    animation: moveParticle linear infinite;
}

@keyframes moveParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: radial-gradient(circle at 50% 15%, var(--emerald-base) 0%, var(--emerald-dark) 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

::-moz-selection { background: var(--gold); color: #000; }
::selection { background: var(--gold); color: #000; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    font-weight: 400;
}

.italic { font-style: italic; font-weight: 300; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 3rem 0; }
.text-center { text-align: center; }
.mt-12 { margin-top: 3rem; }

.separator-gold {
    width: 2px; height: 40px;
    background-color: var(--gold);
    margin: 1.5rem auto; opacity: 0.8;
}

.separator-gold-left {
    width: 40px; height: 2px;
    background-color: var(--gold);
    margin: 1.5rem 0; opacity: 0.8;

}

.signature-separator .line:last-child {
    background: linear-gradient(270deg, transparent, var(--gold));
}

.signature-separator .diamond {
    width: 8px; height: 8px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

.loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at center, var(--emerald-accent) 0%, var(--emerald-base) 40%, var(--emerald-dark) 100%);
    z-index: 9999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.loader-wrapper::before {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    z-index: 0; pointer-events: none;
    animation: luxuriousBreathe 4s infinite alternate ease-in-out;
}

.loader-wrapper {
    position: relative;
    width: 250px; height: 250px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2.5rem;
}

.loader-image-logo {
    width: 140px; height: 140px;
    object-fit: contain;
    z-index: 2;
    animation: gentlePulse 2s infinite alternate ease-in-out;
}

.loader-ring {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.05);
    border-top: 1px solid var(--gold);
    border-right: 1px solid rgba(212, 175, 55, 0.5);
    animation: spinSlow 2.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    z-index: 1;
}

.loader-ring-2 {
    position: absolute;
    width: 80%; height: 80%;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.05);
    border-bottom: 1px solid var(--gold-light);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    animation: spinSlowReverse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes gentlePulse {
    0% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.1)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6)); }
}

.loader-star {
    position: absolute;
    color: var(--gold-light);
    filter: drop-shadow(0 0 5px var(--gold));
    animation: starTwinkle 1.5s infinite alternate ease-in-out;
    z-index: 3;
}

.star-1 {
    top: -10px; left: -10px; font-size: 1.5rem; animation-delay: 0s;
}
.star-2 {
    bottom: -20px; right: -10px; font-size: 1.2rem; animation-delay: 0.5s;
}
.star-3 {
    top: 25px; right: -30px; font-size: 0.9rem; animation-delay: 1.2s;
}
.star-4 {
    bottom: 20px; left: -25px; font-size: 1.1rem; animation-delay: 1.8s;
}
.star-5 {
    top: -30px; right: 20px; font-size: 1.4rem; animation-delay: 0.8s;
}

.star-bg-1 { position: fixed; top: 15%; left: 20%; font-size: 2.5rem; opacity: 0.8; animation-delay: 0.2s; color: var(--gold-dark); z-index: 0; }
.star-bg-2 { position: fixed; bottom: 20%; right: 15%; font-size: 1.8rem; opacity: 0.7; animation-delay: 1.5s; z-index: 0;}
.star-bg-3 { position: fixed; top: 30%; right: 25%; font-size: 1.2rem; opacity: 0.6; animation-delay: 0.7s; color: var(--gold-dark); z-index: 0;}

@keyframes starTwinkle {
    0% { opacity: 0.4; transform: scale(0.5) rotate(0deg); filter: drop-shadow(0 0 5px var(--gold)); }
    100% { opacity: 1; transform: scale(1.3) rotate(45deg); filter: drop-shadow(0 0 15px var(--gold)); }
}

@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinSlowReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.loader-text-logo {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    letter-spacing: 0.35em;
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-light), var(--gold), var(--gold-dark));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 3s infinite alternate ease-in-out, loaderTextFadeUp 1.5s forwards cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    margin-right: -0.35em; 
    z-index: 2;
    text-align: center;
}

@keyframes loaderTextFadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}


.main-header {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 1.2rem 3rem; display: flex;
    justify-content: space-between; align-items: center;
    z-index: 100; transition: var(--transition-fast);
    background: linear-gradient(to bottom, rgba(5, 26, 18, 0.9) 0%, rgba(5, 26, 18, 0) 100%);
}

.main-header.scrolled {
    background: transparent;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 0.8rem 3rem;
}

.header-left, .header-right { flex: 1; display: flex; align-items: center; gap: 1.5rem; }
.header-right { justify-content: flex-end; gap: 1.5rem; }

.hamburger-btn, .icon-btn {
    background: none; border: none; color: var(--text-main);
    font-size: 1.3rem; cursor: pointer;
    transition: color var(--transition-fast), transform 0.3s;
    display: flex; align-items: center; justify-content: center;
}

.hamburger-btn:hover, .icon-btn:hover { color: var(--gold); transform: translateY(-2px); }

.logo-img { height: 60px; object-fit: contain; transition: var(--transition-fast); }
.main-header.scrolled .logo-img { height: 50px; }

.cart-btn { position: relative; }
.cart-badge {
    position: absolute; top: -5px; right: -8px;
    background: var(--gold); color: var(--emerald-dark);
    font-size: 0.65rem; font-weight: 600;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* --- Navigation Sidebar / Drawer --- */
.nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 1000; display: flex;
    opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s;
}

.nav-overlay.active { opacity: 1; visibility: visible; }

.nav-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(5, 26, 18, 0.4); backdrop-filter: blur(5px);
    cursor: pointer;
}

.nav-drawer {
    position: relative; width: 450px; max-width: 85vw; height: 100vh;
    background: linear-gradient(135deg, var(--emerald-base) 0%, var(--emerald-dark) 100%);
    border-right: 1px solid rgba(30, 102, 71, 0.3); /* Utilisation du nouveau vert accent */
    box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    display: flex; flex-direction: column; padding: 4rem 3rem;
    transform: translateX(-100%); transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2; overflow-y: auto; text-align: left;
}

.nav-overlay.active .nav-drawer { transform: translateX(0); }

.nav-drawer-logo { width: 220px; margin-bottom: 3rem; }

.close-menu {
    position: absolute; top: 1.5rem; right: 2rem;
    background: none; border: none; color: var(--gold-dark);
    font-size: 2rem; cursor: pointer; transition: color 0.3s, transform 0.3s;
}
.close-menu:hover { color: var(--gold); transform: rotate(90deg); }

.nav-links { display: flex; flex-direction: column; gap: 2rem; flex-grow: 1; margin-top: 1rem; }

.nav-links li {
    transform: translateX(-20px); opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.nav-overlay.active .nav-links li { transform: translateX(0); opacity: 1; }
.nav-overlay.active .nav-links li:nth-child(1) { transition-delay: 0.2s; }
.nav-overlay.active .nav-links li:nth-child(2) { transition-delay: 0.3s; }
.nav-overlay.active .nav-links li:nth-child(3) { transition-delay: 0.4s; }
.nav-overlay.active .nav-links li:nth-child(4) { transition-delay: 0.5s; }

.nav-links a {
    font-family: var(--font-serif); font-size: 2rem;
    color: var(--text-main); display: flex; align-items: flex-end; gap: 1rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-num { font-family: var(--font-sans); font-size: 0.9rem; color: var(--gold-dark); font-weight: 400; padding-bottom: 0.3rem; }
.nav-links a:hover { color: var(--gold); transform: translateX(10px); }

.nav-footer { margin-top: 4rem; border-top: 1px solid rgba(212, 175, 55, 0.2); padding-top: 2rem; }
.nav-contact { font-size: 0.9rem; color: var(--text-alt); text-decoration: none; display: block; margin-bottom: 1rem; transition: color 0.3s;}
.nav-contact:hover { color: var(--gold); }
.nav-socials { display: flex; gap: 1rem; font-size: 1.5rem; }
.nav-socials a { color: var(--text-main); transition: color 0.3s; }
.nav-socials a:hover { color: var(--gold); }

.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/jersey_hero_bg.png') center/cover no-repeat;
    animation: slowZoom 40s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); }
}

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(5, 26, 18, 0.4) 0%, rgba(3, 16, 11, 0.8) 100%); mix-blend-mode: normal; }
.hero-content { position: relative; z-index: 10; max-width: 800px; padding: 0 2rem; }

.hero-title { 
    font-size: 5rem; 
    line-height: 1.3; 
    display: inline-block;
    padding-bottom: 0.1em;
    background: linear-gradient(to bottom, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem; 
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 500;
    letter-spacing: -0.02em;
    animation: floatingText 4s infinite alternate ease-in-out;
}

@keyframes floatingText {
    0% { transform: translateY(0); filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3)); }
    100% { transform: translateY(-10px); filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.7)); }
}
.hero-subtitle { 
    letter-spacing: 0.1em; 
    max-width: 600px; 
    margin: 0 auto; 
    color: var(--text-main); 
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
}
.hero-separator { width: 1px; height: 80px; background: linear-gradient(to bottom, var(--gold), transparent); margin: 3rem auto; }

.btn-primary {
    background-color: transparent; color: var(--gold); border: 1px solid var(--gold);
    padding: 1rem 2.5rem; font-family: var(--font-sans); font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer;
    transition: all var(--transition-fast); position: relative; overflow: hidden;
}

.btn-primary::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gold); transform: scaleX(0); transform-origin: right;
    transition: transform var(--transition-fast); z-index: -1;
}

.btn-primary:hover { color: var(--emerald-dark); }
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }

.btn-secondary {
    background-color: rgba(30, 102, 71, 0.2); /* Touche de vert accent */
    color: var(--text-main);
    border: 1px solid rgba(212, 175, 55, 0.2); padding: 0.8rem 2rem;
    font-family: var(--font-sans); font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 0.1em; cursor: pointer; transition: all var(--transition-fast);
}

.btn-secondary:hover { 
    border-color: var(--gold); 
    background-color: var(--emerald-accent); 
    color: var(--text-main); 
}

.link-underlined { display: inline-block; margin-top: 2rem; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--gold); position: relative; }
.link-underlined::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 1px;
    background-color: var(--gold); transform: scaleX(0.3); transform-origin: left;
    transition: transform var(--transition-fast);
}
.link-underlined:hover::after { transform: scaleX(1); }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    opacity: 0.7; z-index: 10;
}
.scroll-text { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold-light); }
.scroll-arrow { color: var(--gold); animation: bounce 2s infinite; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.section-subtitle { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); display: block; margin-bottom: 1rem; }
.section-title { font-size: 3.2rem; line-height: 1.1; color: var(--gold-light); }

/* --- Editorial Layout (About Section) --- */
.editorial-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.editorial-image {
    position: relative;
    overflow: visible;
}
.editorial-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom right, rgba(235, 204, 196, 0.4), rgba(244, 212, 214, 0.2));
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.editorial-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.editorial-overlay-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--emerald-base);
    padding: 2.5rem;
    max-width: 250px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 10px 10px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.card-num {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.editorial-overlay-card p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-main);
}

.editorial-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--gold-light);
    margin-bottom: 2rem;
}

.editorial-title i {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.editorial-para {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* --- Brand Benefits (Pro Version) --- */
.benefits-section { background: rgba(5,26,18,0.3); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.benefit-item {
    padding: 3.5rem 2rem;
    text-align: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    transition: var(--transition-smooth);
}
.logo-img { height: 45px; transition: var(--transition-smooth); filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2)); }
@media (max-width: 768px) { .logo-img { height: 35px; } }
.header-logo-text { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold); letter-spacing: 0.15em; font-weight: 500; white-space: nowrap; }
@media (max-width: 768px) { .header-logo-text { font-size: 1.1rem; } }

.benefit-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.benefit-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    position: relative;
    transition: var(--transition-fast);
}

.benefit-item:hover .benefit-icon-wrap {
    background: var(--gold);
    color: var(--emerald-dark);
    box-shadow: 0 0 20px var(--gold-glow);
}

.benefit-item i {
    font-size: 1.8rem;
    color: var(--gold);
    transition: inherit;
}

.benefit-item:hover i {
    color: var(--emerald-dark);
}

.benefit-item h3 {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.benefit-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
    max-width: 250px;
    margin: 0 auto;
}
.catalog-filters {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-radius: 2px;
}

.filter-btn:hover {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.6);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--emerald-dark);
    border-color: var(--gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .catalog-filters {
        gap: 0.8rem;
        margin-bottom: 3rem;
    }
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }
}

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 3rem; justify-content: center; }
.product-card { 
    cursor: pointer; 
    background: rgba(11, 51, 35, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.05);
    padding: 1rem;
    transition: var(--transition-smooth);
}
.product-card:hover {
    background: rgba(11, 51, 35, 0.4);
    border-color: var(--emerald-glitter);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), var(--glamor-glow);
    transform: translateY(-10px);
}
.product-img-wrap { 
    position: relative; aspect-ratio: 1/1; overflow: hidden; margin-bottom: 1.5rem; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.product-img { width: 100%; height: 100%; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .product-img { transform: scale(1.08); }

.wishlist-btn {
    position: absolute; top: 1rem; right: 1rem; background: rgba(8, 34, 24, 0.6);
    backdrop-filter: blur(5px); border: 1px solid rgba(212, 175, 55, 0.2);
    width: 40px; height: 40px; border-radius: 50%; color: var(--text-main);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: var(--transition-fast); z-index: 2;
}
.wishlist-btn:hover { background: var(--gold); color: var(--emerald-dark); }

.wishlist-btn-large {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
    font-size: 1.5rem;
}

.wishlist-btn-large:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.05);
}

.wishlist-btn-large i.ph-fill {
    color: var(--gold);
    animation: heartbeat 0.8s ease-out;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

.quick-add {
    position: absolute; bottom: 0; left: 0; width: 100%; 
    background: linear-gradient(to top, var(--emerald-base), rgba(5, 26, 18, 0.9));
    backdrop-filter: blur(5px); color: var(--gold); text-align: center; padding: 1rem;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em;
    transform: translateY(100%); transition: transform var(--transition-fast);
    border-top: 1px solid var(--emerald-accent); z-index: 2;
}
.product-card:hover .quick-add { transform: translateY(0); }
.product-info { text-align: center; }
.product-name { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 300; color: var(--text-main); margin-bottom: 0.5rem; }
.product-price { font-family: var(--font-serif); color: var(--gold); font-size: 1.2rem; }

/* --- Cart Drawer --- */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 2000; visibility: hidden; opacity: 0; transition: all 0.5s ease;
}
.cart-overlay.active { visibility: visible; opacity: 1; }

.cart-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
}

.cart-drawer {
    position: absolute; top: 0; right: 0; width: 450px; max-width: 90vw; height: 100%;
    background: var(--emerald-base); display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5); padding: 2rem;
}
.cart-overlay.active .cart-drawer { transform: translateX(0); }

.cart-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(212, 175, 55, 0.1); padding-bottom: 1.5rem; }
.cart-header h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold-light); }
.close-btn { background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

.cart-items { flex: 1; overflow-y: auto; padding: 2rem 0; }
.cart-item { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: center; }
.cart-item-img { width: 80px; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 1rem; color: var(--text-main); margin-bottom: 0.3rem; }
.cart-item-info p { font-size: 0.9rem; color: var(--gold); }
.cart-remove { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; text-decoration: underline; margin-top: 0.5rem; cursor: pointer; }

.cart-footer { border-top: 1px solid rgba(212, 175, 55, 0.1); padding-top: 1.5rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; color: var(--gold-light); }
.cart-loading { text-align: center; color: var(--gold); margin-top: 2rem; }
.cart-empty-msg { text-align: center; color: var(--text-muted); margin-top: 2rem; font-style: italic; }

/* --- Account Drawer --- */
.account-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 2100; visibility: hidden; opacity: 0; transition: all 0.5s ease;
}
.account-overlay.active { visibility: visible; opacity: 1; }

.account-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
}

.account-drawer {
    position: absolute; top: 0; right: 0; width: 450px; max-width: 90vw; height: 100%;
    background: var(--bg-dark); display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5); padding: 2rem; overflow-y: auto;
}
.account-overlay.active .account-drawer { transform: translateX(0); }

.account-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(212, 175, 55, 0.1); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.account-header h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold-light); }

.account-tabs { display: flex; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 2rem; }
.tab-btn { background: none; border: none; color: var(--text-muted); font-size: 1rem; cursor: pointer; padding-bottom: 0.5rem; border-bottom: 2px solid transparent; transition: var(--transition-fast); }
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }

.auth-form { display: flex; flex-direction: column; gap: 1.5rem; }
.input-group { display: flex; flex-direction: column; gap: 0.5rem; }
.input-group label { font-size: 0.85rem; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.1em; }
.input-group input { background: transparent; border: 1px solid rgba(212, 175, 55, 0.3); padding: 1rem; color: var(--text-main); font-family: var(--font-sans); outline: none; transition: border-color var(--transition-fast); }
.input-group input:focus { border-color: var(--gold); }
.w-full { width: 100%; }
.auth-switch { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- Search Overlay --- */
.search-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(5, 26, 18, 0.98); z-index: 5000;
    visibility: hidden; opacity: 0; transition: all 0.5s ease;
    display: flex; align-items: center; justify-content: center;
}
.search-overlay.active { visibility: visible; opacity: 1; }

.search-container { width: 80%; max-width: 800px; text-align: center; }
#search-input {
    width: 100%; background: none; border: none; border-bottom: 2px solid var(--gold);
    color: var(--text-main); font-family: var(--font-serif); font-size: 3rem;
    padding: 1rem; text-align: center; outline: none;
}
#search-input::placeholder { color: rgba(212, 175, 55, 0.3); }

.close-search-btn {
    position: absolute; top: 2rem; right: 2rem; background: none; border: none;
    color: var(--gold); font-size: 2.5rem; cursor: pointer; transition: transform 0.3s ease;
}
.close-search-btn:hover { transform: rotate(90deg); }

.search-results { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; }

/* --- Wishlist Drawer --- */
.wishlist-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 2500; visibility: hidden; opacity: 0; transition: all 0.5s ease;
}
.wishlist-overlay.active { visibility: visible; opacity: 1; }

.wishlist-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
}

.wishlist-drawer {
    position: absolute; top: 0; right: 0; width: 450px; max-width: 90vw; height: 100%;
    background: var(--bg-dark); display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5); padding: 2rem;
}
.wishlist-overlay.active .wishlist-drawer { transform: translateX(0); }

.wishlist-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(212, 175, 55, 0.1); padding-bottom: 1.5rem; }
.wishlist-header h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold-light); }

.wishlist-items { flex: 1; overflow-y: auto; padding: 2rem 0; }
.wishlist-item { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.wishlist-item img { width: 70px; aspect-ratio: 3/4; object-fit: cover; }
.wishlist-item-info { flex: 1; }
.wishlist-item-info h4 { font-size: 0.9rem; color: var(--text-main); }
.wishlist-item-info p { font-size: 0.8rem; color: var(--gold); }
.wishlist-add-cart { 
    background: var(--gold); border: none; color: var(--emerald-dark); 
    padding: 0.5rem 1rem; font-size: 0.7rem; text-transform: uppercase; 
    letter-spacing: 0.1em; cursor: pointer; margin-top: 0.5rem; 
}

.main-footer { background-color: var(--bg-dark); padding: 1rem 0 0; border-top: none; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 1rem; margin-bottom: 0.5rem; }
.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    display: inline-block;
}
.footer-desc { color: var(--text-muted); font-weight: 300; font-size: 0.85rem; margin-bottom: 1.5rem; max-width: 250px; line-height: 1.6; }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 40px; height: 40px; border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); transition: var(--transition-fast); }
.social-links a:hover { background: var(--gold); color: var(--bg-dark); }
.footer-title { color: var(--text-main); font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; font-weight: 300; transition: color var(--transition-fast); }
.footer-col ul a:hover { color: var(--gold); }
.footer-col p { color: var(--text-muted); font-size: 0.9rem; font-weight: 300; margin-bottom: 1rem; }
.newsletter-form { display: flex; border-bottom: 1px solid rgba(212, 175, 55, 0.4); padding-bottom: 0.5rem; }
.newsletter-form input { background: none; border: none; color: var(--text-main); flex: 1; font-family: var(--font-sans); outline: none; }
.newsletter-form input::placeholder { color: rgba(175, 170, 160, 0.5); }
.newsletter-form button { background: none; border: none; color: var(--gold); cursor: pointer; font-size: 1.2rem; transition: transform var(--transition-fast); }
.newsletter-form button:hover { transform: translateX(5px); }
.footer-bottom { text-align: center; padding: 1.5rem 0 1rem; border-top: none; color: var(--text-muted); font-size: 0.75rem; font-weight: 300; letter-spacing: 0.1em; opacity: 0.8; }
.footer-bottom p { margin: 0; padding: 0; }
.footer-brand-gold { color: var(--gold); font-weight: 500; }

.fade-up { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    /* Fallback visuel si le JS ne s'exécute pas */
    animation: forceShow 1s forwards 2s;
}
@keyframes forceShow {
    to { opacity: 1; transform: translateY(0); }
}
.fade-up.visible { opacity: 1; transform: translateY(0); animation: none; }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* --- Product Detail Page Styles --- */
.product-split {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.product-main-img {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.02);
}

.product-details {
    flex: 1;
}

.prod-title {
    font-size: 3rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.prod-price {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 2rem;
}

.prod-desc {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.prod-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

.wishlist-btn-large {
    width: 60px;
    height: 60px;
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.wishlist-btn-large:hover {
    background: var(--gold);
    color: var(--emerald-dark);
}

/* --- Responsive Design (Mobile & Tablet Optimization) --- */

/* Tablets & Small Laptops (up to 1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .hero-title { font-size: 3.5rem; }
    .section-title { font-size: 2.8rem; }
    .editorial-layout { gap: 3rem; grid-template-columns: 1fr 1fr; }
    .editorial-title { font-size: 2.8rem; }
    .benefits-grid { gap: 1.5rem; }
}

/* Tablets (up to 768px) */
@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    .main-header { padding: 1rem 1.5rem; }
    .main-header.scrolled { padding: 0.8rem 1.5rem; }
    .logo-img { height: 45px; }
    
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 2.5rem; }
    
    .editorial-layout { grid-template-columns: 1fr; gap: 4rem; }
    .editorial-image { order: 1; }
    .editorial-text-block { order: 2; text-align: center; }
    .editorial-title { font-size: 2.5rem; }
    .editorial-overlay-card { right: 0; bottom: -20px; padding: 1.5rem; max-width: 200px; }
    
    .benefits-grid { grid-template-columns: 1fr; gap: 2rem; }
    .benefit-item { padding: 2.5rem 1.5rem; }
    
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .product-card { padding: 0.5rem; }
    .product-name { font-size: 0.9rem; }
    .product-price { font-size: 1rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .footer-desc { margin: 0 auto 1.5rem; }
    .social-links { justify-content: center; }
    .newsletter-form { max-width: 400px; margin: 0 auto; }
    .main-footer { padding: 1.5rem 0 1rem; }
}

/* Phones (up to 480px) */
@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { letter-spacing: 0.05em; font-size: 0.8rem; }
    
    .section-title { font-size: 2.2rem; }
    .header-left, .header-right { gap: 0.8rem; }
    .icon-btn { font-size: 1.1rem; }
    
    .nav-drawer { width: 100%; padding: 4rem 2rem; }
    .nav-links a { font-size: 1.8rem; }
    
    .cart-drawer, .account-drawer, .wishlist-drawer { width: 100% !important; max-width: 100% !important; }
    
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .product-img-wrap { margin-bottom: 1rem; }
    .quick-add { font-size: 0.7rem; padding: 0.8rem; }
    
    /* Product Page Specifics */
    .product-split { flex-direction: column; gap: 2rem; }
    .product-main-img { height: auto; max-height: 400px; }
    .prod-title { font-size: 1.8rem; }
    .prod-actions { flex-direction: column; width: 100%; }
    .btn-large { width: 100%; }
}

/* --- Product Quantity Selector --- */
.prod-qty-selector {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.prod-qty-selector span {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: fit-content;
    height: 45px;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--gold);
    width: 45px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.qty-controls input {
    width: 50px;
    height: 100%;
    background: none;
    border: none;
    border-left: 1px solid rgba(212, 175, 55, 0.1);
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--text-main);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    -moz-appearance: textfield;
}

.qty-controls input::-webkit-outer-spin-button,
.qty-controls input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stock-status i {
    font-size: 0.5rem;
}

/* --- Account Sidebar / Auth --- */
.account-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    visibility: hidden;
    transition: visibility 0.4s;
}

.account-overlay.active {
    visibility: visible;
}

.account-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s;
}

.account-overlay.active .account-backdrop {
    opacity: 1;
}

.account-drawer {
    position: absolute;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: var(--bg-dark);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.account-overlay.active .account-drawer {
    right: 0;
}

.account-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.account-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold-light);
    letter-spacing: 0.1em;
}

.account-content {
    padding: 2rem;
    flex-grow: 1;
    overflow-y: auto;
}

.account-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-bottom: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s;
}

.tab-btn.active {
    color: var(--gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.8rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.9rem 1rem;
    color: var(--text-main);
    font-family: var(--font-main);
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.w-full { width: 100%; }

.auth-switch {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* Animations Nuur */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nuur-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    margin: 0 auto;
    animation: nuur-spin 1s linear infinite;
}

/* --- Search Overlay --- */
.search-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 26, 18, 0.98); backdrop-filter: blur(15px);
    z-index: 10000; visibility: hidden; opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; justify-content: center; padding-top: 15vh;
}
.search-overlay.active { visibility: visible; opacity: 1; }

.close-search-btn {
    position: absolute; top: 2rem; right: 2rem; background: none; border: none;
    color: var(--gold); font-size: 2rem; cursor: pointer; transition: transform 0.3s;
}
.close-search-btn:hover { transform: rotate(90deg); }

.search-container { width: 100%; max-width: 700px; padding: 0 2rem; }

#search-input {
    width: 100%; background: none; border: none;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--text-main); font-family: var(--font-serif);
    font-size: 2.5rem; padding: 1rem 0; outline: none;
    transition: border-color 0.3s;
}
#search-input:focus { border-color: var(--gold); }

.search-results { margin-top: 3rem; max-height: 60vh; overflow-y: auto; }

.search-item:hover { background: rgba(212, 175, 55, 0.05); }

@keyframes nuur-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
