:root {
  --hotel-navy: #102a53;
  --hotel-blue: #245fb5;
  --hotel-blue-dark: #1c4f99;
  --hotel-blue-soft: #eaf2ff;
  --hotel-gold: #dba94e;
  --hotel-gold-soft: #fbf3df;
  --hotel-orange: #d76b35;
  --hotel-ink: #1c2b3d;
  --hotel-muted: #637084;
  --hotel-muted-light: #8995a5;
  --hotel-line: #d9e0e9;
  --hotel-line-soft: #e9edf3;
  --hotel-bg: #f7f9fc;
  --hotel-white: #ffffff;
  --hotel-green: #1f7a55;
  --hotel-green-soft: #eaf7f0;
  --hotel-danger: #bd3d45;
  --hotel-shadow: 0 12px 30px rgba(16, 42, 83, 0.08);
  --hotel-shadow-small: 0 5px 16px rgba(16, 42, 83, 0.06);
  --hotel-radius: 4px;
  --hotel-content-width: 1180px;
}
.hotel-page {
  --hotel-navy: #102a53;
  --hotel-blue: #245fb5;
  --hotel-blue-dark: #1c4f99;
  --hotel-blue-soft: #eaf2ff;
  --hotel-gold: #dba94e;
  --hotel-gold-soft: #fbf3df;
  --hotel-orange: #d76b35;
  --hotel-ink: #1c2b3d;
  --hotel-muted: #637084;
  --hotel-muted-light: #8995a5;
  --hotel-line: #d9e0e9;
  --hotel-line-soft: #e9edf3;
  --hotel-bg: #f7f9fc;
  --hotel-white: #ffffff;
  --hotel-green: #1f7a55;
  --hotel-green-soft: #eaf7f0;
  --hotel-danger: #bd3d45;
  --hotel-shadow: 0 12px 30px rgba(16, 42, 83, 0.08);
  --hotel-shadow-small: 0 5px 16px rgba(16, 42, 83, 0.06);
  --hotel-radius: 4px;
  --hotel-content-width: 1180px;
}
/* =========================================================
   02. BASE / PAGE
   ========================================================= */
.hotel-page,
.hotel-page * {
  box-sizing: border-box;
}
.hotel-page {
  min-height: 400px;
  color: var(--hotel-ink);
}
.hotel-page a {
  color: inherit;
}
.hotel-page button,
.hotel-page input,
.hotel-page select {
  font: inherit;
}
.hotel-page button {
  cursor: pointer;
}
.hotel-page img {
  max-width: 100%;
}
.hotel-container {
  padding-bottom: 80px;
}
/* =========================================================
   02A. ACCESSIBILITY SKIP LINK
   ---------------------------------------------------------
   Ссылка присутствует в HTML, но по умолчанию скрыта.
   Показываем её только при клавиатурной навигации.
   ========================================================= */
.hotel-skip-link {
  position: fixed !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 9999 !important;
  width: auto !important;
  height: auto !important;
  padding: 10px 14px !important;
  border: 2px solid #ffffff !important;
  border-radius: 3px !important;
  color: #ffffff !important;
  background: #102a53 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transform: translateY(-150%) !important;
}
.hotel-skip-link:focus {
  transform: translateY(0) !important;
  outline: 3px solid #f2c66f !important;
  outline-offset: 2px !important;
}
/* =========================================================
   02B. HEADER HARD FALLBACK
   ---------------------------------------------------------
   Эти значения намеренно указаны напрямую. Даже если другой
   CSS переопределит переменные, фирменная шапка остаётся синей.
   ========================================================= */
body {
  margin: 0;
  color: #1c2b3d;
}
body>.hotel-site-header {
  position: relative !important;
  z-index: 20 !important;
  display: block !important;
  width: 100% !important;
  min-height: 76px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  background: #102a53 !important;
}
body>.hotel-site-header .header-content {
  min-height: 76px !important;
}
body>.hotel-site-header .logo,
body>.hotel-site-header .logo span {
  color: #ffffff !important;
}
body>.hotel-site-header .logo b {
  color: #f2c66f !important;
}
body>.hotel-site-header .navigation a,
body>.hotel-site-header .language-button {
  color: rgba(255, 255, 255, 0.92) !important;
}
body>.hotel-site-header .navigation a:hover {
  color: #f2c66f !important;
}
body>.hotel-site-header .login-btn {
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  background: transparent !important;
}
body>.hotel-site-header .login-btn:hover {
  color: #102a53 !important;
  background: #ffffff !important;
}
/* =========================================================
   03. IMPORTANT HEADER OVERRIDE
   ---------------------------------------------------------
   homepage.css делает header белым текстом и предполагает,
   что он находится поверх синего hero. На hotel.html header
   является отдельной верхней полосой, поэтому здесь мы явно
   задаём фирменный navy.
   ========================================================= */
.hotel-site-header {
  position: relative !important;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  background: var(--hotel-navy) !important;
}
.hotel-site-header .header-content {
  min-height: 76px;
}
.hotel-site-header .logo {
  color: #ffffff !important;
}
.hotel-site-header .logo b {
  color: #f2c66f !important;
}
.hotel-site-header .navigation a {
  color: rgba(255, 255, 255, 0.92) !important;
}
.hotel-site-header .navigation a:hover {
  color: #f2c66f !important;
}
.hotel-site-header .language-button {
  color: #ffffff !important;
}
.hotel-site-header .login-btn {
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  background: transparent !important;
}
.hotel-site-header .login-btn:hover {
  color: var(--hotel-navy) !important;
  background: #ffffff !important;
}
.hotel-site-header .language-menu {
  color: var(--hotel-ink);
  background: #ffffff;
}
/* =========================================================
   04. TOP NAVIGATION / BREADCRUMBS
   ========================================================= */
.hotel-top-band {
  margin: 0 !important;
  border-bottom: 1px solid var(--hotel-line);
  background: #f7f9fc;
}
.hotel-top-band>.container {
  min-height: 52px;
}
.hotel-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 52px;
  color: var(--hotel-muted);
  font-size: 12px;
  font-weight: 700;
}
.hotel-breadcrumbs a {
  color: var(--hotel-blue);
}
.hotel-breadcrumbs a:hover {
  text-decoration: underline;
}
.hotel-breadcrumbs span {
  color: #8793a3;
}
.hotel-breadcrumbs #hotel-breadcrumb-city {
  color: var(--hotel-muted);
}
/* =========================================================
   05. LOADING / ERROR
   ========================================================= */
.hotel-loading {
  min-height: 390px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  color: var(--hotel-muted);
  font-size: 14px;
}
.hotel-loading-line {
  width: 44px;
  height: 3px;
  display: block;
  background: var(--hotel-blue);
}
#hotel-loading[hidden],
#hotel-error[hidden],
#hotel-content[hidden] {
  display: none !important;
}
.hotel-error {
  max-width: 660px;
  margin: 80px auto;
  padding: 48px 34px;
  border: 1px solid var(--hotel-line);
  border-top: 4px solid var(--hotel-orange);
  text-align: center;
  background: var(--hotel-bg);
}
.hotel-error-code {
  color: var(--hotel-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}
.hotel-error h1 {
  margin: 11px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px;
  line-height: 1.1;
}
.hotel-error p {
  max-width: 480px;
  margin: 0 auto 24px;
  color: var(--hotel-muted);
  line-height: 1.6;
}
.hotel-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 3px;
  color: #ffffff !important;
  background: var(--hotel-blue);
  font-size: 13px;
  font-weight: 800;
}
.hotel-primary-link:hover {
  background: var(--hotel-blue-dark);
}

.hotel-status-row {
  min-height: 25px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
}
.hotel-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 2px;
  color: #ffffff;
  background: var(--hotel-navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}
.hotel-stars {
  color: var(--hotel-gold);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 2px;
}

.hotel-address {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: var(--hotel-blue) !important;
  font-size: 13px;
  font-weight: 800;
}
.hotel-address:hover {
  text-decoration: underline;
}
.hotel-address-mark {
  color: var(--hotel-blue);
  font-size: 17px;
  line-height: 1;
}
.hotel-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: var(--hotel-muted);
  font-size: 12px;
  line-height: 1.5;
}
.hotel-meta-line .meta-separator {
  color: #aeb7c3;
}

/* =========================================================
   08. GALLERY
   ========================================================= */
.hotel-gallery-section {
  padding-top: 22px;
}
.hotel-gallery {
  background: var(--hotel-line);
}
.hotel-gallery-item {
  background: #e9eef5;
}
.hotel-gallery-item:first-child {
  grid-row: 1 / 3;
}
.hotel-gallery-item img {
  display: block;
  transition: none;
}
.hotel-gallery-item img:hover {
  transform: none;
}
.hotel-gallery-item.is-empty {
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--hotel-muted);
  background: #eef2f7;
  font-size: 13px;
  text-align: center;
}

/* =========================================================
   10. MAIN CONTENT GRID
   ========================================================= */
.hotel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 50px;
  align-items: start;
  padding-top: 12px;
}
.hotel-main-column {
  min-width: 0;
}
.hotel-sidebar {
  min-width: 0;
  padding-top: 38px;
}
.hotel-section {
  padding: 38px 0 40px;
  border-bottom: 1px solid var(--hotel-line);
}
.hotel-section:last-child {
  border-bottom: 0;
}
.hotel-description-section {
  padding-top: 38px;
}
/* =========================================================
   11. SECTION HEADINGS
   ========================================================= */
.hotel-section-heading {
  display: block;
  margin-bottom: 21px;
}
.hotel-section-heading .page-label {
  margin-bottom: 7px;
}
.hotel-section-heading h2 {
  margin: 0;
  color: var(--hotel-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.55px;
}
.hotel-section-heading h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 11px;
  background: var(--hotel-gold);
}
/* =========================================================
   12. DESCRIPTION
   ========================================================= */
.hotel-description {
  max-width: 790px;
  margin: 0;
  color: #3e4d60;
  font-size: 16px;
  line-height: 1.82;
}
/* =========================================================
   13. AMENITIES
   ========================================================= */
/* =========================================================
   14. ROOMS
   ========================================================= */
.hotel-rooms {
  display: grid;
  gap: 14px;
}

/* =========================================================
   15. REVIEW SUMMARY
   ========================================================= */
.hotel-review-summary {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--hotel-line);
  background: #ffffff;
}
.review-score-card {
  padding-right: 24px;
  border-right: 1px solid var(--hotel-line);
}
.review-score-card strong {
  display: block;
  color: var(--hotel-navy);
  font-size: 42px;
  line-height: 1;
}
.review-score-card span {
  display: block;
  margin-top: 8px;
  color: var(--hotel-blue);
  font-size: 12px;
  font-weight: 800;
}
.review-score-card small {
  display: block;
  margin-top: 7px;
  color: var(--hotel-muted);
  font-size: 11px;
}
.review-bars {
  display: grid;
  gap: 13px;
}
.review-bar {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: center;
}

/* =========================================================
   16. POLICIES
   ========================================================= */
