/* ─────────────────────────────────────────────────────────────
   Палитра раздела «Гостиницы Москвы».
   Применяется только к страницам о других гостиницах Москвы:
   подключается после style.css и включается классом .hotels-theme
   на <body>. Структура блоков не меняется — переопределяются
   только цвета, близкие к палитре партнёра (белый, салатовый,
   небесно-голубой).

   Значения подобраны так, чтобы проходить по контрасту (WCAG AA):
   текст на цветной заливке и цветной текст на светлом фоне ≥ 4.5:1.
   ───────────────────────────────────────────────────────────── */

.hotels-theme {
  --hotel-bg: #ffffff;
  --hotel-surface: #ffffff;
  --hotel-surface-soft: #eef7fc;
  --hotel-text: #1e2a31;
  --hotel-muted: #556670;
  --hotel-border: #d7e7ef;
  --hotel-accent: #1776a8;
  --hotel-accent-dark: #125a80;
  --hotel-accent-2: #7cc242;
  --hotel-accent-2-dark: #3f7d18;
  --hotel-reset: #f0a33a;
  --hotel-reset-dark: #7a4305;
  --hotel-sand: #7cc242;
  --hotel-shadow-soft: 0 18px 50px rgba(23, 118, 168, .14);
  --hotel-strip-card-shadow: 0 10px 28px rgba(23, 118, 168, 0.08);
  /* На soft-фоне (#eef7fc) нужна более плотная тень, иначе «пропадает». */
  --hotel-strip-card-shadow-on-soft: 0 6px 14px rgba(23, 118, 168, 0.16), 0 16px 40px rgba(30, 42, 49, 0.14);
}

/* Надзаголовки и теги карточек — текст мелкий, поэтому берут
   тёмно-зелёный вариант салатового (≈5:1 на белом). */
.hotels-theme .hotel-eyebrow,
.hotels-theme .hotel-card__tag {
  color: var(--hotel-accent-2-dark);
}

/* Шапка: светлый небесный градиент и верхняя лента-акцент —
   одинаково для каталога (--home) и подстраниц (--subpage) */
.hotels-theme .hotel-header--home,
.hotels-theme .hotel-header--subpage {
  background: linear-gradient(180deg, #ffffff 0%, #eef8fd 100%);
}

.hotels-theme .hotel-header--home::before,
.hotels-theme .hotel-header--subpage::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--hotel-accent) 0%, var(--hotel-accent-2) 100%);
}

/* Наведение/фокус верхней кнопки меню — небесно-голубой,
   нижней — салатовый */
.hotels-theme .hotel-nav__title:hover,
.hotels-theme .hotel-nav__title:focus-visible {
  color: #fff;
  background: var(--hotel-accent);
}

.hotels-theme .hotel-nav__sub:hover,
.hotels-theme .hotel-nav__sub:focus-visible {
  color: var(--hotel-text);
  background: var(--hotel-accent-2);
}

/* Подсказки навигации в той же палитре */
.hotels-theme .hotel-tip {
  --tip-bg: #f1fafe;
  --tip-border: #bfe3f4;
}

.hotels-theme .hotel-tip__body {
  color: #1a6e97;
}

.hotels-theme .hotel-tip__head::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231776a8'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 4.6a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM10.7 11h2.6v7h-2.6z'/%3E%3C/svg%3E");
}

/* Коллаж из фото гостиниц: подписи — название и адрес, поэтому
   карточки чуть выше, а подписи читаются в две строки */
.hotels-theme .hotel-collage__item {
  height: 210px;
}

.hotels-theme .hotel-collage__meta {
  padding: 2.2rem .7rem .6rem;
}

.hotels-theme .hotel-collage__stars {
  font-size: .78rem;
  letter-spacing: .1em;
}

.hotels-theme .hotel-collage__year {
  font-size: .86rem;
  line-height: 1.15;
}

.hotels-theme .hotel-collage__label {
  margin-top: .15rem;
  font-size: .72rem;
  line-height: 1.3;
  color: color-mix(in srgb, var(--hotel-surface) 92%, transparent);
}

/* Салатовый акцент для активного пункта меню */
.hotels-theme .hotel-nav__title[aria-current="page"],
.hotels-theme .hotel-nav__sub[aria-current="page"],
.hotels-theme .hotel-mobile-nav__title[aria-current="page"],
.hotels-theme .hotel-mobile-nav__sub[aria-current="page"] {
  text-decoration-color: var(--hotel-accent-2-dark);
}

/* Кнопки: основная — небесно-голубая, вторичная — с салатовой окантовкой */
.hotels-theme .hotel-button--primary {
  background: var(--hotel-accent);
  border-color: var(--hotel-accent);
  color: #fff;
}

.hotels-theme .hotel-button--primary:hover,
.hotels-theme .hotel-button--primary:focus-visible {
  background: var(--hotel-accent-dark);
  border-color: var(--hotel-accent-dark);
  color: #fff;
}

.hotels-theme .hotel-button--secondary:hover {
  border-color: var(--hotel-accent-2);
  color: var(--hotel-accent-2-dark);
}

@media (max-width: 1079px) {
  .hotels-theme .hotel-collage__item {
    height: 168px;
  }
}

@media (max-width: 640px) {
  .hotels-theme .hotel-collage {
    display: flex;
  }

  .hotels-theme .hotel-collage__item {
    flex: 0 0 82%;
    height: 156px;
  }
}

/* Каталог и страницы гостиниц раздела */

/* Заголовок карточки-ссылка наследует размер и цвет заголовка */
.hotels-theme .hotel-card h3 .hotel-card__link {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.hotels-theme .hotel-card h3 .hotel-card__link:hover,
.hotels-theme .hotel-card h3 .hotel-card__link:focus-visible {
  color: var(--hotel-accent);
}

/* Чип-ссылка подборки */
.hotels-theme a.hotel-chip {
  text-decoration: none;
  transition: border-color var(--hotel-transition), color var(--hotel-transition);
}

.hotels-theme a.hotel-chip:hover,
.hotels-theme a.hotel-chip:focus-visible {
  border-color: var(--hotel-accent);
  color: var(--hotel-accent);
}

/* Страница гостиницы: фото и справочные данные */
.hotel-hotel {
  display: grid;
  gap: 1.75rem;
}

.hotel-hotel--facts-only {
  grid-template-columns: minmax(0, 1fr);
}

/* Ostrovok-style preview strip: one row of 4 equal windows,
   full page width (edge to edge of the viewport). */
.hotel-photo-strip {
  --photo-strip-gap: 8px;
  --photo-strip-inline: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--photo-strip-gap);
  align-items: stretch;
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) 1.35rem;
  padding-inline: var(--photo-strip-inline);
  box-sizing: border-box;
}

