/* Web Hotel presentation, scoped to the BE hotel body. The brand/header,
   hotel scope, search fields and reservation controls keep their BE behavior. */
.be-hotel-page {
    --be-text: #0f172a;
    --be-muted: #64748b;
    --be-green: #cf4348;
    --be-green-bright: #c98b52;
    --be-border: #e2e6eb;
    --ui-accent: #cf4348;
    --ui-accent-end: #c98b52;
    --ui-text: #0f172a;
    --ui-muted: #64748b;
    --ui-border: #e2e6eb;
    --web-green: #cf4348;
    --web-green-bright: #c98b52;
    color: var(--be-text);
    background: #fff;
}
.be-hotel-page .be-module-filter-card {
    padding: 24px;
    border: 1px solid #e2e6eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
}
.be-hotel-page .be-module-filter-card .form-label { color: #0f172a; font-size: .8rem; font-weight: 650; }
.be-stay-search-summary { display: none; }
[data-be-stay-search] form[hidden] { display: none !important; }
@media (max-width: 767px) {
    .be-hotel-page .be-stay-search-summary:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .be-stay-search-selection { display: grid; gap: 5px; min-width: 0; }
    .be-stay-search-selection strong { color: var(--ui-text); font-size: .85rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
    .be-stay-search-selection > span { color: var(--ui-muted); font-size: .8rem; }
    .be-stay-search-toggle { display: flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 5px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--ui-border); border-radius: 10px; background: #fff; color: var(--ui-text); font: inherit; font-size: .8rem; font-weight: 600; }
    .be-stay-search-toggle:hover { background: #f8fafc; }
    .be-stay-search-toggle:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 2px; }
    .be-stay-search-toggle svg { width: 16px; height: 16px; }
    .be-stay-search-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
    .be-stay-search-summary:has([aria-expanded="true"]) { padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--ui-border); }
}
.be-hotel-page .be-module-filter-card :is(.form-control, .form-select) {
    min-height: 50px;
    border-color: #e2e6eb;
    border-radius: 12px;
    color: #0f172a;
    background-color: #f8fafc;
    box-shadow: none;
    font-weight: 500;
}
.be-hotel-page .be-module-filter-card :is(.form-control, .form-select):focus {
    border-color: #cf4348;
    box-shadow: 0 0 0 3px rgba(207, 67, 72, .13);
}
.be-hotel-page :is(.be-primary-button, .public-cart-add, .offer-room-result__book) {
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(125deg, #cf4348, #c98b52);
    color: #fff;
    font-weight: 700;
    box-shadow: none;
    letter-spacing: normal;
}
.be-hotel-page :is(.be-primary-button, .public-cart-add, .offer-room-result__book):hover:not(:disabled) { filter: brightness(.96); transform: none; }
.be-hotel-page :is(.be-primary-button, .public-cart-add, .offer-room-result__book):focus-visible { outline: 3px solid #cf4348; outline-offset: 3px; }
.be-hotel-page :is(.be-module-grid, .offer-room-results) {
    margin-block: 28px 36px;
    padding: 24px;
    border: 1px solid #e2e6eb;
    border-radius: 24px;
    background: #f7f8fa;
    color: #0f172a;
    overflow: visible;
}
.be-hotel-page :is(.be-section-title-row, .offer-room-results__heading) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
    padding: 0 0 22px;
    border-bottom: 1px solid #e2e6eb;
    background: transparent;
}
.be-hotel-page :is(.be-section-title-row, .offer-room-results__heading) h2 { margin: 0; color: #0f172a; font-size: 1.4rem; font-weight: 750; }
.be-hotel-page :is(.be-section-title-row > span, .offer-room-results__stay span) {
    padding: 10px 14px;
    border: 1px solid #e2e6eb;
    border-radius: 10px;
    color: #637083;
    background: #fff;
    font-size: .85rem;
    font-weight: 600;
}
.be-hotel-page .be-room-list { gap: 16px; }
.be-hotel-page :is(.be-room-card, .offer-room-result) {
    position: relative;
    overflow: hidden;
    margin: 16px 0 0;
    padding: 0;
    border: 1px solid rgba(15, 35, 52, .09);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
}
.be-hotel-page .be-room-card { grid-template-columns: minmax(320px, 34%) minmax(0, 1fr); margin-top: 0; }
.be-hotel-page .offer-room-result { grid-template-columns: minmax(320px, 34%) minmax(0, 1fr) 294px; gap: 0; }
.be-hotel-page :is(.be-room-card, .offer-room-result):hover { transform: none; box-shadow: 0 5px 20px rgba(15, 23, 42, .07); }
.be-hotel-page :is(.be-room-image-link, .offer-room-result__photo) {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 260px;
    aspect-ratio: 16 / 10;
    border-radius: 0;
    background: #f5f6f8;
}
.be-hotel-page :is(.be-room-image-placeholder, .offer-room-result__empty) { color: #687587; background: #f5f6f8; font-size: .85rem; font-weight: 500; }
.be-hotel-page .be-room-gallery { border-radius: 14px; }
.be-hotel-page .be-room-image-placeholder i { font-size: 2rem; }
.be-hotel-page .be-room-content { grid-template-columns: minmax(0, 1fr) 270px; grid-template-rows: auto auto auto 1fr auto auto; align-items: start; gap: 8px 24px; padding: 24px; min-width: 0; }
.be-hotel-page .be-room-main { display: contents; }
.be-hotel-page .be-room-main h3 { grid-column: 1; grid-row: 1; }
.be-hotel-page .room-summary { grid-column: 1; grid-row: 2; }
.be-hotel-page .room-features { grid-column: 1; grid-row: 3; }
.be-hotel-page .be-room-stay-details { grid-column: 1; grid-row: 4; color: #637083; font-size: .85rem; line-height: 1.65; }
.be-hotel-page .be-room-stay-details .be-room-board { margin: 8px 0 0; }
.be-hotel-page .be-room-availability { grid-column: 1; grid-row: 5; margin: 0; color: #28764f; font-weight: 650; }
.be-hotel-page .be-room-price-panel { grid-column: 2; grid-row: 1 / 7; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.be-hotel-page .be-room-price-caption { margin-bottom: 8px; color: #637083; font-size: .78rem; }
/* Web hotel unavailable-state typography and spacing. */
.be-hotel-page .be-room-price-panel .be-room-unavailable-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.22rem;
    width: 100%;
    min-height: 4.25rem;
    padding: 0.65rem 0.72rem;
    border: 1px solid #f2d2d2;
    border-radius: 0.72rem;
    background: #fff7f7;
    color: #9f3035;
    line-height: 1.3;
    text-align: center;
}

.be-hotel-page .be-room-price-panel .be-room-unavailable-copy strong {
    margin: 0;
    color: #9f3035;
    font-size: 0.84rem;
    font-weight: 800;
}

.be-hotel-page .be-room-price-panel .be-room-unavailable-copy small {
    color: #7d5c5e;
    font-size: 0.72rem;
}

.be-hotel-page .offer-room-result__info { grid-column: 2; grid-row: 1; padding: 24px; }
.be-hotel-page :is(.be-room-main h3, .offer-room-result__info h3) { margin: 0 0 8px; color: #0f172a; font-size: 1.15rem; line-height: 1.4; font-weight: 750; overflow-wrap: anywhere; }
.be-hotel-page :is(.be-room-main p, .be-room-meta, .offer-room-result__summary, .offer-room-result__board, .offer-room-result__notice) { color: #637083; font-weight: 400; line-height: 1.65; }
.be-hotel-page :is(.room-features li, .offer-room-result__features li) { color: #4f5b6c; border-color: #e7ebef !important; background: #f7f8fa; font-weight: 500; }
.be-hotel-page :is(.be-room-price-panel, .offer-room-result__price) { align-self: stretch; border-left: 1px solid #e7ebef; padding-left: 24px; min-width: 0; }
.be-hotel-page .offer-room-result__price { grid-column: 3; grid-row: 1; margin: 24px 24px 24px 0; }
.be-hotel-page :is(.be-room-price-panel strong, .offer-room-result__price .cp-current) { color: #0f172a; font-size: 1.65rem; font-weight: 750; letter-spacing: normal; overflow-wrap: anywhere; }
.be-hotel-page .offer-room-result__caption { color: #637083; font-size: .78rem; }
.be-hotel-page .be-room-price-panel small { color: #28764f; font-weight: 650; }
.be-hotel-page .public-cart-controls { text-align: left; }
.be-hotel-page .public-cart-controls button { min-height: 44px; }
.be-hotel-page :is(.be-room-tools, .offer-room-result__tools) {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 12px 24px;
    border-top: 1px solid #e7ebef;
    background: #fff;
}
.be-hotel-page :is(.be-room-tools, .offer-room-result__tools) button { min-height: 40px; border: 1px solid #e2e6eb; border-radius: 8px; background: #f7f8fa; color: #4f5b6c; font-size: .78rem; font-weight: 600; }
.be-hotel-page :is(.be-room-tools, .offer-room-result__tools) button:hover { background: #eef1f5; }
.be-hotel-page :is(.be-room-tools, .offer-room-result__tools) button:focus-visible { outline: 3px solid #cf4348; outline-offset: 3px; }
/* Match Web: secondary room tools sit beneath room information, beside the quote. */
.be-hotel-page .be-room-content > .be-room-tools {
    grid-column: 1;
    grid-row: 6;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: start;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.be-hotel-page .be-room-tools button { width: 100%; min-width: 0; justify-content: center; overflow-wrap: anywhere; }
.be-hotel-page .be-room-tools i { font-size: 1rem; line-height: 1; }
@media (max-width: 1199.98px) {
    .be-hotel-page .be-room-card { grid-template-columns: minmax(280px, 34%) minmax(0, 1fr); }
    .be-hotel-page .be-room-content { grid-template-columns: minmax(0, 1fr) 230px; gap: 8px 18px; padding: 20px; }
    .be-hotel-page .be-room-content > .be-room-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .be-hotel-page .offer-room-result { grid-template-columns: minmax(280px, 34%) minmax(0, 1fr) 250px; }
    .be-hotel-page .offer-room-result__info { padding: 20px; }
    .be-hotel-page .offer-room-result__price { margin: 20px 20px 20px 0; }
    .be-hotel-page :is(.be-room-price-panel, .offer-room-result__price) { padding-left: 18px; }
}
@media (max-width: 991.98px) {
    .be-hotel-page :is(.be-section-title-row, .offer-room-results__heading) { align-items: flex-start; flex-direction: column; }
    .be-hotel-page :is(.be-room-card, .offer-room-result, .be-room-content) { grid-template-columns: minmax(0, 1fr); }
    .be-hotel-page :is(.be-room-image-link, .offer-room-result__photo) { min-height: 0; aspect-ratio: 16 / 9; }
    .be-hotel-page .offer-room-result__info { grid-column: 1; grid-row: 2; }
    .be-hotel-page .be-room-price-panel { grid-column: 1; grid-row: 7; border-left: 0; border-top: 1px solid #e7ebef; padding: 18px 0 0; }
    .be-hotel-page .offer-room-result__price { grid-column: 1; grid-row: 3; margin: 0 20px 20px; border-left: 0; border-top: 1px solid #e7ebef; padding: 18px 0 0; }
    .be-hotel-page .be-room-tools { grid-row: 3; padding: 12px 18px; }
    .be-hotel-page .offer-room-result__tools { grid-row: 4; padding: 12px 18px; }
}
@media (max-width: 575.98px) {
    .be-hotel-page :is(.be-module-grid, .offer-room-results, .be-module-filter-card) { padding: 16px; border-radius: 18px; }
    .be-hotel-page :is(.be-room-image-link, .offer-room-result__photo) { aspect-ratio: 16 / 10; }
    .be-hotel-page :is(.be-room-content, .offer-room-result__info) { padding: 18px; }
    .be-hotel-page .offer-room-result__price { margin-inline: 18px; }
    .be-hotel-page :is(.be-room-tools, .offer-room-result__tools) button { flex: 1 1 140px; }
    .be-hotel-page :is(.be-section-title-row > span, .offer-room-results__stay span) { padding: 8px; font-size: .78rem; }
}
