/* ==========================================================================
   1. IMPORTATIONS & BASES
   ========================================================================== */

/* Polices */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,400&display=swap');

/* Reset Minimal */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    color: #1F2937;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* Typographie Luxe */
h1,
h2,
h3,
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Utilitaires Texte */
.text-shadow-luxe {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */

.logo-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 2.4rem;
    color: #333;
    text-decoration: none;
    user-select: none;
    cursor: pointer;
}

.logo-2 {
    display: inline-block;
    transform: rotate(-10deg) scaleX(-1);
    color: #7f5539;
    margin-right: 0.1em;
    font-size: 2.6rem;
    line-height: 1;
}

.logo-ensa {
    font-size: 2.4rem;
    line-height: 1;
}

/* Animation Soulignement Liens */
.underline-animation {
    position: relative;
    text-decoration: none;
}

.underline-animation::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.underline-animation:hover::after {
    transform: scaleX(1);
}

/* Boutons Mobile */
.mobile-login-button {
    background: #1f2a44;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mobile-login-button:hover {
    background: #374151;
}

/* ==========================================================================
   3. ANIMATIONS GLOBALES
   ========================================================================== */

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (hover: none) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* ==========================================================================
   4. FORMULAIRES (LOGIN, REGISTER, CHECKOUT)
   ========================================================================== */

.input-luxe {
    border: 1px solid #e5e7eb;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom-width: 1px;
    padding: 0.75rem 0;
    width: 100%;
}

.input-luxe:focus {
    border-color: #7f5539;
    box-shadow: none;
    outline: none;
}

.btn-luxe {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: #1a1a1a;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    border: none;
}

.btn-luxe:hover {
    background-color: #7f5539;
}

/* Icônes Mots de Passe */
.password-toggle-icon {
    cursor: pointer;
    color: #9CA3AF;
    transition: color 0.2s;
}

.password-toggle-icon:hover {
    color: #7f5539;
}

/* Validateurs Mot de Passe (Checklist) */
.password-check-item {
    transition: color 0.3s ease;
}

.password-check-item.valid {
    color: #10b981;
    /* Vert */
}

.password-check-item.valid span {
    background-color: #10b981;
}

/* ==========================================================================
   5. RECHERCHE (LIVE SEARCH)
   ========================================================================== */

.search-input-minimalist {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #374151;
    background: transparent;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input-minimalist:focus {
    outline: none;
    border-bottom: 1px solid #7f5539;
}

.search-input-minimalist::placeholder {
    color: #9ca3af;
    font-weight: 300;
    font-style: italic;
}

#search-suggestions {
    background-color: white;
    border: 1px solid #f3f4f6;
    border-top: none;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f9fafb;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f9fafb;
}

.suggestion-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    background-color: #f3f4f6;
}

.suggestion-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1f2937;
}

.suggestion-price {
    font-size: 0.75rem;
    color: #7f5539;
    font-weight: 600;
    margin-left: auto;
}

/* ==========================================================================
   6. ESPACE FIDÉLITÉ (LOYALTY)
   ========================================================================== */

.loyalty-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .loyalty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .loyalty-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Carte de base */
.loyalty-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    color: white;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    background-color: #1a1a1a;
}

.loyalty-card:hover {
    transform: translateY(-5px);
}

.loyalty-card.active {
    border: 2px solid #7f5539;
    transform: scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(127, 85, 57, 0.3);
}

/* Fond de la carte */
.loyalty-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.5s ease;
}

.loyalty-card:hover .loyalty-bg {
    transform: scale(1.05);
}

/* Images des niveaux */
.bg-tier-1 {
    background-image: url('../images/n1.png');
}

.bg-tier-2 {
    background-image: url('../images/n2.png');
}

.bg-tier-3 {
    background-image: url('../images/n3.png');
}

.bg-tier-4 {
    background-image: url('../images/n4.png');
}

/* Overlay sombre */
.loyalty-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));
    z-index: 1;
}

/* Contenu carte */
.loyalty-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.loyalty-rewards {
    margin-top: auto;
    list-style: none;
    padding: 0;
}

