/* V1.1.11.2 — Room Detail Visual Polish */

.room-detail-hero--polished{
    min-height:350px;
}

.room-detail-hero--polished
.room-detail-hero__content{
    min-height:350px;
    padding-bottom:44px;
}

.room-detail-back{
    display:inline-block;
    width:max-content;
    margin-bottom:22px;
    color:rgba(255,255,255,.82);
    font-size:11px;
    font-weight:700;
    text-decoration:none;
}

.room-detail-back:hover{
    color:#fff;
}

.room-detail-hero--polished h1{
    font-size:48px;
}

.room-gallery--polished{
    display:grid;
    grid-template-columns:minmax(0,1.8fr) minmax(180px,.7fr);
    gap:10px;
    margin-bottom:34px;
}

.room-gallery__lead,
.room-gallery__thumb{
    position:relative;
    padding:0;
    border:0;
    cursor:pointer;
}

.room-gallery--polished
.room-gallery__lead{
    aspect-ratio:16/10;
}

.room-gallery__lead img,
.room-gallery__thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.room-gallery__open{
    position:absolute;
    right:14px;
    bottom:14px;
    padding:8px 11px;
    border-radius:999px;
    background:rgba(255,255,255,.94);
    color:#2d2b28;
    font-size:10px;
    font-weight:700;
    box-shadow:0 4px 18px rgba(0,0,0,.12);
}

.room-gallery--polished
.room-gallery__thumbs{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin:0;
    max-height:100%;
    overflow:hidden;
}

.room-gallery__thumb{
    min-height:0;
    overflow:hidden;
    border-radius:10px;
    background:#eeeae3;
}

.room-gallery__thumb img{
    transition:transform .2s ease;
}

.room-gallery__thumb:hover img{
    transform:scale(1.025);
}

.room-facts-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:22px;
}

.room-fact{
    padding:14px 15px;
    border:1px solid #e7e1d7;
    border-radius:10px;
    background:#faf9f6;
}

.room-fact span{
    display:block;
    margin-bottom:4px;
    color:#81786f;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.room-fact strong{
    display:block;
    font-size:13px;
    line-height:1.4;
}

.room-detail-description{
    margin-top:26px;
}

.room-detail-section-title h3{
    margin:5px 0 18px;
}

.room-detail-facilities__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 16px;
}

.room-detail-facility{
    min-height:40px;
    padding:9px 11px;
    border:1px solid #ece6dc;
    border-radius:9px;
    background:#fff;
}

.room-detail-facility__check{
    display:inline-flex;
    width:21px;
    height:21px;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f2ece2;
    color:#826a47;
    font-size:11px;
    font-weight:700;
}

.room-rate-card--polished{
    top:92px;
    padding:24px;
}

.room-rate-card--polished h2{
    margin-bottom:8px;
}

.room-rate-card--polished
.room-rate-item{
    display:block;
    padding:16px 0;
}

.room-rate-copy strong{
    font-size:14px;
}

.room-rate-price{
    margin-top:10px;
    text-align:left;
}

.room-rate-price strong{
    font-size:20px;
}

.room-detail-cta{
    min-height:48px;
    margin-top:18px;
    border-radius:7px;
    font-weight:700;
}

.room-lightbox{
    position:fixed;
    z-index:9999;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:rgba(10,10,10,.92);
}

.room-lightbox.is-open{
    display:flex;
}

.room-lightbox__image{
    max-width:min(1200px,94vw);
    max-height:90vh;
    object-fit:contain;
    border-radius:8px;
}

.room-lightbox__close{
    position:absolute;
    top:20px;
    right:22px;
    width:44px;
    height:44px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.14);
    color:#fff;
    cursor:pointer;
    font-size:28px;
    line-height:1;
}

body.room-lightbox-open{
    overflow:hidden;
}

@media(max-width:900px){

    .room-gallery--polished{
        grid-template-columns:1fr;
    }

    .room-gallery--polished
    .room-gallery__thumbs{
        display:flex;
        overflow-x:auto;
        scroll-snap-type:x proximity;
        padding-bottom:3px;
    }

    .room-gallery__thumb{
        flex:0 0 150px;
        aspect-ratio:4/3;
        scroll-snap-align:start;
    }

    .room-facts-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:640px){

    .room-detail-hero--polished{
        min-height:300px;
    }

    .room-detail-hero--polished
    .room-detail-hero__content{
        min-height:300px;
        padding-bottom:32px;
    }

    .room-detail-hero--polished h1{
        font-size:36px;
    }

    .room-detail-back{
        margin-bottom:17px;
    }

    .room-gallery--polished{
        margin-bottom:24px;
    }

    .room-gallery--polished
    .room-gallery__lead{
        aspect-ratio:4/3;
    }

    .room-gallery__thumb{
        flex-basis:126px;
    }

    .room-facts-grid{
        grid-template-columns:1fr 1fr;
        gap:8px;
    }

    .room-fact{
        padding:12px;
    }

    .room-detail-facilities__grid{
        grid-template-columns:1fr;
    }

    .room-lightbox{
        padding:12px;
    }

    .room-lightbox__close{
        top:12px;
        right:12px;
    }
}

@media(max-width:380px){

    .room-facts-grid{
        grid-template-columns:1fr;
    }
}
