/* ===== Marco aanpassing UnitedSeats Navigatie ===== */

/* Fixed header: 80px grijs + 60px zwart + 3px rode lijn = 143px */
.unitedseats-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background-color: #f0f0f0 !important;
    border-bottom: 3px solid #cc0000 !important;
    overflow: visible !important;
}

/* Compenseer voor vaste header hoogte (uitgelogd) */
body {
    padding-top: 153px !important;
}

/* Als WP admin-balk zichtbaar is: header onder de admin-balk plaatsen */
body.admin-bar .unitedseats-header {
    top: 32px !important;
}
/* WP voegt zelf html { margin-top: 32px } toe, dus padding-top zelfde houden */
body.admin-bar {
    padding-top: 153px !important;
}

/* Logo multiply over grijs */
.unitedseats-header .unitedseats-logo {
    mix-blend-mode: multiply !important;
}

/* Container header full-width zodat zwarte balk volledig scherm vult */
.unitedseats-header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Top-header layout: exact 80px hoog */
.unitedseats-header .top-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    margin: 0 auto !important;
    height: 80px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Logo 70% */
.unitedseats-header .unitedseats-logo {
    width: 256px !important;
    height: 61px !important;
    margin-bottom: 0 !important;
    float: none !important;
    flex-shrink: 0 !important;
}

/* Zoekbalk gecentreerd */
.unitedseats-header .woocommerce-product-search {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 340px !important;
}

/* Account rechts, uitgelijnd met zoekbalk */
.unitedseats-header .us-search {
    display: flex !important;
    align-items: center !important;
    float: none !important;
    gap: 16px !important;
}

.unitedseats-header .us-users-logged-in {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

/* Zoekbalk input en knop aan elkaar */
.unitedseats-header .woocommerce-product-search {
    display: flex !important;
    align-items: center !important;
}

.unitedseats-header .woocommerce-product-search .us-search-field {
    border-radius: 4px 0 0 4px !important;
    border-right: none !important;
    height: 36px !important;
}

.unitedseats-header .woocommerce-product-search .btn-unitedseats-search {
    border-radius: 0 4px 4px 0 !important;
    height: 36px !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    .unitedseats-header .top-header { max-width: 750px !important; }
}
@media (min-width: 992px) {
    .unitedseats-header .top-header { max-width: 970px !important; }
}
@media (min-width: 1200px) {
    .unitedseats-header .top-header { max-width: 1170px !important; }
}

/* Zwarte nav-balk: exact 60px hoog */
.unitedseats-header nav.menubar {
    height: 60px !important;
    overflow: visible !important;
}
.unitedseats-header nav.menubar .navbar-nav > li > a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 60px !important;
    height: 60px !important;
    display: inline-block !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
}

/* Nav-items uitlijnen met pagina-container via calc */
@media (min-width: 768px) {
    .unitedseats-header .nav.navbar-nav {
        margin-left: calc((100vw - 750px) / 2 + 3px) !important;
    }
}
@media (min-width: 992px) {
    .unitedseats-header .nav.navbar-nav {
        margin-left: calc((100vw - 970px) / 2 + 3px) !important;
    }
}
@media (min-width: 1200px) {
    .unitedseats-header .nav.navbar-nav {
        margin-left: calc((100vw - 1170px) / 2 + 3px) !important;
    }
}

/* ===== Marco aanpassing UnitedSeats Navigatie ===== */
