/* ========================================
   HEADER - Styles pour la navigation
   ======================================== */

.logo img {
    height: 50px;
}

header h1 {
    font-size: 2rem;
    text-align: center;
    flex-grow: 1;
}

header .cart-link a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav {
    background-color: #C894A0;
    padding: 5px 0;
    font-weight: bold;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* ← ESPACEMENT ENTRE LES LIENS */
}

.nav-links li {
    margin-right: 0;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    position: relative;
    padding: 5px 10px;
}

.nav-links a:hover {
    color: #616161;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F8EDEB;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ========================================
   RESPONSIVE - HEADER
   ======================================== */

@media (max-width: 1024px) {
    header h1 {
        font-size: 1.7rem;
    }

    .nav-links a {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #C894A0;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        z-index: 10;
        padding: 10px 0;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .burger {
        display: flex;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.3rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .nav-links {
        padding: 5px 0;
    }
}