/* --- HEADER STYLES --- */
.custom-navbar {
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #d35400; /* Orange foncé */
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* --- LOGO --- */
.logo img {
    height: 40px;
}

/* --- MENU BUTTON (MOBILE) --- */
.menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

/* --- NAVIGATION MENU --- */
.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #d35400;
}

/* --- DROPDOWN --- */
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 150px;
    top: 100%;
    left: 0;
    padding: 5px 0;
}

.dropdown-content li {
    padding: 5px 15px;
}

.dropdown-content a {
    color: #333;
    display: block;
}

.dropdown-content a:hover {
    background: #f4f4f4;
}

.dropdown:hover .dropdown-content,
.dropdown-content.show {
    display: block;
}

/* --- LOGIN & REGISTER BUTTONS --- */
.auth {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.register {
    color: #d35400;
    font-weight: bold;
}

.login {
    color: #007bff;
    font-weight: bold;
}

/* --- CART ICON --- */
.cart {
    position: relative;
    margin-left: 15px;
}

.cart i {
    font-size: 22px;
    color: #007bff;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    padding: 4px 7px;
}

/* --- LANGUAGE SELECTOR --- */
.lang-select {
    margin-left: 15px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* --- RESPONSIVE MENU (MOBILE) --- */
@media screen and (max-width: 768px) {
    .menu {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        text-align: left;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        padding: 10px 20px;
    }

    .dropdown-content {
        position: relative;
        width: 100%;
        top: 0;
    }
}
