/* Scoped to the inline room cards; modal galleries keep their existing styles. */
.st-list-rooms .image.kunkin-room-slider {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f3f3f3;
}
.st-list-rooms .kunkin-room-slider__viewport {
    display: flex;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    direction: ltr;
}
.st-list-rooms .kunkin-room-slider__viewport::-webkit-scrollbar { display: none; }
.st-list-rooms .kunkin-room-slider__viewport:focus-visible {
    outline: 3px solid #f09220;
    outline-offset: -3px;
}
.st-list-rooms .kunkin-room-slider__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.st-list-rooms .image.kunkin-room-slider img.kunkin-room-slider__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 0;
    transform: none;
}
.st-list-rooms .kunkin-room-slider__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}
.st-list-rooms .kunkin-room-slider .kunkin-room-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .58);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.st-list-rooms .kunkin-room-slider__arrow--prev { left: 10px; }
.st-list-rooms .kunkin-room-slider__arrow--next { right: 10px; }
.st-list-rooms .kunkin-room-slider__arrow:hover { background: rgba(0, 0, 0, .8); }
.st-list-rooms .kunkin-room-slider__arrow:focus-visible { outline: 3px solid #f09220; outline-offset: 2px; }
.st-list-rooms .kunkin-room-slider__counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    pointer-events: none;
}