.hotel-policies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hotel-line-soft);
}

/* =========================================================
   17. IMPORTANT INFORMATION
   ========================================================= */
.hotel-important {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hotel-line-soft);
}

/* =========================================================
   18. LOCATION
   ========================================================= */
.hotel-location-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.location-address {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 17px 0;
  border-top: 1px solid var(--hotel-line-soft);
  color: #405065;
  font-size: 13px;
  line-height: 1.6;
}
.location-address::before {
  content: "⌖";
  flex: 0 0 auto;
  color: var(--hotel-blue);
  font-size: 18px;
  line-height: 1;
}
.location-description {
  margin: 0;
  padding: 17px 0 0;
  color: var(--hotel-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* =========================================================
   19. USER REVIEWS
   ========================================================= */
.hotel-reviews-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hotel-line-soft);
}

.review-score {
  min-width: 34px;
  padding: 5px 6px;
  color: #ffffff;
  background: var(--hotel-blue);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

/* =========================================================
   20. BOOKING SIDEBAR
   ========================================================= */
.hotel-sidebar {
  position: sticky !important;
  top: 80px !important;
  align-self: start !important;
}
.hotel-booking-card {
  position: static;
  top: 22px;
  padding: 24px;
  border: 1px solid var(--hotel-line);
  border-top: 4px solid var(--hotel-blue);
  background: #ffffff;
  box-shadow: var(--hotel-shadow);
}
.booking-card-label {
  color: var(--hotel-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
}
.hotel-price {
  margin-top: 7px;
  color: var(--hotel-navy);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}
.booking-note {
  margin-top: 7px;
  color: var(--hotel-muted);
  font-size: 11px;
  line-height: 1.55;
}
.booking-divider {
  height: 1px;
  margin: 19px 0 15px;
  background: var(--hotel-line);
}
.booking-feature {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 11px;
  color: #4b596a;
  font-size: 11px;
  line-height: 1.5;
}
.booking-feature span {
  flex: 0 0 auto;
  color: var(--hotel-blue);
  font-weight: 900;
}
.hotel-book-button {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 0 18px;
  border: 0;
  border-radius: 3px;
  color: #ffffff;
  background: var(--hotel-orange);
  font-size: 14px;
  font-weight: 800;
}
.hotel-book-button:hover {
  background: #bf5c2e;
}
.booking-secondary-link {
  display: block;
  margin-top: 13px;
  color: var(--hotel-blue) !important;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.booking-secondary-link:hover {
  text-decoration: underline;
}
.hotel-side-note {
  margin-top: 16px;
  padding: 19px 20px;
  border-left: 3px solid var(--hotel-gold);
  background: var(--hotel-gold-soft);
}
.hotel-side-note strong {
  display: block;
  color: var(--hotel-navy);
  font-size: 12px;
  font-weight: 800;
}
.hotel-side-note p {
  margin: 7px 0 0;
  color: #665b46;
  font-size: 11px;
  line-height: 1.6;
}
/* =========================================================
   21. SMALL UI HELPERS GENERATED BY JS
   ========================================================= */
.hotel-page-message {
  position: fixed;
  z-index: 1000;
  top: 90px;
  left: 50%;
  max-width: min(500px, calc(100% - 30px));
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 3px;
  color: #ffffff;
  background: var(--hotel-navy);
  box-shadow: 0 12px 35px rgba(16, 42, 83, .24);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  transform: translateX(-50%);
}
.hotel-page-message.error {
  background: var(--hotel-orange);
}
/* =========================================================
   22. FOCUS STATES
   ========================================================= */
.hotel-site-header button:focus-visible,
.hotel-site-header a:focus-visible,
.hotel-page button:focus-visible,
.hotel-page a:focus-visible {
  outline: 2px solid var(--hotel-gold);
  outline-offset: 3px;
}
/* =========================================================
   23. SELECTION
   ========================================================= */
.hotel-page ::selection {
  color: #ffffff;
  background: var(--hotel-blue);
}
/* =========================================================
   24. TABLET — 1050px
   ========================================================= */
@media (max-width: 1050px) {

  .hotel-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 32px;
  }
  .hotel-gallery {
    grid-template-columns: minmax(0, 1.55fr) minmax(180px, 1fr) minmax(180px, 1fr);
  }
}
/* =========================================================
   25. TABLET — 900px
   ========================================================= */
@media (max-width: 900px) {
  .hotel-site-header .navigation {
    display: none;
  }

  .hotel-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hotel-sidebar {
    padding-top: 0;
  }
  .hotel-booking-card {
    position: static;
  }
  .hotel-side-note {
    margin-bottom: 20px;
  }

}
/* =========================================================
   26. TABLET — 760px
   ========================================================= */
@media (max-width: 760px) {
  .hotel-site-header .header-content {
    min-height: 66px;
  }
  .hotel-site-header .logo {
    font-size: 18px;
  }
  .hotel-site-header .logo-image {
    width: 34px !important;
    height: 34px !important;
  }
  .hotel-site-header .language-button {
    display: none;
  }
  .hotel-site-header .login-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  .hotel-top-band>.container {
    min-height: 46px;
  }
  .hotel-breadcrumbs {
    min-height: 46px;
    font-size: 11px;
  }
  .hotel-container {
    padding-bottom: 55px;
  }

  .hotel-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 245px 135px;
  }
  .hotel-gallery-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .hotel-gallery-item:nth-child(2),
  .hotel-gallery-item:nth-child(3) {
    grid-row: 2;
  }
  .hotel-gallery-item:nth-child(n + 4) {
    display: none;
  }
  .hotel-section {
    padding: 31px 0 34px;
  }
  .hotel-section-heading h2 {
    font-size: 28px;
  }

  .hotel-review-summary {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .review-score-card {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--hotel-line);
  }
  .hotel-policies {
    grid-template-columns: 1fr;
  }

}
/* =========================================================
   27. PHONE — 560px
   ========================================================= */
@media (max-width: 560px) {
  .hotel-page {
    font-size: 15px;
  }
  .hotel-container {
    width: min(100% - 28px, var(--hotel-content-width));
  }
  .hotel-site-header .header-content {
    min-height: 62px;
  }
  .hotel-site-header .logo {
    gap: 7px;
    font-size: 17px;
  }
  .hotel-site-header .logo-image {
    width: 31px !important;
    height: 31px !important;
  }
  .hotel-site-header .login-btn {
    padding: 7px 10px;
  }
  .hotel-top-band {
    background: #f7f9fc;
  }
  .hotel-breadcrumbs {
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 10px;
  }

  .hotel-status-row {
    margin-bottom: 8px;
  }

  .hotel-address {
    font-size: 12px;
  }
  .hotel-meta-line {
    font-size: 11px;
  }

  .hotel-gallery-section {
    padding-top: 16px;
  }
  .hotel-gallery {
    grid-template-rows: 205px 112px;
    gap: 4px;
  }

  .hotel-section-heading {
    margin-bottom: 17px;
  }
  .hotel-section-heading h2 {
    font-size: 26px;
  }
  .hotel-description {
    font-size: 14px;
    line-height: 1.75;
  }

  .hotel-review-summary {
    padding: 17px;
  }
  .review-bar {
    grid-template-columns: 88px minmax(0, 1fr) 35px;
    gap: 7px;
  }

  .hotel-booking-card {
    padding: 20px;
  }
  .hotel-price {
    font-size: 25px;
  }
  .hotel-side-note {
    padding: 16px;
  }
  .hotel-error {
    margin: 50px auto;
    padding: 38px 20px;
  }
  .hotel-error h1 {
    font-size: 32px;
  }
}
/* =========================================================
   28. PHONE — 420px
   ========================================================= */
@media (max-width: 420px) {
  .hotel-site-header .logo span {
    font-size: 16px;
  }
  .hotel-site-header .login-btn {
    font-size: 11px;
  }

  .hotel-section-heading h2 {
    font-size: 24px;
  }
  .hotel-review-summary {
    padding: 15px;
  }
  .review-bar {
    grid-template-columns: 78px minmax(0, 1fr) 31px;
  }
}
/* =========================================================
   29. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .hotel-page *,
  .hotel-page *::before,
  .hotel-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hotel-gallery-item img {
    transform: none !important;
  }
}
/* =========================================================
   30. HARD RESET FOR OLD "FLYING CARD" RULES
   ---------------------------------------------------------
   Если старые стили где-то ещё попадают на элементы страницы,
   эти правила не дают карточкам и изображениям "взлетать".
   ========================================================= */
.hotel-page .hotel-section,
.hotel-page .hotel-gallery-item,
.hotel-page .hotel-booking-card,
.hotel-page .hotel-side-note {
  transform: none;
}
.hotel-page .hotel-section:hover,
.hotel-page .hotel-gallery-item:hover,
.hotel-page .hotel-booking-card:hover,
.hotel-page .hotel-side-note:hover {
  transform: none;
}
.hotel-page .hotel-gallery-item {
  transition: none;
}
/* =========================================================
   END OF HOTEL PAGE CSS
   ========================================================= */
/* =========================================================
   31. FINAL BRAND HEADER GUARD
   ========================================================= */
body>header.hotel-site-header {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 76px !important;
  color: #ffffff !important;
  background: #102a53 !important;
}
body>header.hotel-site-header .logo,
body>header.hotel-site-header .logo span {
  color: #ffffff !important;
}
body>header.hotel-site-header .logo b {
  color: #f2c66f !important;
}
body>header.hotel-site-header .navigation a,
body>header.hotel-site-header .language-button {
  color: #ffffff !important;
}
body>header.hotel-site-header .login-btn {
  color: #ffffff !important;
  background: transparent !important;
}
/* =========================================================
   33. GALLERY CLICK TARGET
   ========================================================= */
.hotel-gallery-item {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
}
.hotel-gallery-item:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid #245fb5;
  outline-offset: -3px;
}
.hotel-gallery-item img {
  pointer-events: none;
}
/* =========================================================
   34. DO NOT ALLOW ANY PAGE RULE TO BREAK THE LIGHTBOX
   ========================================================= */
.hotel-page .hotel-gallery-lightbox,
body .hotel-gallery-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
}
body .hotel-gallery-lightbox .hotel-lightbox-shell {
  position: relative !important;
  transform: none !important;
}
/* =========================================================
   FINAL CONSISTENCY PATCH — HOTEL PAGE
   ---------------------------------------------------------
   Hotel page uses the same flat interaction language as the
   rest of Staybooking: cards stay in place; only color changes.
   ========================================================= */
