.rooms-page {
  --rooms-orange: #eb4d18;
  --rooms-ink: #19212e;
  background: #f7f7f7;
  color: var(--rooms-ink);
  font-family: var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 100px;
}

.rooms-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #eceff1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  height: 64px;
  padding: 0 max(calc((100vw - 1240px) / 2), 28px);
  position: sticky;
  top: 0;
  z-index: 70;
}

.rooms-logo {
  align-items: center;
  color: #101315;
  display: inline-flex;
  width: 205px;
}

.rooms-logo img {
  display: block;
  height: auto;
  width: 175px;
}

.rooms-logo .site-logo__on-dark {
  display: none;
}

.rooms-logo > span {
  align-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  height: 43px;
  justify-content: center;
  width: 43px;
}

.rooms-logo strong {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.rooms-logo small {
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-top: 6px;
}

.rooms-header > nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2vw, 31px);
  justify-self: end;
  margin-right: 27px;
}

.rooms-header > nav a {
  color: #121212;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

.rooms-header > nav a:hover,
.rooms-header > nav a.active {
  color: var(--rooms-orange);
}

.rooms-header > nav a.active::after {
  background: var(--rooms-orange);
  bottom: 5px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.rooms-header__actions {
  align-items: center;
  display: flex;
  gap: 13px;
}

.rooms-language,
.rooms-login,
.rooms-menu-button {
  background: transparent;
  cursor: pointer;
}

.rooms-language {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 6px;
}

.rooms-language span {
  align-items: center;
  background: #e21e20;
  border-radius: 4px;
  color: #ffd727;
  display: flex;
  font-size: 9px;
  height: 19px;
  justify-content: center;
  width: 24px;
}

.rooms-login {
  align-items: center;
  background: var(--rooms-orange);
  border-radius: 5px;
  color: white;
  display: flex;
  font-size: 14px;
  gap: 7px;
  height: 38px;
  padding: 0 12px;
}

.rooms-login svg {
  height: 19px;
  width: 19px;
}

.rooms-menu-button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 8px 2px;
  width: 28px;
}

.rooms-menu-button span {
  background: #202426;
  display: block;
  height: 1px;
  width: 18px;
}

.rooms-searchbar {
  align-items: center;
  background: #fff;
  box-shadow: 0 7px 16px rgba(17, 25, 31, 0.05);
  display: grid;
  gap: 0;
  grid-template-columns: 1.25fr 1fr 1fr 1fr 140px;
  min-height: 76px;
  padding: 0 max(calc((100vw - 1240px) / 2), 28px);
  position: sticky;
  top: 64px;
  z-index: 55;
}

.rooms-searchbar > label {
  border-right: 1px solid #e7e8e9;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 0 16px;
  position: relative;
}

.rooms-searchbar > label:first-child {
  padding-left: 9px;
}

.rooms-searchbar > label > span:first-child {
  color: var(--rooms-orange);
  font-size: 12px;
}

.rooms-searchbar select {
  appearance: none;
  background: transparent;
  border: 0;
  color: #686d70;
  font-size: 14px;
  outline: 0;
  padding: 0;
}

.rooms-searchbar__value {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 7px;
}

.rooms-searchbar__value svg {
  display: none;
  height: 18px;
  width: 18px;
}

.rooms-searchbar input[type="date"] {
  cursor: pointer;
  inset: 0;
  opacity: 0;
  position: absolute;
}

.rooms-searchbar > button {
  background: #fff;
  border: 1px solid var(--rooms-orange);
  border-radius: 24px;
  color: var(--rooms-orange);
  cursor: pointer;
  font-size: 14px;
  height: 44px;
  margin-left: 22px;
  transition: background 180ms ease, color 180ms ease;
}

.rooms-searchbar > button:hover {
  background: var(--rooms-orange);
  color: white;
}

.rooms-mobile-summary {
  display: none;
}

.rooms-layout {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 940px) 270px;
  margin: 32px auto 0;
  max-width: 1240px;
}

.rooms-results {
  min-width: 0;
}

.rooms-banner {
  border-radius: 2px;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.rooms-banner__collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  inset: 0;
  position: absolute;
}

.rooms-banner__collage > span {
  overflow: hidden;
  position: relative;
}

.rooms-banner__collage img {
  object-fit: cover;
}

