/*
 * City hotel landing pages (/hotel/{city}/).
 *
 * Design direction: a calm, information-first travel ledger. This surface
 * compares hotels; it deliberately sends checkout to the hotel detail page.
 * Everything is scoped so the /hotels/ search-and-map route stays untouched.
 */
:root {
  --ms-city-navy: #102a4c;
  --ms-city-blue: #1769c2;
  --ms-city-blue-deep: #0f4e98;
  --ms-city-orange: #ee8d17;
  --ms-city-green: #147a4b;
  --ms-city-ink: #1e3553;
  --ms-city-copy: #596d85;
  --ms-city-muted: #7d8ea3;
  --ms-city-paper: #ffffff;
  --ms-city-ground: #eff4f8;
  --ms-city-line: #dce6f0;
  --ms-city-soft: #f7fafc;
  --ms-city-radius: 16px;
  --ms-city-shadow: 0 12px 30px rgba(16, 42, 76, 0.08);
}

body.ms-hotel-city-landing,
body.ms-hotel-city-landing * {
  box-sizing: border-box;
}

body.ms-hotel-city-landing {
  background: var(--ms-city-ground);
  color: var(--ms-city-ink);
  direction: rtl;
  font-family: "IRANSans", Tahoma, sans-serif;
}

body.ms-hotel-city-landing .inside-title {
  display: none;
}

body.ms-hotel-city-landing .inside-content {
  padding: 34px 0 66px;
  background:
    radial-gradient(
      circle at 88% 0,
      rgba(23, 105, 194, 0.07),
      transparent 24rem
    ),
    var(--ms-city-ground);
}

body.ms-hotel-city-landing .inside-content > .container.article {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

body.ms-hotel-city-landing .inside-content > .container.article > .row,
body.ms-hotel-city-landing
  .inside-content
  > .container.article
  > .row
  > .col-md-12 {
  width: 100%;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
}

/* Native filter controls: no legacy floating dropdowns or fixed rows. */
body.ms-hotel-city-landing .ms-city-filter {
  position: relative;
  margin: 0 0 16px;
  padding: 18px 22px;
  border: 1px solid var(--ms-city-line);
  border-radius: var(--ms-city-radius);
  background: var(--ms-city-paper);
  box-shadow: 0 6px 18px rgba(16, 42, 76, 0.045);
}

body.ms-hotel-city-landing .ms-city-filter > .container,
body.ms-hotel-city-landing .ms-city-filter .row {
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  margin: 0;
  padding: 0;
}

body.ms-hotel-city-landing .ms-city-filter .Hwbhtl2_online_person {
  position: absolute !important;
  top: 50%;
  right: auto !important;
  left: calc(100% + 12px) !important;
  display: grid;
  place-items: center;
  width: 78px;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 8px 6px;
  border-radius: 10px;
  background: #ed5b69;
  color: #fff;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
  transform: translateY(-50%);
}

body.ms-hotel-city-landing .ms-city-filter .Hwbhtl2_online_person span {
  font-size: 18px;
  font-weight: 800;
}

body.ms-hotel-city-landing .ms-city-filter-form {
  display: grid;
  grid-template-columns:
    minmax(150px, 1fr) minmax(238px, 1.45fr) minmax(190px, 1.05fr)
    minmax(170px, 1fr) auto;
  align-items: end;
  gap: 14px;
  width: 100%;
  margin: 0;
}

body.ms-hotel-city-landing .ms-city-filter-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  min-inline-size: 0;
}

body.ms-hotel-city-landing .ms-city-filter-field::before,
body.ms-hotel-city-landing .ms-city-filter-field::after {
  display: none !important;
  content: none !important;
}