.hotel-site-header .navigation a[aria-current="page"] {
  color: #f2c66f !important;
}
.hotel-site-header .navigation a {
  transition: color .18s ease;
}
.hotel-site-header .navigation a:hover {
  transform: none !important;
}
.hotel-page .hotel-gallery-item,
.hotel-page .hotel-booking-card,
.hotel-page .hotel-section,
.hotel-page .hotel-side-note {
  transform: none !important;
}
.hotel-page .hotel-gallery-item:hover,
.hotel-page .hotel-booking-card:hover,
.hotel-page .hotel-section:hover,
.hotel-page .hotel-side-note:hover {
  transform: none !important;
}
.hotel-gallery-item img {
  transform: none !important;
}
.hotel-gallery-item:hover img {
  transform: none !important;
}
@media (max-width: 900px) {
  .hotel-site-header .navigation {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .hotel-site-header .navigation {
    gap: 14px;
  }
}
/* =========================================================
   FINAL HOTEL FIX — sticky price + universal phone layout
   ========================================================= */
@media (min-width: 901px) {
  .hotel-layout {
    align-items: start;
  }
  .hotel-sidebar {
    align-self: start;
    min-width: 0;
  }
  .hotel-booking-card {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 18px !important;
    max-height: calc(100vh - 36px);
    overflow: auto;
    overscroll-behavior: contain;
  }
}
@media (max-width: 767px) {

  .hotel-meta-line {
    gap: 6px;
  }

  .hotel-gallery-item:first-child {
    grid-column: 1 / -1;
  }

  .hotel-layout {
    display: block;
  }
  .hotel-main-column,
  .hotel-sidebar {
    width: 100%;
    min-width: 0;
  }

  .hotel-booking-card {
    position: static !important;
    max-height: none;
    overflow: visible;
    margin-top: 4px;
  }
  .hotel-price {
    overflow-wrap: anywhere;
  }
  .hotel-sidebar .hotel-side-note {
    margin-top: 12px;
  }

}
@media (max-width:380px) and (pointer: coarse) {
  .hotel-container {
    width: calc(100% - 22px);
  }

  .hotel-gallery {
    grid-template-rows: 170px 92px;
  }
  .hotel-booking-card {
    padding: 15px;
  }
}
/* =========================================================
   SMART AVAILABILITY TABLE
   ========================================================= */
.hotel-booking-search {
  margin: -2px 0 20px;
  padding: 14px;
  border: 1px solid var(--hotel-line);
  background: #f8fbff;
}

.booking-selection-summary {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid #cbdcf1;
  background: #f7fbff;
}
.booking-selection-title {
  color: var(--hotel-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.booking-selection-lines {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}
.booking-selection-lines>div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--hotel-ink);
  font-size: 11px;
  line-height: 1.35;
}
.booking-selection-lines strong {
  color: var(--hotel-navy);
}

.hotel-book-button:disabled {
  opacity: .58;
  cursor: not-allowed;
  background: var(--hotel-blue);
}

/* =========================================================
   BOOKING-STYLE SECTION TABS
   ========================================================= */
.hotel-section-tabs {
  position: sticky;
  top: 0;
  z-index: 900;
  margin: 0 calc((100vw - min(1180px, 100vw - 32px)) / -2);
  border-top: 1px solid var(--hotel-line);
  border-bottom: 1px solid var(--hotel-line);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
}
.hotel-section-tabs-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
}
.hotel-section-tab {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 12px;
  color: #1d2735;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.hotel-section-tab:hover {
  color: var(--hotel-blue);
  background: #f7faff;
}
.hotel-section-tab.is-active {
  color: var(--hotel-navy);
  font-weight: 800;
}
.hotel-section-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #0b6de4;
}
.hotel-section-tab:focus-visible {
  outline: 3px solid #f2c66f;
  outline-offset: -3px;
}
#hotel-overview,
#hotel-rooms-section,
#hotel-amenities-section,
#hotel-policies-section,
#hotel-important-section,
#hotel-reviews {
  scroll-margin-top: 78px;
}
/* =========================================================
   GOOGLE MAP EMBED
   ========================================================= */
.hotel-google-map-card {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--hotel-line);
  background: #fff;
}
.hotel-google-map-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--hotel-line-soft);
  color: var(--hotel-navy);
  font-size: 14px;
}
.hotel-google-map-frame {
  width: 100%;
  aspect-ratio: 16/7;
  min-height: 280px;
  background: #edf2f7;
}
.hotel-google-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.hotel-google-map-actions {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid var(--hotel-line-soft);
}
.hotel-map-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 4px;
  color: #fff;
  background: #0b6de4;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.hotel-map-link:hover {
  background: #095fca;
}
@media (max-width:900px) {
  .hotel-section-tabs {
    margin-left: 0;
    margin-right: 0;
  }
  .hotel-section-tabs-inner {
    width: 100%;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hotel-section-tabs-inner::-webkit-scrollbar {
    display: none;
  }
  .hotel-section-tab {
    flex: 0 0 auto;
    min-height: 58px;
    min-width: 145px;
    padding: 9px 13px;
    font-size: 12px;
  }
}
@media (max-width:560px) {
  .hotel-section-tab {
    min-width: 138px;
    font-size: 11px;
  }
  .hotel-google-map-frame {
    aspect-ratio: auto;
    height: 270px;
    min-height: 0;
  }
  .hotel-google-map-actions {
    justify-content: stretch;
  }
  .hotel-map-link {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================================
   FINAL GALLERY LAYOUT — 1 large + 3 compact tiles
   ========================================================= */
.hotel-gallery {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 4px !important;
  aspect-ratio: 4 / 1 !important;
  overflow: hidden !important;
}
.hotel-gallery-item {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  min-width: 0 !important;
  min-height: 0 !important;
}
.hotel-gallery-item.hotel-gallery-position-1 {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
}
.hotel-gallery-item.hotel-gallery-position-2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
}
.hotel-gallery-item.hotel-gallery-position-3 {
  grid-column: 3 !important;
  grid-row: 1 !important;
}
.hotel-gallery-item.hotel-gallery-position-4 {
  grid-column: 2 / 4 !important;
  grid-row: 2 !important;
  display: block !important;
}
.hotel-gallery-item.hotel-gallery-position-4 .hotel-gallery-more {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  background: rgba(5, 19, 39, .58) !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  pointer-events: none !important;
}
.hotel-gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* =========================================================
   MOBILE FINAL PASS — HOTEL DETAIL + BOOKING
   Desktop layout is intentionally untouched.
   ========================================================= */
@media (max-width: 767px) {
  .hotel-page {
    min-width: 0;
    overflow-x: hidden;
  }
  .hotel-container {
    width: calc(100% - 28px);
    max-width: 100%;
    padding-bottom: 46px;
  }
  .hotel-top-band>.container {
    width: calc(100% - 28px);
  }
  .hotel-breadcrumbs {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .hotel-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .hotel-status-row {
    flex-wrap: wrap;
    gap: 7px;
  }
  .hotel-address {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.5;
  }
  .hotel-meta-line {
    flex-wrap: wrap;
    row-gap: 5px;
    font-size: 11px;
  }

  /* Mobile gallery: one large photo + three tappable thumbnails. */
  .hotel-gallery-section {
    padding-top: 12px;
  }
  .hotel-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: clamp(195px, 55vw, 240px) 112px !important;
    aspect-ratio: auto !important;
    gap: 4px !important;
    width: 100%;
    overflow: hidden !important;
  }
  .hotel-gallery-item,
  .hotel-gallery-item.hotel-gallery-position-1,
  .hotel-gallery-item.hotel-gallery-position-2,
  .hotel-gallery-item.hotel-gallery-position-3,
  .hotel-gallery-item.hotel-gallery-position-4 {
    min-width: 0 !important;
    min-height: 0 !important;
    display: block !important;
  }
  .hotel-gallery-item.hotel-gallery-position-1 {
    grid-column: 1 / 4 !important;
    grid-row: 1 !important;
  }
  .hotel-gallery-item.hotel-gallery-position-2 {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .hotel-gallery-item.hotel-gallery-position-3 {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  .hotel-gallery-item.hotel-gallery-position-4 {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }
  .hotel-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .hotel-gallery-item .hotel-gallery-more {
    font-size: 28px !important;
  }
  .hotel-section-tabs {
    position: sticky;
    top: 0;
    z-index: 900;
    margin-left: 0;
    margin-right: 0;
  }
  .hotel-section-tabs-inner {
    width: 100%;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .hotel-section-tabs-inner::-webkit-scrollbar {
    display: none;
  }
  .hotel-section-tab {
    flex: 0 0 auto;
    min-width: 138px;
    min-height: 56px;
    padding: 9px 12px;
    font-size: 11px;
    scroll-snap-align: start;
  }

  .hotel-section {
    padding: 28px 0 32px;
  }
  .hotel-section-heading {
    margin-bottom: 15px;
  }
  .hotel-section-heading h2 {
    font-size: clamp(25px, 7.5vw, 31px);
    line-height: 1.1;
  }
  .hotel-description {
    font-size: 14px;
    line-height: 1.72;
  }
  .hotel-policies {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Booking search */
  .hotel-booking-search {
    margin-top: 14px;
  }

  .hotel-review-summary {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }
  .review-score-card {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--hotel-line);
  }
  .review-bar {
    grid-template-columns: 78px minmax(0, 1fr) 34px;
    gap: 6px;
  }

  /* Booking card remains in normal flow so it never covers content. */
  .hotel-sidebar {
    width: 100%;
    padding-top: 0;
  }
  .hotel-booking-card {
    position: static;
    width: 100%;
    padding: 18px;
    border-radius: 9px;
  }
  .hotel-price {
    font-size: 25px;
  }
  .booking-feature {
    font-size: 11px;
  }
  .hotel-book-button,
  .booking-secondary-link {
    width: 100%;
    min-height: 46px;
  }
  .hotel-book-button {
    touch-action: manipulation;
  }
  .booking-selection-summary {
    margin-top: 12px;
    padding: 12px;
  }
  .booking-selection-lines>div {
    gap: 8px;
  }

  .hotel-side-note {
    padding: 15px;
    margin-bottom: 14px;
  }
  .hotel-google-map-card {
    margin-top: 18px;
    border-radius: 8px;
  }
  .hotel-google-map-frame {
    height: 270px;
    min-height: 270px;
  }
  .hotel-google-map-actions {
    padding: 10px;
  }
  .hotel-map-link {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    touch-action: manipulation;
  }
    .hotel-gallery-lightbox {
    padding: 10px;
  }
}
@media (max-width: 420px) {
  .hotel-container,
  .hotel-top-band>.container {
    width: calc(100% - 22px);
  }

  .hotel-gallery {
    grid-template-rows: 195px 105px !important;
  }
  .hotel-section-tab {
    min-width: 132px;
  }
}
/* =========================================================
   GENERATOR SCHEMA — DETAIL PAGE EXTENSIONS
   Стили для связки hotel(3)_linked.html + hotel(4)_generator_linked.js
   ========================================================= */

/* Header additions */
.hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.hotel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid #cbd8e8;
  border-radius: 999px;
  color: var(--hotel-blue);
  background: var(--hotel-blue-soft);
  font-size: 10px;
  font-weight: 800;
}
.hotel-hero-facts {
  margin-top: 9px;
  color: var(--hotel-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* Common empty state used by new renderers */
.hotel-no-data {
  padding: 18px 16px;
  border: 1px dashed #cfd8e4;
  color: var(--hotel-muted);
  background: #fbfcfe;
  font-size: 12px;
  line-height: 1.55;
}

/* Availability calendar */
.hotel-availability-calendar {
  min-width: 0;
}
.hotel-availability-grid {
  border: 1px solid var(--hotel-line);
  background: #fff;
  overflow: hidden;
}
.hotel-availability-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hotel-line);
  background: #f7fafc;
}
.hotel-availability-head strong {
  color: var(--hotel-navy);
  font-size: 12px;
  font-weight: 800;
}
.hotel-availability-head span {
  color: var(--hotel-muted);
  font-size: 11px;
  font-weight: 700;
}
.hotel-availability-room {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--hotel-line);
}
.hotel-availability-room:last-child {
  border-bottom: 0;
}
.hotel-availability-room > strong {
  display: flex;
  align-items: center;
  padding: 12px;
  border-right: 1px solid var(--hotel-line);
  color: var(--hotel-navy);
  font-size: 12px;
  line-height: 1.35;
}
.hotel-availability-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(82px, 1fr));
  gap: 5px;
  padding: 8px;
  overflow-x: auto;
}
.hotel-availability-day {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--hotel-line-soft);
  border-radius: 4px;
  background: #fbfcfe;
}
.hotel-availability-day > span {
  color: var(--hotel-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .4px;
}
.hotel-availability-day > strong {
  color: var(--hotel-navy);
  font-size: 11px;
  line-height: 1.25;
}
.hotel-availability-day > small {
  color: var(--hotel-muted);
  font-size: 9px;
  line-height: 1.25;
}
.hotel-availability-day.is-open {
  border-color: #cfe5da;
  background: var(--hotel-green-soft);
}
.hotel-availability-day.is-open > strong {
  color: var(--hotel-green);
}
.hotel-availability-day.is-empty {
  border-color: #e7d8da;
  background: #fff8f8;
}
.hotel-availability-day.is-empty > strong {
  color: var(--hotel-danger);
}
.hotel-availability-day.is-closed {
  border-color: #e5c8c8;
  background: #fdf1f1;
}
.hotel-availability-day.is-closed > strong {
  color: var(--hotel-danger);
}
.hotel-availability-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 9px;
  color: var(--hotel-muted);
  font-size: 10px;
  line-height: 1.5;
}