.loyalty-rewards li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.loyalty-rewards li svg {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.reward-unlocked {
    color: #fff;
    opacity: 1;
}

.reward-locked {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.reward-unlocked svg {
    color: #d4af37;
}

/* Badge Statut */
.current-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fff;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.1em;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Barre de progression */
.loyalty-progress-container {
    margin: 2rem 0;
    text-align: center;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background-color: #7f5539;
    border-radius: 9999px;
    transition: width 1s ease-in-out;
}

.points-display {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #7f5539;
    line-height: 1;
}

.points-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   7. THÈMES SAISONNIERS (VISION LUXE FINALE)
   ========================================================================== */

/* --- CONFIGURATION GLOBALE DES EFFETS --- */
#theme-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

/* ------------------------------------------------------------
   🎄 NOËL : "HIVER IMPÉRIAL"
   ------------------------------------------------------------ */

/* 1. Couleurs et Header */
body.theme-christmas header {
    border-bottom: none !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.theme-christmas .logo-2 {
    color: #9B2C2C !important;
}

/* Rouge Rubis plus chic */
body.theme-christmas .btn-luxe {
    background-color: #9B2C2C !important;
}

body.theme-christmas ::selection {
    background-color: #9B2C2C;
    color: #FFF;
}

/* 2. LA GUIRLANDE RÉALISTE (Positionnée sous le header) */
body.theme-christmas::before {
    content: '';
    position: fixed;
    /* Reste fixe au scroll */

    /* C'EST ICI QUE ÇA CHANGE : */
    top: 92px;
    /* On descend la guirlande pour qu'elle commence SOUS le header (hauteur approx du menu) */

    left: 0;
    width: 100%;
    height: 90px;
    /* Hauteur de l'image */

    background-image: url('../images/garland.png');
    background-repeat: repeat-x;
    /* Répète l'image tout le long */
    background-size: auto 100%;
    /* Garde les proportions */

    z-index: 10000;
    /* Au-dessus de tout */
    pointer-events: none;
    /* Laisse passer les clics */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

/* Ajustement Mobile (le header est souvent plus petit ou plus grand sur mobile) */
@media (max-width: 768px) {
    body.theme-christmas::before {
        top: 60px;
        /* Ajustez cette valeur selon la hauteur réelle de votre header mobile */
        height: 55px;
        /* Guirlande un peu plus petite sur mobile */
    }
}

/* AJOUTEZ CECI DANS LA SECTION NOËL DE STYLE.CSS */

/* 5. DÉCALAGE DU CONTENU (Pour laisser place à la guirlande) */
body.theme-christmas main {
    /* Pousse le contenu vers le bas. Augmentez si la guirlande cache trop. */
    padding-top: 30px;
    transition: padding-top 0.5s ease;
    /* Animation fluide lors du changement */
}

/* Optionnel : Ajustement pour le mobile si nécessaire */
@media (max-width: 768px) {
    body.theme-christmas main {
        padding-top: 40px;
    }
}

/* DANS LA SECTION DU THÈME NOËL DANS STYLE.CSS */

/* ==========================================================================
   DANS style.css - Section THÈME NOËL
   ========================================================================== */

/* 1. Configuration du chiffre 2 (Le Parent) */
body.theme-christmas .logo-2 {
    color: #D42426 !important; /* Rouge Noël */
    position: relative !important; /* INDISPENSABLE : Crée le repère pour le bonnet */
    display: inline-block !important; /* Nécessaire pour que les transformations s'appliquent */
    z-index: 200; /* Pour passer devant la guirlande */
    
    /* Note : On ne touche pas au transform du parent ici, 
       il garde son inversion définie dans la section HEADER */
}

/* 2. Le Bonnet de Noël (L'Enfant) */
body.theme-christmas .logo-2::after {
    content: ''; 
    position: absolute;
    
    /* --- POSITIONNEMENT (À ajuster au pixel près selon ta police) --- */
    top: 0px;   /* Monte le bonnet */
    left: 1px;  /* Le décale vers la gauche (attention, repère inversé à cause du parent) */
    width: 25px;
    height: 25px;

    /* --- IMAGE --- */
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/c/c0/Santa_hat.svg');
    background-size: contain;
    background-repeat: no-repeat;

    /* --- CORRECTION CRITIQUE DE L'ORIENTATION --- */
    /* 1. scaleX(-1) : On ré-inverse le bonnet pour annuler l'inversion du chiffre 2.
       2. rotate : On l'incline pour qu'il "tienne" sur la courbe du 2.
    */
    transform: scaleX(-1) rotate(20deg); 
    
    /* Finitions */
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3)); /* Ombre portée pour le réalisme */
    pointer-events: none; /* Le clic passe au travers */
}

/* 4. FLOCONS (Restent gérés par le JS main.js, pas de changement ici) */
.snowflake-real {
    position: absolute;
    top: -20px;
    color: #FFF;
    font-size: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: realisticFall linear infinite;
    pointer-events: none;
    z-index: 9999;
}

@keyframes realisticFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.8;
    }

    100% {
        transform: translateY(110vh) translateX(20px) rotate(360deg);
        opacity: 0.4;
    }
}

