/* ================================================
   Thème enfant : monbouquiniste
   Header — Option 1 : navigation claire pleine largeur
   ================================================ */

/* ── BARRE SUPÉRIEURE (contact / connexion / panier) ── */
#header nav.header-nav {
    background-color: #faf8f5;
    border-bottom: 1px solid #f1ede6;
    max-height: none;
}

#header nav.header-nav #contact-link a,
#header nav.header-nav .user-info a {
    color: #6b6660;
    font-size: 13px;
}

#header nav.header-nav .user-info a:hover {
    color: #FF6900;
}

/* ── PANIER : pastille orange compacte ── */
#_desktop_cart .blockcart {
    background: transparent;
}

#_desktop_cart .blockcart .header {
    background-color: #FF6900;
    border-radius: 18px;
    padding: 5px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

#_desktop_cart .blockcart .header .material-icons {
    color: #ffffff;
    font-size: 18px;
}

#_desktop_cart .blockcart .cart-products-count {
    color: #ffffff;
    font-weight: 600;
}

#_desktop_cart .blockcart:hover .header {
    background-color: #e55e00;
}

/* ── EN-TÊTE PRINCIPAL ── */
#header {
    background-color: #ffffff;
    box-shadow: none;
}

#header .header-top {
    background-color: #ffffff;
    padding-top: 14px;
    padding-bottom: 0;
}

/* ── LOGO : personnage + nom + badge "shop" ── */
#_desktop_logo {
    display: flex;
    align-items: center;
    width: auto;
    flex: 0 0 auto;
    max-width: none;
}

#_desktop_logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    text-decoration: none;
}

#_desktop_logo .logo {
    height: 80px;
    width: auto;
}

#_desktop_logo a::after {
    content: 'Monbouquiniste';
    font-size: 25px;
    font-weight: 700;
    color: #FF6900;
    letter-spacing: -0.3px;
}

#_desktop_logo::after {
    content: 'shop';
    background-color: #0693e3;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 10px;
    margin-left: 7px;
    align-self: flex-start;
    margin-top: 22px;
}

/* ── COLONNE DE DROITE : recherche en haut, menu en dessous ── */
#header .header-top-right {
    flex: 1;
    width: auto;
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Recherche à droite du logo, sur la première ligne */
#search_widget {
    order: 1;
    flex: 1;
    max-width: 340px;
    margin-left: auto;
    margin-top: 0;
    float: none;
}

/* Menu sur sa propre ligne, pleine largeur */
#_desktop_top_menu {
    order: 2;
    flex: 0 0 100%;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #f1ede6;
    margin-top: 12px;
}

#header #top-menu {
    margin-bottom: 0;
}

#top-menu a[data-depth="0"] {
    color: #494540;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    padding: 11px 14px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

#top-menu a[data-depth="0"]:hover {
    color: #FF6900;
    border-bottom-color: #ffd9bd;
    background: transparent;
}

#top-menu li.current > a[data-depth="0"] {
    color: #FF6900;
    font-weight: 500;
    border-bottom-color: #FF6900;
}

/* ── BARRE DE RECHERCHE ── */
#search_widget form {
    position: relative;
    border: 1px solid #e3ded6;
    border-radius: 21px;
    background-color: #fdfcfa;
    overflow: hidden;
}

#search_widget form input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #494540;
    padding: 10px 48px 10px 18px;
    width: 100%;
}

#search_widget form input[type="text"]::placeholder {
    color: #a8a39b;
}

#search_widget form i.search {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FF6900;
    color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
}

#search_widget form i.clear {
    right: 42px;
    color: #a8a39b;
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {
    #header::before {
        content: '';
        display: block;
        height: 3px;
        background-color: #FF6900;
        width: 100%;
    }

    #menu-icon .material-icons {
        color: #FF6900;
    }

    #mobile_top_menu_wrapper {
        background-color: #faf8f5;
    }
}