/* Services */
.hotel-services {
  min-width: 0;
}
.hotel-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hotel-service-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 11px 12px;
  border: 1px solid var(--hotel-line);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.hotel-service-item:hover {
  border-color: #bfd0e4;
  background: #fbfdff;
}
.hotel-service-item input {
  width: 17px;
  height: 17px;
  accent-color: var(--hotel-blue);
}
.hotel-service-item strong {
  min-width: 0;
  color: var(--hotel-navy);
  font-size: 12px;
  line-height: 1.35;
}
.hotel-service-item span {
  color: var(--hotel-blue);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

/* Booking terms / price rules */
.hotel-booking-terms,
.hotel-price-rules,
.hotel-booking-restrictions {
  display: grid;
  gap: 0;
}
.hotel-booking-term-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--hotel-line-soft);
  color: #435166;
  font-size: 12px;
  line-height: 1.5;
}
.hotel-booking-term-row:last-child {
  border-bottom: 0;
}
.hotel-price-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.hotel-price-rules > span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid #d3dfeb;
  border-radius: 999px;
  color: var(--hotel-blue);
  background: var(--hotel-blue-soft);
  font-size: 10px;
  font-weight: 800;
}
.hotel-booking-restrictions:empty {
  display: none;
}
.booking-warning {
  margin-top: 9px;
  padding: 10px 12px;
  border: 1px solid #eed4ad;
  color: #8b5200;
  background: #fff8e9;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.booking-total-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  padding-top: 11px;
  border-top: 1px solid var(--hotel-line);
  color: var(--hotel-navy);
  font-size: 13px;
  font-weight: 800;
}
.booking-total-line strong {
  font-size: 18px;
}
.hotel-booking-price-breakdown {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hotel-line);
}
.hotel-booking-price-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--hotel-muted);
  font-size: 11px;
  line-height: 1.4;
}
.hotel-booking-price-breakdown > div strong {
  color: var(--hotel-navy);
  font-weight: 800;
}
.hotel-booking-price-breakdown .booking-total-line span,
.hotel-booking-price-breakdown .booking-total-line strong {
  color: var(--hotel-navy);
}

/* Family / children */
.hotel-family-policy {
  display: grid;
  gap: 0;
}
.hotel-family-policy-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--hotel-line-soft);
  color: #435166;
  font-size: 12px;
  line-height: 1.55;
}
.hotel-family-policy-row:last-child {
  border-bottom: 0;
}
.hotel-child-rules {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.hotel-child-rule {
  padding: 10px 12px;
  border-left: 3px solid var(--hotel-blue);
  background: #f7faff;
  color: #435166;
  font-size: 11px;
  line-height: 1.5;
}

/* Important information and policies — new renderer names */
.hotel-important-item,
.hotel-policy-row {
  border-bottom: 1px solid var(--hotel-line-soft);
}
.hotel-important-item:last-child,
.hotel-policy-row:last-child {
  border-bottom: 0;
}
.hotel-important-item {
  padding: 13px 0;
  color: #4c5b6e;
  font-size: 12px;
  line-height: 1.55;
}
.hotel-policy-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
}
.hotel-policy-title {
  color: var(--hotel-navy);
  font-size: 11px;
  font-weight: 800;
}
.hotel-policy-value {
  color: #4c5b6e;
  font-size: 12px;
  line-height: 1.55;
}

/* Reviews generated by new renderer */
.hotel-user-review {
  padding: 16px 0;
  border-bottom: 1px solid var(--hotel-line-soft);
}
.hotel-user-review:last-child {
  border-bottom: 0;
}
.hotel-user-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hotel-user-review-top > span:first-child {
  color: var(--hotel-navy);
  font-size: 12px;
  font-weight: 800;
}
.hotel-user-review-score {
  min-width: 36px;
  text-align: right;
  color: var(--hotel-blue);
  font-size: 12px;
  font-weight: 900;
}
.hotel-user-review p {
  margin: 7px 0 0;
  color: #4b596b;
  font-size: 12px;
  line-height: 1.65;
}
.review-bar-row {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: center;
}
.review-bar-row > span {
  color: #4d5b6d;
  font-size: 11px;
  font-weight: 700;
}
.review-bar-row > .review-bar {
  position: relative;
  height: 6px;
  overflow: hidden;
  background: #e6ebf1;
}
.review-bar-row > .review-bar > span {
  display: block;
  height: 100%;
  background: var(--hotel-blue);
}
.review-bar-row > strong {
  color: var(--hotel-navy);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

/* New sections: preserve the current visual language */
#hotel-availability-section,
#hotel-services-section,
#hotel-booking-terms-section,
#hotel-family-policy-section {
  scroll-margin-top: 78px;
}

