/* ===== 12. Room photos · layout + «Классика»: centered looping strip, arrows below ===== */
.hm-rph { overflow-x: clip; }
.hm-rph__eyebrow { font-weight: 300; color: var(--hm-c-muted); }
.hm-rph__title em { font-style: normal; }

.hm-rph__slider { --_gap: 16px; width: 100%; }
.hm-rph__slide {
    display: block;
    width: clamp(260px, 25vw, 440px);
    padding-inline: calc(var(--_gap) / 2);
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}
.hm-rph__frame {
    display: block;
    aspect-ratio: 343 / 218;
    overflow: hidden;
    border-radius: var(--hm-radius-media);
    background: rgba(0, 0, 0, .06);
}
.hm-rph__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--focus, 50% 50%);
    transition: transform .9s var(--hm-ease), opacity .6s var(--hm-ease);
}
.hm-rph__slide:hover .hm-rph__img { transform: scale(1.04); }
.hm-rph__slide:focus-visible { outline: none; }
.hm-rph__slide:focus-visible .hm-rph__frame { outline: 2px solid var(--hm-c-accent); outline-offset: 3px; }
.hm-rph__caption { display: none; }

.hm-rph__ui { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: clamp(28px, 3vw, 40px); }
.hm-rph__ui .hm-nav-btn { --_size: 36px; }
.hm-rph__counter { display: none; }

/* No Swiper: native horizontal scroll with snap, arrows hidden */
.hm-rph__slider:not(.swiper-initialized) .swiper-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-inline: calc(var(--hm-gutter) - var(--_gap) / 2);
}
.hm-rph__slider:not(.swiper-initialized) .hm-rph__slide { scroll-snap-align: center; }
.hm-rph:not(.hm-rph--ready) .hm-rph__ui { display: none; }

@media (max-width: 767px) {
    .hm-rph__slider { --_gap: 10px; }
    .hm-rph__slide { width: 82vw; }
}
