.rental-public-gallery {
    width: 100%;
    aspect-ratio: 3 / 2;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #eef0f5;
}
.rental-public-gallery[hidden], .rental-gallery-controls[hidden] { display: none; }
.rental-gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
}
.rental-gallery-interactive .rental-gallery-track { scrollbar-width: none; }
.rental-gallery-interactive .rental-gallery-track::-webkit-scrollbar { display: none; }
.rental-gallery-photo {
    display: block;
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    scroll-snap-align: start;
}
.rental-gallery-controls {
    position: absolute;
    z-index: 1;
    inset: auto 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}
.rental-public-gallery .rental-gallery-arrow {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, .78);
    color: #fff;
    font: 600 28px / 1 system-ui, sans-serif;
    cursor: pointer;
    pointer-events: auto;
}
.rental-public-gallery .rental-gallery-arrow:disabled { opacity: .45; cursor: default; }
.rental-gallery-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rental-gallery-counter {
    padding: 5px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(17, 24, 39, .78);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
.public-rental-list > .public-rental-card { min-width: 0; }
.public-rental-card h3 { font-size: clamp(21px, 3vw, 27px); line-height: 1.19; }
.public-rental-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
#publicTabRentals { scroll-margin-top: 132px; }
#publicTabRentals:not(.hidden) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}
.hero-actions .rental-mobile-entry { display: none; }
.rental-wrap > .rental-public-gallery { max-width: 780px; margin: 0 0 16px; }
@media(max-width:640px) {
    .public-tabs-with-rentals .public-tab {
        flex: 1 1 0;
        min-width: 0;
        padding-inline: 5px;
        font-size: clamp(11px, 3.3vw, 14px);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
    .hero-actions .rental-mobile-entry { display: inline-flex; }
    .mrp-pm-actions .rental-mobile-action { gap: 6px; }
    .public-rental-list > .public-rental-card { padding: 14px; }
    .public-rental-card .public-rental-cta { width: 100%; }
}