/* Eight tabs now exist in the generator-linked page */
.hotel-section-tabs-inner {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

/* Desktop sidebar booking card remains within page flow */
.hotel-booking-card {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1000px) {
  .hotel-section-tabs-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hotel-availability-room {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .hotel-availability-days {
    grid-template-columns: repeat(7, minmax(72px, 1fr));
  }
}

@media (max-width: 767px) {
  .hotel-tags {
    margin-top: 9px;
  }
  .hotel-hero-facts {
    font-size: 10px;
  }
  .hotel-services-list {
    grid-template-columns: 1fr;
  }
  .hotel-availability-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .hotel-availability-room {
    grid-template-columns: 1fr;
  }
  .hotel-availability-room > strong {
    min-height: 48px;
    border-right: 0;
    border-bottom: 1px solid var(--hotel-line);
  }
  .hotel-availability-days {
    grid-template-columns: repeat(7, minmax(88px, 1fr));
    padding: 8px;
    overflow-x: auto;
  }
  .hotel-availability-day {
    min-height: 76px;
  }

  .hotel-policy-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .hotel-booking-price-breakdown > div,
  .booking-total-line {
    gap: 8px;
  }

  .hotel-section-tabs-inner {
    grid-template-columns: none;
  }
}

@media (max-width: 480px) {
  .hotel-service-item {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .hotel-service-item > span {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }
  .review-bar-row {
    grid-template-columns: 78px minmax(0, 1fr) 34px;
    gap: 7px;
  }
  .review-bar-row > span,
  .review-bar-row > strong {
    font-size: 10px;
  }
}

/* =========================================================
   FINAL CLIENT UX REDESIGN — STAYBOOKING HOTEL PAGE
   ========================================================= */
.hotel-page {
  --ux-bg: #f5f7fb;
  --ux-surface: #ffffff;
  --ux-surface-soft: #f8fafc;
  --ux-border: #e3e8f0;
  --ux-border-strong: #cfd7e3;
  --ux-ink: #18263a;
  --ux-muted: #64748b;
  --ux-blue: #2563c4;
  --ux-blue-dark: #194f9f;
  --ux-blue-soft: #eef5ff;
  --ux-gold: #d6a33f;
  --ux-green: #1d7a55;
  --ux-green-soft: #eaf7f1;
  --ux-danger: #b93845;
  --ux-danger-soft: #fff0f2;
  --ux-radius: 18px;
  --ux-radius-sm: 12px;
  --ux-shadow: 0 14px 38px rgba(16, 42, 83, .07);
  --ux-shadow-soft: 0 8px 24px rgba(16, 42, 83, .05);
  background: var(--ux-bg);
}

body { background: var(--ux-bg); }

.hotel-page .hotel-container {
  max-width: 1320px;
  padding-bottom: 72px;
}

.hotel-page #hotel-content { overflow: visible; }

.hotel-page .hotel-top-band {
  background: rgba(248,250,252,.96);
  border-bottom-color: var(--ux-border);
}

.hotel-page .hotel-breadcrumbs {
  min-height: 46px;
  gap: 7px;
  font-size: 12px;
}

.hotel-page .hotel-breadcrumbs a {
  text-decoration: none;
  transition: color .16s ease;
}

.hotel-page .hotel-breadcrumbs a:hover {
  color: var(--ux-blue-dark);
  text-decoration: underline;
}

/* HERO */
.hotel-page .hotel-hero {
  display: grid;
  border: 1px solid var(--ux-border);
  background: var(--ux-surface);
}

.hotel-page .hotel-hero-copy { min-width: 0; }

.hotel-page .hotel-hero .hotel-status-row {
  margin: 0 0 12px;
  min-height: 24px;
}

.hotel-page .hotel-hero .hotel-badge {
  background: var(--ux-blue);
  font-size: 11px;
  letter-spacing: .2px;
}

.hotel-page .hotel-hero .hotel-stars { font-size: 15px; }

.hotel-page .hotel-hero h1#hotel-name {
  margin: 0;
  color: var(--ux-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hotel-page .hotel-hero .hotel-address {
  font-weight: 700;
  color: var(--ux-blue) !important;
}

.hotel-page .hotel-tags {
  display: flex;
  flex-wrap: wrap;
}

.hotel-page .hotel-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7e3f4;
  color: #36516f;
  background: #f6f9fd;
  font-weight: 800;
}

.hotel-page .hotel-hero-facts {
  color: var(--ux-muted);
}

.hotel-page .hotel-hero-actions {
  display: flex;
  flex-wrap: wrap;
}

.hotel-page .hotel-hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ux-border-strong);
  color: var(--ux-ink) !important;
  background: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: border-color .16s ease, transform .16s ease, background .16s ease;
}

.hotel-page .hotel-hero-link:hover {
  transform: translateY(-1px);
  border-color: #aeb9c8;
  background: var(--ux-surface-soft);
}

.hotel-page .hotel-hero-link-primary {
  border-color: var(--ux-blue);
  color: #fff !important;
  background: var(--ux-blue);
}

.hotel-page .hotel-hero-link-primary:hover {
  border-color: var(--ux-blue-dark);
  background: var(--ux-blue-dark);
}

.hotel-page .hotel-hero-rating {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hotel-page .hotel-overline {
  color: var(--ux-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.hotel-page .hotel-hero-rating-score {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
}

.hotel-page .hotel-hero-rating-score strong {
  color: var(--ux-ink);
  font-weight: 850;
}

.hotel-page .hotel-hero-rating-score span {
  color: var(--ux-muted);
  font-weight: 800;
}

.hotel-page .hotel-review-count {
  color: #8a95a4;
  font-size: 10px;
  font-weight: 750;
}

.hotel-page .hotel-hero-rating > a {
  display: inline-block;
  color: var(--ux-blue) !important;
  font-weight: 850;
  text-decoration: none;
}

/* GALLERY */
.hotel-page .hotel-gallery-section { padding-top: 20px; }

.hotel-page .hotel-section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.hotel-page .hotel-kicker {
  display: inline-block;
  color: var(--ux-blue);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hotel-page .hotel-section-hint {
  margin-left: 10px;
  color: var(--ux-muted);
  font-size: 12px;
}

.hotel-page .hotel-text-link {
  color: var(--ux-blue) !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.hotel-page .hotel-gallery {
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 1fr) minmax(220px, 1fr);
  grid-template-rows: 235px 235px;
  gap: 8px;
  border-radius: 16px;
  box-shadow: var(--ux-shadow);
}

.hotel-page .hotel-gallery-item:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.hotel-page .hotel-gallery-item:nth-child(4) {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.hotel-page .hotel-gallery-item img {
  transition: transform .28s ease, filter .28s ease;
}

.hotel-page .hotel-gallery-item:hover img {
  transform: scale(1.025);
  filter: saturate(1.03);
}

.hotel-page .hotel-booking-search {
  margin: 0;
}

/* TABS */
.hotel-page .hotel-section-tabs {
  position: sticky;
  top: 0;
  z-index: 40;
  margin-top: 18px;
  padding: 7px 0;
  border-top: 1px solid rgba(227,232,240,.9);
  border-bottom: 1px solid rgba(227,232,240,.95);
  background: rgba(245,247,251,.94);
  backdrop-filter: blur(12px);
}

.hotel-page .hotel-section-tabs-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.hotel-page .hotel-section-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #536275 !important;
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.hotel-page .hotel-section-tab:hover {
  color: var(--ux-blue) !important;
  background: #eef5ff;
}

.hotel-page .hotel-section-tab.is-active {
  color: var(--ux-blue) !important;
  border-color: #cfe0f7;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(37,99,196,.08);
}

.hotel-page #hotel-overview,
.hotel-page #hotel-rooms-section,
.hotel-page #hotel-availability-section,
.hotel-page #hotel-amenities-section,
.hotel-page #hotel-services-section,
.hotel-page #hotel-booking-terms-section,
.hotel-page #hotel-policies-section,
.hotel-page #hotel-family-policy-section,
.hotel-page #hotel-important-section,
.hotel-page #hotel-location,
.hotel-page #hotel-reviews {
  scroll-margin-top: 64px;
}

/* MAIN */
.hotel-page .hotel-layout {
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 24px;
  padding-top: 20px;
}

/* minmax(0, 1fr): wide children (the availability calendar) scroll inside
   their panel instead of stretching the column past the phone screen. */
.hotel-page .hotel-main-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.hotel-page .hotel-section {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--ux-border);
  border-bottom: 1px solid var(--ux-border);
  border-radius: var(--ux-radius);
  background: var(--ux-surface);
  box-shadow: var(--ux-shadow-soft);
}

.hotel-page .hotel-description-section { padding-top: 28px; }

.hotel-page .hotel-section-heading { margin-bottom: 16px; }

.hotel-page .hotel-section-heading h2 {
  margin-top: 5px;
  color: var(--ux-ink);
  font-size: 28px;
  letter-spacing: -.5px;
}

.hotel-page .hotel-section-heading h2::after {
  width: 28px;
  height: 2px;
  margin-top: 9px;
  background: var(--ux-gold);
}

.hotel-page .hotel-section-intro {
  margin: -4px 0 16px;
  color: var(--ux-muted);
  font-size: 12px;
  line-height: 1.65;
}

/* DESCRIPTION */
.hotel-page .hotel-description {
  max-width: 850px;
  margin: 0;
  color: #3e4d62;
  font-size: 15px;
  line-height: 1.85;
}

/* AMENITIES — grouped by the shared catalog (js/amenity-catalog.js) */
.hotel-page .hotel-amenities { display: block; }

.hotel-page .amenity-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px 18px;
}

.hotel-page .amenity-group {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--ux-border);
  background: var(--ux-surface-soft);
}

.hotel-page .amenity-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--ux-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.hotel-page .amenity-group-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--ux-blue-dark);
  background: var(--ux-blue-soft);
  font-size: 12px;
}

.hotel-page .amenity-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotel-page .amenity-item {
  position: relative;
  padding-left: 20px;
  color: #334358;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.hotel-page .amenity-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ux-green);
  font-weight: 900;
}

.hotel-page .amenity-groups.is-compact {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px 14px;
}

.hotel-page .amenity-groups.is-compact .amenity-group {
  padding: 10px 12px;
  background: #fff;
}

.hotel-page .amenity-groups.is-compact .amenity-group-title {
  margin-bottom: 7px;
  font-size: 12px;
}

.hotel-page .amenity-groups.is-compact .amenity-item { font-size: 12px; }

/* ROOMS — one card per room type: description | rate, price and quantity */
.hotel-page .hotel-rooms {
  display: grid;
  gap: 12px;
}

.hotel-page .room-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  border: 1px solid var(--ux-border);
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.hotel-page .room-offer:hover {
  border-color: #cbd8e8;
  box-shadow: 0 9px 22px rgba(16, 42, 83, .06);
}

.hotel-page .room-offer.is-selected {
  border-color: #9ebef0;
  box-shadow: 0 10px 24px rgba(37, 99, 196, .08);
}

.hotel-page .room-offer.is-unavailable { background: #fbfcfe; }

.hotel-page .room-offer-main {
  min-width: 0;
  padding: 18px 20px;
}

.hotel-page .room-offer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
}

.hotel-page .room-offer-name {
  margin: 0;
  color: var(--ux-ink);
  font-family: inherit;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0;
}

.hotel-page .room-offer-stock {
  color: var(--ux-green);
  font-size: 11px;
  font-weight: 850;
}

.hotel-page .room-offer-stock.is-warning,
.hotel-page .room-offer-note.is-warning { color: var(--ux-danger); }

.hotel-page .room-offer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.hotel-page .room-offer-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hotel-page .room-offer-icon {
  color: var(--ux-blue-dark);
  font-size: 13px;
}

.hotel-page .room-offer-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.hotel-page .room-offer-highlights li {
  padding: 5px 9px;
  color: #3b4b60;
  background: #f1f5fa;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

.hotel-page .room-offer-details { margin-top: 14px; }

.hotel-page .room-offer-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ux-blue-dark);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.hotel-page .room-offer-details > summary::-webkit-details-marker { display: none; }

.hotel-page .room-offer-details > summary::after {
  content: "▾";
  font-size: 11px;
  transition: transform .16s ease;
}

.hotel-page .room-offer-details[open] > summary::after { transform: rotate(180deg); }

.hotel-page .room-offer-details > summary:hover { text-decoration: underline; }

.hotel-page .room-offer-details-body {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--ux-border);
  background: var(--ux-surface-soft);
}

.hotel-page .room-offer-details-body h4 {
  margin: 0 0 9px;
  color: var(--ux-muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hotel-page .room-offer-fact-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0 18px;
  margin: 0;
}

.hotel-page .room-offer-fact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ux-border);
  font-size: 12px;
}

.hotel-page .room-offer-fact-list dt { color: var(--ux-muted); }

.hotel-page .room-offer-fact-list dd {
  margin: 0;
  color: var(--ux-ink);
  font-weight: 750;
  text-align: right;
}

.hotel-page .room-offer-buy {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-left: 1px solid var(--ux-border);
  background: #fafcff;
}

.hotel-page .room-offer-field {
  display: grid;
  gap: 5px;
}

