/* ============================================================
   HEADER RESPONSIVE DESKTOP - BREAKPOINTS INTERMÉDIAIRES
   Règles de COMPACTAGE uniquement (769px géré dans styles.css)
   ============================================================ */

/* ── CORRECTION GLOBALE : liens nav sur une seule ligne (tous breakpoints desktop) ── */
@media (min-width: 769px) {
    .nav-links {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        flex: 1 !important;
        justify-content: center !important;
        padding-left: 0 !important;
    }
    .nav-links a,
    .nav-links li a {
        white-space: nowrap !important;
        color: var(--primary) !important;
    }
    .nav-links a.active,
    .nav-links a:hover {
        color: #000000 !important;
    }
}

/* ── 1051px – 1200px : léger compactage ── */
@media (min-width: 1051px) and (max-width: 1200px) {
    .container { padding: 0 1rem !important; }
    .logo { font-size: 1.3rem !important; }
    .logo-icon-img { width: 60px !important; }
    .nav-links { gap: 8px !important; }
    .nav-links a { font-size: 0.82rem !important; padding: 0.4rem 0.7rem !important; }
    .user-menu-nav { gap: 6px !important; margin-right: 8px !important; }
    .btn-login-nav, .btn-register-nav { font-size: 0.78rem !important; padding: 5px 10px !important; }
    .cart-icon { font-size: 0.82rem !important; padding: 0.35rem 0.7rem !important; }
}

/* ── 900px – 1050px : compactage fort ── */
@media (min-width: 900px) and (max-width: 1050px) {
    .container { padding: 0 0.75rem !important; }
    .logo { font-size: 1.1rem !important; gap: 0.3rem !important; }
    .logo-icon-img { width: 52px !important; }
    .logo-text-senegal { font-size: 1.1rem !important; }
    .nav-links { gap: 4px !important; }
    .nav-links a { font-size: 0.76rem !important; padding: 0.3rem 0.5rem !important; letter-spacing: 0 !important; }
    .user-menu-nav { gap: 4px !important; margin-right: 4px !important; }
    .btn-login-nav, .btn-register-nav { font-size: 0.7rem !important; padding: 4px 7px !important; gap: 2px !important; }
    .cart-icon { font-size: 0.76rem !important; padding: 0.28rem 0.55rem !important; }
    .cart-count { width: 18px !important; height: 18px !important; font-size: 0.65rem !important; }
    .header-top .container { font-size: 0.75rem !important; }
    .contact-info { gap: 0.8rem !important; }
}

/* ── 769px – 899px : compactage maximal ── */
@media (min-width: 769px) and (max-width: 899px) {
    .container { padding: 0 0.5rem !important; }
    .logo { font-size: 0.95rem !important; gap: 0.2rem !important; }
    .logo-icon-img { width: 44px !important; }
    .logo-text-senegal { font-size: 0.95rem !important; }
    .nav-links { gap: 2px !important; }
    .nav-links a { font-size: 0.7rem !important; padding: 0.25rem 0.4rem !important; letter-spacing: 0 !important; }
    .user-menu-nav { gap: 3px !important; margin-right: 3px !important; }
    .btn-login-nav { font-size: 0.68rem !important; padding: 3px 6px !important; }
    .btn-register-nav--desktop-only { padding: 3px 5px !important; }
    .btn-register-nav--desktop-only span,
    .btn-register-nav--desktop-only > *:not(svg) { font-size: 0 !important; width: 0 !important; overflow: hidden !important; display: none !important; }
    .cart-icon { font-size: 0.7rem !important; padding: 0.25rem 0.5rem !important; }
    .cart-count { width: 17px !important; height: 17px !important; font-size: 0.6rem !important; }
    .header-top .container { font-size: 0.72rem !important; }
    .contact-info { gap: 0.5rem !important; }
}

/* ============================================================
   HERO : TITRE SUR UNE SEULE LIGNE + DOTS FIXES
   ============================================================ */
@media (min-width: 769px) {
    .hero-title-3d {
        font-size: clamp(3.5rem, 6.5vw, 6rem) !important;
        white-space: nowrap !important;
    }
    .hero-title-3d .line-3 {
        white-space: nowrap !important;
        display: inline-block !important;
    }
    .hero-subtitle {
        font-size: clamp(1rem, 1.8vw, 1.9rem) !important;
        white-space: nowrap !important;
    }
    .slider-dots {
        position: absolute !important;
        bottom: 12px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 5 !important;
        display: flex !important;
        gap: 10px !important;
        align-items: center !important;
    }
}
