:root {
  --bg: #f7f3ec;
  --card: #fff;
  --text: #1f1b16;
  --muted: #756a5c;
  --gold: #b9935a;
  --gold-soft: #e8d6b8;
  --line: rgba(31, 27, 22, .12);
  --dark: #17130f;
  --radius: 24px;
  --shadow: 0 12px 40px rgba(31, 27, 22, .08);
  --max: 1180px;
  --bottom-bar-height: 65px;
  --desktop-nav-height: 48px;
}

/* --- BREADCRUMBS --- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 0 6px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.breadcrumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--line); font-size: 16px; line-height: 1; }
@media (max-width: 920px) { .breadcrumb-desktop { display: none; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  padding-bottom: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 20px; margin: 0; }
li { margin: 8px 0; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.03em; }
h1 { font-size: clamp(36px, 7vw, 64px); max-width: 920px; }
h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 22px; }
h3 { font-size: 22px; margin-bottom: 10px; }
p { margin: 0 0 14px; color: var(--muted); }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 56px 0; scroll-margin-top: 80px; }
.section--compact { padding: 32px 0; }
.spy-section { scroll-margin-top: 80px; }

/* --- TOP BAR --- */
.topbar {
  position: sticky; top: 0; z-index: 100; height: 66px;
  backdrop-filter: blur(16px); background: rgba(247, 243, 236, .95);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-left { display: flex; align-items: center; height: 100%; gap: 8px; }

.logo-link { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { width: 20px; }

.topbar-crossfade { position: relative; height: 100%; display: flex; align-items: center; width: 200px; }
.logo-svg-wrapper {
  position: absolute; left: 0; display: flex; align-items: center;
  transition: opacity 0.3s ease, visibility 0.3s;
  opacity: 1; visibility: visible;
}
.topbar-title {
  position: absolute; left: 0; display: flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 16px; color: var(--dark); white-space: nowrap;
  transition: opacity 0.3s ease, visibility 0.3s;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.topbar-stars { color: var(--gold); text-decoration: none; font-size: 14px; letter-spacing: 1px; transition: transform 0.2s; }
.topbar-stars:hover { transform: scale(1.05); }
.topbar-name { cursor: pointer; transition: color 0.2s; }
.topbar-name:hover { color: var(--gold); }

body.h1-hidden .logo-svg-wrapper { opacity: 0; visibility: hidden; pointer-events: none; }
body.h1-hidden .topbar-title { opacity: 1; visibility: visible; pointer-events: auto; }

.topbar-calendar { position: relative; flex-shrink: 0; }
.calendar-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--gold); border-radius: 999px;
  background: var(--card); color: var(--dark); font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.3s ease; white-space: nowrap;
}
.calendar-btn:hover { background: var(--gold-soft); }
.calendar-icon { display: flex; align-items: center; justify-content: center; }
.calendar-icon svg { width: 18px; height: 18px; fill: currentColor; }
.calendar-text { display: inline-block; transition: max-width 0.3s ease, opacity 0.3s; max-width: 250px; opacity: 1; overflow: hidden; vertical-align: middle; }

/* --- КАЛЕНДАРЬ --- */
.calendar-popup {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -40%) scale(0.95);
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 16px;
  opacity: 0; visibility: hidden; z-index: 1001;
  transition: all 0.3s ease;
  width: max-content; max-width: 95vw;
  max-height: 90vh; overflow-y: auto;
}
.calendar-popup.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.calendar-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 1000; backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.calendar-overlay.active { opacity: 1; visibility: visible; }
.vanilla-calendar { max-width: 100% !important; margin: 0 auto; }

/* --- PAGE NAV --- */
.page-nav { z-index: 99; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); display: flex; }

/* --- UI ELEMENTS --- */
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; margin-bottom: 10px; }