.hotel-page .room-offer-field > span {
  color: var(--ux-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.hotel-page .room-offer-field select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #ccd6e3;
  color: var(--ux-ink);
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}

.hotel-page .room-offer-field select:disabled {
  color: #9aa5b3;
  background: #f3f5f8;
  cursor: not-allowed;
}

.hotel-page .room-offer-terms {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #536275;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.hotel-page .room-offer-terms li.is-positive { color: var(--ux-green); }

.hotel-page .room-offer-price strong {
  display: block;
  color: var(--ux-ink);
  font-size: 19px;
  font-weight: 900;
}

.hotel-page .room-offer-price small {
  display: block;
  margin-top: 3px;
  color: var(--ux-muted);
  font-size: 11px;
  font-weight: 700;
}

.hotel-page .room-offer-price .room-offer-seasonal {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 7px;
  border: 1px solid #ead7a6;
  color: #795b20;
  background: #fff9e9;
  font-size: 10px;
}

.hotel-page .room-offer-note {
  color: var(--ux-muted);
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .hotel-page .room-offer { grid-template-columns: 1fr; }
  .hotel-page .room-offer-main { padding: 16px; }
  .hotel-page .room-offer-buy {
    padding: 16px;
    border-left: 0;
    border-top: 1px solid var(--ux-border);
  }
}

/* CALENDAR */
.hotel-page .hotel-availability-calendar { overflow: hidden; }

.hotel-page .hotel-availability-grid {
  display: grid;
  gap: 1px;
  overflow-x: auto;
  padding: 1px;
  border: 1px solid var(--ux-border);
  border-radius: 14px;
  background: var(--ux-border);
}

.hotel-page .hotel-availability-head {
  position: sticky;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 760px;
  gap: 14px;
  padding: 13px 14px;
  background: #f8fbff;
}

.hotel-page .hotel-availability-head strong {
  color: var(--ux-ink);
  font-size: 12px;
  font-weight: 900;
}

.hotel-page .hotel-availability-head span {
  color: var(--ux-muted);
  font-size: 10px;
  font-weight: 750;
}

.hotel-page .hotel-availability-room {
  display: grid;
  grid-template-columns: 150px minmax(610px, 1fr);
  gap: 1px;
  min-width: 760px;
  background: var(--ux-border);
}

.hotel-page .hotel-availability-room > strong {
  display: flex;
  align-items: center;
  padding: 12px;
  color: var(--ux-ink);
  background: #fff;
  font-size: 11px;
  line-height: 1.35;
}

.hotel-page .hotel-availability-days {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(95px, 1fr);
  gap: 1px;
}

.hotel-page .hotel-availability-day {
  min-width: 95px;
  padding: 11px 9px;
  background: #fff;
}

.hotel-page .hotel-availability-day > span {
  display: block;
  color: #7a8797;
  font-size: 9px;
  font-weight: 800;
}

.hotel-page .hotel-availability-day > strong {
  display: block;
  margin-top: 5px;
  color: var(--ux-ink);
  font-size: 10px;
  line-height: 1.35;
}

.hotel-page .hotel-availability-day > small {
  display: block;
  margin-top: 5px;
  color: var(--ux-muted);
  font-size: 9px;
  line-height: 1.35;
}

.hotel-page .hotel-availability-day.is-open > strong { color: var(--ux-green); }
.hotel-page .hotel-availability-day.is-empty { background: #fff8f9; }
.hotel-page .hotel-availability-day.is-empty > strong { color: var(--ux-danger); }
.hotel-page .hotel-availability-day.is-closed { background: #f1f4f8; }
.hotel-page .hotel-availability-day.is-closed > strong { color: #6e7886; }

.hotel-page .hotel-availability-notes {
  margin-top: 10px;
  color: var(--ux-muted);
  font-size: 10px;
  line-height: 1.6;
}

/* SERVICES */
.hotel-page .hotel-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.hotel-page .hotel-service-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 11px 12px;
  border: 1px solid var(--ux-border);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.hotel-page .hotel-service-item:has(input:checked) {
  border-color: #a9c6f4;
  background: #f7fbff;
}

.hotel-page .hotel-service-item input {
  width: 17px;
  height: 17px;
  accent-color: var(--ux-blue);
}

.hotel-page .hotel-service-item strong {
  min-width: 0;
  color: var(--ux-ink);
  font-size: 11px;
  line-height: 1.35;
}

.hotel-page .hotel-service-item > span {
  color: var(--ux-ink);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

/* INFO */
.hotel-page .hotel-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.hotel-page .hotel-info-card {
  padding: 16px;
  border: 1px solid var(--ux-border);
  border-radius: 13px;
  background: var(--ux-surface-soft);
}

.hotel-page .hotel-info-card-title {
  display: block;
  margin-bottom: 10px;
  color: var(--ux-ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.hotel-page .hotel-booking-terms,
.hotel-page .hotel-policies,
.hotel-page .hotel-family-policy,
.hotel-page .hotel-child-rules,
.hotel-page .hotel-price-rules {
  display: grid;
  gap: 8px;
}

.hotel-page .hotel-booking-term-row,
.hotel-page .hotel-policy-row,
.hotel-page .hotel-family-policy-row,
.hotel-page .hotel-child-rule,
.hotel-page .hotel-important-item {
  padding: 10px 11px;
  border: 1px solid var(--ux-border);
  border-radius: 10px;
  color: #46566b;
  background: #fff;
  font-size: 11px;
  line-height: 1.55;
}

.hotel-page .hotel-policy-row {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr);
  gap: 16px;
}

.hotel-page .hotel-policy-title {
  color: var(--ux-ink);
  font-weight: 850;
}

.hotel-page .hotel-policy-value { color: #536275; }

.hotel-page .hotel-price-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hotel-page .hotel-price-rules > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  color: #45607f;
  background: #eef5ff;
  font-size: 10px;
  font-weight: 800;
}

/* IMPORTANT */
.hotel-page .hotel-important-panel {
  border-color: #e7dfc9;
  background: #fffdf7;
}

.hotel-page .hotel-important { display: grid; gap: 8px; }

.hotel-page .hotel-important-item {
  border-color: #ece3cd;
  background: #fffaf0;
}

/* LOCATION */
.hotel-page .hotel-location-block { display: grid; gap: 12px; }
.hotel-page .hotel-location-block > h3 {
  margin: 0;
  color: var(--ux-ink);
  font-size: 18px;
}
.hotel-page .hotel-location-block > p {
  margin: 0;
  color: var(--ux-muted);
  font-size: 12px;
  line-height: 1.7;
}

.hotel-page .hotel-google-map-card {
  overflow: hidden;
  border: 1px solid var(--ux-border);
  border-radius: 14px;
  background: #fff;
}

.hotel-page .hotel-google-map-head {
  padding: 11px 13px;
  border-bottom: 1px solid var(--ux-border);
  background: #f8fbff;
}

.hotel-page .hotel-google-map-head strong {
  color: var(--ux-ink);
  font-size: 11px;
  font-weight: 900;
}

.hotel-page .hotel-google-map-frame {
  height: 340px;
  background: #eaf0f6;
}

.hotel-page .hotel-google-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hotel-page .hotel-google-map-actions {
  padding: 10px 13px;
  border-top: 1px solid var(--ux-border);
}

.hotel-page .hotel-map-link {
  color: var(--ux-blue) !important;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

/* REVIEWS */
.hotel-page .hotel-review-summary {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr);
  gap: 18px;
  align-items: stretch;
  padding: 15px;
  border: 1px solid var(--ux-border);
  border-radius: 14px;
  background: #f8fbff;
}

.hotel-page .review-score-card {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 145px;
  border: 1px solid #d8e4f4;
  border-radius: 13px;
  background: #fff;
  text-align: center;
}

.hotel-page .review-score-card strong {
  color: var(--ux-ink);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.hotel-page .review-score-card span {
  margin-top: 6px;
  color: var(--ux-muted);
  font-size: 11px;
  font-weight: 800;
}

.hotel-page .review-score-card small {
  margin-top: 8px;
  color: #8590a0;
  font-size: 9px;
}

.hotel-page .review-bars {
  display: grid;
  align-content: center;
  gap: 10px;
}

.hotel-page .review-bar-row {
  display: grid;
  grid-template-columns: 125px minmax(0,1fr) 35px;
  gap: 10px;
  align-items: center;
}

.hotel-page .review-bar-row > span {
  color: #536275;
  font-size: 10px;
  font-weight: 750;
}

.hotel-page .review-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf5;
}

.hotel-page .review-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ux-blue);
}

.hotel-page .review-bar-row > strong {
  color: var(--ux-ink);
  font-size: 10px;
  font-weight: 900;
  text-align: right;
}

.hotel-page .hotel-user-reviews-head {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--ux-border);
}

.hotel-page .hotel-reviews-list { display: grid; gap: 9px; }

.hotel-page .hotel-user-review {
  padding: 14px 15px;
  border: 1px solid var(--ux-border);
  border-radius: 12px;
  background: #fff;
}

.hotel-page .hotel-user-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.hotel-page .hotel-user-review-top > span:first-child {
  color: var(--ux-ink);
  font-size: 11px;
  font-weight: 900;
}

.hotel-page .hotel-user-review-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  border-radius: 7px;
  color: var(--ux-blue);
  background: #eef5ff;
  font-size: 10px;
  font-weight: 900;
}

.hotel-page .hotel-user-review p {
  margin: 0;
  color: #536275;
  font-size: 12px;
  line-height: 1.7;
}

/* SIDEBAR */
.hotel-page .hotel-sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
  display: grid;
  gap: 12px;
  padding-top: 0;
}

.hotel-page .hotel-booking-card {
  margin: 0;
  padding: 20px;
  border: 1px solid #cfdbea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16,42,83,.10);
}

.hotel-page .hotel-booking-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hotel-page .hotel-booking-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #36516f;
  background: #f0f5fb;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hotel-page .booking-card-label {
  color: var(--ux-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.hotel-page .hotel-price {
  margin-top: 5px;
  color: var(--ux-ink);
  font-size: 29px;
  line-height: 1;
  font-weight: 900;
}

.hotel-page .booking-note {
  margin-top: 9px;
  color: var(--ux-muted);
  font-size: 10px;
  line-height: 1.55;
}

.hotel-page .booking-divider {
  margin: 15px 0;
  border-top: 1px solid var(--ux-border);
}

.hotel-page .booking-feature {
  gap: 8px;
  margin-top: 8px;
  color: #536275;
  font-size: 10px;
  line-height: 1.45;
}

.hotel-page .booking-feature > span:first-child {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: var(--ux-green);
  background: var(--ux-green-soft);
  font-size: 9px;
  font-weight: 900;
}

.hotel-page .hotel-book-button {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border: 0;
  border-radius: 11px;
  color: #fff !important;
  background: var(--ux-blue);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(37,99,196,.18);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.hotel-page .hotel-book-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--ux-blue-dark);
  box-shadow: 0 10px 20px rgba(37,99,196,.22);
}

.hotel-page .hotel-book-button:disabled {
  opacity: .48;
  box-shadow: none;
  cursor: not-allowed;
}

.hotel-page .booking-secondary-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 10px;
  color: var(--ux-blue) !important;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
}

.hotel-page .booking-selection-summary {
  margin-top: 13px;
  padding: 13px;
  border: 1px solid #d7e5f7;
  border-radius: 12px;
  background: #f7fbff;
}

.hotel-page .booking-selection-title {
  color: var(--ux-ink);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.hotel-page .booking-selection-lines {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.hotel-page .booking-selection-lines > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: #536275;
  font-size: 10px;
  line-height: 1.45;
}

.hotel-page .booking-selection-lines strong {
  color: var(--ux-ink);
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.hotel-page .hotel-booking-price-breakdown {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #dbe2eb;
}

.hotel-page .hotel-booking-price-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #5a687a;
  font-size: 10px;
}

.hotel-page .hotel-booking-price-breakdown > div strong {
  color: var(--ux-ink);
  font-weight: 850;
  white-space: nowrap;
}

.hotel-page .hotel-booking-price-breakdown .booking-total-line {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--ux-border);
  color: var(--ux-ink);
  font-size: 11px;
  font-weight: 900;
}

.hotel-page .hotel-booking-price-breakdown .booking-total-line strong {
  color: var(--ux-blue);
  font-size: 15px;
}

.hotel-page .booking-warning {
  padding: 9px 10px;
  border: 1px solid #f1c8cf;
  border-radius: 9px;
  color: var(--ux-danger);
  background: var(--ux-danger-soft);
  font-size: 10px;
  line-height: 1.45;
  font-weight: 800;
}

.hotel-page .hotel-side-note {
  margin: 1;
  padding: 14px 15px;
  border: 1px solid #dfd2b5;
  border-radius: 14px;
  background: #fffdf7;
}

.hotel-page .hotel-side-note strong {
  color: var(--ux-ink);
  font-size: 11px;
}

.hotel-page .hotel-side-note p {
  margin: 5px 0 0;
  color: var(--ux-muted);
  font-size: 10px;
  line-height: 1.55;
}

/* EMPTY / LOAD */
.hotel-page .hotel-no-data {
  padding: 15px;
  border: 1px dashed #cbd5e1;
  border-radius: 11px;
  color: var(--ux-muted);
  background: #fafcff;
  font-size: 11px;
  line-height: 1.5;
}

.hotel-page .hotel-loading { min-height: 430px; }

.hotel-page .hotel-error {
  max-width: 720px;
  margin: 60px auto;
  border-radius: 16px;
  box-shadow: var(--ux-shadow-soft);
}

/* RESPONSIVE */
@media (max-width: 1150px) {
  .hotel-page .hotel-layout { grid-template-columns: minmax(0, 1fr) 320px; }

}

@media (max-width: 980px) {

  .hotel-page .hotel-hero-rating {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--ux-border);
  }
  .hotel-page .hotel-layout { grid-template-columns: 1fr; }
  .hotel-page .hotel-sidebar {
    order: -1;
  }

}

