﻿/* Alleen de Auction-layout activeert deze bovenbalk. */
.top-menu-area.bd-auction-top-menu {
    background: #090909;
}

.bd-auction-top-menu > .container > .row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 clamp(12px, 2vw, 28px);
    margin: 0;
}

    /* Bootstrap clearfix mag geen extra gridcel innemen. */
    .bd-auction-top-menu > .container > .row::before,
    .bd-auction-top-menu > .container > .row::after {
        display: none;
    }

    .bd-auction-top-menu > .container > .row > .v_middle {
        width: auto;
        max-width: none;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

.bd-auction-top-menu .logo img {
    display: block;
    width: 160px;
    max-width: 100%;
    height: auto;
}

.bd-auction-top-menu .bd-top-search {
    width: auto;
    min-width: 0;
}

.bd-auction-top-menu .bd-auction-search-box {
    height: 40px;
    border-radius: 2px;
    background: #fff;
}

    .bd-auction-top-menu .bd-auction-search-box:focus-within {
        outline: 1px solid #a9c4d1;
        outline-offset: 1px;
    }

    .bd-auction-top-menu .bd-auction-search-box input[type="text"] {
        min-width: 0;
        height: 40px;
        line-height: 40px;
        padding: 0 34px 0 16px !important;
        border: 0;
        border-radius: 22px 0 0 22px;
        background: transparent;
        font-size: 16px;
        font-weight: 600
    }

.bd-auction-top-menu .bd-auction-search-button {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 40px;
    border-radius: 0 22px 22px 0;
    background: #fff;
    color: #242424;
}

    .bd-auction-top-menu .bd-auction-search-button:hover,
    .bd-auction-top-menu .bd-auction-search-button:focus-visible {
        background: #edf4f8;
    }

    .bd-auction-top-menu .bd-auction-search-button .lnr {
        color: inherit;
    }

.bd-auction-top-menu .bd-auction-search-clear {
    right: 45px;
    width: 32px;
    height: 36px;
    color: #555;
    font-size: 35px;
}

.bd-auction-top-menu .bd-top-live-label {
    display: none;
}

.bd-auction-top-menu .author-area .bd-top-live {
    min-width: 36px;
    padding: 0 8px;
}

.bd-auction-top-menu .author-area .bd-top-offer {
    padding: 0 11px;
    white-space: nowrap;
}

/* Houd de bestaande accounttrigger, met begrensde ruimte voor lange namen. */
.bd-auction-top-menu .author-area .author-author__info .autor__info .name {
    max-width: 11ch;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bd-auction-nav--top-search .bd-auction-nav-main {
    min-height: 48px;
}

.bd-auction-nav--top-search .bd-auction-personal-nav {
    margin-top: 0;
}

@media (max-width: 991px) {
    .bd-auction-top-menu > .container > .row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 8px;
        padding-bottom: 10px;
    }

    .bd-auction-top-menu .logo img {
        width: 128px;
    }

    .bd-auction-top-menu .bd-top-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .bd-auction-top-menu .bd-mobile-actions {
        height: 48px;
    }

    .bd-auction-top-menu .bd-mobile-action {
        flex-basis: 44px;
        width: 44px;
        height: 48px;
    }

    .bd-auction-top-menu .bd-top-plus {
        color: #fff;
        font: 400 26px/1 system-ui, sans-serif;
    }

    .bd-auction-top-menu .bd-auction-search-box,
    .bd-auction-top-menu .bd-auction-search-box input[type="text"],
    .bd-auction-top-menu .bd-auction-search-button {
        height: 44px;
    }

        .bd-auction-top-menu .bd-auction-search-box input[type="text"] {
            font-size: 16px;
            line-height: 44px;
        }

    .bd-auction-top-menu .bd-auction-search-clear {
        width: 34px;
        height: 44px;
    }
}

.bd-auction-top-menu .author-area .bd-top-offer {
    background-color: #087da8;
    color: #fff;
}

    .bd-auction-top-menu .author-area .bd-top-offer:hover,
    .bd-auction-top-menu .author-area .bd-top-offer:focus-visible {
        background-color: #086b91;
    }


/* Desktop: rustige verkoopacties zonder kleurvlakken */
.bd-auction-top-menu .author-area .bd-top-live,
.bd-auction-top-menu .author-area .bd-top-offer {
    background: transparent !important;
}

.bd-auction-top-menu .author-area .bd-top-live {
    color: #c4c4c4;
}

.bd-auction-top-menu .author-area .bd-top-offer {
    color: #fff;
    border: 1px solid #555;
}

/* Tablet en mobiel: iconen los op de zwarte balk */
@media (max-width: 991px) {
    .bd-auction-top-menu > .container > .row {
        padding-top: 8px;
        row-gap: 8px;
    }

    .bd-auction-top-menu .bd-mobile-actions {
        align-items: center;
        height: 44px;
    }

        .bd-auction-top-menu .bd-mobile-actions .bd-mobile-action {
            height: 44px;
            background: transparent;
        }

    .bd-auction-top-menu .bd-mobile-store svg {
        opacity: .8;
    }
}

.bd-auction-top-menu .author-area .bd-top-offer {
    gap: 6px;
}

    .bd-auction-top-menu .author-area .bd-top-offer .bd-top-plus {
        font: 400 18px / 1 system-ui, sans-serif;
    }

/* Personal search history: only this header form, above the white navigation. */
.bd-auction-top-menu .bd-top-search form {
    position: relative;
    overflow: visible;
}

.bd-auction-top-menu .bd-recent-searches {
    position: absolute;
    z-index: 50;
    box-sizing: border-box;
    background: #fff;
    color: #333;
    border: 1px solid #d5dce1;
    border-radius: 4px;
    box-shadow: 0 5px 14px rgba(0,0,0,.15);
    text-align: left;
    max-height: none;
    overflow: visible;
    padding-top: 10px;
    padding-bottom: 15px;
    font-weight:500
}

    .bd-auction-top-menu .bd-recent-searches[hidden] {
        display: none;
    }

.bd-auction-top-menu .bd-recent-searches__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 8px 0 12px;
    font-size: 12px;
    font-weight: 600;
    color: #777;
}