body.ms-hotel-city-landing .ms-city-filter-field > label,
body.ms-hotel-city-landing .ms-city-filter-field > legend {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  border: 0 !important;
  border-bottom: 0 !important;
  color: var(--ms-city-copy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

body.ms-hotel-city-landing .ms-city-filter select {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px 0 38px;
  border: 1px solid #d4e2ef;
  border-radius: 9px;
  outline: 0;
  background-color: #fbfdff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%231769c2' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E");
  background-position: left 14px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  color: var(--ms-city-ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 44px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

body.ms-hotel-city-landing .ms-city-filter select:hover {
  border-color: #aacbe7;
  background-color: #fff;
}

body.ms-hotel-city-landing .ms-city-filter select:focus {
  border-color: var(--ms-city-blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 194, 0.15);
}

/* The real select stays in the form for native submission; its visible
   counterpart is a controlled, RTL listbox rather than an OS popup. */
body.ms-hotel-city-landing .ms-city-filter select.ms-city-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.ms-hotel-city-landing .ms-city-custom-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

body.ms-hotel-city-landing .ms-city-range-controls .ms-city-custom-select {
  flex: 1 1 0;
}

body.ms-hotel-city-landing .ms-city-custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d4e2ef;
  border-radius: 9px;
  background: #fbfdff;
  color: var(--ms-city-ink);
  font-family: inherit;
  font-size: 13px;
  text-align: right;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

body.ms-hotel-city-landing .ms-city-custom-select__trigger::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 2px solid var(--ms-city-blue);
  border-left: 2px solid var(--ms-city-blue);
  content: "";
  transform: rotate(-45deg) translateY(-2px);
  transition: transform 160ms ease;
}

body.ms-hotel-city-landing .ms-city-custom-select__trigger:hover,
body.ms-hotel-city-landing
  .ms-city-custom-select.is-open
  .ms-city-custom-select__trigger {
  border-color: var(--ms-city-blue);
  background: #fff;
}

body.ms-hotel-city-landing
  .ms-city-custom-select.is-open
  .ms-city-custom-select__trigger {
  box-shadow: 0 0 0 3px rgba(23, 105, 194, 0.13);
}

body.ms-hotel-city-landing
  .ms-city-custom-select.is-open
  .ms-city-custom-select__trigger::before {
  transform: rotate(135deg) translateY(-2px);
}

body.ms-hotel-city-landing .ms-city-custom-select__value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.ms-hotel-city-landing .ms-city-custom-select__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  display: none;
  max-height: 248px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #cfe0ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(16, 42, 76, 0.16);
}

body.ms-hotel-city-landing
  .ms-city-custom-select.is-open
  .ms-city-custom-select__menu {
  display: block;
}

body.ms-hotel-city-landing .ms-city-custom-select__option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 37px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ms-city-copy);
  font-family: inherit;
  font-size: 13px;
  text-align: right;
  cursor: pointer;
}

body.ms-hotel-city-landing .ms-city-custom-select__option:hover,
body.ms-hotel-city-landing .ms-city-custom-select__option:focus-visible {
  outline: 0;
  background: #edf6fd;
  color: var(--ms-city-blue-deep);
}

body.ms-hotel-city-landing .ms-city-custom-select__option.is-selected {
  background: var(--ms-city-blue);
  color: #fff;
  font-weight: 800;
}

body.ms-hotel-city-landing .ms-city-range-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

body.ms-hotel-city-landing .ms-city-range-controls select {
  flex: 1 1 0;
}

body.ms-hotel-city-landing .ms-city-range-controls > span {
  flex: 0 0 auto;
  color: var(--ms-city-muted);
  font-size: 13px;
  font-weight: 700;
}