@media (max-width: 760px) {
  .hotel-page .hotel-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hotel-page .hotel-hero {
    border-radius: 14px;
  }

  .hotel-page .hotel-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 125px 125px;
  }

  .hotel-page .hotel-gallery-item:first-child {
    grid-row: 1 / 2;
    grid-column: 1 / -1;
    border-radius: 12px 12px 0 0;
  }

  .hotel-page .hotel-gallery-item:nth-child(2) { border-radius: 0 0 0 12px; }
  .hotel-page .hotel-gallery-item:nth-child(3) { border-radius: 0 0 12px 0; }
  .hotel-page .hotel-gallery-item:nth-child(4) { display: none; }

  .hotel-page .hotel-section-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .hotel-page .hotel-section-tabs {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .hotel-page .hotel-section {
    padding: 22px 17px;
    border-radius: 14px;
  }

  .hotel-page .hotel-section-heading h2 { font-size: 25px; }

  .hotel-page .hotel-amenities,
  .hotel-page .hotel-services-list,
  .hotel-page .hotel-info-grid {
    grid-template-columns: 1fr;
  }

  .hotel-page .hotel-review-summary { grid-template-columns: 1fr; }

  .hotel-page .review-bar-row {
    grid-template-columns: 105px minmax(0,1fr) 35px;
  }

  .hotel-page .hotel-policy-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hotel-page .hotel-google-map-frame { height: 270px; }
}

@media (max-width: 520px) {

  .hotel-page .hotel-hero-actions { display: grid; grid-template-columns: 1fr; }
  .hotel-page .hotel-hero-link { width: 100%; }
  .hotel-page .hotel-gallery { grid-template-rows: 170px 110px 110px; }
  .hotel-page .hotel-section-tabs-inner { gap: 2px; }
  .hotel-page .hotel-section-tab {
    min-height: 36px;
    padding: 0 11px;
    font-size: 10px;
  }

  .hotel-page .review-bar-row {
    grid-template-columns: 90px minmax(0,1fr) 33px;
    gap: 7px;
  }
  .hotel-page .hotel-booking-card {
    padding: 17px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotel-page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* =========================================================
   FINAL UI TUNING — minimal 3px corners
   ---------------------------------------------------------
   Cards, buttons, fields and content surfaces use a restrained
   3px radius. Circular icon controls remain circular.
   ========================================================= */
.hotel-page,
.hotel-page * {
  border-radius: 3px !important;
}

.hotel-page .hotel-lightbox-close,
.hotel-page .hotel-lightbox-prev,
.hotel-page .hotel-lightbox-next {
  border-radius: 50% !important;
}

/* =========================================================
   FINAL COMPACT HOTEL HERO
   ---------------------------------------------------------
   Makes the first property card visually tighter and removes
   the large unused white area without changing the content.
   ========================================================= */
.hotel-page .hotel-hero {
  grid-template-columns: minmax(0, 1fr) 235px !important;
  gap: 24px !important;
  margin-top: 14px !important;
  padding: 22px 24px !important;
  align-items: center !important;
  border-radius: 3px !important;
  box-shadow: 0 8px 22px rgba(16, 42, 83, 0.06) !important;
}

.hotel-page .hotel-hero .hotel-status-row {
  margin-bottom: 8px !important;
}

.hotel-page .hotel-hero .hotel-badge {
  min-height: 26px !important;
  padding: 0 10px !important;
  border-radius: 3px !important;
}

.hotel-page .hotel-hero h1#hotel-name {
  max-width: 820px !important;
  font-size: clamp(34px, 3.7vw, 48px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.7px !important;
}

.hotel-page .hotel-hero .hotel-address {
  margin-top: 10px !important;
  font-size: 13px !important;
}

.hotel-page .hotel-hero .hotel-meta-line {
  margin-top: 7px !important;
  font-size: 12px !important;
}

.hotel-page .hotel-tags {
  gap: 6px !important;
  margin-top: 10px !important;
}

.hotel-page .hotel-tag {
  min-height: 27px !important;
  padding: 0 9px !important;
  border-radius: 3px !important;
  font-size: 10px !important;
}

.hotel-page .hotel-hero-facts {
  margin-top: 9px !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
}

.hotel-page .hotel-hero-actions {
  gap: 8px !important;
  margin-top: 14px !important;
}

.hotel-page .hotel-hero-link {
  min-height: 38px !important;
  padding: 0 13px !important;
  border-radius: 3px !important;
  font-size: 11px !important;
}

.hotel-page .hotel-hero-rating {
  align-self: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  padding: 4px 0 4px 22px !important;
  border-left: 1px solid var(--ux-border) !important;
}

.hotel-page .hotel-hero-rating-score {
  gap: 8px !important;
  margin-top: 5px !important;
}

.hotel-page .hotel-hero-rating-score strong {
  font-size: 42px !important;
  line-height: .95 !important;
}

.hotel-page .hotel-hero-rating-score span {
  padding-bottom: 3px !important;
  font-size: 11px !important;
}

.hotel-page .hotel-review-count {
  margin-top: 5px !important;
}

.hotel-page .hotel-hero-rating > a {
  margin-top: 9px !important;
  font-size: 11px !important;
}

@media (max-width: 980px) {
  .hotel-page .hotel-hero {
    grid-template-columns: minmax(0, 1fr) 210px !important;
    gap: 18px !important;
    padding: 20px !important;
  }
  .hotel-page .hotel-hero-rating {
    padding-left: 18px !important;
  }
}

@media (max-width: 760px) {
  .hotel-page .hotel-hero {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 10px !important;
    padding: 18px !important;
  }
  .hotel-page .hotel-hero-rating {
    padding: 14px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--ux-border) !important;
  }
  .hotel-page .hotel-hero h1#hotel-name {
    font-size: clamp(30px, 8vw, 40px) !important;
  }
}