.title-group { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.title-group > .stars { flex: none; white-space: nowrap; }
.hotel-title-text { min-width:0; }
.hotel-title-text h1 { margin:0; overflow-wrap:anywhere; }
.stars {
  color: var(--gold); font-size: clamp(20px, 4vw, 28px); letter-spacing: 2px;
  line-height: 1; margin-top: 4px; text-decoration: none; display: inline-block;
  transition: transform 0.2s; cursor: pointer;
}
.stars:hover { transform: scale(1.05); }

.rating {
  display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; margin: 18px 0 0;
  border-radius: 999px; background: var(--dark); color: #fff; font-weight: 700;
  transition: transform 0.2s; cursor: pointer;
}
.rating:hover { transform: scale(1.02); }
.rating small { color: rgba(255,255,255,.7); font-weight: 500; }

.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { padding: 9px 13px; border-radius: 999px; background: rgba(185, 147, 90, .12); border: 1px solid rgba(185, 147, 90, .22); color: #5d4526; font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card--dark { background: var(--dark); color: #fff; }
.card--dark p, .card--dark li { color: rgba(255,255,255,.72); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* --- Вкладки (Tabs) --- */
.tabs-nav {
  display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none; border: none; padding: 12px 20px; cursor: pointer; font-weight: 600;
  color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all 0.3s; white-space: nowrap; font-size: 16px;
}
.tab-btn.active { color: var(--text); border-bottom-color: var(--gold); }
.tab-btn:hover { color: var(--text); }
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* --- Сертификат (Tooltip) --- */
.cert-wrapper { position: relative; display: inline-block; margin-bottom: 24px; scroll-margin-top: 140px; }
.cert-btn {
  display: flex; align-items: center; gap: 8px; background: rgba(185, 147, 90, .12);
  border: 1px solid rgba(185, 147, 90, .22); color: #5d4526; padding: 8px 16px;
  border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.cert-btn:hover { background: rgba(185, 147, 90, .2); }
.cert-tooltip {
  position: absolute; top: calc(100% + 8px); left: 0; background: var(--dark); color: #fff;
  padding: 12px 16px; border-radius: 12px; font-size: 13px; white-space: nowrap;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: all 0.2s; z-index: 10;
}
.cert-tooltip.active { opacity: 1; visibility: visible; transform: translateY(0); }
.cert-tooltip a { color: var(--gold-soft); text-decoration: underline; }

/* --- Всплывающее описание номера --- */
.room-name-popup-wrapper { position: relative; display: inline-block; }
.room-name-link {
  color: var(--gold); font-size: 14px; text-decoration: underline; cursor: pointer;
  transition: color 0.2s;
}
.room-name-link:hover { color: var(--gold-soft); }
.room-name-plain { font-size: 14px; }
.room-name-tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(5px);
  background: var(--dark); color: rgba(255,255,255,.85);
  padding: 12px 16px; border-radius: 12px; font-size: 13px; line-height: 1.5;
  white-space: normal; max-width: 280px; min-width: 160px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: all 0.2s; z-index: 10;
}
.room-name-tooltip.active { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (max-width: 560px) {
  .room-name-tooltip { left: 0; transform: translateY(5px); max-width: 220px; }
  .room-name-tooltip.active { transform: translateY(0); }
}

/* --- ГАЛЕРЕЯ --- */
.gallery { padding-top: 24px; }
.gallery__head { margin-bottom: 22px; }
.gallery__grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 14px; }
.gallery__main, .gallery__thumb { position: relative; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.gallery__main { min-height: var(--gmh, 560px); display: block; }
.gallery__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery__thumbs > a { display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__main > img, .gallery__thumb > img { aspect-ratio: 16 / 9; }
.gallery__main > img { height: var(--gmh, 560px); }
.gallery__thumb > img { height: 266px; }
.gallery a:hover img { transform: scale(1.035); }
.photo-label { position: absolute; left: 18px; bottom: 18px; padding: 9px 13px; border-radius: 999px; background: rgba(23, 19, 15, .74); color: #fff; font-size: 14px; backdrop-filter: blur(12px); z-index: 2; }
.mobile-collage { display: none; }

/* --- БЛОКИ --- */
.timeline { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row strong { color: var(--text); }
.review-score { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; }
.score { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #fff5df, #b9935a); color: #21180e; font-size: 42px; font-weight: 900; }
.bars { display: grid; gap: 13px; }
.bar { display: grid; grid-template-columns: 120px 1fr 42px; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.bar span:nth-child(2) { height: 9px; border-radius: 999px; background: linear-gradient(90deg, var(--gold) var(--w), rgba(185,147,90,.15) var(--w)); }
.contact-phone { display: inline-block; font-size: 32px; font-weight: 800; color: var(--gold); margin: 10px 0; }

/* --- СЛАЙДЕРЫ --- */
.swiper-container-custom { padding-bottom: 40px; margin-top: 10px; }
.swiper-slide { height: auto !important; }
.swiper-container-custom .card { height: 100%; display: flex; flex-direction: column; }
.swiper-container-custom .card p { flex-grow: 1; }
.swiper-pagination-bullet-active { background: var(--gold) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--gold) !important; transform: scale(0.7); }

/* --- ФОТО НОМЕРОВ И КОЛЛАЖ --- */
.room-photo-placeholder {
  background: #ddd; width: 100%; aspect-ratio: 16/9; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; font-weight: 600;
  overflow: hidden; position: relative;
}
.room-photo-placeholder a { display: block; width: 100%; height: 100%; position: relative; }
.room-photo-placeholder img.main-room-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.room-photo-placeholder a:hover img.main-room-img { transform: scale(1.05); }

.room-collage {
  display: flex; position: absolute; right: 8px; bottom: 8px; gap: 4px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(4px);
  padding: 4px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10; pointer-events: none;
}
.room-collage img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.room-collage-more {
  width: 36px; height: 36px; border-radius: 6px; background: var(--dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; text-align: center; line-height: 1.1;
}

/* --- КАРТОЧКА "ВСЕ НОМЕРА" --- */
.show-all-rooms-card {
  background: var(--dark); color: #fff; border: none !important;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px 24px; text-decoration: none;
  transition: background 0.3s ease; border-radius: var(--radius);
  min-height: 280px;
  height: 100%;
}
.show-all-rooms-card:hover { background: #231d17; }
.show-all-rooms-card .icon-circle {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  color: var(--gold); transition: transform 0.3s ease, background 0.3s ease;
}
.show-all-rooms-card:hover .icon-circle {
  transform: translateX(5px); background: rgba(185, 147, 90, 0.1);
}

/* --- КАРТА (LEAFLET) --- */
.leaflet-container { z-index: 1; font-family: inherit; }

/* --- КНОПКА "НАВЕРХ" --- */
.scroll-to-top {
  position: fixed; bottom: calc(var(--bottom-bar-height) + 20px + env(safe-area-inset-bottom));
  right: 20px; width: 44px; height: 44px; background: var(--gold); color: #fff;
  border: none; border-radius: 50%; font-size: 20px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all 0.3s ease; z-index: 90;
  display: flex; align-items: center; justify-content: center;
}
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover { background: #9c7b48; }

/* --- ФУТЕР --- */
.site-footer {
  padding: 40px 20px; text-align: center; color: var(--muted);
  font-size: 14px; line-height: 1.6; border-top: 1px solid var(--line);
}
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }

/* --- ГРАФИКИ (CHART.JS) --- */
.chart-wrapper { position: relative; height: 320px; width: 100%; margin-top: 24px; }

/* --- АДАПТИВ (ДЕСКТОП) --- */
@media (min-width: 921px) {
  body { padding-bottom: 0; }
  .page-nav {
    position: sticky; top: 66px; height: var(--desktop-nav-height);
    border-bottom: 1px solid var(--line); justify-content: center; gap: 32px;
    background: rgba(247, 243, 236, .95);
  }
  .tab-item {
    display: flex; flex-direction: row; align-items: center; gap: 8px;
    color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none;
    border-bottom: 2px solid transparent; transition: all 0.2s; height: 100%;
  }
  .tab-item svg { width: 18px; height: 18px; fill: currentColor; }
  .tab-item.active { color: var(--text); border-bottom-color: var(--gold); }
  .tab-item:hover { color: var(--text); }
  .spy-section { scroll-margin-top: 134px; }
  .scroll-to-top { bottom: 30px; }
}

/* --- АДАПТИВ (ПЛАНШЕТЫ/МОБИЛЬНЫЕ) --- */
@media (max-width: 920px) {
  .topbar-crossfade { width: auto; flex-grow: 1; }
  body.h1-hidden .calendar-text { max-width: 0; opacity: 0; margin: 0; padding: 0; }
  .page-nav {
    position: fixed; bottom: 0; left: 0; width: 100%;
    height: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); justify-content: space-around; align-items: center;
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  }
  .tab-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; color: var(--muted); font-size: 11px; font-weight: 600; flex: 1; height: 100%; transition: color 0.2s;
  }
  .tab-item svg { width: 22px; height: 22px; fill: currentColor; transition: transform 0.2s; }
  .tab-item.active { color: var(--gold); }
  .tab-item.active svg { transform: translateY(-2px); }
  .tab-item:hover { color: var(--gold); }
  .gallery__grid, .split, .review-score { grid-template-columns: 1fr; }
  :root { --gmh: 420px; }
  .gallery__thumb > img { height: 203px; }
  .cards { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .gallery__thumbs > a:nth-child(n+3) { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 22px, var(--max)); }
  .section { padding: 38px 0; }
  .gallery__thumbs { display: none; }
  :root { --gmh: 360px; }
  .title-group { gap: 8px; }
  .mobile-collage {
    display: flex; position: absolute; right: 12px; bottom: 12px; gap: 4px;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(4px);
    padding: 5px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10; pointer-events: none;
  }
  .mobile-collage img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
  .mobile-collage-more {
    width: 44px; height: 44px; border-radius: 8px; background: var(--dark); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; text-align: center; line-height: 1.1;
  }
  .gallery__main .photo-label { bottom: auto; top: 12px; left: 12px; }
  .bar { grid-template-columns: 88px 1fr 34px; }
}

/* ==========================================================================
   СТИЛИЗАЦИЯ ДИНАМИЧЕСКОГО ОТЗЫВА И ОПИСАНИЙ
   ========================================================================== */
:where(#rev-overview .card, .content-card) {
  padding: 32px;
  overflow-wrap: anywhere;
}
:where(#rev-overview .card, .content-card) h3 {
  font-size: 22px;
  color: var(--dark);
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg);
}
:where(#rev-overview .card, .content-card) > h3:first-child { margin-top: 0; }
:where(#rev-overview .card, .content-card) p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 16px;
}
:where(#rev-overview .card, .content-card) p strong { color: var(--dark); }

/* Карточками становятся только пункты списка верхнего уровня. */
:where(#rev-overview .card, .content-card) > :is(ul, ol) {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}
:where(#rev-overview .card, .content-card) > ol { counter-reset: rich-list-item; }
:where(#rev-overview .card, .content-card) > :is(ul, ol) > li {
  background: var(--bg);
  border-radius: 16px;
  padding: 16px 20px 16px 52px;
  margin: 0;
  color: var(--muted);
  position: relative;
  line-height: 1.55;
  transition: background 0.3s ease;
}
:where(#rev-overview .card, .content-card) > :is(ul, ol) > li:hover { background: var(--gold-soft); }
:where(#rev-overview .card, .content-card) > ul > li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(185, 147, 90, 0.15);
}
:where(#rev-overview .card, .content-card) > ol > li { counter-increment: rich-list-item; }
:where(#rev-overview .card, .content-card) > ol > li::before {
  content: counter(rich-list-item);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
:where(#rev-overview .card, .content-card) > :is(ul, ol) > li > strong {
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
}

/* Вложенные списки сохраняют иерархию и не наследуют вид карточки. */
:where(#rev-overview .card, .content-card) li > ul {
  list-style: none;
  display: block;
  padding: 0;
  margin: 12px 0 0;
}
:where(#rev-overview .card, .content-card) li > ul > li {
  position: relative;
  padding: 0 0 0 20px;
  margin: 8px 0;
  background: transparent;
  border-radius: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
:where(#rev-overview .card, .content-card) li > ul > li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
}
:where(#rev-overview .card, .content-card) li > ol {
  display: block;
  list-style: decimal;
  padding-left: 24px;
  margin: 12px 0 0;
}
:where(#rev-overview .card, .content-card) li > ol > li {
  padding: 0 0 0 4px;
  margin: 8px 0;
  background: transparent;
  border-radius: 0;
  color: var(--muted);
  font-size: 14px;
}
:where(#rev-overview .card, .content-card) li > ol > li::before { content: none; }
:where(#rev-overview .card, .content-card) li :is(strong, em) { color: var(--dark); }
:where(#rev-overview .card, .content-card) img { max-width: 100%; height: auto; border-radius: 16px; margin: 24px 0; display: block; box-shadow: var(--shadow); object-fit: cover; }
@media (max-width: 768px) {
  :where(#rev-overview .card, .content-card) { padding: 20px; }
  :where(#rev-overview .card, .content-card) h3 { margin: 32px 0 16px; font-size: 20px; }
  :where(#rev-overview .card, .content-card) > :is(ul, ol) > li { padding: 14px 16px 14px 44px; border-radius: 12px; }
  :where(#rev-overview .card, .content-card) > ul > li::before { left: 16px; top: 21px; }
  :where(#rev-overview .card, .content-card) > ol > li::before { left: 12px; top: 12px; }
}

/* ==========================================================================
   УНИВЕРСАЛЬНЫЕ СТИЛИ КОНТЕНТА
   ========================================================================== */
@media (min-width: 768px) {
  .styled-list.columns-2 { grid-template-columns: repeat(2, 1fr); }
}
.sub-list { list-style: none; padding: 0; margin: 12px 0 0 0; display: flex; flex-direction: column; gap: 8px; }
.sub-list li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sub-list li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.sub-list li strong { font-size: 14px; }

/* --- ФУТЕР-ССЫЛКИ --- */
.footer-links { display: flex; gap: 20px; font-size: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* --- COOKIE-БАННЕР --- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(23, 19, 15, 0.9); backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.85); padding: 10px 20px; font-size: 12px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  z-index: 101; line-height: 1.5; border-top: 1px solid rgba(255,255,255,0.06);
}
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-banner a:hover { color: var(--gold-soft); }
.cookie-close {
  background: none; border: none; color: rgba(255,255,255,0.5); font-size: 18px;
  cursor: pointer; padding: 4px 8px; line-height: 1; flex-shrink: 0;
  border-radius: 4px; transition: 0.2s;
}
.cookie-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
@media (max-width: 920px) {
  .cookie-banner {
    bottom: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom));
    padding: 10px 16px; font-size: 11px; gap: 8px;
  }
}

/* ==========================================================================
   ВКЛАДКА "ЦЕНЫ" (#prices-calc)
   ========================================================================== */
.price-tomorrow { text-align: center; padding: 30px 20px; margin-bottom: 16px; }
.price-tomorrow p { font-size: 18px; font-weight: 600; color: var(--text); margin: 0; }

.price-cta { text-align: center; padding: 40px 20px; margin-bottom: 16px; }
.price-cta p { font-size: 15px; margin-bottom: 24px; }
.price-cta__btn { margin: 0 auto 24px; }
.price-cta__find { margin-top: 10px; }
.price-cta__link {
  background: var(--gold); color: #fff; border: none;
  font-size: 16px; padding: 14px 32px; display: inline-block;
}

/* --- Цены за последние N дней --- */
.recent-prices { margin-bottom: 16px; }
.recent-prices__scroll {
  margin-top: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scroll-snap-type: x proximity;
}
.recent-prices__row { display: flex; gap: 8px; min-width: min-content; padding-bottom: 8px; }
.recent-prices__cell {
  flex: 1 0 64px; min-width: 64px; display: flex; flex-direction: column;
  align-items: center; gap: 4px; padding: 12px 6px; border-radius: 12px;
  background: #f9f9f9; border: 1px solid var(--line); text-align: center;
  scroll-snap-align: start;
}
.recent-prices__cell.is-weekend { background: #fff3e0; }
.recent-prices__day { font-size: 12px; font-weight: 700; color: var(--text); }
.recent-prices__date { font-size: 11px; color: #888; }
.recent-prices__price { font-size: 14px; font-weight: 700; color: var(--dark); margin-top: 2px; white-space: nowrap; }
.recent-prices__empty { font-size: 18px; color: #ccc; margin-top: 2px; }
.recent-prices__legend { font-size: 12px; color: #777; margin-top: 12px; }
.recent-prices__legend-box {
  display: inline-block; width: 12px; height: 12px;
  background: #fff3e0; border: 1px solid var(--line);
  vertical-align: middle; margin-right: 4px; border-radius: 3px;
}
@media (max-width: 560px) {
  .recent-prices__scroll { scroll-snap-type: x mandatory; }
  .recent-prices__cell { flex: 0 0 60px; min-width: 60px; padding: 10px 4px; }
  .price-tomorrow { padding: 24px 16px; }
  .price-tomorrow p { font-size: 16px; }
  .price-cta { padding: 28px 16px; }
  .price-cta__link { display: block; padding: 14px 20px; }
}

/* --- Тултипы номеров внутри слайдера: контейнер обрезает, слайды нет --- */
.rooms-allow-overflow .swiper-wrapper { overflow: visible !important; }
.rooms-allow-overflow .swiper-slide { overflow: visible !important; }

.hotel-brand { font-size:14px; line-height:1.4; color:var(--muted); margin:6px 0 0; overflow-wrap:anywhere; }
.property-tooltip { margin:0; display:inline-block; position:relative; }
.property-tooltip-button { display:inline; padding:0; border:0; background:none; font:inherit; color:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.property-tooltip-content { position:fixed; z-index:1000; white-space:normal; width:280px; max-width:calc(100vw - 44px); max-height:calc(100vh - 32px); overflow:auto; overflow-wrap:anywhere; font-weight:400; line-height:1.5; text-align:left; transition:opacity .2s, visibility .2s; }
.room-building { font-size:.8em; font-weight:400; letter-spacing:normal; }
.property-buildings { margin-top:24px; }
.hotel-title-text h1 { margin-bottom:0; }
.building-card { padding:18px; min-width:0; overflow-wrap:anywhere; }
.building-card p { font-size:13px; color:var(--muted); margin:8px 0 12px; line-height:1.5; }
.property-rating { margin:0 0 12px; font-size:12px; padding:6px 10px; cursor:default; transform:none; }
.property-gallery-hidden { display:none; }

.hotel-subtitle { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:12px; }

.building-photos > a[hidden] { display:none; }
.building-photos > a:not([hidden]) { flex:0 0 100%; min-width:0; }

.swiper-button-prev[hidden],.swiper-button-next[hidden],.swiper-button-disabled,.swiper-button-lock {display:none!important;}
.room-type {font-weight:inherit;}
.pill .property-tooltip-button,.room-type .property-tooltip-button {font:inherit;color:inherit;}