body.ms-hotel-city-landing .ms-city-filter-submit {
  min-width: 116px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: var(--ms-city-blue);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

body.ms-hotel-city-landing .ms-city-filter-submit:hover {
  background: var(--ms-city-blue-deep);
  transform: translateY(-1px);
}

/* Intro becomes a readable lead, not a fixed-height block. */
body.ms-hotel-city-landing .ms-city-intro,
body.ms-hotel-city-landing .wbhtl-hotels-text {
  margin: 0 0 24px;
  padding: 23px 28px;
  border: 1px solid var(--ms-city-line);
  border-radius: var(--ms-city-radius);
  background: var(--ms-city-paper);
  box-shadow: 0 6px 18px rgba(16, 42, 76, 0.035);
}

body.ms-hotel-city-landing .ms-city-intro .container,
body.ms-hotel-city-landing .ms-city-intro .row,
body.ms-hotel-city-landing .wbhtl-hotels-text .container,
body.ms-hotel-city-landing .wbhtl-hotels-text .row {
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  margin: 0;
  padding: 0;
  background: unset !important;
}

body.ms-hotel-city-landing .ms-city-intro h1,
body.ms-hotel-city-landing .ms-city-intro h2,
body.ms-hotel-city-landing .wbhtl-hotels-text h1,
body.ms-hotel-city-landing .wbhtl-hotels-text h2 {
  margin: 0 0 11px;
  color: var(--ms-city-navy);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 900;
  line-height: 1.55;
}

body.ms-hotel-city-landing .ms-city-intro p,
body.ms-hotel-city-landing .wbhtl-hotels-text p {
  max-width: 92ch;
  margin: 0 0 8px;
  color: var(--ms-city-copy);
  font-size: 14px;
  line-height: 2;
}

body.ms-hotel-city-landing .ms-city-intro p:last-child,
body.ms-hotel-city-landing .wbhtl-hotels-text p:last-child {
  margin-bottom: 0;
}

/* Results and map stay compatible with the original show/hide handler. */
body.ms-hotel-city-landing .inside-listing-content,
body.ms-hotel-city-landing .inside-listing-content > .container {
  width: 100%;
  margin: 0;
  padding: 0;
}

body.ms-hotel-city-landing .ms-city-hotel-results {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  margin: 0 !important;
}

body.ms-hotel-city-landing .ms-city-hotel-results::before,
body.ms-hotel-city-landing .ms-city-hotel-results::after {
  display: none;
  content: none;
}

body.ms-hotel-city-landing #wbhtl-list-map-right {
  float: none !important;
  flex: 1 1 100%;
  width: auto !important;
  min-width: 0;
}

body.ms-hotel-city-landing #wbhtl-list-map-left {
  display: none;
  float: none !important;
  width: auto !important;
  min-width: 0;
}

body.ms-hotel-city-landing #wbhtl-list-map-right.col-md-8 {
  flex: 1 1 0;
}

body.ms-hotel-city-landing #wbhtl-list-map-left.col-md-4 {
  display: block;
  flex: 0 0 390px;
  overflow: hidden;
  border: 1px solid var(--ms-city-line);
  border-radius: var(--ms-city-radius);
  background: var(--ms-city-paper);
  box-shadow: var(--ms-city-shadow);
}

body.ms-hotel-city-landing #wbhtl-list-map-left #wbhtl_hotel_listing_googlemap {
  width: 100% !important;
  min-height: 560px;
}

body.ms-hotel-city-landing #show-hide-map {
  position: absolute;
  z-index: 8;
  top: 22px;
  right: -46px;
  left: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-width: 124px;
  height: 34px;
  padding: 0 11px;
  border-radius: 9px 9px 0 0;
  background: var(--ms-city-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transform: rotate(-90deg);
  transform-origin: center;
}

body.ms-hotel-city-landing #show-hide-map .icon-X {
  display: none;
}

body.ms-hotel-city-landing #show-hide-map.show-map {
  right: -26px;
  min-width: 34px;
  padding: 0;
}

body.ms-hotel-city-landing #show-hide-map.show-map .text,
body.ms-hotel-city-landing #show-hide-map.show-map .icon-expand {
  display: none;
}

body.ms-hotel-city-landing #show-hide-map.show-map .icon-X {
  display: block;
}

/* Hotel card: media, decision data and a concise editorial note. */
body.ms-hotel-city-landing .ms-city-hotel-card {
  position: relative;
  min-height: 0 !important;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--ms-city-line);
  border-radius: var(--ms-city-radius);
  background: var(--ms-city-paper);
  box-shadow: var(--ms-city-shadow);
}

body.ms-hotel-city-landing .ms-city-hotel-card__inner {
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.ms-hotel-city-landing .ms-city-hotel-card__overview,
body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-top {
  display: grid !important;
  grid-template-areas: "aside identity media";
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.55fr) 218px;
  gap: 24px;
  align-items: stretch;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 24px !important;
  direction: ltr;
}

body.ms-hotel-city-landing .ms-city-hotel-card__overview::before,
body.ms-hotel-city-landing .ms-city-hotel-card__overview::after {
  display: none;
  content: none;
}

body.ms-hotel-city-landing .ms-city-hotel-card__overview > [class*="col-md-"] {
  float: none !important;
  width: auto !important;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px !important;
  direction: rtl;
}

body.ms-hotel-city-landing .ms-city-hotel-card__media {
  grid-area: media;
}

body.ms-hotel-city-landing .ms-city-hotel-card__identity {
  grid-area: identity;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  gap: 13px;
}

