/* Gedeelde profielkop voor aanbod en verkopersdetails. */
.bd-shop-profile {
    --bd-shop-ink: #20272c;
    --bd-shop-muted: #49575f;
    --bd-shop-soft: #f4f6f7;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    max-width: 460px;
    margin-bottom: 14px;
    color: var(--bd-shop-ink);
}

.bd-shop-profile__identity,
.bd-shop-profile__name-block {
    min-width: 0;
}

.bd-shop-profile__title-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.bd-shop-profile .bd-shop-profile__name {
    min-width: 0;
    margin: 0;
    color: #181b1e;
    font-size: clamp(16px, 5vw, 20px);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.bd-shop-profile__name a {
    color: inherit;
}

.bd-shop-profile__banner {
    display: block;
    width: fit-content;
    max-width: min(100%, 145px);
    margin: 0 0 5px;
}

    .bd-shop-profile__banner[hidden] {
        display: none !important;
    }

    .bd-shop-profile__banner img {
        display: block;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 24px;
        border-radius: 3px;
    }

.bd-shop-profile__labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 12px;
}

.bd-shop-profile__premium {
    padding: 2px 5px;
    border-radius: 3px;
    background: #faf3da;
    color: #795c16;
    font-weight: 600;
}

.bd-shop-profile .bd-shop-profile__seller-type {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.bd-shop-profile__seller-type:hover {
    text-decoration: underline;
}

.bd-shop-profile__location {
    margin-top: 4px;
    color: var(--bd-shop-muted);
    font-size: 12px;
}

.bd-shop-profile__follow .bd-seller-follow-glyph {
    display: inline-flex;
}

.bd-shop-profile .bd-shop-profile__follow {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 8px;
    border: 1px solid var(--bd-shop-border);
    border-radius: 5px;
    background: #fff;
    color: var(--bd-shop-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

    .bd-shop-profile .bd-shop-profile__follow[aria-pressed="true"],
    .bd-shop-profile__actions a:hover {
        background: var(--bd-shop-soft);
    }

.bd-shop-profile__follow:disabled {
    opacity: .6;
}

.bd-shop-profile__actions a[aria-current="page"] {
    background: var(--bd-shop-soft);
    box-shadow: inset 0 -2px #b3962e;
}

.bd-shop-profile__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 4px 0;
    color: var(--bd-shop-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.bd-shop-profile :is(a, button):focus-visible {
    outline: 2px solid #118abd;
    outline-offset: -2px;
}

.bd-shop-seller-dialog .sw-strong {
    font-weight: 700;
}

.bd-shop-seller-dialog__list {
    margin: 0 0 10px;
    padding-left: 18px;
    line-height: 1.45;
}

.bd-shop-seller-dialog__note {
    font-size: 12px;
    opacity: .8;
}

.bd-ault-page .bd-shop-offer-title {
    margin: 0 0 3px;
    color: #181b1e;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

/* Naam en banner linken al terug naar het aanbod. */
.bd-shop-detail .bd-shop-detail__back {
    display: none;
}

@media (max-width: 991.98px) {
    /* Houd dit beperkt tot de sectie met de verkoperskop. Ook voor de
       aanbodviews die de oude bovenpadding inline instellen. */
    section.products:is(.bd-shop-detail, :has(> .container > .row > .col-12 > .bd-shop-profile)) {
        padding-top: 8px !important;
    }

    .bd-shop-profile {
        margin-bottom: 10px;
    }

        .bd-shop-profile__identity,
        .bd-shop-profile .bd-shop-profile__follow {
            grid-area: 1 / 1;
        }

    .bd-shop-profile__controls {
        display: contents;
    }

    .bd-shop-profile__title-row {
        min-height: 36px;
    }

    .bd-shop-profile--has-follow .bd-shop-profile__title-row {
        min-height: 40px;
        padding-inline-end: 46px;
    }

    .bd-shop-profile a.bd-shop-profile__feedback-compact {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        min-height: 36px;
        padding: 0 2px;
        color: #185d83;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

        .bd-shop-profile a.bd-shop-profile__feedback-compact[aria-current="page"] {
            text-decoration-thickness: 2px;
        }

    .bd-shop-profile .bd-shop-profile__follow,
    .bd-shop-profile .bd-shop-profile__follow[aria-pressed="true"] {
        position: relative;
        justify-self: end;
        align-self: start;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        padding: 0;
        border: 0;
        background: transparent;
    }

        .bd-shop-profile .bd-shop-profile__follow::before {
            position: absolute;
            inset: 4px;
            border: 1px solid var(--bd-shop-border);
            border-radius: 5px;
            content: "";
            pointer-events: none;
        }

        .bd-shop-profile .bd-shop-profile__follow[aria-pressed="true"]::before {
            background: var(--bd-shop-soft);
        }

    .bd-shop-profile__follow .bd-seller-follow-glyph {
        position: relative;
    }

    .bd-shop-profile__follow [data-bd-follow-label],
    .bd-shop-profile__actions a.bd-shop-profile__feedback-wide {
        display: none;
    }

    .bd-shop-profile__actions {
        grid-area: 2 / 1;
        display: flex;
        flex-wrap: wrap;
        gap: 0 16px;
        border-bottom: 1px solid var(--bd-shop-border);
    }

    .bd-shop-profile .bd-shop-profile__actions a {
        min-height: 36px;
        background: transparent;
        box-shadow: none;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

        .bd-shop-profile .bd-shop-profile__actions a[aria-current="page"] {
            text-decoration-thickness: 2px;
        }

    .bd-ault-page .bd-shop-offer-results {
        margin-bottom: 12px;
    }
}

@media (min-width: 992px) {
    .bd-shop-profile {
        max-width: none;
        margin-bottom: 18px;
        grid-template-columns: minmax(0, 1fr) max-content;
        column-gap: 24px;
    }

        .bd-shop-profile .bd-shop-profile__name {
            font-size: 22px;
        }

    .bd-shop-profile__feedback-compact {
        display: none;
    }

    .bd-shop-profile .bd-shop-profile__banner {
        width: 280px;
        max-width: 100%;
        margin: 2px 0 4px;
    }

        .bd-shop-profile .bd-shop-profile__banner img {
            width: 100%;
            max-height: 64px;
            object-fit: contain;
            object-position: left center;
        }

    .bd-shop-profile__controls,
    .bd-shop-profile__actions {
        display: flex;
        align-items: center;
    }

    .bd-shop-profile__controls {
        gap: 8px;
    }

    .bd-shop-profile__actions {
        border-block: 1px solid var(--bd-shop-border);
    }

        .bd-shop-profile__actions a {
            padding-inline: 14px;
            white-space: nowrap;
        }

            .bd-shop-profile__actions a + a {
                border-inline-start: 1px solid var(--bd-shop-border);
            }
}