/* ------------------------------------------------------------
   🌙 EID : "NUITS D'ORIENT" (Correction Luxe & Spacing)
   ------------------------------------------------------------ */

/* 1. Couleurs et Header */
body.theme-eid {
    background-color: #FAFAFA !important;
}

body.theme-eid header {
    border-bottom: none !important;
    background-color: #FFFFFF !important;
    /* Ombre plus marquée pour détacher le menu des lanternes */
    box-shadow: 0 4px 20px rgba(4, 120, 87, 0.1);
    position: relative;
    z-index: 10005;
    /* Le menu passe au-dessus des lanternes */
}

body.theme-eid .logo-2 {
    color: #047857 !important;
    position: relative;
    z-index: 10006;
}

body.theme-eid .btn-luxe {
    background-color: #047857 !important;
}

body.theme-eid ::selection {
    background-color: #047857;
    color: #FFF;
}

/* 2. LES LANTERNES SUSPENDUES (Ajustement Spacing) */
body.theme-eid::before {
    content: '';
    position: fixed;
    /* On les remonte pour qu'elles "touchent" le bas du header */
    top: 50px;
    left: 0;
    width: 100%;
    height: 90px;
    /* Taille légèrement réduite pour l'élégance */

    /* Image locale (Assurez-vous d'avoir l'image 'eid-lanterns.png' dans 'images/') */
    background-image: url('../images/eid-lanterns.png');

    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: top center;

    z-index: 10000;
    /* Juste sous le header */
    pointer-events: none;
    filter: drop-shadow(0 5px 5px rgba(212, 175, 55, 0.3));

    animation: gentleSway 8s ease-in-out infinite alternate;
    transform-origin: top center;
}

@keyframes gentleSway {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(0.5deg);
    }
}

/* 3. LE CROISSANT DE LUNE (Vectoriel SVG Doré - Net et Précis) */
body.theme-eid .logo-2::after {
    content: '';
    position: absolute;

    /* Positionnement millimétré sur le "2" */
    top: -18px;
    /* Plus proche du chiffre */
    left: -12px;
    width: 28px;
    /* Taille plus discrète et chic */
    height: 28px;

    /* SVG ENCODÉ (Pas besoin de fichier image externe) - Couleur Or #D4AF37 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D4AF37'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");

    background-size: contain;
    background-repeat: no-repeat;

    /* Rotation pour épouser la courbe du 2 inversé */
    transform: rotate(-25deg);
    filter: drop-shadow(0 2px 2px rgba(212, 175, 55, 0.4));
    /* Lueur dorée */
    pointer-events: none;
}

/* 4. DÉCALAGE DU CONTENU (Réduit au minimum) */
body.theme-eid main {
    /* On réduit l'écart. 10px suffit pour laisser respirer sans créer un trou */
    padding-top: 10px;
    transition: padding-top 0.5s ease;
}

@media (max-width: 768px) {

    /* Sur mobile, on colle presque le contenu car l'écran est petit */
    body.theme-eid main {
        padding-top: 0px;
    }

    body.theme-eid::before {
        height: 50px;
        top: 45px;
    }

    /* Lanternes plus discrètes sur mobile */
}

/* 5. ÉTOILES FLOTTANTES (Reste identique) */
.eid-star-particle {
    position: absolute;
    color: #D4AF37;
    opacity: 0;
    font-size: 1rem;
    animation: starFloat linear infinite;
    pointer-events: none;
    z-index: 9990;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.4);
}

@keyframes starFloat {
    0% {
        transform: translateY(100vh) scale(0.5) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-10vh) scale(1.2) rotate(45deg);
        opacity: 0;
    }
}