.bd-auction-top-menu .bd-recent-searches__option {
    display: block;
    width: 100%;
    min-height: 40px;
    height: auto;
    padding: 10px 12px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

    .bd-auction-top-menu .bd-recent-searches__option:hover,
    .bd-auction-top-menu .bd-recent-searches__option[aria-selected="true"] {
        background: #edf4f8;
    }

@media (max-width: 991px) {
    .bd-auction-top-menu .bd-recent-searches__option {
        min-height: 44px;
    }
}

.bd-auction-top-menu .bd-recent-searches__row {
    display: flex;
    align-items: stretch;
}

    .bd-auction-top-menu .bd-recent-searches__row .bd-recent-searches__option {
        flex: 1;
        min-width: 0;
        width: auto;
    }

.bd-auction-top-menu .bd-recent-searches__clear,
.bd-auction-top-menu .bd-recent-searches__delete {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #666;
    padding: 6px 8px;
    height: auto;
    line-height: 1.2;
    cursor: pointer;
}

.bd-auction-top-menu .bd-recent-searches__clear {
    min-height: 36px;
    font-size: 12px;
    white-space: nowrap;
}

    .bd-auction-top-menu .bd-recent-searches__clear[hidden] {
        display: none;
    }

.bd-auction-top-menu .bd-recent-searches__delete {
    flex: 0 0 40px;
    min-height: 40px;
    font-size: 22px;
}

    .bd-auction-top-menu .bd-recent-searches__clear:hover,
    .bd-auction-top-menu .bd-recent-searches__delete:hover {
        background: #edf4f8;
        color: #333;
    }

.bd-auction-top-menu .bd-recent-searches button:focus-visible {
    outline: 2px solid #118abd;
    outline-offset: -2px;
}

.bd-auction-top-menu .bd-recent-searches [aria-disabled="true"] {
    opacity: .6;
    cursor: wait;
}

.bd-auction-top-menu .bd-recent-searches__status {
    padding: 8px 12px;
    color: #9b3232;
    font-size: 12px;
}

@media (max-width: 991px) {
    .bd-auction-top-menu .bd-recent-searches__clear {
        min-height: 44px;
    }

    .bd-auction-top-menu .bd-recent-searches__delete {
        flex-basis: 44px;
        min-height: 44px;
    }
}


/* Saved and recent searches share the same scrollable dropdown. */
.bd-auction-top-menu .bd-recent-searches__section[hidden] {
    display: none;
}

.bd-auction-top-menu .bd-recent-searches__section + .bd-recent-searches__section:not([hidden]) {
    border-top: 1px solid #e5e9ec;
    margin-top: 6px;
    padding-top: 6px;
}

.bd-auction-top-menu .bd-recent-searches__section[hidden] + .bd-recent-searches__section {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

/*.bd-auction-top-menu .bd-recent-searches__option--saved::before {
    content: "♥";
    color: #777;
    margin-right: 8px;
}*/

.bd-auction-top-menu .bd-recent-searches__note {
    padding: 3px 12px 4px;
    font-size: 12px;
    color: #666;
}

.bd-auction-top-menu .bd-recent-searches__all {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #066888;
    text-decoration: underline;
    white-space: nowrap;
}

    .bd-auction-top-menu .bd-recent-searches__all[hidden] {
        display: none;
    }

@media (max-width: 991px) {
    .bd-auction-top-menu .bd-recent-searches__all {
        min-height: 44px;
    }
}