.rooms-banner__shade {
  background: rgba(10, 14, 18, 0.34);
  inset: 0;
  position: absolute;
}

.rooms-banner h1 {
  color: #fff;
  font-size: clamp(31px, 2.6vw, 38px);
  font-weight: 400;
  left: 50%;
  line-height: 1.2;
  margin: 0;
  position: absolute;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.rooms-result-head {
  align-items: stretch;
  background: #fff;
  border-radius: 8px;
  display: flex;
  height: 46px;
  justify-content: space-between;
  margin-top: 16px;
  overflow: hidden;
}

.rooms-result-head > strong {
  align-self: center;
  font-size: 18px;
  font-weight: 500;
  padding-left: 20px;
}

.rooms-result-head label {
  border-left: 1px solid #eef0f1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  min-width: 185px;
  padding: 0 18px;
}

.rooms-result-head label span {
  font-size: 11px;
}

.rooms-result-head select {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--rooms-orange);
  font-size: 14px;
  outline: 0;
}

.rooms-group-note {
  background: #fff7ef;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  padding: 18px 24px;
}

.rooms-group-note strong {
  color: var(--rooms-orange);
  font-size: 16px;
  font-weight: 500;
}

.rooms-group-note span {
  font-size: 15px;
}

.rooms-hotel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hotel-result {
  background: #fff;
  border: 1px solid #e7e8e9;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 183px;
  min-height: 244px;
  overflow: hidden;
}

.hotel-result__image {
  overflow: hidden;
  position: relative;
}

.hotel-result__image > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hotel-result__badges {
  display: flex;
  gap: 7px;
  left: 13px;
  position: absolute;
  top: 12px;
  z-index: 2;
}

.hotel-result__badges span {
  background: #e82114;
  border-radius: 14px;
  color: white;
  font-size: 11px;
  padding: 6px 10px;
}

.hotel-result__dots {
  bottom: 11px;
  display: flex;
  gap: 6px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.hotel-result__dots i {
  background: rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  height: 5px;
  width: 5px;
}

.hotel-result__dots i:first-child {
  background: white;
}

.hotel-result__info {
  min-width: 0;
  padding: 16px;
}

.hotel-result__places,
.hotel-result__features,
.hotel-result__facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hotel-result__places span {
  background: #eaf3ff;
  border-radius: 10px;
  color: #0767d4;
  font-size: 11px;
  padding: 4px 8px;
}

.hotel-result__info h2 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
  margin: 8px 0 3px;
}