body.ms-hotel-city-landing .ms-city-hotel-card__aside {
  grid-area: aside;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-listing-slider,
body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-listing-no-image {
  position: relative;
  width: 100%;
  height: 172px !important;
  min-height: 0 !important;
  overflow: hidden;
  border-radius: 12px;
  background: #e5edf4;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-listing-slider > a,
body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-listing-slider img {
  display: block;
  width: 100%;
  height: 100%;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-listing-slider img {
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-listing-slider figure {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-discount-avg {
  position: absolute;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  min-width: 52px;
  padding: 6px 7px;
  border-radius: 8px;
  background: var(--ms-city-orange);
  color: #fff;
  line-height: 1.25;
  text-align: center;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-discount-avg::before,
body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-discount-avg::after {
  display: none;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-number {
  font-size: 15px;
  font-weight: 900;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-discount-word {
  font-size: 11px;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-title-starts h2 {
  float: none !important;
  margin: 0;
  color: var(--ms-city-navy);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 900;
  line-height: 1.4;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-title-starts h2 a {
  color: inherit;
  text-decoration: none;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-title-starts {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ms-hotel-city-landing
  .ms-city-hotel-card
  .wbhtl-title-starts
  .wbhtl-stars-grade,
body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-title-starts h2 {
  float: none !important;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-stars-grade {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 !important;
  color: var(--ms-city-orange);
  font-size: 14px;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-stars-grade .wbhtl-text {
  color: var(--ms-city-muted);
  font-size: 13px;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ms-city-copy);
  font-size: 13px;
  line-height: 1.9;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-address .icon-position {
  flex: 0 0 auto;
  margin-top: 4px;
  color: #dd4d62;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-roomcount-avragepoints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
}

body.ms-hotel-city-landing .ms-city-hotel-card .ms-city-hotel-card__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  min-height: 54px;
  padding: 11px 13px;
  border: 1px solid #e0eaf3;
  border-radius: 11px;
  background: #f8fbfe;
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-roomcount,
body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-avragepoints {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid #d9e7f2;
  border-radius: 999px;
  background: #f7fbfe;
  color: var(--ms-city-copy);
  font-size: 12px;
  font-weight: 700;
}

body.ms-hotel-city-landing
  .ms-city-hotel-card
  .wbhtl-roomcount
  [class^="icon-"],
body.ms-hotel-city-landing
  .ms-city-hotel-card
  .wbhtl-avragepoints
  [class^="icon-"] {
  color: var(--ms-city-blue);
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding-top: 1px;
}

body.ms-hotel-city-landing
  .ms-city-hotel-card
  .wbhtl-features
  > div.wbhtl-frame-features {
  display: grid;
  place-items: center;
  float: none !important;
  width: 32px !important;
  height: 32px !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 1px solid #cfe1f2;
  border-radius: 50%;
  background: #f4f9fd;
  color: var(--ms-city-blue);
  font-size: 16px;
}

body.ms-hotel-city-landing .ms-city-hotel-card__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 172px !important;
  box-sizing: border-box;
  padding: 18px !important;
  border: 1px solid #dbe8f3;
  border-radius: 12px;
  background: linear-gradient(145deg, #f9fcff 0%, #edf5fb 100%);
}

body.ms-hotel-city-landing .ms-city-hotel-card__aside::before {
  display: block;
  margin-bottom: 9px;
  color: var(--ms-city-blue);
  font-size: 12px;
  font-weight: 900;
  content: "معرفی کوتاه هتل";
}

body.ms-hotel-city-landing .ms-city-hotel-card .wbhtlTextFrame {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ms-city-copy);
  font-size: 13px;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.ms-hotel-city-landing .ms-city-hotel-card .GroupBtn {
  margin: 14px 0 0 !important;
}

body.ms-hotel-city-landing .ms-city-hotel-card .MoreHotelInfoBtn,
body.ms-hotel-city-landing .ms-city-room-summary__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ms-city-blue);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ms-city-blue) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

body.ms-hotel-city-landing .ms-city-hotel-card .MoreHotelInfoBtn:hover,
body.ms-hotel-city-landing .ms-city-room-summary__all:hover {
  background: var(--ms-city-blue);
  color: #fff !important;
}

body.ms-hotel-city-landing .ms-city-hotel-card .price-guarantee,
body.ms-hotel-city-landing .ms-city-hotel-card .nowruz-hotel,
body.ms-hotel-city-landing .ms-city-hotel-card .ramezan-hotel,
body.ms-hotel-city-landing .ms-city-hotel-card .fetr-hotel,
body.ms-hotel-city-landing .ms-city-hotel-card .moharam-hotels,
body.ms-hotel-city-landing .ms-city-hotel-card .yalda-hotels {
  z-index: 3;
}

body.ms-hotel-city-landing .ms-city-hotel-card .price-guarantee {
  position: absolute !important;
  top: 24px !important;
  right: 24px !important;
  left: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  height: 27px !important;
  padding: 0 9px !important;
  border-radius: 6px;
  background: var(--ms-city-green) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800;
  line-height: 1 !important;
  text-indent: 0 !important;
}

body.ms-hotel-city-landing
  .ms-city-hotel-card
  > .wbhtl-frame-wrapper
  > .wbhtl-footer-line {
  display: none;
}

/* Room ledger: summaries, not a non-functional inline checkout. */
body.ms-hotel-city-landing .ms-city-room-summary {
  margin: 0;
  border-top: 1px solid var(--ms-city-line);
  background: var(--ms-city-soft);
}

body.ms-hotel-city-landing .ms-city-room-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 24px;
  border-bottom: 1px solid var(--ms-city-line);
  background: #fbfdff;
}

body.ms-hotel-city-landing .ms-city-room-summary__header h3 {
  margin: 0;
  color: var(--ms-city-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

body.ms-hotel-city-landing .ms-city-room-summary__header p {
  margin: 3px 0 0;
  color: var(--ms-city-muted);
  font-size: 12px;
}

body.ms-hotel-city-landing .ms-city-room-summary__all {
  min-height: 36px;
  font-size: 12px;
}

body.ms-hotel-city-landing .ms-city-room-summary__list {
  padding: 10px 14px 14px;
}

body.ms-hotel-city-landing .ms-city-room {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.4fr) minmax(220px, 1.2fr) minmax(140px, 0.7fr)
    auto;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--ms-city-line);
  direction: rtl;
}

body.ms-hotel-city-landing .ms-city-room:last-child {
  border-bottom: 0;
}

body.ms-hotel-city-landing .ms-city-room__identity h4 {
  margin: 0 0 6px;
  color: var(--ms-city-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

body.ms-hotel-city-landing .ms-city-room__identity p,
body.ms-hotel-city-landing .ms-city-room__details {
  margin: 0;
  color: var(--ms-city-copy);
  font-size: 12px;
  line-height: 1.8;
}

body.ms-hotel-city-landing .ms-city-room__online {
  margin-right: 7px;
  color: var(--ms-city-green);
  font-weight: 700;
}

body.ms-hotel-city-landing .ms-city-room__date,
body.ms-hotel-city-landing .ms-city-room__meals {
  display: block;
}

body.ms-hotel-city-landing .ms-city-room__date .icon-ReserveFlash1 {
  margin: 0 5px;
  color: var(--ms-city-blue);
}

body.ms-hotel-city-landing .ms-city-room__meals {
  margin-top: 4px;
  color: var(--ms-city-muted);
}

body.ms-hotel-city-landing .ms-city-room__price {
  color: var(--ms-city-muted);
  font-size: 12px;
  text-align: center;
}

body.ms-hotel-city-landing .ms-city-room__price del {
  display: block;
  color: #98a5b4;
  font-size: 11px;
}

body.ms-hotel-city-landing .ms-city-room__price strong {
  color: var(--ms-city-green);
  font-size: 15px;
  font-weight: 900;
}

body.ms-hotel-city-landing .ms-city-room__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 124px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--ms-city-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

body.ms-hotel-city-landing .ms-city-room__action:hover {
  background: var(--ms-city-blue);
  color: #fff;
  transform: translateY(-1px);
}

body.ms-hotel-city-landing .ms-city-room-summary__empty {
  margin: 0;
  padding: 20px;
  color: var(--ms-city-copy);
  font-size: 14px;
  text-align: center;
}

body.ms-hotel-city-landing .inside-listing-content .wbhtl-inside-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 28px 0 0;
  direction: ltr;
}

body.ms-hotel-city-landing .inside-listing-content .wbhtl-inside-pagination > a,
body.ms-hotel-city-landing
  .inside-listing-content
  .wbhtl-inside-pagination
  > span {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--ms-city-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ms-city-copy);
  font-size: 13px;
  text-decoration: none;
}

body.ms-hotel-city-landing
  .inside-listing-content
  .wbhtl-inside-pagination
  > .current {
  border-color: var(--ms-city-blue);
  background: var(--ms-city-blue);
  color: #fff;
}

body.ms-hotel-city-landing a:focus-visible,
body.ms-hotel-city-landing button:focus-visible,
body.ms-hotel-city-landing select:focus-visible {
  outline: 3px solid rgba(23, 105, 194, 0.3);
  outline-offset: 3px;
}

@media (max-width: 1240px) {
  body.ms-hotel-city-landing .ms-city-filter .Hwbhtl2_online_person {
    left: 10px !important;
    transform: translateY(-50%) translateX(-100%);
  }

  body.ms-hotel-city-landing .ms-city-filter-form {
    grid-template-columns:
      minmax(150px, 1fr) minmax(230px, 1.4fr) minmax(180px, 1fr)
      minmax(160px, 1fr);
  }

  body.ms-hotel-city-landing .ms-city-filter-submit {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 980px) {
  body.ms-hotel-city-landing .inside-content > .container.article {
    width: min(900px, calc(100% - 32px));
  }

  body.ms-hotel-city-landing .ms-city-filter .Hwbhtl2_online_person {
    position: static !important;
    width: auto;
    min-height: 0 !important;
    margin: 0 0 12px !important;
    transform: none;
  }

  body.ms-hotel-city-landing .ms-city-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ms-hotel-city-landing .ms-city-filter-submit {
    grid-column: auto;
    justify-self: stretch;
  }

  body.ms-hotel-city-landing .ms-city-hotel-card__overview,
  body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-top {
    grid-template-areas:
      "identity media"
      "aside aside";
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  body.ms-hotel-city-landing .ms-city-hotel-card__aside {
    min-height: 0 !important;
  }

  body.ms-hotel-city-landing #wbhtl-list-map-left.col-md-4 {
    flex-basis: 320px;
  }

  body.ms-hotel-city-landing .ms-city-room {
    grid-template-columns: minmax(170px, 1.2fr) minmax(180px, 1fr) minmax(
        115px,
        0.7fr
      );
  }

  body.ms-hotel-city-landing .ms-city-room__action {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  body.ms-hotel-city-landing .inside-content {
    padding: 20px 0 44px;
  }

  body.ms-hotel-city-landing .inside-content > .container.article {
    width: calc(100% - 24px);
  }

  body.ms-hotel-city-landing .ms-city-filter {
    padding: 16px;
  }

  body.ms-hotel-city-landing .ms-city-filter-form {
    grid-template-columns: 1fr;
  }

  body.ms-hotel-city-landing .ms-city-filter-submit {
    width: 100%;
  }

  body.ms-hotel-city-landing .ms-city-intro,
  body.ms-hotel-city-landing .wbhtl-hotels-text {
    padding: 18px;
  }

  body.ms-hotel-city-landing #show-hide-map,
  body.ms-hotel-city-landing #wbhtl-list-map-left.col-md-4 {
    display: none;
  }

  body.ms-hotel-city-landing .ms-city-hotel-card__overview,
  body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-top {
    grid-template-areas:
      "media"
      "identity"
      "aside";
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px !important;
  }

  body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-listing-slider,
  body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-listing-no-image {
    height: 212px !important;
  }

  body.ms-hotel-city-landing .ms-city-hotel-card .ms-city-hotel-card__facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.ms-hotel-city-landing .ms-city-hotel-card .wbhtl-roomcount-avragepoints {
    justify-content: flex-start;
  }

  body.ms-hotel-city-landing .ms-city-room-summary__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  body.ms-hotel-city-landing .ms-city-room-summary__all {
    width: 100%;
  }

  body.ms-hotel-city-landing .ms-city-room-summary__list {
    padding: 6px 12px 12px;
  }

  body.ms-hotel-city-landing .ms-city-room {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 4px;
  }

  body.ms-hotel-city-landing .ms-city-room__price {
    text-align: right;
  }

  body.ms-hotel-city-landing .ms-city-room__action {
    width: 100%;
    grid-column: auto;
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ms-hotel-city-landing *,
  body.ms-hotel-city-landing *::before,
  body.ms-hotel-city-landing *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
