/* Showroom carousel for the company and designer pages. */
.fason-preview .fdp-showroom-photo {
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: 280px;
    aspect-ratio: 1.6;
    border-radius: 16px;
    background: var(--fp-dark);
}
.fason-preview .fdp-showroom-photo .carousel-inner { position: absolute; inset: 0; }
.fason-preview .fdp-showroom-photo .carousel-item { height: 100%; }
.fason-preview .fdp-showroom-photo .fdp-showroom-portrait { object-fit: contain; }
.fason-preview .fdp-showroom-thumbs {
    bottom: 10px;
    width: max-content;
    max-width: calc(100% - 20px);
    gap: 4px;
    margin: 0 auto;
    padding: 4px;
    border-radius: 12px;
    background: rgb(20 18 16 / .76);
}
.fason-preview .fdp-showroom-thumbs [data-bs-target] {
    box-sizing: border-box;
    width: clamp(48px, 4.5vw, 64px);
    height: 44px;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    opacity: .72;
}
.fason-preview .fdp-showroom-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fason-preview .fdp-showroom-thumbs [aria-current="true"] { border-color: #fff; opacity: 1; }
.fason-preview .fdp-showroom-thumbs [data-bs-target]:hover { opacity: 1; }
.fason-preview .fdp-showroom-toggle {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / .5);
    border-radius: 50%;
    background: rgb(20 18 16 / .76);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.fason-preview .fdp-showroom-toggle:hover { background: #242424; }
.fason-preview .fdp-showroom-photo button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; opacity: 1; }
@media (max-width: 767.98px) {
    .fason-preview .fdp-showroom-photo { aspect-ratio: 1.5; }
}
