/* LEAVAH PARIS — Navbar — identique DA leavah.html */

.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 40px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-dark);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0 40px;
    height: 80px;
    background: var(--bg-dark);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Logo */
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    gap: 4px;
}

.nav-logo-img {
    height: 45px;
    transition: var(--transition);
    object-fit: contain;
}

.navbar.scrolled .nav-logo-img { height: 50px; }

.nav-logo-text {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 3rem;
    letter-spacing: .03em;
    color: var(--text-primary);
    line-height: 1;
    transition: var(--transition);
}
.navbar.scrolled .nav-logo-text { font-size: 3.2rem; }

/* Liens centre */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* ===== MENU CATEGORIES (hamburger gauche) ===== */
.cat-menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cat-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px 6px;
}

.cat-hamburger span {
    width: 20px;
    height: 1.5px;
    background: #1a1a1a;
    display: block;
    transition: background 0.2s ease;
}

.cat-hamburger:hover span { background: #555; }

.cat-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-width: 240px;
    z-index: 2000;
    animation: fadeInDown 0.18s ease;
}

.cat-dropdown.open { display: block; }

.cat-dropdown a,
.cat-dropdown summary.cat-sub-toggle {
    display: block;
    padding: 14px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease, letter-spacing 0.2s ease;
}

.cat-dropdown a:last-child { border-bottom: none; }

.cat-dropdown a:hover,
.cat-dropdown summary.cat-sub-toggle:hover {
    background: #f7f7f7;
    letter-spacing: 3.5px;
    color: #1a1a1a;
}

/* Fix flickering au hover des sous-toggle (Bagues, Colliers, …) qui ont
   un sous-menu : le `letter-spacing` ci-dessus changeait la largeur du
   texte au hover, le curseur sortait de la zone, le sous-menu se fermait,
   on re-survolait → flicker infini. On garde le background mais on retire
   l'animation letter-spacing UNIQUEMENT sur les toggles parents (les
   matières feuilles Argent/Or/Or Rose gardent l'effet). */
.cat-sub-item:has(.cat-submenu) > .cat-sub-toggle:hover {
    letter-spacing: 2.5px !important;
}

.cat-sub-item { border-bottom: none; }

/* Reset du <summary> natif : retirer le triangle disclosure par défaut. */
summary.cat-sub-toggle {
    list-style: none;
    cursor: pointer;
}
summary.cat-sub-toggle::-webkit-details-marker { display: none; }
summary.cat-sub-toggle::marker { content: ''; }

.cat-sub-toggle {
    border-bottom: 1px solid #f0f0f0 !important;
    display: block !important;
    color: #1a1a1a !important;
    transition: color 0.2s, letter-spacing 0.2s !important;
}

/* Affichage du sous-menu :
    - Mobile : via attribut natif [open] de <details>
    - Desktop : via :hover du parent .cat-sub-item (force open visuellement
      même si l'attribut natif [open] n'est pas posé). */
.cat-submenu { display: none; background: transparent; }
details.cat-sub-item[open] > .cat-submenu { display: block; }
@media (hover: hover) {
    .cat-sub-item:hover > .cat-submenu { display: block; }
}

.cat-submenu a {
    padding: 7px 24px 7px 36px !important;
    font-size: 0.6rem !important;
    color: #888 !important;
    border-bottom: none !important;
}

.cat-submenu a:last-child {
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 12px !important;
}

/* Pastilles couleur à côté des matières (Argent, Or, Or Rose) — desktop et mobile.
   Display: flex (block-level) → chaque matière sur sa propre ligne, pastille
   alignée verticalement avec le texte. PAS inline-flex car ça collerait les
   <a> côte à côte (Argent ⬜ Or 🟡 sur la même ligne au lieu d'empilés). */
