/* Alleen Feedback, Voorwaarden en Contact. De aanbodpagina's houden hun eigen opmaak. */
.products.bd-shop-detail {
    padding-top: 20px;
}

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

.bd-shop-detail__body {
    max-width: 760px;
    min-width: 0;
}

.bd-shop-detail__back {
    display: inline-block;
    margin-bottom: 6px;
    color: #226187;
    font-size: 13px;
    font-weight: 600;
}

.bd-shop-detail__body .bd-shop-detail__title {
    margin: 0 0 8px;
    color: #181b1e;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.bd-shop-detail__muted {
    color: #49575f;
    font-size: 13px;
}

.bd-shop-detail__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0 0 12px;
}

    .bd-shop-detail__summary p {
        margin: 0;
    }

.bd-shop-detail__sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}

    .bd-shop-detail__sort label {
        margin: 0;
        font-size: 13px;
    }

    .bd-shop-detail__sort select {
        min-height: 40px;
        max-width: 100%;
        padding: 6px 9px;
        border: 1px solid #dbe1e4;
        border-radius: 4px;
        background: #fff;
        color: #20272c;
    }

.bd-shop-detail__panel {
    padding: 14px 16px;
    border: 1px solid #e0e5e8;
    border-radius: 6px;
    background: #fff;
}

    .bd-shop-detail__panel > :last-child {
        margin-bottom: 0;
    }

    .bd-shop-detail__panel .bd-shop-detail__panel-title {
        margin: 0 0 6px;
        font-size: 15px;
        line-height: 1.4;
        font-weight: 700;
    }

.bd-shop-detail__seller-terms {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.bd-shop-detail__note {
    margin-top: 12px;
    padding: 9px 11px;
    border-radius: 4px;
    background: #f4f6f7;
    font-size: 13px;
}

.bd-shop-detail__contact {
    max-width: 640px;
}

    .bd-shop-detail__contact > p {
        margin: 0 0 10px;
    }

.bd-shop-detail__form textarea {
    max-width: 100%;
}

@media (max-width: 991px) {
    .bd-shop-detail__body .bd-shop-detail__title {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .bd-shop-detail__summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .bd-shop-detail__panel {
        padding-inline: 12px;
    }
}

/* Feedback en Voorwaarden gebruiken de volledige paginacontainer. */
.bd-shop-detail__body.bd-shop-detail__body--wide {
    max-width: none;
    width: 100%;
}

/* Feedback */
.bd-shop-feedback__heading,
.bd-shop-feedback__row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) minmax(80px, 120px) minmax(92px, 126px);
    align-items: start;
    gap: 0 14px;
    padding: 8px 10px;
}

.bd-shop-feedback__heading {
    border-block: 1px solid #e0e5e8;
    background: #f6f7f8;
    color: #49575f;
    font-size: 12px;
    font-weight: 600;
}

    .bd-shop-feedback__heading > :nth-child(3) {
        text-align: right;
    }

.bd-shop-feedback__list,
.bd-shop-feedback__page-numbers {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bd-shop-feedback__row {
    border-bottom: 1px solid #e0e5e8;
    font-size: 13px;
    line-height: 1.4;
}

.bd-shop-feedback__thumb {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 52px;
    overflow: hidden;
    border-radius: 3px;
    background: #f4f6f7;
    color: #49575f;
    font-size: 10px;
    text-align: center;
}

    .bd-shop-feedback__thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #f4f6f7;
    }

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

.bd-shop-feedback__item,
.bd-shop-feedback__buyer {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bd-shop-feedback__item-head {
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.bd-shop-feedback__status {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    object-fit: contain;
}

.bd-shop-feedback__item-title {
    min-width: 0;
    color: #226187;
    font-weight: 600;
}

.bd-shop-feedback__price {
    text-align: right;
}

    .bd-shop-feedback__price strong {
        white-space: nowrap;
    }

.bd-shop-feedback__row .bd-shop-feedback__reaction {
    margin: 3px 0 0;
    color: #20272c;
    line-height: inherit;
    white-space: pre-line;
}

.bd-shop-feedback__date {
    display: block;
    margin-top: 2px;
    color: #49575f;
    font-size: 11px;
}

.bd-shop-feedback__more summary {
    margin-top: 3px;
    color: #226187;
    cursor: pointer;
}

.bd-shop-feedback__empty {
    padding: 12px 0;
    color: #49575f;
}

.bd-shop-feedback__sr-only,
.bd-shop-feedback__buyer-label,
.bd-shop-feedback__page-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bd-shop-feedback__pager,
.bd-shop-feedback__page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.bd-shop-feedback__pager {
    margin-top: 14px;
    font-size: 13px;
}

    .bd-shop-feedback__pager a,
    .bd-shop-feedback__page-numbers span {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-width: 34px;
        min-height: 36px;
        padding: 4px 8px;
        color: #20272c;
    }

    .bd-shop-feedback__pager a,
    .bd-shop-feedback__page-numbers [aria-current="page"] {
        border: 1px solid #dbe1e4;
        border-radius: 4px;
    }

        .bd-shop-feedback__pager a:hover {
            background: #f4f6f7;
        }

.bd-shop-feedback__page-numbers [aria-current="page"] {
    background: #faf3da;
    border-color: #dfcc84;
    font-weight: 700;
}

/* Berichtformulier */
.bd-shop-detail .bd-shop-message {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #e0e5e8;
    border-radius: 6px;
    background: #fff;
}

.bd-shop-message__field label {
    display: block;
    margin: 0 0 2px;
    color: #181b1e;
    font-weight: 600;
}

.bd-shop-message__field .bd-shop-message__hint {
    margin: 0 0 7px;
    color: #49575f;
    font-size: 12px;
    line-height: 1.5;
}

.bd-shop-detail .bd-shop-message__textarea {
    display: block;
    width: 100%;
    min-height: 116px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #dbe1e4;
    border-radius: 4px;
    background: #fff;
    color: #20272c;
    font: inherit;
    resize: vertical;
}

.bd-shop-detail .bd-shop-message__submit {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #20272c;
    border-radius: 4px;
    background: #20272c;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .bd-shop-detail .bd-shop-message__submit:hover {
        background: #343f46;
    }

@media (min-width: 768px) {
    .bd-shop-detail__sort {
        flex-wrap: nowrap;
    }
}

@media (max-width: 575px) {
    .bd-shop-feedback__heading,
    .bd-shop-feedback__page-numbers {
        display: none;
    }

    .bd-shop-feedback__row {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 4px 9px;
        padding-inline: 0;
    }

    .bd-shop-feedback__thumb {
        grid-row: 1 / span 2;
    }

    .bd-shop-feedback__item {
        grid-column: 2 / -1;
    }

    .bd-shop-feedback__price {
        grid-row: 2;
        grid-column: 3;
    }

    .bd-shop-feedback__buyer {
        grid-row: 2;
        grid-column: 2;
    }

    .bd-shop-feedback__buyer-label,
    .bd-shop-feedback__page-status {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        color: #49575f;
    }

    .bd-shop-feedback__pager a {
        min-height: 44px;
    }

    .bd-shop-detail .bd-shop-message {
        padding-inline: 12px;
    }

    .bd-shop-detail .bd-shop-message__textarea {
        font-size: 16px;
    }
}
