/* Reference layout: two rows of compact photographs, paired room cards, quiet sidebar. */
body.hotel-detail-page { background: #e9eaec; color: #171b20; }
.hotel-detail { max-width: 1320px; margin-top: 24px; padding: 0 28px; }
.hotel-top-back { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #626d77; margin: 0 0 20px; }
.hotel-top-back .icon { width: 15px; height: 15px; transform: rotate(180deg); }
.hotel-detail .hotel-breadcrumbs { margin-bottom: 23px; }
.hotel-detail .hotel-detail-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
.hotel-detail .hotel-detail-heading { margin-bottom: 17px; }
.hotel-detail .hotel-detail-heading h1 { font-size: 30px; font-weight: 700 !important; letter-spacing: -.025em !important; line-height: 1.2 !important; }
.hotel-detail .hotel-address-line { font-size: 14px; color: #606973; }
.hotel-detail .hotel-address-line > .icon { display: none; }
.hotel-detail .hotel-stars { font-size: .7em; margin-left: 9px; }
.hotel-detail .hotel-detail-gallery { gap: 10px; margin-bottom: 58px; }
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; padding: 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hotel-detail-gallery[data-gallery-rows="2"] .provider-gallery-strip { grid-template-rows: repeat(2, auto); }
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-strip::-webkit-scrollbar { display: none; }
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-thumb { height: auto; aspect-ratio: 1.42; padding: 0; border: 0; border-radius: 23px; background: #dfe2e6; scroll-snap-align: start; }
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-thumb:focus-visible { outline: 3px solid #ffc800; outline-offset: -3px; }
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-thumb.is-active { box-shadow: inset 0 0 0 3px #ffc800; }
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-main { order: 1; width: 100%; margin-top: 6px; aspect-ratio: 1.65; }
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-more { padding: 7px 0; margin: 0; border: 0; color: #607180; font-size: 11px; }
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-strip-wrap::before,
.hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-strip-wrap::after { width: 48px; }
.hotel-detail-gallery .provider-gallery-strip-control { width: 33px; height: 33px; border-radius: 11px; background: #ffffffde; }
.hotel-gallery-collapse { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #ffffffeb; font-size: 24px; color: #33414d; cursor: pointer; }
.hotel-detail h2 { font-size: 29px; font-weight: 700 !important; letter-spacing: -.025em !important; }
.hotel-detail .hotel-section-note { font-size: 11px; margin-bottom: 18px; color: #7c8590; }
.hotel-detail .hotel-room-grid { gap: 22px 17px; }
.hotel-detail .hotel-room-card { border: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
.hotel-detail .hotel-room-photo { aspect-ratio: 1.5; border-radius: 25px; }
.hotel-detail .hotel-room-availability { top: 18px; left: 18px; padding: 6px 10px; border: 0; border-radius: 7px; color: #fff; background: #ea001b; font-size: 11px; }
.hotel-detail .hotel-room-content { padding: 22px 23px 21px; border-radius: 25px; background: #fff; }
.hotel-detail .hotel-room-content h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 51px; margin-bottom: 10px; color: #171b20; font-size: 20px; font-weight: 650 !important; line-height: 1.27 !important; }
.hotel-detail .hotel-room-facts { font-size: 12px; color: #555d68; gap: 7px 13px; }
.hotel-detail .hotel-room-description { margin: 12px 0 21px; font-size: 12px; }
.hotel-detail .hotel-room-description summary { padding: 10px; border-radius: 9px; color: #3586ec; background: #f6f6f8; }
.hotel-detail .hotel-room-description p { font-size: 13px; color: #687480; }
.hotel-rate-field { position: relative; }
.hotel-detail .hotel-rate-label { position: absolute; top: -8px; left: 12px; padding: 0 4px; margin: 0; background: #fff; color: #5d6570; font-size: 10px; line-height: 16px; }
.hotel-detail .hotel-rate-select { height: 46px; border: 1px solid #b9bec8; border-radius: 11px; font-size: 13px; color: #252a31; }
.hotel-detail .hotel-room-payment { margin: 21px 0 20px; font-size: 12px; font-weight: 600; color: #232931; }
.hotel-detail .hotel-room-payment .icon { display: none; }
.hotel-detail .hotel-room-rate-footer { border-top-color: #e0e3e8; padding-top: 17px; }
.hotel-detail .hotel-cancellation { color: #3a4550; font-size: 12px; }
.hotel-detail .hotel-cancellation .icon { color: #3d93f6; }
.hotel-detail .hotel-room-price { margin-top: 22px; }
.hotel-detail .hotel-room-price > span { color: #777f8c; font-size: 11px; }
.hotel-detail .hotel-room-price strong { font-size: 26px; font-weight: 700 !important; color: #111; }
.hotel-detail .hotel-room-price small { color: #7f8893; font-size: 11px; }
.hotel-detail .hotel-room-book, .hotel-detail .hotel-room-view-rate { min-height: 45px; border: 0; border-radius: 8px; background: #ffc800; color: #151515; font-size: 14px; font-weight: 500; }
.hotel-detail .hotel-room-view-rate:hover { background: #ffd530; }
.hotel-room-unavailable-footer { padding-top: 10px; border-top: 1px solid #e0e3e8; }
.hotel-room-unavailable-footer p { color: #8a939d; font-size: 11px; line-height: 1.5; margin-bottom: 13px; }
.hotel-room-disabled { width: 100%; min-height: 44px; border: 0; border-radius: 8px; color: #fff; background: #d3d6da; font: inherit; font-size: 13px; cursor: not-allowed; }
.hotel-detail .hotel-detail-sidebar { padding-top: 0; gap: 17px; }
.hotel-detail .hotel-yandex-promotion { padding: 0; }
.hotel-detail .hotel-yandex-promotion > span { font-size: 9px; margin-top: 7px; }
.hotel-side-cover { position: relative; overflow: hidden; aspect-ratio: 1.33; border-radius: 26px; background: #dce1e7; }
.hotel-side-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hotel-side-cover::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #14233038); pointer-events: none; }
.hotel-detail .hotel-side-cover .btn { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 23px; min-height: 47px; border: 0; border-radius: 8px; justify-content: center; color: #111; background: #ffc800; font-size: 15px; }
.hotel-detail .hotel-reservation-card { padding: 23px 19px 18px; border: 0; border-radius: 24px; box-shadow: none; background: #f8f8fa; }
.hotel-detail .hotel-stay-form { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 13px; }
.hotel-date-field { position: relative; min-width: 0; }
.hotel-date-field > span, .hotel-detail .hotel-stay-guests > label { position: absolute; z-index: 1; top: -7px; left: 11px; padding: 0 4px; color: #616a75; background: #fff; font-size: 10px; line-height: 14px; }
.hotel-detail .hotel-stay-form .date-range-trigger { min-height: 47px; padding: 9px 10px; border: 1px solid #b9bec8; background: #fff; border-radius: 11px; }
.hotel-stay-dates .date-range-trigger-copy { order: 0; flex: 1; }
.hotel-stay-dates .date-range-trigger-icon { order: 1; margin: 0; }
.hotel-detail .hotel-stay-dates .date-range-trigger strong { font-size: 13px; font-weight: 400; white-space: nowrap; }
.hotel-detail .hotel-stay-dates .date-range-trigger small { display: none; }
.hotel-detail .hotel-stay-guests { position: relative; min-width: 0; padding: 10px; border: 1px solid #b9bec8; border-radius: 11px; background: #fff; }
.hotel-detail .hotel-stay-guests > div { gap: 4px; }
.hotel-detail .hotel-stay-guests select { padding: 0 19px 0 0; width: 100%; height: 24px; min-height: 0; color: #232a32; font-size: 13px; }
.hotel-detail .hotel-stay-guests .icon { width: 21px; height: 21px; }
.hotel-detail .hotel-stay-children, .hotel-detail .hotel-update-rates, .hotel-detail .hotel-form-errors { grid-column: 1 / -1; }
.hotel-detail .hotel-update-rates { min-height: 40px; font-size: 12px; border-radius: 9px; background: #ffdf5b; color: #232a32; }
.hotel-detail .hotel-local-note { font-size: 10px; line-height: 1.6; margin: 12px 0 0; }
.hotel-detail .hotel-info-card { padding: 0; border: 0; border-radius: 0; background: none; }
.hotel-detail .hotel-info-card h2 { font-size: 15px; font-weight: 600 !important; margin: 16px 0 12px; }
.hotel-detail .hotel-description-preview { margin: 0; color: #5e6670; font-size: 13px; line-height: 1.55; }
.hotel-detail .hotel-inline-link { display: inline-block; margin: 6px 0 9px; color: #3586ec; font-size: 12px; }
.hotel-detail .hotel-checkin-times { margin: 0; color: #626c77; font-size: 12px; }
.hotel-detail .hotel-checkin-times > div { display: flex; flex-wrap: wrap; gap: 5px 13px; }
.hotel-detail .hotel-checkin-times strong { font-weight: 400; }
.hotel-detail .hotel-amenities-preview { gap: 17px; color: #59636e; font-size: 12px; }
.hotel-detail .hotel-amenities-open { margin-top: 17px; color: #3586ec; font-size: 12px; justify-content: flex-end; }
.hotel-detail .hotel-about-section { margin-top: 35px; padding: 25px; border: 0; background: #ffffffa6; }
.hotel-detail .hotel-amenities-dialog { background: #f5f6f8; }
.hotel-detail .hotel-modal-heading { background: #f5f6f8; }
@media (max-width: 1100px) {
  .hotel-detail .hotel-detail-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 21px; }
  .hotel-detail .hotel-room-content { padding: 19px 17px; }
  .hotel-detail .hotel-room-content h3 { font-size: 18px; min-height: 46px; }
  .hotel-detail .hotel-reservation-card { padding: 22px 14px 17px; }
  .hotel-detail .hotel-stay-form { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
  .hotel-detail .hotel-stay-dates .date-range-trigger strong { font-size: 12px; }
  .hotel-stay-dates .date-range-trigger-icon .icon { width: 16px; }
  .hotel-detail .hotel-detail-heading h1 { font-size: 27px; }
}
@media (max-width: 900px) {
  .hotel-detail .hotel-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .hotel-detail .hotel-detail-sidebar { padding: 0; }
  .hotel-mobile-stay .hotel-side-cover { display: none; }
  .hotel-detail .hotel-detail-gallery { margin-bottom: 24px; }
  .hotel-detail .hotel-stay-form { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .hotel-detail .hotel-stay-dates .date-range-trigger strong { font-size: 15px; }
  .hotel-detail .hotel-mobile-stay { margin-bottom: 30px; }
}
@media (max-width: 600px) {
  .hotel-detail { padding: 0 16px; margin-top: 19px; }
  .hotel-detail .hotel-detail-heading h1 { font-size: 26px; }
  .hotel-detail .hotel-address-line { font-size: 12px; }
  .hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-strip { grid-auto-columns: calc((100% - 24px) / 2.3); gap: 10px; }
  .hotel-detail-gallery[data-gallery-layout=tiles] .provider-gallery-thumb { border-radius: 19px; }
  .hotel-detail .hotel-room-grid { grid-template-columns: minmax(0, 1fr); }
  .hotel-detail .hotel-room-content { padding: 23px; }
  .hotel-detail .hotel-room-content h3 { font-size: 22px; min-height: 0; }
  .hotel-detail .hotel-room-price strong { font-size: 29px; }
  .hotel-detail .hotel-reservation-card { padding: 23px 17px 17px; }
  .hotel-detail .hotel-stay-dates .date-range-trigger strong { font-size: 13px; }
  .hotel-detail .hotel-stay-guests select, .hotel-detail .hotel-rate-select { font-size: 16px; }
  .hotel-detail h2 { font-size: 27px; }
}