.cat-submenu a {
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.cat-submenu-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    vertical-align: middle;
}
.cat-submenu-swatch--silver   { background: #c0c0c0; }
.cat-submenu-swatch--gold     { background: #d4b06a; }
.cat-submenu-swatch--rosegold { background: #d4a0a0; }

/* ===== ICÔNES DROITE (favoris + panier) ===== */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Aligne le bas du bloc icônes sur le bas du logo.
       Logo h=48, icons h=28. Centrés tous deux dans la navbar, le bas du
       logo est 10px en dessous du bas des icons (descender Bodoni inclus).
       On décale donc les icons de +10px (constant, indépendant de la
       hauteur navbar 70px mobile / 110px desktop). */
    position: relative;
    top: 10px;
}

.nav-fav {
    cursor: pointer;
    position: relative;
    font-size: 1.2rem;
    padding: 4px;
    display: flex;
    align-items: center;
}

.nav-fav-count {
    position: absolute;
    top: -6px; right: -10px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-fav-count.hidden { display: none; }

.nav-cart {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    display: flex;
    align-items: center;
}

.nav-cart .cart-count {
    position: absolute;
    top: -6px; right: -10px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-account {
    display: flex;
    align-items: center;
    color: #1a1a1a;
    text-decoration: none;
    padding: 4px;
    transition: color 0.2s;
}
.nav-account:hover { color: var(--gold, #c9a84c); }
.nav-account svg { display: block; }

/* ===== COMPTE CLIENT — état connecté avec dropdown ===== */
.nav-account-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-account--logged {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 18px;
    transition: background 0.18s ease;
    font-family: inherit;
    color: #1a1a1a;
}
.nav-account--logged:hover,
.nav-account-wrapper--open .nav-account--logged {
    background: rgba(184, 150, 12, 0.08);
}
.nav-account-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #b8960c;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 0.02em;
}
.nav-account-caret {
    transition: transform 0.18s ease;
    flex-shrink: 0;
}
.nav-account-wrapper--open .nav-account-caret {
    transform: rotate(180deg);
}

/* Dropdown — fond crème + bordure or léger */
.nav-account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: #faf8f5;
    border: 1px solid rgba(184, 150, 12, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
    z-index: 1000;
    padding: 0;
    /* Anim d'ouverture : slide-down + fade */
    animation: nav-account-dropdown-in 0.22s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.nav-account-dropdown[hidden] { display: none; }

@keyframes nav-account-dropdown-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-account-dropdown__header {
    padding: 14px 18px 12px;
    border-bottom: 1px solid rgba(184, 150, 12, 0.18);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-account-dropdown__hello {
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nav-account-dropdown__name {
    font-family: 'Linux Libertine', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: #1a1a1a;
    word-break: break-word;
}

.nav-account-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.88rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.nav-account-dropdown__item i {
    width: 18px;
    text-align: center;
    color: #b8960c;
    font-size: 0.95rem;
}
.nav-account-dropdown__item:hover {
    background: rgba(184, 150, 12, 0.08);
    color: #b8960c;
    text-decoration: none;
}
.nav-account-dropdown__sep {
    height: 1px;
    background: rgba(184, 150, 12, 0.18);
    margin: 4px 0;
}
.nav-account-dropdown__item--logout {
    color: #8c2c2c;
}
.nav-account-dropdown__item--logout i {
    color: #8c2c2c;
}
.nav-account-dropdown__item--logout:hover {
    background: rgba(140, 44, 44, 0.06);
    color: #8c2c2c;
}

/* ===== BANDEAU UTILISATEUR — visible uniquement en mode mobile ===== */
.nav-mobile-user {
    display: none;
}

/* ===== HAMBURGER MOBILE ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .navbar { padding: 0 20px; height: 70px; }
    /* margin-left : éloigne le burger du badge panier (qui déborde de -10px
       à droite du panier) — sinon la pastille panier colle au burger. */
    .hamburger { display: flex; flex-shrink: 0; margin-left: 10px; }
    /* Logo réduit en mobile (3rem était trop large → poussait le burger
       hors de l'écran sur petits mobiles). */
    .nav-logo-text { font-size: 2.4rem; }
    .nav-icons { gap: 14px; flex-shrink: 0; }
    .nav-logo { flex-shrink: 0; min-width: 0; }

    /* Désactive le "zoom au scroll" (.scrolled) en mobile : il agrandissait
       le logo (3.2rem) et le padding (40px), ce qui poussait le burger hors
       de l'écran. La navbar reste stable au scroll. */
    .navbar.scrolled { padding: 0 20px; height: 70px; }
    .navbar.scrolled .nav-logo-text { font-size: 2.4rem; }

    /* Sur mobile, on masque le nom (gain de place) et le caret */
    .nav-account-name { display: none; }
    .nav-account-caret { display: none; }
    .nav-account--logged { padding: 4px; }

    /* ─── Drawer mobile (#navLinks) ─── */
    .nav-links {
        /* Drawer caché par défaut, slide-in depuis la droite quand .active.
           height: calc(100vh - 70px) explicite (top+bottom ne fonctionne pas
           toujours avec display: flex column). */
        position: fixed;
        top: 70px;                       /* sous la navbar */
        right: 0;
        width: min(85vw, 360px);
        height: calc(100vh - 70px);
        background: #faf8f5;
        border-left: 1px solid rgba(184, 150, 12, 0.18);
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        overflow-y: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        visibility: hidden;
    }

    /* Backdrop sombre derrière le drawer pour indiquer visuellement que
       cliquer ailleurs ferme le menu. Apparait/disparait via .nav-links.active.
       Pseudo ::before sur body — pas besoin d'élément HTML supplémentaire. */
    body:has(.nav-links.active)::before {
        content: '';
        position: fixed;
        inset: 70px 0 0 0;
        background: rgba(26, 26, 26, 0.45);
        z-index: 999;
        animation: nav-drawer-backdrop-in 0.28s ease both;
    }
    @keyframes nav-drawer-backdrop-in {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Liens dans le drawer : pleine largeur, padding généreux, séparateurs.
       Effets signature DA (cf. _DA_ORG/lehavah.html) :
        1. letter-spacing s'élargit au hover/active (.cat-dropdown a:hover)
        2. underline or qui se déploie de gauche à droite (.nav-links a::after).
       Combinés pour rappeler la DA desktop sur mobile. */
    .nav-links a {
        display: block;
        position: relative;
        padding: 16px 24px;
        font-size: 0.95rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #1a1a1a;
        text-decoration: none;
        border-bottom: 1px solid rgba(184, 150, 12, 0.1);
        transition: background 0.2s ease, letter-spacing 0.25s ease, color 0.2s ease;
    }
    /* Underline progressif or (effet DA signature) */
    .nav-links a::after {
        content: '';
        position: absolute;
        left: 24px;                       /* aligné avec le padding */
        bottom: 8px;
        width: 0;
        height: 1px;
        background: #b8960c;
        transition: width 0.3s ease;
    }
    /* Effet DA déclenché uniquement sur :active (tap en cours) — pas
       sur :hover qui est buggé en tactile (sticky-hover post-tap qui
       cause un flickering avec letter-spacing qui modifie la largeur). */
    .nav-links a:active {
        background: rgba(184, 150, 12, 0.08);
        letter-spacing: 0.16em;
        color: #b8960c;
    }
    .nav-links a:active::after {
        width: calc(100% - 48px);
    }
    /* Pointer fin (souris) : on peut utiliser :hover sans risque (desktop
       en mode resize navigateur ou tablette avec clavier+souris) */
    @media (hover: hover) {
        .nav-links a:hover {
            background: rgba(184, 150, 12, 0.08);
            letter-spacing: 0.16em;
            color: #b8960c;
        }
        .nav-links a:hover::after {
            width: calc(100% - 48px);
        }
    }

    /* Sous-menu catégories (cat-dropdown) : on le replie dans le drawer */
    .nav-links .cat-menu-wrapper {
        order: 1;                        /* après le bandeau user */
        border-bottom: 1px solid rgba(184, 150, 12, 0.1);
    }
    .nav-links .cat-hamburger { display: none; } /* on n'a plus besoin du bouton, on déroule direct */

    /* Ordonnancement du drawer mobile :
        1. Accueil (order -2)
        2. Catégories (order -1) — déplacées juste sous Accueil
        3. Les autres liens (Vos traits, Sets, À propos, Contact) gardent
           leur ordre source naturel via `order: 0` implicite. */
    .nav-links .nav-link-home   { order: -2; }
    .nav-links .cat-menu-wrapper { order: -1; }
    /* Masque le "Vos traits, vos bijoux" dans le cat-dropdown (doublon avec
       le lien principal du drawer). Le `.cat-dropdown-highlight` est utile
       sur desktop où le hamburger catégories est séparé, mais sur mobile
       tout est dans le même drawer. */
    .nav-links .cat-dropdown-highlight { display: none !important; }
    .nav-links .cat-dropdown {
        position: static;
        display: block;                  /* déplié par défaut sur mobile */
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    /* Liens niveau 1 du sous-menu catégories — TOUS au même style
       (BAGUES, BOUCLES D'OREILLES, BRACELETS, CHAÎNES DE MAIN, COLLIERS,
       TOUT VOIR). Cible à la fois :
        - les <a> directs (catégories sans sous-menu)
        - les <summary> dans <details> (catégories avec sous-menu)
        - les liens "Tout voir" / "Vos traits, vos bijoux" du dropdown
       Tout en uppercase, même padding, même letter-spacing — sinon les
       éléments sans <details> paraissent indentés et hors hiérarchie. */
    .nav-links .cat-dropdown > a,
    .nav-links .cat-sub-toggle,
    .nav-links .cat-dropdown summary.cat-sub-toggle {
        padding: 12px 32px !important;
        font-size: 0.9rem !important;
        font-weight: 400 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.04em !important;
        color: #1a1a1a !important;
        transition: background 0.2s ease, letter-spacing 0.25s ease, color 0.2s ease !important;
    }
    /* Désactive l'underline progressif `::after` sur les sous-catégories
       (réservé aux liens principaux du drawer pour ne pas parasiter le
       chevron des catégories collapsibles ni les pastilles couleur). */
    .nav-links .cat-dropdown > a::after,
    .nav-links .cat-sub-toggle::after,
    .nav-links .cat-submenu a::after {
        display: none;
    }
    /* …MAIS on garde le chevron sur les sous-toggle qui ont un sous-menu */
    .nav-links .cat-sub-item:has(.cat-submenu) .cat-sub-toggle::after {
        display: inline-block !important;
    }
    /* Effet active DA sur liens niveau 1 (idem : pas de :hover en tactile) */
    .nav-links .cat-dropdown > a:active,
    .nav-links .cat-sub-toggle:active {
        background: rgba(184, 150, 12, 0.08);
        letter-spacing: 0.12em !important;
        color: #b8960c !important;
    }
    @media (hover: hover) {
        .nav-links .cat-dropdown > a:hover,
        .nav-links .cat-sub-toggle:hover {
            background: rgba(184, 150, 12, 0.08);
            letter-spacing: 0.12em !important;
            color: #b8960c !important;
        }
    }
    /* Sous-matières (Argent, Or, Tout voir) collapsées par défaut sur mobile.
       Rendues via <details>/<summary> natif HTML5 : pas de JS, pas de classe,
       le toggle est géré par le navigateur via l'attribut [open]. */
    .nav-links .cat-submenu {
        display: none !important;
    }
    .nav-links details.cat-sub-item[open] > .cat-submenu {
        display: block !important;
    }
    /* Chevron indicateur sur les catégories avec sous-menu (<details>).
       Auto-aligné à droite via margin-left: auto (flex). cursor + tap-highlight
       pour confort tactile iOS Safari. */
    .nav-links details.cat-sub-item > summary.cat-sub-toggle {
        display: flex !important;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    .nav-links details.cat-sub-item > summary.cat-sub-toggle::after {
        content: '▾' !important;
        position: static !important;        /* override l'underline absolute */
        margin-left: auto !important;
        font-size: 0.85rem !important;
        color: #b8960c !important;
        transition: transform 0.25s ease !important;
        line-height: 1 !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        bottom: auto !important;
        left: auto !important;
    }
    .nav-links details.cat-sub-item[open] > summary.cat-sub-toggle::after {
        transform: rotate(180deg);
    }
    .nav-links .cat-submenu a {
        padding: 10px 32px 10px 48px !important;
        font-size: 0.85rem !important;
        color: #555 !important;
        text-transform: none !important;
        letter-spacing: 0.02em !important;
        gap: 10px;
        transition: background 0.2s ease, letter-spacing 0.25s ease, color 0.2s ease !important;
    }
    /* Effet active DA sur les sous-matières (idem : pas de :hover tactile) */
    .nav-links .cat-submenu a:active {
        background: rgba(184, 150, 12, 0.06) !important;
        letter-spacing: 0.1em !important;
        color: #b8960c !important;
    }
    @media (hover: hover) {
        .nav-links .cat-submenu a:hover {
            background: rgba(184, 150, 12, 0.06) !important;
            letter-spacing: 0.1em !important;
            color: #b8960c !important;
        }
    }
    /* Pastille un peu plus grosse sur mobile (touche/lisibilité) */
    .nav-links .cat-submenu-swatch {
        width: 14px;
        height: 14px;
    }

    /* Bandeau utilisateur — affiché en haut du drawer */
    .nav-links .nav-mobile-user {
        display: block;
        order: -1; /* tout en haut */
    }

    /* Overflow body : géré par JS, désactive le scroll de la page sous le drawer */
    body.overflow-hidden { overflow: hidden; }
}

/* ===== BANDEAU UTILISATEUR — styles communs (visible via media query mobile) ===== */
.nav-mobile-user {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(184, 150, 12, 0.18);
    margin-bottom: 8px;
}
.nav-mobile-user--logged {
    background: linear-gradient(180deg, rgba(184, 150, 12, 0.08) 0%, transparent 100%);
}
.nav-mobile-user__greeting {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
}
.nav-mobile-user__hello {
    font-size: 0.72rem;
    color: #888;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nav-mobile-user__name {
    font-family: 'Linux Libertine', Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    color: #1a1a1a;
    word-break: break-word;
}
.nav-mobile-user__links {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 0.88rem;
}
.nav-mobile-user__links a {
    color: #1a1a1a;
    text-decoration: none;
    padding: 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-mobile-user__links a:hover {
    color: #b8960c;
    border-bottom-color: #b8960c;
}
.nav-mobile-user__logout {
    color: #8c2c2c !important;
    margin-left: auto;
}
.nav-mobile-user__logout:hover {
    color: #6a1f1f !important;
    border-bottom-color: #6a1f1f !important;
}

.nav-mobile-user--guest {
    display: flex !important; /* override le display:none par défaut */
    flex-direction: column;
    gap: 10px;
}
.nav-mobile-user--guest .btn-gold,
.nav-mobile-user--guest .btn-outline {
    text-align: center;
}

/* En desktop, le bandeau guest ne doit pas apparaître non plus */
@media (min-width: 769px) {
    .nav-mobile-user--guest { display: none !important; }
}

/* Très petits mobiles (≤400px) : on resserre encore logo + icônes pour
   garantir que le burger reste entièrement visible. */
@media (max-width: 400px) {
    .navbar, .navbar.scrolled { padding: 0 12px; }
    .nav-logo-text, .navbar.scrolled .nav-logo-text { font-size: 2rem; }
    .nav-icons { gap: 11px; }
    .nav-fav svg, .nav-cart svg, .nav-account svg { width: 18px; height: 18px; }
}