.hotel-photo-strip__item,
.hotel-photo-strip__more {
  position: relative;
  margin: 0;
  min-width: 0;
  width: 100%;
  aspect-ratio: 214 / 198;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  box-shadow: var(--hotel-strip-card-shadow-on-soft);
}

.hotel-photo-strip__item picture,
.hotel-photo-strip__item img,
.hotel-photo-strip__more picture,
.hotel-photo-strip__more img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hotel-photo-strip__more {
  display: block;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}

.hotel-photo-strip__more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .52);
  z-index: 1;
}

.hotel-photo-strip__more-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: .55rem .65rem;
  text-align: center;
  color: #fff;
  font-size: clamp(.72rem, 1.35vw, .95rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.hotel-photo-strip__more-label-text {
  display: block;
  max-width: 18ch;
}

.hotel-photo-strip__more-label-stats {
  display: block;
  font-size: 0.92em;
  font-weight: 650;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

a.hotel-photo-strip__more:hover,
a.hotel-photo-strip__more:focus-visible {
  color: #fff;
}

.hotel-photo-strip__more:hover .hotel-photo-strip__more-label-text,
.hotel-photo-strip__more:focus-visible .hotel-photo-strip__more-label-text {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.hotel-photo-strip__more:focus-visible {
  outline: 2px solid var(--hotel-accent);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .hotel-photo-strip {
    --photo-strip-gap: 6px;
    --photo-strip-inline: .75rem;
  }

  .hotel-photo-strip__more-label {
    font-size: .68rem;
    padding: .4rem .35rem;
  }
}

/* Белый блок описания после фотополосы — явно белый фон,
   чтобы секции visually чередовались с soft (#eef7fc). */
.hotels-theme .hotel-section--about-white {
  background: #ffffff;
}

/* Если секция одновременно в soft-слоте чередования — голубой фон
   важнее «белых» модификаторов (иначе при отсутствии отзывов
   rooms/location слипаются в белые полосы подряд). */
.hotels-theme .hotel-section--soft.hotel-section--about-white,
.hotels-theme .hotel-section--soft.hotel-section--rooms-white,
.hotels-theme .hotel-section--soft.hotel-section--location {
  background: var(--hotel-surface-soft);
}

.hotels-theme .hotel-section--photos {
  padding-block: clamp(1.25rem, 3vw, 2rem);
}

.hotels-theme .hotel-section--photos .hotel-photo-strip {
  margin-bottom: 0;
}

/* Reviews strip: 3 windows in a row, like the photo strip */
.hotel-review-strip {
  --review-strip-gap: 8px;
  --review-strip-inline: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--review-strip-gap);
  align-items: stretch;
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding-inline: var(--review-strip-inline);
  box-sizing: border-box;
}

.hotel-review-strip__card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
  padding: 0.8rem 0.85rem 0.9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  box-shadow: var(--hotel-strip-card-shadow-on-soft);
}

.hotel-review-strip__card--awaiting {
  justify-content: center;
  align-items: center;
  min-height: 12.5rem;
  text-align: center;
}

.hotel-review-strip__awaiting {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 750;
  line-height: 1.3;
  color: var(--hotel-muted, #556670);
}

.hotel-review-strip__more-body .hotel-review-strip__awaiting {
  margin: auto;
}

.hotel-review-strip__head {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.hotel-review-strip__score {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.3rem;
  border-radius: 0.45rem;
  background: var(--hotel-accent-2, #7cc242);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

/* Светофор по шкале Ostrovok: 9+ зелёный → середина жёлтый → ниже 4 красный */
.hotel-review-strip__score--super {
  background: #3f9e2a;
}

.hotel-review-strip__score--excellent {
  background: var(--hotel-accent-2, #7cc242);
}

.hotel-review-strip__score--very-nice {
  background: #a8b83a;
}

.hotel-review-strip__score--nice {
  background: #c9a526;
}

.hotel-review-strip__score--not-bad {
  background: var(--hotel-reset, #f0a33a);
}

.hotel-review-strip__score--normal {
  background: #e07a2f;
}

.hotel-review-strip__score--bad {
  background: #c45b5b;
}

.hotel-review-strip__meta {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.hotel-review-strip__verdict {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--hotel-text, #1e2a31);
  line-height: 1.25;
}

/* Тона вердикта — после базового .verdict, иначе color из базы их перекрывал. */
.hotel-review-strip__verdict--super { color: #2f7a20; }
.hotel-review-strip__verdict--excellent { color: var(--hotel-accent-2-dark, #3f7d18); }
.hotel-review-strip__verdict--very-nice { color: #6f7a1f; }
.hotel-review-strip__verdict--nice { color: #8a7014; }
.hotel-review-strip__verdict--not-bad { color: var(--hotel-reset-dark, #7a4305); }
.hotel-review-strip__verdict--normal { color: #9a4a14; }
.hotel-review-strip__verdict--bad { color: #8f3a3a; }

.hotel-review-strip__author {
  margin: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--hotel-muted, #556670);
  line-height: 1.3;
}

.hotel-review-strip__author-name {
  min-width: 0;
}

.hotel-review-strip__flag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--hotel-border, #d7e7ef);
  line-height: 0;
}

.hotel-review-strip__flag-svg {
  display: block;
  width: 18px;
  height: 13px;
  border-radius: 2.5px;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--hotel-accent, #1776a8), transparent 82%);
}

.hotel-review-strip__body {
  display: grid;
  gap: 0;
  min-width: 0;
}

.hotel-review-strip__good {
  font-weight: 750;
  color: var(--hotel-accent-2-dark, #3f7d18);
}

.hotel-review-strip__bad {
  font-weight: 750;
  color: #c45b5b;
}

.hotel-review-strip__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--hotel-text, #1e2a31);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.hotel-review-strip__text--bad {
  -webkit-line-clamp: 4;
}

.hotel-review-strip__more {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 100%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  box-shadow: var(--hotel-strip-card-shadow-on-soft);
}

.hotel-review-strip__more-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  min-height: 12.5rem;
  padding: 0.8rem 0.85rem 0.9rem;
  box-sizing: border-box;
}

.hotel-review-strip__more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
}

.hotel-review-strip__more-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  text-align: center;
  color: #fff;
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hotel-review-strip__more-label-text {
  display: block;
  max-width: 22ch;
}

.hotel-review-strip__more-label-stats {
  display: block;
  font-size: 0.92em;
  font-weight: 650;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.hotel-review-strip__more:hover .hotel-review-strip__more-label-text,
.hotel-review-strip__more:focus-visible .hotel-review-strip__more-label-text {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hotel-review-strip__more:focus-visible {
  outline: 2px solid var(--hotel-accent);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .hotel-review-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hotel-review-strip {
    grid-template-columns: 1fr;
    --review-strip-gap: 6px;
    --review-strip-inline: 0.75rem;
  }

  .hotel-review-strip__more-body {
    min-height: 11rem;
  }
}

.hotels-theme .hotel-section--rooms-white {
  background: #ffffff;
}

.hotel-room-strip {
  --room-strip-gap: 10px;
  --room-strip-inline: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--room-strip-gap);
  align-items: stretch;
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding-inline: var(--room-strip-inline);
  box-sizing: border-box;
}

.hotel-room-strip__card,
.hotel-room-strip__more {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  box-shadow: var(--hotel-strip-card-shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.hotel-room-strip__card--link:hover .hotel-room-strip__name,
.hotel-room-strip__card--link:focus-visible .hotel-room-strip__name {
  color: var(--hotel-accent-dark, #125a80);
}

.hotel-room-strip__media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: color-mix(in oklab, var(--hotel-text), transparent 92%);
  overflow: hidden;
}

.hotel-room-strip__media picture,
.hotel-room-strip__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hotel-room-strip__photos {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 1;
  padding: 0.28rem 0.55rem;
  border-radius: 0.45rem;
  background: rgba(30, 42, 49, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.hotel-room-strip__name {
  margin: 0;
  padding: 0.85rem 0.9rem 0.45rem;
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.12rem);
  font-weight: 750;
  line-height: 1.25;
  color: var(--hotel-text, #1e2a31);
}

.hotel-room-strip__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 0.9rem 0.95rem;
}

.hotel-room-strip__amenity {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 100%;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: #f3f6f8;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.hotel-room-strip__amenity span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotel-room-strip__amenity svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.hotel-room-strip__more {
  position: relative;
  isolation: isolate;
}

.hotel-room-strip__more-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hotel-room-strip__more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
}

.hotel-room-strip__more-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 1.1rem;
  text-align: center;
  color: #fff;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 750;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hotel-room-strip__more-label-text {
  display: block;
  max-width: 22ch;
}

.hotel-room-strip__more-label-stats {
  display: block;
  font-size: 0.92em;
  font-weight: 650;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.hotel-room-strip__more:hover .hotel-room-strip__more-label-text,
.hotel-room-strip__more:focus-visible .hotel-room-strip__more-label-text {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hotel-room-strip__more:focus-visible,
.hotel-room-strip__card--link:focus-visible {
  outline: 2px solid var(--hotel-accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hotel-room-strip {
    grid-template-columns: 1fr;
    --room-strip-gap: 8px;
    --room-strip-inline: 0.75rem;
  }
}

.hotels-theme .hotel-section--stay-dates {
  padding-block: clamp(1.1rem, 2.5vw, 1.75rem);
}

.hotel-stay-book {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.95rem 1.1rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  color: var(--hotel-text, #1e2a31);
  box-shadow: var(--hotel-strip-card-shadow-on-soft, 0 10px 28px rgba(23, 118, 168, 0.08));
}

.hotel-stay-book__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem 1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.hotel-stay-book__field {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 10.5rem);
  flex: 1 1 10.5rem;
}

.hotel-stay-book__field--guests {
  flex: 1 1 14rem;
  min-width: min(100%, 13.5rem);
}

.hotel-stay-book__label {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hotel-muted, #556670);
  line-height: 1.2;
}

.hotel-stay-book__control {
  position: relative;
  display: block;
}

.hotel-stay-book__input,
.hotel-stay-book__select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 2.4rem 0.55rem 0.75rem;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 12px;
  background: #fff;
  color: var(--hotel-text, #1e2a31);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

.hotel-stay-book__input::placeholder {
  color: #8b97a1;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hotel-stay-book__select {
  appearance: none;
  -webkit-appearance: none;
  color: #8b97a1;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238b97a1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem;
  cursor: pointer;
}

.hotel-stay-book__select option {
  color: #8b97a1;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hotel-stay-book__cal {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hotel-muted, #556670);
  cursor: pointer;
}

.hotel-stay-book__cal svg {
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.hotel-stay-book__cal:hover,
.hotel-stay-book__cal:focus-visible {
  color: var(--hotel-accent, #1776a8);
  background: color-mix(in srgb, var(--hotel-accent, #1776a8) 10%, transparent);
}

.hotel-stay-book__input:focus,
.hotel-stay-book__select:focus {
  outline: 2px solid color-mix(in srgb, var(--hotel-accent, #1776a8) 40%, transparent);
  outline-offset: 1px;
  border-color: var(--hotel-accent, #1776a8);
}

.hotel-stay-book__popover {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 40;
  width: min(18.5rem, calc(100vw - 2rem));
  padding: 0.75rem;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 118, 168, 0.16);
  color: var(--hotel-text, #1e2a31);
}

.hotel-stay-book__popover[hidden] {
  display: none;
}

.hotel-stay-book__cal-head {
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.hotel-stay-book__cal-title {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: capitalize;
}

.hotel-stay-book__cal-nav {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 8px;
  background: #fff;
  color: var(--hotel-text, #1e2a31);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.hotel-stay-book__cal-nav:hover,
.hotel-stay-book__cal-nav:focus-visible {
  border-color: var(--hotel-accent, #1776a8);
  color: var(--hotel-accent, #1776a8);
}

.hotel-stay-book__cal-weekdays,
.hotel-stay-book__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.15rem;
}

.hotel-stay-book__cal-weekdays {
  margin-bottom: 0.25rem;
}

.hotel-stay-book__cal-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hotel-muted, #556670);
  text-transform: lowercase;
}

.hotel-stay-book__cal-weekdays .is-weekend,
.hotel-stay-book__cal-day.is-weekend {
  color: #c45b5b;
}

.hotel-stay-book__cal-day {
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

button.hotel-stay-book__cal-day:hover,
button.hotel-stay-book__cal-day:focus-visible {
  background: color-mix(in srgb, var(--hotel-accent, #1776a8) 14%, transparent);
  color: var(--hotel-accent-dark, #125a80);
}

.hotel-stay-book__cal-day.is-selected {
  background: color-mix(in srgb, var(--hotel-accent, #1776a8) 18%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--hotel-accent, #1776a8);
  color: var(--hotel-accent-dark, #125a80);
}

.hotel-stay-book__cal-day.is-disabled,
.hotel-stay-book__cal-day.is-empty {
  cursor: default;
  color: #b7c2c9;
  background: transparent;
}

.hotel-stay-book__cal-foot {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.55rem;
}

.hotel-stay-book__cal-clear {
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 8px;
  background: #f3f6f8;
  color: var(--hotel-text, #1e2a31);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}

.hotel-stay-book__cal-clear:hover,
.hotel-stay-book__cal-clear:focus-visible {
  border-color: var(--hotel-accent, #1776a8);
  color: var(--hotel-accent-dark, #125a80);
}

.hotel-stay-book__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--hotel-accent, #1776a8);
  border-radius: 12px;
  background: var(--hotel-accent, #1776a8);
  color: #fff;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
}

.hotel-stay-book__submit:hover,
.hotel-stay-book__submit:focus-visible {
  background: var(--hotel-accent-dark, #125a80);
  border-color: var(--hotel-accent-dark, #125a80);
}

.hotel-stay-book__submit:focus-visible {
  outline: 2px solid var(--hotel-accent, #1776a8);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .hotel-stay-book {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }

  .hotel-stay-book__fields {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hotel-stay-book__field,
  .hotel-stay-book__field--guests {
    min-width: 0;
    flex: none;
  }

  .hotel-stay-book__submit {
    width: 100%;
  }
}

.hotels-theme .hotel-section--location {
  background: #ffffff;
}

.hotel-location__head {
  max-width: none;
  margin-bottom: 1rem;
}

.hotel-location__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  width: 100%;
  max-width: none;
}

.hotel-location__address {
  margin: 0;
  color: var(--hotel-muted, #556670);
  font-size: 1rem;
  line-height: 1.45;
  text-align: left;
  min-width: 0;
  max-width: none;
  flex: 1 1 auto;
}

.hotel-location__coords {
  margin: 0;
  color: var(--hotel-muted, #556670);
  font-size: 1rem;
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: none;
}

.hotel-location__coords-link {
  color: var(--hotel-accent, #1776a8);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  text-decoration: none;
}

.hotel-location__coords-link:hover,
.hotel-location__coords-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 640px) {
  .hotel-location__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hotel-location__coords {
    text-align: left;
    white-space: normal;
  }
}

.hotel-location__map-wrap {
  position: relative;
  margin: 0 0 1.35rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hotel-border, #d7e7ef);
  box-shadow: var(--hotel-strip-card-shadow, 0 10px 28px rgba(23, 118, 168, 0.08));
  background: #eef3f6;
}

.hotel-location__map {
  aspect-ratio: 21 / 9;
  min-height: 280px;
}

.hotel-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hotel-location__map-card {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 2;
  display: flex;
  gap: 0.55rem;
  width: min(18rem, calc(100% - 2rem));
  padding: 0.45rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  box-shadow: 0 10px 28px rgba(30, 42, 49, 0.18);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hotel-location__map-card-media {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  height: 3.4rem;
  border-radius: 8px;
  overflow: hidden;
  background: #dfe7ec;
}

.hotel-location__map-card-media picture,
.hotel-location__map-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-location__map-card-body {
  position: relative;
  display: grid;
  gap: 0.1rem;
  align-content: center;
  min-width: 0;
  padding-right: 2.2rem;
}

.hotel-location__map-card-stars {
  margin: 0;
  color: #e0a100;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.hotel-location__map-card-name {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--hotel-text, #1e2a31);
}

.hotel-location__map-card-score {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-grid;
  place-items: center;
  min-width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.4rem;
  background: var(--hotel-accent-2, #7cc242);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.hotel-location__map-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.hotel-location__nearby-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: var(--hotel-accent, #1776a8);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

.hotel-location__nearby-btn:hover,
.hotel-location__nearby-btn:focus-visible {
  background: var(--hotel-accent-dark, #125a80);
}

.hotel-location__map-open {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: #fff;
  color: var(--hotel-accent, #1776a8);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--hotel-border, #d7e7ef);
}

.hotel-location__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  align-items: start;
  margin: 0 0 1.5rem;
}

.hotel-location__side {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  min-width: 0;
}

.hotel-location__group-title {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--hotel-text, #1e2a31);
}

.hotel-location__poi-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hotel-location__poi {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: start;
}

.hotel-location__poi-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
}

.hotel-location__poi-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.hotel-location__poi-icon--airport-brand {
  overflow: hidden;
  border-radius: 0.18rem;
}

.hotel-location__poi-icon--airport-brand img,
.hotel-location__poi-icon--metro-brand img {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}

.hotel-location__poi-icon--metro-brand {
  overflow: visible;
}

.hotel-location__poi-name {
  color: var(--hotel-accent, #1776a8);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}

.hotel-location__poi-name:hover,
.hotel-location__poi-name:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hotel-location__poi-dist {
  color: var(--hotel-muted, #556670);
  font-size: 0.9rem;
  white-space: nowrap;
}

.hotel-location__facts {
  padding-top: 0.25rem;
}

@media (max-width: 960px) {
  .hotel-location__columns {
    grid-template-columns: 1fr 1fr;
  }

  .hotel-location__map {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .hotel-location__columns {
    grid-template-columns: 1fr;
  }

  .hotel-location__map-card {
    top: auto;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    transform: none;
  }

  .hotel-location__map-actions {
    left: 0.75rem;
    right: 0.75rem;
    justify-content: space-between;
  }

  .hotel-location__nearby-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
  }
}

.hotel-amenities-card {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  box-shadow: var(--hotel-strip-card-shadow-on-soft, 0 10px 28px rgba(23, 118, 168, 0.08));
}

.hotel-amenities-card > h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.7rem);
  line-height: 1.2;
}

.hotel-amenity-board {
  column-count: 4;
  column-gap: 1.5rem;
}

.hotel-amenity-board__group {
  break-inside: avoid;
  margin: 0 0 1.2rem;
}

.hotel-amenity-board__group--featured {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: #f3f6f8;
}

.hotel-amenity-board__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  color: var(--hotel-text, #1e2a31);
}

.hotel-amenity-board__icon {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

.hotel-amenity-board__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.hotel-amenity-board__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.hotel-amenity-board__list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.94rem;
  line-height: 1.35;
  color: var(--hotel-text, #1e2a31);
}

.hotel-amenity-board__list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.55em;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #9aadb8;
}

.hotel-amenity-board__item-name {
  display: inline;
}

.hotel-amenity-board__item-note {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: var(--hotel-muted, #556670);
}

@media (max-width: 1100px) {
  .hotel-amenity-board {
    column-count: 3;
  }
}

@media (max-width: 800px) {
  .hotel-amenity-board {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .hotel-amenity-board {
    column-count: 1;
  }
}

.hotel-sources-facts-wrap {
  margin: 1.15rem 0 0;
}

.hotel-sources-facts__caption {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--hotel-muted, #556670);
  line-height: 1.3;
}

.hotel-sources-facts {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0.9rem 1rem;
  list-style: none;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 14px;
  background: #fff;
}

.hotel-sources-facts__item {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.hotel-sources-facts__label,
.hotel-sources-facts__value {
  margin: 0;
  min-width: 0;
}

.hotel-sources-facts__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hotel-muted, #556670);
  line-height: 1.3;
}

.hotel-sources-facts__value {
  color: var(--hotel-text, #1e2a31);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hotel-sources-facts__value a {
  color: var(--hotel-accent, #1776a8);
  text-decoration: none;
}

.hotel-sources-facts__value a:hover,
.hotel-sources-facts__value a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (min-width: 720px) {
  .hotel-sources-facts__item {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 0.75rem 1rem;
    align-items: baseline;
  }

  .hotel-sources-facts__label {
    font-size: 0.95rem;
  }
}

.hotel-ostrovok-info {
  display: grid;
  gap: 1.5rem;
  max-width: 52rem;
}

.hotel-ostrovok-info__block {
  display: grid;
  gap: 0.75rem;
}

.hotel-ostrovok-info__title {
  margin: 0;
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.7rem);
  line-height: 1.2;
  color: var(--hotel-text, #1e2a31);
}

.hotel-ostrovok-info__subtitle {
  margin: 0;
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.35rem);
  line-height: 1.25;
  font-weight: 750;
  color: var(--hotel-text, #1e2a31);
}

.hotel-ostrovok-info__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.hotel-ostrovok-info__list li,
.hotel-ostrovok-info__text {
  margin: 0;
  color: var(--hotel-muted, #556670);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hotel-ostrovok-info__payment {
  display: grid;
  gap: 1.15rem;
}

.hotel-ostrovok-info__pay-group {
  display: grid;
  gap: 0.45rem;
}

.hotel-ostrovok-info__pay-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--hotel-text, #1e2a31);
}

.hotel-ostrovok-info__cards-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.hotel-ostrovok-info__cards-label {
  color: var(--hotel-muted, #556670);
  font-size: 0.98rem;
  line-height: 1.4;
}

.hotel-ostrovok-info__cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotel-ostrovok-info__card-logo {
  display: block;
  width: auto;
  height: 28px;
  max-width: 52px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 6px;
  padding: 0.2rem 0.35rem;
  box-sizing: content-box;
}

.hotel-ostrovok-info__card-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--hotel-border, #d7e7ef);
  background: #fff;
  color: var(--hotel-text, #1e2a31);
  font-size: 0.82rem;
  font-weight: 700;
}

.hotel-policies-card {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  box-shadow: var(--hotel-strip-card-shadow-on-soft, 0 10px 28px rgba(23, 118, 168, 0.08));
}

.hotel-policies-card > h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.7rem);
  line-height: 1.2;
}

.hotel-policy-board {
  column-count: 4;
  column-gap: 1.5rem;
}

.hotel-policy-board__group {
  break-inside: avoid;
  margin: 0 0 1.2rem;
}

.hotel-policy-board__group--featured,
.hotel-policy-board__group--checkin {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: #f3f6f8;
}

.hotel-policy-board__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  color: var(--hotel-text, #1e2a31);
}

.hotel-policy-board__icon {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

.hotel-policy-board__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.hotel-policy-board__checkin {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.hotel-policy-board__checkin > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
}

.hotel-policy-board__checkin dt,
.hotel-policy-board__checkin dd {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.35;
}

.hotel-policy-board__checkin dt {
  color: var(--hotel-text, #1e2a31);
}

.hotel-policy-board__checkin dd {
  font-weight: 700;
  color: var(--hotel-text, #1e2a31);
  white-space: nowrap;
}

.hotel-policy-board__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.hotel-policy-board__list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.94rem;
  line-height: 1.35;
  color: var(--hotel-text, #1e2a31);
}

.hotel-policy-board__list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.55em;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #9aadb8;
}

.hotel-policy-board__item-note {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.8rem;
  color: var(--hotel-muted, #556670);
}

@media (max-width: 1100px) {
  .hotel-policy-board {
    column-count: 3;
  }
}

@media (max-width: 800px) {
  .hotel-policy-board {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .hotel-policy-board {
    column-count: 1;
  }
}

.hotel-next-browse {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: stretch;
  justify-content: center;
}

.hotel-next-browse__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .hotel-next-browse {
    flex-direction: column;
  }

  .hotel-next-browse__btn {
    width: 100%;
  }
}

.hotel-hotel__media {
  margin: 0;
  border-radius: var(--hotel-radius-md);
  overflow: hidden;
  box-shadow: var(--hotel-shadow-soft);
}

.hotel-hotel__media picture,
.hotel-gallery__item picture {
  display: block;
  height: 100%;
}

.hotel-hotel__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hotel-hotel__info h2 {
  margin-top: 0;
}

@media (min-width: 900px) {
  .hotel-hotel {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* Пагинация каталога: окно из 5 номеров, «дальше» и «В начало». */
.hotel-pagination {
  margin-top: 2rem;
  overflow-x: auto;
}

.hotel-pagination ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: .35rem .7rem;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.hotels-theme .hotel-pagination a,
.hotels-theme .hotel-pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 .75rem;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-sm);
  background: var(--hotel-surface);
  color: var(--hotel-text);
  font-size: .95rem;
  font-weight: 650;
  text-decoration: none;
}

.hotels-theme .hotel-pagination a:hover,
.hotels-theme .hotel-pagination a:focus-visible {
  border-color: var(--hotel-accent);
  color: var(--hotel-accent);
}

.hotels-theme .hotel-pagination__current {
  border-color: var(--hotel-accent);
  background: var(--hotel-accent);
  color: #fff;
}

.hotels-theme .hotel-pagination a.hotel-pagination__step {
  min-width: 0;
  min-height: 0;
  padding: 0 .15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 650;
}

.hotels-theme .hotel-pagination a.hotel-pagination__step:hover,
.hotels-theme .hotel-pagination a.hotel-pagination__step:focus-visible {
  border: 0;
  background: transparent;
}

/* Звёздность гостиниц: бейдж в карточке и строка на странице объекта.
   Звёзды — тёмно-зелёный акцент темы (≈5:1 на белом), сам факт дублируется
   текстом «N звёзд», поэтому категория читается и без символов. */
.hotels-theme .hotel-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem .75rem;
}

.hotels-theme .hotel-card__meta .hotel-card__tag {
  margin-bottom: 0;
}

.hotels-theme .hotel-card__stars {
  display: inline-flex;
  align-items: center;
  font-size: .95rem;
  line-height: 1;
}

.hotels-theme .hotel-card__stars-marks,
.hotels-theme .hotel-stars__marks,
.hotels-theme .hotel-stars-inline {
  color: var(--hotel-accent-2-dark);
  letter-spacing: .12em;
  line-height: 1;
}

/* Цвет звёзд на персональных страницах — как в карточках каталога */
.hotels-theme .hotel-stars--5 .hotel-stars__marks,
.hotels-theme .hotel-stars-inline--5 {
  color: #c58a00;
}

.hotels-theme .hotel-stars--4 .hotel-stars__marks,
.hotels-theme .hotel-stars-inline--4 {
  color: #2f8f4e;
}

.hotels-theme .hotel-stars--3 .hotel-stars__marks,
.hotels-theme .hotel-stars-inline--3 {
  color: #2867b2;
}

.hotels-theme .hotel-stars--2 .hotel-stars__marks,
.hotels-theme .hotel-stars-inline--2 {
  color: #c4472d;
}

.hotels-theme .hotel-stars--1 .hotel-stars__marks,
.hotels-theme .hotel-stars-inline--1 {
  color: var(--hotel-muted);
}

/* Услуги: краткая строка в карточке и полный список чипов на странице гостиницы */
.hotels-theme .hotel-card__services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .35rem;
  margin: 0 0 .35rem;
  min-height: 1.65rem;
  line-height: 1;
}

/* Плотный стык иконок услуг и адреса — без лишнего воздуха. */
.hotels-theme .hotel-card__services + ul {
  margin-top: 0;
}

.hotels-theme .hotel-card__service {
  display: inline-flex;
  width: 1.65rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  color: var(--hotel-muted);
}

.hotels-theme .hotel-card__service-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 .35rem;
  border-radius: 999px;
  border: 1px solid var(--hotel-border);
  background: var(--hotel-surface-soft);
  color: var(--hotel-text);
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
}

.hotels-theme .hotel-card__service svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hotels-theme .hotel-card__service--бассейн { color: #168bc4; }
.hotels-theme .hotel-card__service--wifi { color: #2e7bb8; }
.hotels-theme .hotel-card__service--трансфер { color: #3f6fbd; }
.hotels-theme .hotel-card__service--дети { color: #d05a91; }
.hotels-theme .hotel-card__service--кондиционер { color: #4d91b8; }
.hotels-theme .hotel-card__service--spa { color: #8a56c7; }
.hotels-theme .hotel-card__service--фитнес { color: #e27632; }
.hotels-theme .hotel-card__service--парковка { color: #26885b; }
.hotels-theme .hotel-card__service--ресторан { color: #c5534c; }
.hotels-theme .hotel-card__service--животные { color: #c48a28; }
.hotels-theme .hotel-card__service--лифт { color: #6657c7; }
.hotels-theme .hotel-card__service--рабочее-место { color: #008b8b; }
.hotels-theme .hotel-card__service--микроволновая-печь { color: #d14d72; }
.hotels-theme .hotel-card__service--утюг { color: #7a4e2d; }
.hotels-theme .hotel-card__service--отопление { color: #b05a2c; }
.hotels-theme .hotel-card__service--круглосуточная-стойка-регистрации { color: #4a6fa5; }
.hotels-theme .hotel-card__service--хранение-багажа { color: #6b5b95; }
.hotels-theme .hotel-card__service--прачечная { color: #8a56c7; }
.hotels-theme .hotel-card__service--обслуживание-номеров { color: #5a7d6a; }
.hotels-theme .hotel-card__service--регистрация-заезда-и-отъезда { color: #4a6fa5; }
.hotels-theme .hotel-card__service--кухня { color: #c5534c; }
.hotels-theme .hotel-card__service--стиральная-машина { color: #3f6fbd; }
.hotels-theme .hotel-card__service--пеший-туризм { color: #2f7d4a; }
.hotels-theme .hotel-card__service--библиотека { color: #6b5b95; }
.hotels-theme .hotel-card__service--площадь { color: #1776a8; }
.hotels-theme .hotel-card__service--ванная { color: #168bc4; }
.hotels-theme .hotel-card__service--сейф { color: #5a6b7a; }
.hotels-theme .hotel-card__service--минибар { color: #c5534c; }
.hotels-theme .hotel-card__service--телевизор { color: #3f6fbd; }
.hotels-theme .hotel-card__service--метро { color: #e11d2e; }
/* Заливка «входной» М: перекрывает общий svg { fill: none }. */
.hotels-theme .hotel-card__service--метро svg path[fill],
.hotel-location__poi-icon.hotel-card__service--метро svg path[fill] {
  fill: currentColor;
  stroke: none;
}
.hotels-theme .hotel-card__service--аэропорт { color: #1776a8; }
.hotels-theme .hotel-card__service--музей { color: #8a56c7; }
.hotels-theme .hotel-card__service--театр { color: #d05a91; }
.hotels-theme .hotel-card__service--парк { color: #2f7d4a; }
.hotels-theme .hotel-card__service--шопинг { color: #c5534c; }
.hotels-theme .hotel-card__service--храм { color: #c48a28; }
.hotels-theme .hotel-card__service--достопримечательность { color: #1776a8; }
.hotels-theme .hotel-card__service--обзор { color: #3f6fbd; }
.hotels-theme .hotel-card__service--популярные { color: #e27632; }
.hotels-theme .hotel-card__service--языки { color: #1776a8; }
.hotels-theme .hotel-card__service--развлечения { color: #d05a91; }
.hotels-theme .hotel-card__service--защита { color: #26885b; }
.hotels-theme .hotel-card__service--заселение { color: #1776a8; }
.hotels-theme .hotel-card__service--депозит { color: #c48a28; }
.hotels-theme .hotel-card__service--люлька { color: #d05a91; }


.hotels-theme .hotel-card__service .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Минимальная цена номера (данные партнёра Ostrovok): только в каталоге
   «Гостиницы Москвы», строка над низом карточки. */
.hotels-theme .hotel-card__price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .3rem;
  margin: 0 0 .5rem;
  padding: 0;
  border-top: 0;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  line-height: 1.3;
}

.hotels-theme .hotel-card__price-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.05rem;
  background: transparent;
}

.hotels-theme .hotel-card__price-label img {
  display: block;
  width: 1.4rem;
  height: 1.05rem;
  object-fit: contain;
  background: transparent;
}

.hotels-theme .hotel-card__price-value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--hotel-accent-2-dark);
}

.hotels-theme .hotel-card__price-currency {
  color: #f05a4f;
}

/* Гостиницы без подтверждённой цены с Ostrovok (например, «Уланская»):
   та же строка, но без зелёного акцента — сигнализирует, что это не
   финальная цифра, а не занижает контраст (муted-текст уже проходит
   4.5:1 на белой карточке — см. .hotel-card__price-label выше). */
.hotels-theme .hotel-card__price-value--pending {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--hotel-muted);
}

.hotels-theme .hotel-card__body h3,
.hotels-theme .hotel-card__body h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
  margin-bottom: .5rem;
  line-height: 1.25;
}

.hotels-theme .hotel-card__title-stars {
  display: block;
  margin: 0;
  line-height: 1;
}

.hotels-theme .hotel-card__body ul {
  gap: 0;
}

.hotels-theme .hotel-stars {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .6rem;
  margin: 0;
}

.hotels-theme .hotel-stars__marks {
  font-size: 1.05rem;
}

.hotels-theme .hotel-stars__label {
  font-size: .9rem;
  font-weight: 650;
  color: var(--hotel-muted);
}

/* Personal hero: keep ★ marks + «N звёзд» on one line */
.hotel-personal-page .hotel-hero .hotel-stars {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

/* ── Фильтр каталога (прогрессивное улучшение) ─────────────── */
.hotel-filter {
  display: grid;
  gap: .8rem;
  margin: 0 0 1.5rem;
}

.hotel-filter__row {
  display: grid;
  align-items: end;
  gap: .75rem;
  width: 100%;
}

.hotel-filter__row--search {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hotel-filter__row--selects {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hotel-filter__field--reset {
  justify-content: flex-end;
}

.hotel-filter__label--spacer {
  visibility: hidden;
  user-select: none;
}

.hotel-filter__field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}

.hotel-filter__field--search {
  min-width: 0;
}

.hotel-filter__field--suggest {
  position: relative;
  z-index: 2;
}

.hotel-filter__suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: .3rem 0;
  max-height: min(280px, 45vh);
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-sm);
  background: var(--hotel-surface);
  box-shadow: 0 8px 24px color-mix(in oklab, var(--hotel-text), transparent 88%);
}

.hotel-filter__suggest[hidden] {
  display: none;
}

/* Load-more under collection grids / global search.
   Must beat any display:flex utilities so [hidden] stays invisible. */
.hotel-filter__more-wrap,
.hotel-filter__more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.25rem;
  text-align: center;
}

.hotel-filter__more-wrap[hidden],
.hotel-filter__more[hidden] {
  display: none !important;
}

.hotel-filter__suggest-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: .55rem .75rem;
  border: 0;
  background: transparent;
  color: var(--hotel-text);
  font: inherit;
  font-size: .92rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.hotel-filter__suggest-item:hover,
.hotel-filter__suggest-item.is-active,
.hotel-filter__suggest-item[aria-selected="true"] {
  background: color-mix(in oklab, var(--hotel-accent), transparent 90%);
  color: var(--hotel-text);
}

.hotel-filter__label {
  font-size: .82rem;
  font-weight: 650;
  color: var(--hotel-muted);
}

.hotel-filter__select,
.hotel-filter__input {
  min-height: 44px;
  padding: .5rem 2.4rem .5rem .75rem;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-sm);
  background: var(--hotel-surface);
  color: var(--hotel-text);
  font: inherit;
  font-size: .95rem;
}

.hotel-filter__input {
  padding-right: .75rem;
}

.hotel-filter__select:focus-visible,
.hotel-filter__input:focus-visible {
  outline: none;
  border-color: var(--hotel-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--hotel-accent), transparent 70%);
}

.hotel-filter__reset {
  min-height: 44px;
  width: 100%;
  border: 1px solid color-mix(in oklab, var(--hotel-reset), var(--hotel-reset-dark) 18%);
  border-radius: var(--hotel-radius-sm);
  background: color-mix(in oklab, var(--hotel-reset), white 28%);
  color: var(--hotel-reset-dark);
  font: inherit;
  font-size: .95rem;
  font-weight: 750;
  cursor: pointer;
}

.hotel-filter__reset:hover,
.hotel-filter__reset:focus-visible {
  background: var(--hotel-reset);
  border-color: var(--hotel-reset);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--hotel-reset), transparent 70%);
}

@media (max-width: 640px) {
  .hotel-filter {
    gap: .65rem;
    margin-bottom: 1.15rem;
  }

  .hotel-filter__row,
  .hotel-filter__row--search,
  .hotel-filter__row--selects {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .hotel-filter__field {
    gap: .25rem;
  }

  .hotel-filter__label {
    font-size: .76rem;
  }

  .hotel-filter__select,
  .hotel-filter__input,
  .hotel-filter__reset {
    min-height: 38px;
    font-size: .88rem;
  }

  .hotel-filter__select {
    padding: .38rem 1.8rem .38rem .55rem;
  }

  .hotel-filter__input {
    padding: .38rem .55rem;
  }
}

.hotel-filter__status {
  flex-basis: 100%;
  margin: 0;
  font-size: .9rem;
  color: var(--hotel-muted);
}

/* Глобальный поиск — без отдельной белой «карточки»:
   как фильтр в папках каталога на soft-фоне секции */
.hotel-filter--global {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.hotel-filter--global .hotel-filter__row--search,
.hotel-filter--global .hotel-filter__row--global-search {
  overflow: visible;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.hotel-filter__row--global-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hotel-filter__row--actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: .75rem;
}

.hotel-filter__row--actions .hotel-button,
.hotel-filter__row--actions .hotel-filter__reset,
.hotel-filter__action-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: .65rem 1rem;
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.hotel-filter__services {
  margin: 0;
  padding: .15rem 0 0;
  border: 0;
}

.hotel-filter__services .hotel-filter__label {
  margin-bottom: .45rem;
}

.hotel-filter__service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
}

.hotel-filter__service {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .2rem .55rem .2rem .35rem;
  border: 1px solid var(--hotel-border);
  border-radius: 999px;
  background: var(--hotel-surface, #fff);
  font-size: .9rem;
  color: var(--hotel-text);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.hotel-filter__service:hover {
  border-color: color-mix(in oklab, var(--hotel-accent), transparent 45%);
  background: color-mix(in oklab, var(--hotel-accent), transparent 94%);
}

.hotel-filter__service:has(input:checked) {
  border-color: color-mix(in oklab, var(--hotel-accent), transparent 25%);
  background: color-mix(in oklab, var(--hotel-accent), transparent 90%);
}

.hotel-filter__service-icon.hotel-card__service {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
}

.hotel-filter__service-icon.hotel-card__service svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hotel-filter__service-text {
  flex: 1 1 auto;
  line-height: 1.25;
}

.hotel-filter__service input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--hotel-accent);
}

.hotel-card__category {
  display: inline-block;
  margin: 0 0 .35rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--hotel-accent), transparent 88%);
  color: var(--hotel-accent-dark, var(--hotel-accent));
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.3;
}

@media (max-width: 920px) {
  .hotel-filter--global .hotel-filter__row--global-search {
    grid-template-columns: 1fr;
  }

  .hotel-filter__row--global-meta,
  .hotel-filter__row--actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hotel-filter--global {
    padding: 0;
  }

  .hotel-filter--global .hotel-filter__row--global-search,
  .hotel-filter__row--global-meta,
  .hotel-filter__row--actions {
    grid-template-columns: 1fr;
  }

  .hotel-filter__service {
    min-height: 38px;
    font-size: .86rem;
  }
}

.hotel-card.is-hidden {
  display: none;
}

/* ── Группы подборки (по району или метро) ─────────────────── */
.hotel-group {
  margin-top: 2rem;
}

.hotel-group:first-of-type {
  margin-top: 0;
}

.hotel-group__title {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.hotel-group__count {
  font-size: .9rem;
  font-weight: 650;
  color: var(--hotel-muted);
}

/* ── Галерея фотографий гостиницы ──────────────────────────── */
.hotel-gallery__item {
  margin: 0;
  border-radius: var(--hotel-radius-md);
  overflow: hidden;
  border: 1px solid var(--hotel-border);
  background: var(--hotel-surface);
}

.hotel-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hotel-gallery__item figcaption {
  padding: .6rem .8rem;
  font-size: .85rem;
  color: var(--hotel-muted);
}

/* ── Блок карты на хабе ────────────────────────────────────── */
.hotel-map-block {
  margin-top: 2rem;
}

.hotel-map-block__title {
  margin: 0 0 .5rem;
  font-size: 1.2rem;
}

.hotel-map-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .4rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hotel-map-list a {
  color: var(--hotel-accent);
  text-decoration: none;
}

.hotel-map-list a:hover,
.hotel-map-list a:focus-visible {
  text-decoration: underline;
}

/* Карточки-справочник без фотографии и страницы: звёздный плейсхолдер. */
.hotels-theme .hotel-card__ph-marks {
  font-size: 1.5rem;
  letter-spacing: .12em;
  color: var(--hotel-accent);
}

.hotels-theme .hotel-card__link--static {
  cursor: default;
}
