
/* ─── ProductNav — CSS canonique (même header sur toutes les pages) ─── */
@keyframes product-nav-drop {
from { opacity: 0; transform: translateY(-12px);
}
to   { opacity: 1; transform: translateY(0);
}
}
@keyframes product-menu-pop {
from { opacity: 0; transform: scale(.95) translateY(-6px);
}
to   { opacity: 1; transform: none;
}
}
.product-nav {
    --nav-ink:    #101114;
    --nav-red:    #cc3826;
    --nav-muted:  #69707d;
    --nav-line:   #e7e9ee;
    --nav-soft:   #f5f6f8;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 76px;
    padding: 14px 64px;
    border-bottom: 1px solid rgba(16, 17, 20, .08);
    background: rgba(248, 248, 246, .9);
    backdrop-filter: blur(20px);
    animation: product-nav-drop .55s ease both;
    transition: min-height .22s ease, padding .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.product-nav.is-scrolled {
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 44px rgba(16, 17, 20, .08);
}

/* ── sr-only ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Logo / Brand ── */
.product-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--nav-ink);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
}
.product-brand__image {
    display: block;
    width: auto;
    max-width: 154px;
    height: 46px;
    object-fit: contain;
}
.product-brand strong {
    color: var(--nav-red);
}
.product-brand__mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--nav-red);
    color: #fff;
    box-shadow: 0 14px 32px rgba(204, 56, 38, .25);
}

/* ── Links & Actions ── */
.product-nav__links,
.product-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.product-nav__links a,
.product-nav-dropdown > button {
    border: 0;
    background: transparent;
    color: var(--nav-muted);
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}
.product-nav__links a:hover,
.product-nav-dropdown > button:hover {
    color: var(--nav-ink);
}

/* ── Locale selector ── */
.product-locale {
    display: inline-flex;
    position: relative;
    align-items: center;
}
.product-locale select {
    min-height: 44px;
    min-width: 92px;
    border: 1px solid var(--nav-line);
    border-radius: 12px;
    background: #fff;
    color: var(--nav-ink);
    padding: 0 34px 0 42px;
    font-weight: 850;
    cursor: pointer;
    appearance: none;
}
.product-locale i {
    position: absolute;
    left: 16px;
    z-index: 1;
    color: var(--nav-muted);
    font-size: 18px;
    pointer-events: none;
}

/* ── Dropdown ── */
.product-nav-dropdown {
    position: relative;
}
.product-nav-dropdown > button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
}
.product-nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 35;
    display: grid;
    min-width: 230px;
    padding: 10px;
    border: 1px solid var(--nav-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(16, 17, 20, .16);
    transform-origin: top left;
    animation: product-menu-pop .18s ease both;
}
.product-nav-dropdown__menu a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--nav-ink);
    text-decoration: none;
    display: block;
}
.product-nav-dropdown__menu a:hover {
    background: var(--nav-soft);
}
.product-nav-dropdown__label {
    padding: 8px 12px 4px;
    color: var(--nav-muted);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ── Boutons ── */
.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}
.product-btn--primary {
    background: var(--nav-red);
    color: #fff;
    box-shadow: 0 16px 34px rgba(204, 56, 38, .25);
}
.product-btn--primary:hover {
    box-shadow: 0 22px 42px rgba(204, 56, 38, .32);
}
.product-btn--ghost {
    border-color: var(--nav-line);
    color: var(--nav-ink);
    background: #fff;
}
.product-btn:hover {
    transform: translateY(-2px);
}

/* ── Menu burger (mobile) ── */
.product-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--nav-line);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    cursor: pointer;
}
.product-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: var(--nav-ink);
    transition: transform .22s ease, opacity .22s ease;
}
.product-nav.menu-open .product-menu-button span:nth-child(1) { transform: translateY(6px) rotate(45deg);
}
.product-nav.menu-open .product-menu-button span:nth-child(2) { opacity: 0;
}
.product-nav.menu-open .product-menu-button span:nth-child(3) { transform: translateY(-6px) rotate(-45deg);
}

/* ── Responsive ── */
@media (max-width: 1040px) {
.product-nav {
        align-items: center;
        flex-wrap: wrap;
}
.product-menu-button {
        display: block;
        margin-left: auto;
}
.product-nav__links {
        order: 3;
        width: 100%;
        display: none;
        overflow: visible;
        padding: 12px 0 4px;
}
.product-nav__links.open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
}
.product-nav__actions {
        display: none;
        order: 4;
        width: 100%;
}
.product-nav__actions.open {
        display: flex;
}
.product-nav-dropdown__menu {
        position: static;
        margin-top: 8px;
        box-shadow: none;
}
}
@media (max-width: 640px) {
.product-nav {
        padding-left: 18px;
        padding-right: 18px;
}
.product-nav__actions {
        width: 100%;
}
.product-nav__links.open {
        grid-template-columns: 1fr;
}
.product-nav__actions .product-btn {
        flex: 1;
}
}
