.buyer-platform,
.buyer-platform *,
.buyer-platform *::before,
.buyer-platform *::after {
    box-sizing: border-box;
}

.buyer-platform {
    min-inline-size: 0;
    min-block-size: 100vh;
    isolation: isolate;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.buyer-platform [hidden] {
    display: none !important;
}

.buyer-platform img,
.buyer-platform picture,
.buyer-platform video,
.buyer-platform canvas,
.buyer-platform svg {
    display: block;
    max-inline-size: 100%;
}

.buyer-platform button,
.buyer-platform input,
.buyer-platform select,
.buyer-platform textarea {
    font: inherit;
    letter-spacing: 0;
}

.buyer-platform__main {
    min-inline-size: 0;
    min-block-size: 1px;
}

.buyer-breadcrumbs,
.buyer-breadcrumbs a {
    color: #7a869a;
    font-size: 14px;
    line-height: 1.4;
}

.buyer-breadcrumbs a:hover,
.buyer-breadcrumbs a:focus-visible {
    color: #e8790c;
    outline: 0;
}

@media (max-width: 767px) {
    .buyer-breadcrumbs,
    .buyer-breadcrumbs a {
        font-size: 12px;
    }
}

/* List-page hero: keep the block height, pin the photo to the right, fill
   leftover space with --buyer-list-hero-fade, and fade that color across
   the left fifth of the photo. */
.buyer-list-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--buyer-list-hero-fade);
}

.buyer-list-hero__frame {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    height: 100%;
    width: max-content;
    max-width: none;
    pointer-events: none;
}

.buyer-list-hero__frame::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 20%;
    background: linear-gradient(to right, var(--buyer-list-hero-fade) 0%, transparent 100%);
}

.buyer-list-hero__frame picture {
    display: block;
    height: 100%;
    width: max-content;
    max-width: none;
    max-inline-size: none;
}

.buyer-platform .buyer-list-hero__image {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    max-inline-size: none;
    object-fit: unset;
}

@media (prefers-reduced-motion: reduce) {
    .buyer-platform *,
    .buyer-platform *::before,
    .buyer-platform *::after {
        scroll-behavior: auto !important;
    }
}