/* --- 🥂 NOUVEL AN : "CHAMPAGNE BUBBLES" (Mode Sombre) --- */
/* Ambiance : Noir Profond, Effervescence */
body.theme-newyear {
    background-color: #050505 !important;
    color: #E5E5E5 !important;
}

body.theme-newyear header {
    background-color: rgba(10, 10, 10, 0.9) !important;
    border-bottom: 1px solid #333 !important;
}

body.theme-newyear .logo-container {
    color: #fff !important;
}

body.theme-newyear .logo-2 {
    color: #F3E5AB !important;
    /* Champagne */
    text-shadow: 0 0 20px rgba(243, 229, 171, 0.4);
}

body.theme-newyear .bg-white {
    background-color: #121212 !important;
    color: #ccc !important;
    border-color: #333 !important;
}

body.theme-newyear .text-gray-900 {
    color: #fff !important;
}

body.theme-newyear .text-gray-500 {
    color: #888 !important;
}

.champagne-bubble {
    position: absolute;
    bottom: -20px;
    background-color: rgba(243, 229, 171, 0.4);
    border-radius: 50%;
    border: 1px solid rgba(243, 229, 171, 0.6);
    animation: bubbleRise linear infinite;
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(-110vh) scale(1.2);
        opacity: 0;
    }
}


/* --- 🥚 PÂQUES : "SOFT PETALS" (Douceur) --- */
/* Ambiance : Rose Poudré, Sauge, Vent léger */
body.theme-easter header {
    border-bottom: 1px solid #FBCFE8 !important;
}

body.theme-easter .logo-2 {
    color: #DB2777 !important;
}

/* Rose soutenu */

.soft-petal {
    position: absolute;
    background-color: rgba(252, 231, 243, 0.8);
    /* Rose très pâle */
    border-radius: 100% 0 100% 0;
    /* Forme de feuille */
    animation: petalDrift linear infinite;
    opacity: 0.8;
}

@keyframes petalDrift {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) translateX(50px) rotate(360deg);
        opacity: 0.5;
    }
}


/* --- 🎆 14 JUILLET : "RIVIERA NIGHTS" (Chic Français) --- */
body.theme-bastille {
    background-color: #F8FAFC !important;
}

body.theme-bastille header {
    border-bottom: 1px solid #1E3A8A !important;
}

body.theme-bastille .logo-2 {
    background: linear-gradient(to bottom, #1E3A8A, #DC2626);
    /* Dégradé subtil */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.firework-bloom {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: bloom 3s ease-out infinite;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
}

@keyframes bloom {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}


/* --- 🎵 FÊTE MUSIQUE : "JAZZ LOUNGE" (Vibrant) --- */
body.theme-music header {
    border-bottom: 1px solid #4F46E5 !important;
}

body.theme-music .logo-2 {
    color: #4F46E5 !important;
}

/* Indigo */

.sound-wave-bar {
    position: absolute;
    bottom: 0;
    width: 4px;
    background-color: rgba(79, 70, 229, 0.2);
    animation: equalizer 1.5s ease-in-out infinite;
}

@keyframes equalizer {

    0%,
    100% {
        height: 10px;
    }

    50% {
        height: 60px;
    }
}

/* ==========================================================================
   8. RESPONSIVE MOBILE FIXES (AJOUT)
   ========================================================================== */

@media (max-width: 768px) {
    
    /* 1. Désactiver le Parallax sur mobile (Cause des bugs de scroll et zoom sur iOS) */
    .parallax-section {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        height: auto !important;
        min-height: 400px; /* Hauteur minimale garantie */
        padding: 4rem 1rem;
    }

    /* 2. Réduire la taille des titres de luxe */
    h1 { font-size: 2.5rem !important; line-height: 1.1 !important; }
    h2 { font-size: 2rem !important; }
    
    /* 3. Adapter les inputs de recherche et formulaires */
    .search-input-minimalist {
        width: 100% !important; /* Prend toute la largeur sur mobile */
    }

    /* 4. Gestion des grilles (Loyalty & Produits) */
    .loyalty-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* 5. Header : Éviter le débordement horizontal */
    header {
        padding: 1rem !important;
        flex-wrap: wrap;
    }
    
    /* 6. Logo adjustments */
    .logo-container {
        font-size: 1.8rem !important;
    }
}