/* Hotel detail presentation only; quote and booking rules remain in the view/components. */
.web-public-shell .web-hotel-detail .web-hotel-detail-heading {
    text-align: left !important;
    padding: 8px 0 20px;
}
.web-hotel-detail-heading h1, .web-hotel-detail-heading h4 {
    color: var(--web-navy, #172033);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 750;
}
.web-public-shell .web-hotel-detail .web-hotel-gallery-slider .swiper-slide {
    height: calc(clamp(320px, 38vw, 530px) + var(--gallery-reclaimed-height, 0px));
}
.web-hotel-gallery-shell--filtered {
    /* Reuse the former 38px filter row and its 1rem bottom margin for the photo. */
    --gallery-reclaimed-height: calc(38px + 1rem);
}
.web-hotel-detail .web-hotel-gallery-shell {
    box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
}
.web-room-selection {
    margin-block: 28px 36px;
    padding: 24px;
    border: 1px solid #e2e6eb;
    border-radius: 24px;
    background: #f7f8fa;
}
.web-room-selection-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e2e6eb;
}
.web-room-selection-heading h2 {
    margin: 0 0 8px;
    color: var(--web-navy, #172033);
    font-size: 1.4rem;
    font-weight: 750;
}
.web-room-selection-heading p {
    margin: 0;
    color: #637083;
    font-size: .9rem;
}
.web-room-selection-dates {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    padding: 10px 14px;
    border: 1px solid #e2e6eb;
    border-radius: 10px;
    background: #fff;
    font-size: .85rem;
    font-weight: 600;
}
.web-public-shell .web-hotel-detail .web-room-results { margin-top: 6px; }
.web-public-shell .web-hotel-detail .web-room-card {
    display: grid;
    grid-template-columns: minmax(320px, 34%) minmax(0, 1fr);
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
}
.web-public-shell .web-hotel-detail .web-room-card:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .07);
}
.web-public-shell .web-hotel-detail .web-room-card-media {
    width: 100%;
    min-width: 0;
    min-height: 260px;
    aspect-ratio: 16 / 10;
    align-self: stretch;
}
.web-public-shell .web-hotel-detail .web-room-card-slider {
    position: absolute;
    inset: 0;
}
.web-public-shell .web-hotel-detail .web-room-slider-nav { opacity: 1; }
.web-public-shell .web-hotel-detail .web-room-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    grid-template-rows: auto auto auto 1fr auto auto;
    align-items: start;
    gap: 8px 24px;
    min-width: 0;
    padding: 24px;
}
.web-public-shell .web-hotel-detail .web-room-card-title {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.web-hotel-detail .room-summary { grid-column: 1; grid-row: 2; }
.web-hotel-detail .room-features { grid-column: 1; grid-row: 3; }
.web-hotel-detail .room-features li {
    background: #f7f8fa;
    border-color: #e7ebef !important;
    color: #4f5b6c;
    line-height: 1.5;
}
/* Keep the quote and stay markup together while aligning their visual columns. */
.web-public-shell .web-hotel-detail .web-room-card-content { display: contents; }
.web-public-shell .web-hotel-detail .web-room-stay-details {
    grid-column: 1;
    grid-row: 4;
    width: auto;
    margin: 0;
    padding: 0;
    color: #637083;
}
.web-public-shell .web-hotel-detail .web-room-price-panel {
    grid-column: 2;
    grid-row: 1 / 7;
    align-self: stretch;
    justify-content: center;
    width: auto;
    margin: 0;
    padding: 0 0 0 24px;
    border-left: 1px solid #e7ebef;
}
.web-room-price-caption {
    margin-bottom: 8px;
    color: #637083;
    font-size: .78rem;
}
.web-public-shell .web-hotel-detail .web-room-price-panel .text-price {
    margin-block: 4px 14px;
    font-size: 1.65rem;
    overflow-wrap: anywhere;
}
.web-public-shell .web-hotel-detail .web-room-availability-slot {
    grid-column: 1;
    grid-row: 5;
    min-height: 0;
    margin-top: 0;
}
.web-hotel-detail .web-room-availability-slot[aria-hidden="true"] { display: none; }
.web-hotel-detail .public-cart-controls { text-align: left; }
.web-hotel-detail .public-cart-controls button { min-height: 44px; }
.web-hotel-detail .web-room-card-media .offer-room-gallery {
    position: absolute;
    inset: 0;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    height: 100%;
}
.web-hotel-detail .offer-room-gallery button.offer-room-gallery__arrow {
    width: 40px;
    height: 40px;
    border: 0;
    color: var(--web-navy, #172033);
    background: rgba(255, 255, 255, .94);
}
.web-hotel-detail .web-room-offer-booking { margin-bottom: 0; }
.web-public-shell .web-hotel-detail .web-room-card-body > .web-room-tools {
    grid-column: 1;
    grid-row: 6;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: start;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.web-hotel-detail .web-room-tools button { width: 100%; min-width: 0; }
.web-hotel-detail .web-room-tools i { font-size: 1rem; line-height: 1; }
.web-hotel-detail .web-room-tools button:focus-visible { outline: 3px solid #488764; outline-offset: 3px; }
.web-public-shell .web-hotel-detail .web-room-price-panel :is(.public-cart-add, .web-room-booking-action) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(125deg, var(--web-green, #cf4348), var(--web-green-bright, #c98b52));
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}
.web-public-shell .web-hotel-detail .web-room-price-panel :is(.public-cart-add, .web-room-booking-action):hover:not(:disabled) { filter: brightness(.96); }
.web-public-shell .web-hotel-detail .web-room-price-panel :is(.public-cart-add, .web-room-booking-action):focus-visible { outline: 3px solid var(--web-green, #cf4348); outline-offset: 3px; }
.web-hotel-detail .web-room-photo-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    text-align: center;
    color: #687587;
    font-size: .85rem;
}
.web-hotel-detail .web-room-photo-empty i { font-size: 2rem; }
.web-room-guest-notice { padding: 12px; border-radius: 10px; background: #f0f6fa; color: #526475; font-size: .8rem; }
.web-room-cancellation summary { cursor: pointer; color: var(--web-navy, #172033); font-weight: 600; }
.web-room-cancellation-copy { margin-top: 10px; max-height: 220px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8rem; }
@media (max-width: 1199.98px) {
    .web-public-shell .web-hotel-detail .web-room-card { grid-template-columns: minmax(280px, 34%) minmax(0, 1fr); }
    .web-public-shell .web-hotel-detail .web-room-card-body { grid-template-columns: minmax(0, 1fr) 230px; gap: 8px 18px; padding: 20px; }
    .web-public-shell .web-hotel-detail .web-room-card-body > .web-room-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .web-public-shell .web-hotel-detail .web-room-price-panel { padding-left: 18px; }
}
@media (max-width: 991.98px) {
    .web-room-selection-heading { align-items: flex-start; flex-direction: column; }
    .web-public-shell .web-hotel-detail .web-room-card { grid-template-columns: minmax(0, 1fr); }
    .web-public-shell .web-hotel-detail .web-room-card-media { min-height: 0; aspect-ratio: 16 / 9; }
    .web-public-shell .web-hotel-detail .web-room-card-body { grid-template-columns: minmax(0, 1fr); }
    .web-public-shell .web-hotel-detail .web-room-price-panel {
        grid-column: 1;
        grid-row: 7;
        padding: 18px 0 0;
        border-left: 0;
        border-top: 1px solid #e7ebef;
    }
}
@media (max-width: 575.98px) {
    .web-room-selection { padding: 16px; border-radius: 18px; }
    .web-room-selection-dates { flex-wrap: wrap; padding: 8px; font-size: .78rem; }
    .web-public-shell .web-hotel-detail .web-room-card { grid-template-columns: minmax(0, 1fr); }
    .web-public-shell .web-hotel-detail .web-room-card-media { min-height: 0; aspect-ratio: 16 / 10; }
    .web-public-shell .web-hotel-detail .web-room-card-body { padding: 18px; }
    .web-hotel-detail .web-room-tools button { flex: 1 1 140px; }
    .web-public-shell .web-hotel-detail .web-hotel-gallery-slider .swiper-slide { height: calc(260px + var(--gallery-reclaimed-height, 0px)); }
}
@media (max-width: 767.98px) {
    .web-hotel-gallery-shell--filtered { --gallery-reclaimed-height: calc(38px + 1.4rem); }
}