.hotel-page .hotel-booking-card{position:relative!important}
.hotel-page .hotel-booking-search{margin-top:15px;padding:0;border:0;background:transparent}
.hotel-page .sb-booking-widget{position:relative}
.hotel-page .sb-date-summary{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;border:1px solid #cbd6e3;background:#fff}
.hotel-page .sb-date-part{min-width:0;min-height:58px;padding:8px 10px;border:0!important;border-radius:0!important;background:#fff!important;color:var(--hotel-ink)!important;text-align:left;box-shadow:none!important}
.hotel-page .sb-date-part:hover{background:#f8fbff!important}
.hotel-page .sb-date-part span{display:block;color:var(--hotel-muted);font-size:9px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
.hotel-page .sb-date-part strong{display:block;margin-top:4px;color:var(--hotel-navy);font-size:13px;font-weight:850;line-height:1.2}
.hotel-page .sb-date-arrow{color:#8b97a3;font-size:18px;text-align:center}
.hotel-page .sb-booking-meta{display:flex;justify-content:flex-end;padding-top:6px}
.hotel-page .sb-booking-nights{color:var(--hotel-blue);font-size:10px;font-weight:850}
.hotel-page .sb-guest-trigger{display:block;width:100%;margin-top:9px;padding:10px;border:1px solid #cbd6e3!important;border-radius:3px!important;background:#fff!important;color:var(--hotel-ink)!important;text-align:left;box-shadow:none!important}
.hotel-page .sb-guest-trigger:hover{background:#f8fbff!important}
.hotel-page .sb-guest-trigger-label{display:block;margin-bottom:4px;color:var(--hotel-muted);font-size:9px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
.hotel-page .sb-guest-summary{display:block;overflow:hidden;color:var(--hotel-navy);font-size:12px;font-weight:850;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.hotel-page .sb-calendar,.hotel-page .sb-guests-popover{position:absolute;z-index:80;top:65px;left:0;right:0;padding:12px;border:1px solid #cbd6e3;background:#fff;box-shadow:0 10px 24px rgba(16,42,83,.08)}
.hotel-page .sb-calendar[hidden],.hotel-page .sb-guests-popover[hidden]{display:none!important}
.hotel-page .sb-calendar-head{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;gap:6px;margin-bottom:9px}
.hotel-page .sb-calendar-head strong{color:var(--hotel-navy);font-size:12px;font-weight:850;text-align:center;text-transform:uppercase}
.hotel-page .sb-cal-nav{width:28px;height:28px;padding:0;border:0!important;background:#fff!important;color:var(--hotel-blue)!important;font-size:21px;line-height:1;box-shadow:none!important}
.hotel-page .sb-cal-nav:hover{background:#eef5ff!important}
.hotel-page .sb-calendar-weekdays,.hotel-page .sb-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.hotel-page .sb-calendar-weekdays{margin-bottom:3px}
.hotel-page .sb-calendar-weekdays span{color:#909aa5;font-size:9px;font-weight:800;text-align:center}
.hotel-page .sb-cal-empty{min-height:31px}
.hotel-page .sb-cal-day{min-height:31px;padding:0;border:0!important;border-radius:2px!important;background:#fff!important;color:var(--hotel-ink)!important;font-size:11px;font-weight:750;box-shadow:none!important}
.hotel-page .sb-cal-day:hover:not(:disabled){background:#edf5ff!important;color:var(--hotel-blue)!important}
.hotel-page .sb-cal-day.is-disabled{color:#c5ccd3!important;cursor:not-allowed}
.hotel-page .sb-cal-day.is-today{color:var(--hotel-blue)!important}
.hotel-page .sb-cal-day.is-range{background:#eaf2ff!important;color:var(--hotel-navy)!important;border-radius:0!important}
.hotel-page .sb-cal-day.is-start,.hotel-page .sb-cal-day.is-end{color:#fff!important;background:var(--hotel-blue)!important;font-weight:900}
.hotel-page .sb-cal-day.is-start{border-radius:3px 0 0 3px!important}
.hotel-page .sb-cal-day.is-end{border-radius:0 3px 3px 0!important}
.hotel-page .sb-guest-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;border-bottom:1px solid var(--hotel-line-soft)}
.hotel-page .sb-guest-row>strong{color:var(--hotel-ink);font-size:12px;font-weight:800}
.hotel-page .sb-stepper{display:grid;grid-template-columns:30px 26px 30px;align-items:center;gap:3px}
.hotel-page .sb-stepper button{width:29px;height:29px;padding:0;border:1px solid #b8c8db!important;border-radius:50%!important;background:#fff!important;color:var(--hotel-blue)!important;font-size:17px;line-height:1;box-shadow:none!important}
.hotel-page .sb-stepper button:hover{background:#eef5ff!important}
.hotel-page .sb-stepper>strong{color:var(--hotel-navy);font-size:13px;text-align:center}
.hotel-page .sb-child-ages{padding-top:10px;border-top:1px solid var(--hotel-line);margin-top:2px}
.hotel-page .sb-guest-group-title{margin-bottom:7px;color:var(--hotel-muted);font-size:10px;font-weight:850}
.hotel-page .sb-child-age{display:grid;grid-template-columns:1fr 90px;align-items:center;gap:10px;margin-top:7px}
.hotel-page .sb-child-age span{color:#536379;font-size:11px}
.hotel-page .sb-child-age select{width:100%;min-height:34px;padding:0 7px;border:1px solid #ccd6e3!important;border-radius:3px!important;background:#fff!important;color:var(--hotel-ink)!important;box-shadow:none!important}
.hotel-page .sb-guests-apply{width:100%;min-height:40px;margin-top:11px;padding:0 12px;border:0!important;border-radius:3px!important;color:#fff!important;background:var(--hotel-blue)!important;font-size:12px;font-weight:850;box-shadow:none!important}
.hotel-page .sb-guests-apply:hover{background:var(--hotel-blue-dark)!important}
@media (min-width:901px){.hotel-page .hotel-sidebar{position:sticky!important;top:80px!important;align-self:start!important}}
@media (max-width:900px){.hotel-page .hotel-sidebar{order:-1}.hotel-page .sb-calendar,.hotel-page .sb-guests-popover{position:relative;top:auto;left:auto;right:auto;margin-top:8px}}
@media (max-width:480px){.hotel-page .sb-date-summary{grid-template-columns:minmax(0,1fr) 19px minmax(0,1fr)}.hotel-page .sb-date-part{padding-left:8px;padding-right:8px}.hotel-page .sb-date-part strong{font-size:12px}}

/* =========================================================
   GUESTS POPOVER — прокрутка только списка детей
   ========================================================= */

.hotel-page .sb-guests-popover {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  z-index: 80;
  max-height: none !important;
  overflow: visible !important;
}

.hotel-page .sb-guests-popover[hidden] {
  display: none !important;
}

/* Показываем примерно 4 возраста сразу.
   Если детей больше — прокручивается только этот список. */
.hotel-page .sb-child-ages {
  max-height: 190px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  padding-right: 4px;
}

.hotel-page .sb-guests-popover .sb-guests-apply {
  position: relative !important;
  bottom: auto !important;
  z-index: 1;
  display: block;
  background: var(--hotel-blue) !important;
}

.hotel-booking-price-breakdown > .hotel-seasonal-notice {
  display: block;
  margin: 10px 0 12px;
  padding: 12px 13px;
  border: 1px solid #ead7a6;
  border-radius: 9px;
  background: #fff9e9;
  color: #59451e;
  font-size: 12px;
  line-height: 1.45;
}
.hotel-seasonal-notice > strong {
  display: block;
  margin-bottom: 4px;
  color: #4e3b16;
  font-size: 13px;
}
.hotel-seasonal-notice p {
  margin: 0 0 8px;
  color: #6f5b32;
}
.hotel-seasonal-rule {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(155, 117, 36, .16);
}
.hotel-seasonal-rule strong { font-weight: 700; }
.hotel-seasonal-rule span { text-align: right; }
@media (max-width: 520px) {
  .hotel-seasonal-rule { display: block; }
  .hotel-seasonal-rule span { display: block; margin-top: 2px; text-align: left; }
}

/* =========================================================
   29. STICKY BOOKING SIDEBAR — INDEPENDENT SCROLL
   Keep the selected rooms, seasonal explanation and booking CTA reachable
   on desktop without requiring the entire page to move.
   ========================================================= */
@media (min-width: 981px) {

  .hotel-page .hotel-sidebar:focus-visible {
    outline: 2px solid #8eb7f1;
    outline-offset: 2px;
  }
}

/* =========================================================
   STAYBOOKING SIDEBAR UX FIX — 2026-10-28
   One scroll container, wheel support over the full panel,
   and a persistent booking action dock.
   ========================================================= */
@media (min-width: 981px) {
  .hotel-page .hotel-sidebar {
    position: sticky !important;
    top: 80px !important;
    align-self: start !important;
    max-height: calc(100vh - 96px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #c4cfdd transparent;
    padding: 0 4px 8px 0 !important;
    box-sizing: border-box;
    scroll-behavior: auto;
  }

  /* The sidebar is the only scroll container. Do not trap wheel events
     inside the booking card, which previously created nested scrolling. */
  .hotel-page .hotel-booking-card {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .hotel-page .hotel-sidebar-actions {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 100 !important;
    align-self: stretch;
    display: grid;
    gap: 7px;
    margin: 0 !important;
    padding: 12px 9px 8px;
    border-top: 1px solid #dce5ef;
    background: linear-gradient(to bottom, rgba(255,255,255,.96), #fff 30%);
    box-shadow: 0 -8px 20px rgba(16,42,83,.08);
  }

  .hotel-page .hotel-sidebar-actions .hotel-book-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin: 0 !important;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    touch-action: manipulation;
  }

  .hotel-page .hotel-sidebar-actions .booking-secondary-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin: 0 !important;
  }

  .hotel-page .hotel-sidebar::-webkit-scrollbar { width: 6px; }
  .hotel-page .hotel-sidebar::-webkit-scrollbar-track { background: transparent; }
  .hotel-page .hotel-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c4cfdd;
  }
}

@media (max-width: 980px) {
  .hotel-page .hotel-sidebar {
    position: static !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .hotel-page .hotel-booking-card {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .hotel-page .hotel-sidebar-actions {
    position: static;
    display: grid;
    gap: 7px;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* =========================================================
   PHOTO LIGHTBOX (appended to <body>, outside .hotel-page)
   ========================================================= */
html.hotel-lightbox-open,
html.hotel-lightbox-open body { overflow: hidden; }

#hotel-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  color: #fff;
  background: rgba(7, 20, 40, .94);
  font-family: Manrope, Arial, sans-serif;
}

#hotel-gallery-lightbox[hidden] { display: none; }

#hotel-gallery-lightbox .hotel-lightbox-shell {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(360px, 62vh) auto auto;
  width: 100%;
  height: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 24px 14px;
  box-sizing: border-box;
  background: #102a53;
}

#hotel-gallery-lightbox .hotel-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

#hotel-gallery-lightbox .hotel-lightbox-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

#hotel-gallery-lightbox .hotel-lightbox-kicker {
  color: #f2c66f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#hotel-gallery-lightbox .hotel-lightbox-title strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
}

#hotel-gallery-lightbox .hotel-lightbox-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

#hotel-gallery-lightbox .hotel-lightbox-counter {
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

#hotel-gallery-lightbox .hotel-lightbox-close,
#hotel-gallery-lightbox .hotel-lightbox-prev,
#hotel-gallery-lightbox .hotel-lightbox-next {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

#hotel-gallery-lightbox .hotel-lightbox-close:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .16);
}

#hotel-gallery-lightbox .hotel-lightbox-close {
  width: 42px;
  height: 42px;
  font-size: 28px;
}

#hotel-gallery-lightbox .hotel-lightbox-stage {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 18px;
  min-height: 0;
  padding: 18px 0;
}

#hotel-gallery-lightbox .hotel-lightbox-selected {
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 900px);
  height: min(100%, 720px);
  min-height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #0a1c34;
}

#hotel-gallery-lightbox .hotel-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: #0b1e38;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

#hotel-gallery-lightbox .hotel-lightbox-prev,
#hotel-gallery-lightbox .hotel-lightbox-next {
  width: 54px;
  height: 54px;
  font-size: 42px;
}

#hotel-gallery-lightbox .hotel-lightbox-prev:hover,
#hotel-gallery-lightbox .hotel-lightbox-next:hover {
  color: #102a53;
  background: #f2c66f;
}

#hotel-gallery-lightbox .hotel-lightbox-grid {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 92px;
  padding: 6px 2px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

#hotel-gallery-lightbox .hotel-lightbox-thumb {
  flex: 0 0 112px;
  width: 112px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #0b1e38;
  cursor: pointer;
}

#hotel-gallery-lightbox .hotel-lightbox-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}

#hotel-gallery-lightbox .hotel-lightbox-thumb:hover img,
#hotel-gallery-lightbox .hotel-lightbox-thumb.is-active img { opacity: 1; }

#hotel-gallery-lightbox .hotel-lightbox-thumb.is-active { border-color: #f2c66f; }

#hotel-gallery-lightbox .hotel-lightbox-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .56);
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 900px) {
  #hotel-gallery-lightbox .hotel-lightbox-shell {
    grid-template-rows: auto minmax(300px, 58vh) auto auto;
    padding: 14px 16px 12px;
  }
  #hotel-gallery-lightbox .hotel-lightbox-stage {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 10px;
  }
  #hotel-gallery-lightbox .hotel-lightbox-selected {
    width: 100%;
    height: min(58vh, 560px);
  }
  #hotel-gallery-lightbox .hotel-lightbox-prev,
  #hotel-gallery-lightbox .hotel-lightbox-next {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 700px) {
  #hotel-gallery-lightbox .hotel-lightbox-shell {
    grid-template-rows: auto minmax(240px, 52vh) auto;
    padding: 12px 10px;
  }
  #hotel-gallery-lightbox .hotel-lightbox-kicker,
  #hotel-gallery-lightbox .hotel-lightbox-foot { display: none; }
  #hotel-gallery-lightbox .hotel-lightbox-stage {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
    padding: 10px 0;
  }
  #hotel-gallery-lightbox .hotel-lightbox-selected { height: min(52vh, 460px); }
  #hotel-gallery-lightbox .hotel-lightbox-prev,
  #hotel-gallery-lightbox .hotel-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
  #hotel-gallery-lightbox .hotel-lightbox-grid {
    height: 78px;
    gap: 6px;
  }
  #hotel-gallery-lightbox .hotel-lightbox-thumb {
    flex-basis: 88px;
    width: 88px;
    height: 58px;
  }
}

@media (max-width: 430px) {
  #hotel-gallery-lightbox .hotel-lightbox-counter { display: none; }
  #hotel-gallery-lightbox .hotel-lightbox-close {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hotel-gallery-lightbox .hotel-lightbox-close,
  #hotel-gallery-lightbox .hotel-lightbox-prev,
  #hotel-gallery-lightbox .hotel-lightbox-next { transition: none; }
}

/* Service price unit ("за ночь", "за гостя") */
.hotel-page .hotel-service-price small {
  color: var(--ux-muted);
  font-size: 10px;
  font-weight: 700;
}