.hotel-result__address {
  font-size: 13px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-result__features {
  color: #139d5b;
  font-size: 12px;
  margin: 7px 0 0;
}

.hotel-result__facilities {
  margin-top: 24px;
}

.hotel-result__facilities span {
  align-items: center;
  background: #faf5f2;
  border-radius: 14px;
  color: #5c4d47;
  display: inline-flex;
  font-size: 11px;
  gap: 5px;
  padding: 7px 11px;
}

.hotel-result__facilities .amenity-icon {
  color: #e6532d;
  font-size: 13px;
}

.hotel-result__description {
  color: #737980;
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.32;
  margin: 12px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hotel-result__price {
  align-items: flex-end;
  border-left: 1px solid #e7e8e9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px 14px;
  text-align: right;
}

.hotel-result__price small {
  font-size: 11px;
  text-transform: uppercase;
}

.hotel-result__price strong {
  color: var(--rooms-orange);
  font-size: 22px;
  font-weight: 500;
  margin-top: 4px;
}

.hotel-result__price > span {
  font-size: 12px;
}

.hotel-result__price em {
  color: #787d82;
  font-size: 11px;
  font-style: normal;
  margin-top: 6px;
}

.hotel-result__price b {
  color: #e22616;
  font-size: 12px;
  font-weight: 500;
  margin-top: 13px;
}

.hotel-result__price button,
.hotel-result__price > a {
  align-items: center;
  background: var(--rooms-orange);
  border-radius: 21px;
  color: white;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  height: 41px;
  justify-content: center;
  margin-top: 7px;
  padding: 0 19px;
}

.rooms-filters {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.rooms-filters__mobile-head {
  display: none;
}

.rooms-map {
  background:
    linear-gradient(32deg, transparent 46%, #b8b9b9 47%, #b8b9b9 49%, transparent 50%),
    linear-gradient(145deg, transparent 43%, #c2c3c3 44%, #c2c3c3 46%, transparent 47%),
    #d4d4d2;
  border-radius: 7px;
  height: 119px;
  overflow: hidden;
  position: relative;
}

.rooms-map::before,
.rooms-map::after {
  border: 2px solid rgba(90, 91, 91, 0.24);
  border-radius: 50%;
  content: "";
  height: 130px;
  position: absolute;
  width: 160px;
}

.rooms-map::before { left: -40px; top: 35px; }
.rooms-map::after { right: -50px; top: -60px; }

.rooms-map > span {
  color: #4c4d4d;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  position: absolute;
  right: 20px;
  text-align: center;
  top: 31px;
}

.rooms-map > button {
  background: #fff3e9;
  border-radius: 18px;
  color: #9f310f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  left: 50%;
  padding: 8px 14px;
  position: absolute;
  top: 43px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.filter-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

.filter-card__title {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.filter-card__title strong {
  font-size: 16px;
}

.filter-card__title em {
  background: #17191a;
  border-radius: 5px;
  color: white;
  font-size: 8px;
  font-style: normal;
  margin-left: 4px;
  padding: 3px 5px;
  vertical-align: 2px;
}

.filter-card > small {
  color: #707478;
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.price-range {
  background: var(--rooms-orange);
  height: 7px;
  margin: 27px 8px 17px;
  position: relative;
}

.price-range span {
  background: var(--rooms-orange);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  height: 21px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
}

.price-range span:first-of-type { left: -8px; }
.price-range span:last-of-type { right: -8px; }

.price-inputs {
  align-items: center;
  display: flex;
  gap: 8px;
}

.price-inputs label {
  align-items: center;
  border: 1px solid #e1e3e5;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  min-width: 0;
  padding-left: 10px;
  width: 50%;
}

.price-inputs label span {
  border-left: 1px solid #e1e3e5;
  padding: 8px 6px;
}

.clear-filter {
  background: transparent;
  cursor: pointer;
  display: block;
  font-size: 13px;
  margin: 15px 0 0 auto;
}

.plan-filter {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 16px;
}

.plan-filter label {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.plan-filter input {
  display: none;
}

.plan-filter label > span {
  border: 2px solid #e0e4e7;
  border-radius: 6px;
  height: 20px;
  position: relative;
  width: 20px;
}

.plan-filter input:checked + span {
  background: var(--rooms-orange);
  border-color: var(--rooms-orange);
}

.plan-filter input:checked + span::after {
  border: solid white;
  border-width: 0 2px 2px 0;
  content: "";
  height: 8px;
  left: 6px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 4px;
}

.rooms-filters__apply,
.rooms-filter-trigger {
  display: none;
}

.rooms-menu-social {
  color: white;
  display: flex;
  font-size: 24px;
  gap: 24px;
}

.rooms-toast {
  align-items: center;
  background: white;
  bottom: 22px;
  box-shadow: 0 15px 50px rgba(20, 28, 34, 0.2);
  display: flex;
  gap: 12px;
  max-width: 440px;
  opacity: 0;
  padding: 16px;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(20px);
  transition: 250ms ease;
  z-index: 120;
}

.rooms-toast--show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.rooms-toast > span {
  align-items: center;
  background: #158a55;
  border-radius: 50%;
  color: white;
  display: flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.rooms-toast p {
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.rooms-toast p strong { display: block; font-size: 13px; }
.rooms-toast > button { background: transparent; cursor: pointer; font-size: 20px; margin-left: auto; }

@media (max-width: 1180px) {
  .rooms-header,
  .rooms-searchbar {
    padding-inline: 24px;
  }

  .rooms-header > nav {
    display: none;
  }

  .rooms-layout {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 260px;
    padding-inline: 24px;
  }

  .hotel-result {
    grid-template-columns: 285px minmax(0, 1fr) 170px;
  }
}

@media (max-width: 820px) {
  .rooms-page {
    padding-bottom: 80px;
  }

  .rooms-header {
    height: 60px;
    padding-inline: 16px;
  }

  .rooms-logo { width: auto; }
  .rooms-logo img { width: 150px; }
  .rooms-logo > span { height: 38px; width: 38px; }
  .rooms-logo strong { font-size: 13px; }
  .rooms-language { display: none; }
  .rooms-login { background: transparent; color: #222; padding: 0; }
  .rooms-login svg { height: 22px; width: 22px; }
  .rooms-login { font-size: 0; }

  .rooms-searchbar {
    display: none;
  }

  .rooms-mobile-summary {
    align-items: center;
    background: white;
    border-bottom: 1px solid #e8e9ea;
    display: flex;
    height: 65px;
    justify-content: space-between;
    padding: 0 18px;
    position: sticky;
    top: 60px;
    width: 100%;
    z-index: 50;
  }

  .rooms-mobile-summary > span:first-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
  }

  .rooms-mobile-summary strong { font-size: 14px; }
  .rooms-mobile-summary small { color: #6f7478; font-size: 12px; }
  .rooms-mobile-summary > span:last-child { color: var(--rooms-orange); font-size: 12px; }

  .rooms-layout {
    display: block;
    margin-top: 15px;
    padding-inline: 12px;
    width: 100%;
  }

  .rooms-results,
  .rooms-banner,
  .rooms-result-head,
  .rooms-group-note,
  .rooms-hotel-list,
  .hotel-result {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .rooms-banner {
    height: 170px;
  }

  .rooms-banner__collage {
    grid-template-columns: repeat(2, 1fr);
  }

  .rooms-banner__collage > span:nth-child(n/**/+3) { display: none; }
  .rooms-banner h1 { font-size: 25px; width: 92%; }

  .rooms-result-head { height: 50px; }
  .rooms-result-head > strong { flex: 1; font-size: 16px; min-width: 0; padding-left: 14px; }
  .rooms-result-head label { flex: 0 0 145px; min-width: 0; padding-inline: 12px; }
  .rooms-group-note { font-size: 13px; padding: 15px; }
  .rooms-group-note span { font-size: 13px; line-height: 1.4; }

  .hotel-result {
    display: block;
    overflow: hidden;
  }

  .hotel-result__image {
    height: 235px;
  }

  .hotel-result__info { padding: 15px; }
  .hotel-result__info h2 { font-size: 18px; }
  .hotel-result__facilities { margin-top: 16px; }
  .hotel-result__price {
    align-items: center;
    border-left: 0;
    border-top: 1px solid #e7e8e9;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 13px 15px;
    text-align: left;
  }

  .hotel-result__price small,
  .hotel-result__price strong,
  .hotel-result__price > span,
  .hotel-result__price em,
  .hotel-result__price b { grid-column: 1; }
  .hotel-result__price strong { font-size: 21px; }
  .hotel-result__price button,
  .hotel-result__price > a { grid-column: 2; grid-row: 1 / 6; margin: 0; }

  .rooms-filters {
    background: #f7f7f7;
    bottom: 0;
    display: block;
    left: 0;
    overflow-y: auto;
    padding: 18px 15px 90px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(100%);
    transition: transform 350ms ease;
    z-index: 130;
  }

  .rooms-filters--open { transform: translateY(0); }
  .rooms-filters > * { margin-bottom: 12px; }
  .rooms-filters__mobile-head { align-items: center; display: flex; font-size: 20px; justify-content: space-between; }
  .rooms-filters__mobile-head button { background: transparent; font-size: 30px; }
  .rooms-map { height: 145px; }

  .rooms-filters__apply {
    background: var(--rooms-orange);
    bottom: 16px;
    color: white;
    display: block;
    height: 50px;
    left: 15px;
    position: fixed;
    right: 15px;
    width: calc(100% - 30px);
  }

  .rooms-filter-trigger {
    align-items: center;
    background: var(--rooms-orange);
    border-radius: 24px;
    bottom: 18px;
    box-shadow: 0 7px 25px rgba(235, 77, 24, .32);
    color: white;
    display: flex;
    font-size: 13px;
    gap: 7px;
    height: 46px;
    padding: 0 18px;
    position: fixed;
    right: 18px;
    z-index: 60;
  }

  .rooms-filter-trigger svg { height: 18px; width: 18px; }

  .rooms-toast { bottom: 76px; left: 12px; max-width: none; right: 12px; }
}

@media (max-width: 390px) {
  .rooms-banner { height: 155px; }
  .rooms-banner h1 { font-size: 22px; }
  .rooms-result-head label { min-width: 135px; }
  .hotel-result__image { height: 215px; }
}
