/* Hotel listing page — deliberately scoped to avoid affecting the homepage. */
.hotel-list-body {
  background: #f4f1eb;
}

.hotel-list-page {
  color: #33332e;
  background:
    linear-gradient(180deg, #f8f5ef 0, #f4f1eb 520px, #fbfaf7 100%);
}

.listing-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-top) + var(--header-height) + 34px) 0 42px;
  background:
    radial-gradient(circle at 13% 22%, rgba(215, 171, 90, .16), transparent 26%),
    radial-gradient(circle at 86% 3%, rgba(255, 255, 255, .85), transparent 24%),
    linear-gradient(135deg, #f7f1e4 0%, #fbfaf7 48%, #efe6d4 100%);
  border-bottom: 1px solid #e7dfd1;
}

.listing-hero::before,
.listing-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(183, 132, 44, .14);
  border-radius: 50%;
  pointer-events: none;
}

.listing-hero::before {
  width: 390px;
  height: 390px;
  top: -240px;
  left: -90px;
}

.listing-hero::after {
  width: 270px;
  height: 270px;
  right: -130px;
  bottom: -190px;
}

.listing-hero-inner {
  position: relative;
  z-index: 1;
}

.listing-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #827d73;
  font-size: 12px;
  font-weight: 560;
}

.listing-breadcrumb a {
  transition: color .18s ease;
}

.listing-breadcrumb a:hover,
.listing-breadcrumb a:focus-visible {
  color: #9b6c1f;
}

.listing-breadcrumb svg {
  width: 13px;
  height: 13px;
  transform: rotate(90deg);
}

.listing-title-row {
  margin-top: 27px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.listing-eyebrow,
.listing-title-row > div:first-child > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9a6b1e;
  font-size: 12.5px;
  font-weight: 740;
}

.listing-title-row > div:first-child > span::before,
.listing-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #c8953e;
}

.listing-title-row h1 {
  margin: 0;
  color: #272721;
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 820;
  line-height: 1.45;
  letter-spacing: -.7px;
}

.listing-title-row .listing-eyebrow {
  margin-top: 7px;
}

.listing-hero-trust {
  min-width: 420px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  color: #4b4942;
  background: rgba(255, 255, 255, .64);
  border: 1px solid rgba(214, 202, 182, .78);
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(76, 61, 35, .045);
  backdrop-filter: blur(8px);
}

.listing-hero-trust span {
  min-height: 31px;
  min-width: 0;
  padding-inline: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-left: 1px solid #e9e0d2;
}

.listing-hero-trust span:last-child {
  border-left: 0;
}

.listing-hero-trust svg {
  color: #b17d27;
  font-size: 16px;
}

.listing-hero-trust b {
  font-size: 12px;
  font-weight: 640;
  white-space: nowrap;
}

.listing-search {
  margin-top: 28px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) repeat(2, minmax(185px, .82fr)) 190px;
  gap: 12px;
  align-items: end;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(220, 211, 196, .88);
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(57, 48, 33, .1), 0 2px 8px rgba(57, 48, 33, .04);
}

.listing-mobile-search-fields {
  display: contents;
}

.listing-search-field {
  min-width: 0;
  display: block;
}

.listing-search-field > span:first-child {
  display: block;
  margin: 0 3px 6px;
  color: #716d65;
  font-size: 12px;
  font-weight: 650;
}

.listing-search-control {
  height: 49px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #767168;
  background: #fbfaf7;
  border: 1px solid #e5ded2;
  border-radius: 11px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.listing-search-field:focus-within .listing-search-control {
  background: #fff;
  border-color: #c99b4d;
  box-shadow: 0 0 0 3px rgba(215, 171, 90, .11);
}

.listing-search-control svg {
  flex: 0 0 auto;
  color: #9d762f;
  font-size: 19px;
}

.listing-search-control input,
.listing-search-control select {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: #3e3c36;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 610;
}

.listing-search-control .booking-picker-value {
  color: #3e3c36;
  font-size: 14px;
  font-weight: 610;
}

.listing-search-control .booking-picker-value.is-placeholder {
  color: #aaa49a;
  font-weight: 470;
}

.listing-search-control input::placeholder {
  color: #aaa49a;
  font-weight: 470;
}

.listing-search-submit {
  height: 49px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #2f2c24;
  background: linear-gradient(110deg, #dfad40, #f0ce70);
  border: 1px solid #dca83d;
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(177, 126, 33, .2);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.listing-search-submit:hover,
.listing-search-submit:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.listing-search-submit svg {
  font-size: 20px;
}

.listing-search-submit span {
  font-size: 14.5px;
  font-weight: 770;
  white-space: nowrap;
}

.listing-destination-field {
  position: relative;
}

.listing-destination-field:focus-within,
.listing-destination-field:has(.destination-trigger[aria-expanded="true"]) {
  z-index: 30;
}

.listing-search-control.destination-trigger {
  width: 100%;
  min-width: 0;
  font: inherit;
  text-align: right;
}

.listing-search-control.destination-trigger b {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: #3e3c36;
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-destination-panel {
  top: calc(100% + 8px);
  width: min(620px, calc(100vw - 48px));
}

.listing-destination-panel.destination-panel--portaled {
  position: fixed;
  z-index: 560;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: 0;
  overflow: hidden;
}

.listing-destination-panel.destination-panel--portaled .destination-results {
  max-height: min(345px, calc(100vh - 150px));
  max-height: min(345px, calc(100dvh - 150px));
}

.listing-destination-panel.destination-panel--portaled[hidden] {
  display: none !important;
}

.listing-destination-panel-header,
.listing-mobile-search-summary-slot,
.listing-mobile-search-summary,
.listing-mobile-search-header {
  display: none;
}

.listing-mobile-search-backdrop {
  position: fixed;
  z-index: 530;
  inset: 0;
  background: rgba(24, 23, 20, .56);
  backdrop-filter: blur(3px);
}

.listing-mobile-search-backdrop[hidden] {
  display: none;
}

.listing-categories {
  padding: 34px 0 38px;
  background: #fff;
  border-bottom: 1px solid #ede8df;
}

.listing-section-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.listing-section-heading--compact {
  margin-bottom: 17px;
}

.listing-section-heading > div > span,
.listing-featured > header > div > span,
.listing-results-kicker,
.listing-filters-header > div > span {
  color: #a47527;
  font-size: 12px;
  font-weight: 740;
}

.listing-section-heading h2,
.listing-featured h3,
.listing-results-title h2,
.listing-filters-header h2 {
  margin: 4px 0 0;
  color: #2b2b26;
  font-size: 24px;
  font-weight: 790;
  line-height: 1.5;
  letter-spacing: -.35px;
}

.listing-section-heading p {
  max-width: 420px;
  margin: 0;
  color: #7a766e;
  font-size: 12px;
  line-height: 1.8;
}

.listing-section-heading > a {
  min-height: 37px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #805a1e;
  background: #fff9ed;
  border: 1px solid #e8d4ad;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}

.listing-section-heading > a svg {
  font-size: 15px;
}

.listing-category-scroll {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.listing-category {
  min-width: 0;
  min-height: 82px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4e4b44;
  background: #fbfaf7;
  border: 1px solid #e9e3d9;
  border-radius: 14px;
  cursor: pointer;
  text-align: right;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.listing-category:hover,
.listing-category:focus-visible {
  transform: translateY(-2px);
  border-color: #d9bd88;
}

.listing-category.is-active {
  color: #2f2c25;
  background: linear-gradient(135deg, #fff9ea, #f7ecd6);
  border-color: #d3aa61;
  box-shadow: 0 8px 22px rgba(109, 81, 31, .09);
}

.listing-category-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #9a6d20;
  background: #f3e8d2;
  border: 1px solid rgba(198, 151, 69, .14);
  border-radius: 12px;
}

.listing-category.is-active .listing-category-icon {
  color: #fff9eb;
  background: linear-gradient(135deg, #b88732, #d6ad61);
}

.listing-category-icon svg {
  font-size: 21px;
}

.listing-category > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.listing-category b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-category small {
  color: #8b867d;
  font-size: 12px;
}

.listing-results-section {
  padding: 34px 0 72px;
  background: #fff;
  border-top: 1px solid #f0ece5;
}

.listing-layout {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.listing-filters {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c9ad75 #f4f0e9;
  scrollbar-width: thin;
  background: #fff;
  border: 1px solid #ebe7e0;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(42, 38, 31, .07);
}

.listing-filters-header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 75px;
  padding: 16px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-bottom: 1px solid #eee8df;
}

.listing-filters-header h2 {
  margin-top: 1px;
  font-size: 18px;
}

.listing-clear-filters {
  margin-right: auto;
  padding: 5px 0;
  color: #a16c1b;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
}

.listing-filter-close {
  width: 36px;
  height: 36px;
  display: none;
  place-items: center;
  color: #706b62;
  background: #f6f2eb;
  border: 1px solid #e6ded1;
  border-radius: 9px;
  cursor: pointer;
}

.listing-filter-close svg {
  font-size: 18px;
}

.listing-filter-group {
  margin: 0;
  padding: 19px 17px 16px;
  border: 0;
  border-bottom: 1px solid #eee8df;
}

.listing-filter-group:last-of-type {
  border-bottom: 0;
}

.listing-filter-group h3,
.listing-filter-group legend {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  color: #393832;
  font-size: 12px;
  font-weight: 760;
}

.listing-filter-group legend {
  padding-top: 2px;
}

.listing-price-labels,
.listing-price-ends {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.listing-price-labels {
  min-height: 39px;
  padding: 0 11px;
  color: #777168;
  background: #faf8f4;
  border: 1px solid #e9e2d7;
  border-radius: 9px;
}

.listing-price-labels span,
.listing-price-ends {
  font-size: 12px;
}

.listing-price-labels b {
  color: #413f39;
  font-size: 12px;
  font-weight: 690;
}

.listing-price-range {
  width: 100%;
  height: 4px;
  margin: 20px 0 13px;
  appearance: none;
  direction: ltr;
  background: linear-gradient(90deg, #c4923a, #e1bd76);
  border-radius: 999px;
  cursor: pointer;
}

.listing-price-range::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  appearance: none;
  background: #fff;
  border: 3px solid #b47f28;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(42, 36, 25, .2);
}

.listing-price-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 3px solid #b47f28;
  border-radius: 50%;
}

.listing-price-ends {
  color: #9a958c;
}

.listing-check {
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #59564f;
  cursor: pointer;
}

.listing-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.listing-check > span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: #fff;
  border: 1px solid #d9d2c7;
  border-radius: 5px;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.listing-check > span::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  opacity: 0;
  transform: rotate(-45deg);
}

.listing-check input:checked + span {
  background: #a9792a;
  border-color: #a9792a;
}

.listing-check input:checked + span::after {
  opacity: 1;
}

.listing-check input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(215, 171, 90, .2);
}

.listing-check b {
  font-size: 12px;
  font-weight: 570;
}

.listing-check small {
  margin-right: auto;
  color: #a19b91;
  font-size: 12px;
}

.listing-filter-apply {
  width: calc(100% - 28px);
  height: 46px;
  margin: 14px;
  padding: 0 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  color: #2c2a24;
  background: linear-gradient(105deg, #e0ae40, #f0cd6b);
  border: 1px solid #d9a53b;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 750;
}

.listing-filter-apply b {
  min-width: 25px;
  height: 25px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .48);
  border-radius: 7px;
}

.listing-results-main {
  min-width: 0;
}

.listing-toolbar {
  min-height: 74px;
  margin-bottom: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid #ebe7df;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(42, 38, 31, .055);
}

.listing-results-title h2 {
  font-size: 18px;
}

.listing-results-title p {
  margin: 1px 0 0;
  color: #89847b;
  font-size: 12px;
}

.listing-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.listing-sort {
  min-height: 43px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #807b72;
  background: #faf8f4;
  border: 1px solid #e6dfd4;
  border-radius: 10px;
}

.listing-sort span {
  font-size: 12px;
  white-space: nowrap;
}

.listing-sort select {
  min-width: 140px;
  padding: 0;
  color: #403e38;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.listing-mobile-filter {
  position: relative;
  min-height: 43px;
  padding: 0 12px;
  display: none;
  align-items: center;
  gap: 7px;
  color: #5a554c;
  background: #faf8f4;
  border: 1px solid #e4ddd2;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
}

.listing-mobile-filter svg {
  color: #9b6d20;
  font-size: 18px;
}

.listing-mobile-filter b {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #a97828;
  border-radius: 999px;
  font-size: 12px;
}

.listing-featured {
  margin-bottom: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #fff 0%, #fbf7ef 100%);
  border: 1px solid #e6dccb;
  border-radius: 19px;
  box-shadow: 0 9px 26px rgba(53, 46, 34, .06);
}

.listing-featured > header {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.listing-featured h3 {
  margin-top: 1px;
  font-size: 15px;
}

.listing-featured-timer {
  min-height: 31px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #895d18;
  background: #fff6e3;
  border: 1px solid #ead1a2;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
}

.listing-featured-timer svg {
  font-size: 15px;
}

/* تعداد کارت‌های واقعی (هتل‌های is_special) ثابت نیست — به‌جای گرید سه‌ستونه‌ی قبلی
   (که با غیر از ۳ آیتم یا خط می‌شکست یا جای خالی می‌ماند) همیشه یک ردیف اسکرول‌پذیر
   افقی است، هر تعداد کارت که باشد. */
.listing-featured-grid {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.listing-featured-grid::-webkit-scrollbar {
  display: none;
}

.listing-featured-card {
  min-width: 300px;
  flex: 0 0 300px;
  height: 91px;
  padding: 0;
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  overflow: hidden;
  color: #3a3832;
  background: #fff;
  border: 1px solid #e7e0d5;
  border-radius: 11px;
  cursor: pointer;
  text-align: right;
  scroll-snap-align: start;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.listing-featured-card:hover,
.listing-featured-card:focus-visible {
  transform: translateY(-2px);
  border-color: #d2ac68;
  box-shadow: 0 8px 18px rgba(62, 50, 29, .08);
}

.listing-featured-card img {
  width: 98px;
  height: 91px;
  object-fit: cover;
}

.listing-featured-card > span {
  min-width: 0;
  padding: 9px 10px;
  display: grid;
  align-content: center;
  gap: 2px;
}

.listing-featured-card small {
  overflow: hidden;
  color: #b27a20;
  font-size: 12px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-featured-card b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 730;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-featured-card strong {
  color: #2e6e59;
  font-size: 12px;
  font-weight: 800;
}

.listing-featured-card em {
  font-size: 12px;
  font-style: normal;
  font-weight: 570;
}

.hotel-list-promo {
  position: relative;
  min-height: 128px;
  margin-bottom: 14px;
  padding: 23px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 25px;
  overflow: hidden;
  color: #f8f1e4;
  background:
    radial-gradient(circle at 12% 120%, rgba(234, 191, 106, .24), transparent 35%),
    linear-gradient(120deg, #282923, #3a382d 58%, #2c2d27);
  border: 1px solid rgba(213, 171, 91, .45);
  border-radius: 16px;
  box-shadow: 0 13px 30px rgba(39, 37, 29, .14);
}

.hotel-list-promo::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -60px;
  top: -92px;
  border: 1px solid rgba(226, 191, 123, .15);
  border-radius: 50%;
}

.hotel-list-promo-copy {
  position: relative;
  z-index: 1;
}

.hotel-list-promo-copy > span {
  color: #e1bc75;
  font-size: 12px;
  font-weight: 720;
}

.hotel-list-promo-copy h3 {
  margin: 3px 0 1px;
  color: #fffaf0;
  font-size: 17px;
  font-weight: 780;
  line-height: 1.6;
}

.hotel-list-promo-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
}

.hotel-list-promo-benefits {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotel-list-promo-benefits > span {
  width: 70px;
  height: 70px;
  display: grid;
  place-content: center;
  gap: 0;
  text-align: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(226, 188, 113, .32);
  border-radius: 50%;
}

.hotel-list-promo-benefits b {
  color: #efcc87;
  font-size: 19.5px;
  font-weight: 810;
}

.hotel-list-promo-benefits small {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.hotel-list-promo > button {
  position: relative;
  z-index: 1;
  min-width: 120px;
  height: 42px;
  padding: 0 16px;
  color: #2b2923;
  background: linear-gradient(105deg, #dfad40, #efcf75);
  border: 1px solid #e3b856;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}

.hotel-results {
  display: grid;
  gap: 16px;
}

.hotel-result-card {
  position: relative;
  min-height: 198px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 202px;
  grid-template-rows: 198px auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9e5de;
  border-radius: 22px;
  box-shadow:
    0 13px 34px rgba(35, 32, 27, .075),
    0 2px 7px rgba(35, 32, 27, .035);
  isolation: isolate;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hotel-result-card::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(247, 182, 3, 0), #f7b603 45%, rgba(247, 182, 3, .15));
  pointer-events: none;
}

.hotel-result-card:hover {
  border-color: #dcc287;
  box-shadow:
    0 20px 46px rgba(35, 32, 27, .12),
    0 3px 9px rgba(35, 32, 27, .045);
  transform: translateY(-2px);
}

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

.hotel-result-media {
  position: relative;
  height: 198px;
  min-width: 0;
  overflow: hidden;
  background: #ebe7df;
}

.hotel-result-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 13, .04), transparent 55%, rgba(20, 20, 17, .35));
  pointer-events: none;
}

.hotel-gallery-track {
  width: 100%;
  height: 198px;
  min-height: 0;
  display: flex;
  direction: rtl;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.hotel-gallery-track::-webkit-scrollbar {
  display: none;
}

.hotel-gallery-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.hotel-gallery-slide {
  width: 100%;
  min-width: 100%;
  height: 198px;
  min-height: 0;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hotel-gallery-slide img {
  width: 100%;
  height: 198px;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
  user-select: none;
}

.hotel-result-card:hover .hotel-gallery-slide img {
  transform: scale(1.025);
}

/* ADR-037: اسلایدی که تصویرش هنوز لود نشده (data-gallery-src، بدون src) — به‌جای آیکون
   «تصویر شکسته»/متن alt، همان زمینه‌ی خنثی .hotel-result-media دیده می‌شود تا لود شود. */
.hotel-gallery-slide img:not([src]) {
  visibility: hidden;
}

.hotel-result-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  min-height: 36px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #292216;
  background: linear-gradient(115deg, #f7b603, #ffd96a);
  border: 1px solid #ffe59e;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(247, 182, 3, .4), 0 3px 8px rgba(25, 24, 21, .24);
  font-size: 12px;
  font-weight: 830;
  letter-spacing: -.1px;
}

.hotel-result-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: #302718;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .38);
  animation: hotel-badge-dot-pulse 1.85s ease-in-out infinite;
}

@keyframes hotel-badge-dot-pulse {
  0%, 100% {
    opacity: .72;
    transform: scale(.78);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .3), 0 0 0 0 rgba(48, 39, 24, .38);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .42), 0 0 0 8px rgba(48, 39, 24, 0);
  }
}

.hotel-gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #282722;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(23, 22, 18, .2);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.hotel-gallery-arrow--previous {
  right: 9px;
}

.hotel-gallery-arrow--previous svg {
  transform: rotate(180deg);
}

.hotel-gallery-arrow--next {
  left: 9px;
}

.hotel-gallery-arrow:hover,
.hotel-gallery-arrow:focus-visible {
  color: #2a2822;
  background: #f7c83f;
  border-color: #f7d776;
  transform: translateY(-50%) scale(1.06);
}

.hotel-gallery-arrow svg {
  font-size: 15px;
}

.hotel-gallery-dots {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  direction: rtl;
  transform: translateX(50%);
}

.hotel-gallery-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  background: rgba(255, 255, 255, .55);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: width .18s ease, background-color .18s ease;
}

.hotel-gallery-dots button[aria-current="true"] {
  width: 18px;
  background: #f7b603;
}

.hotel-photo-count {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 11px;
  min-height: 26px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  background: rgba(31, 32, 29, .72);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-size: 12px;
}

.hotel-photo-count b {
  font-weight: 800;
}

.hotel-photo-count svg {
  font-size: 13px;
}

.hotel-result-info {
  min-width: 0;
  padding: 16px 19px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hotel-result-heading {
  width: 100%;
  margin-bottom: 7px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.hotel-result-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hotel-result-stars,
.recent-hotel-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  direction: ltr;
  line-height: 0;
}

.hotel-result-stars svg,
.recent-hotel-stars svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: #f7b603;
  stroke: none;
}

.hotel-result-stars {
  margin-top: -1px;
}

.hotel-result-stars svg {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.hotel-result-score {
  min-height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.hotel-result-score b {
  min-width: 40px;
  height: 29px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  color: hsl(var(--score-hue, 105) 55% 29%);
  background: hsl(var(--score-hue, 105) 42% 92%);
  border: 0;
  box-shadow: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
}

.hotel-result-score > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.35;
  white-space: nowrap;
}

.hotel-result-score strong {
  color: #335f4a;
  font-size: 12px;
  font-weight: 760;
}

.hotel-result-score small {
  color: #7b827d;
  font-size: 12px;
}

.hotel-result-info h3 {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #23231f;
  font-size: 18px;
  font-weight: 820;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-result-address,
.hotel-result-distance {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #757168;
  font-size: 12px;
  line-height: 1.7;
}

.hotel-result-address svg,
.hotel-result-distance svg {
  flex: 0 0 auto;
  color: #a47629;
  font-size: 14px;
}

.hotel-result-distance {
  margin-top: 2px;
}

.hotel-result-distance b {
  color: #4c6f60;
  font-size: 12px;
}

.hotel-result-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* بج‌های رنگی «فیلدهای ویژه»ی واقعی هتل (HotelHighlight پنل) — رنگ هر بج دقیقاً همان
   variant انتخاب‌شده در پنل است (هم‌الگوی Badge.tsx: خنثی/موفق/هشدار/خطر). */
.hotel-tag {
  min-height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 620;
}

.hotel-tag--neutral {
  color: #56534b;
  background: #f5f4f1;
  border-color: #e6e1d6;
}

.hotel-tag--success {
  color: #2f6b4f;
  background: #eef8f1;
  border-color: #cfe9d9;
}

.hotel-tag--warning {
  color: #8a5a12;
  background: #fdf3e2;
  border-color: #f2dcae;
}

.hotel-tag--danger {
  color: #a23636;
  background: #fdecec;
  border-color: #f3c8c8;
}

.hotel-policy-trigger {
  margin: auto 0 0;
  min-height: 29px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6d5940;
  background: #faf8f3;
  border: 1px solid #e7dfd3;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 660;
  transition: color .17s ease, background-color .17s ease, border-color .17s ease;
}

.hotel-policy-trigger svg {
  font-size: 14px;
}

.hotel-policy-trigger svg:last-child {
  width: 12px;
  height: 12px;
  margin-right: 2px;
}

.hotel-policy-trigger:hover,
.hotel-policy-trigger:focus-visible {
  color: #7b5513;
  background: #fffaf0;
  border-color: #d9bd87;
}

.hotel-result-offer {
  min-width: 0;
  position: relative;
  min-height: 198px;
  padding: 42px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 0 0, rgba(247, 182, 3, .1), transparent 38%),
    linear-gradient(180deg, #fcfcfb, #f6f4ef);
  border-right: 1px solid #ece8e0;
}

.hotel-discount {
  position: absolute;
  top: 14px;
  left: 14px;
  min-height: 25px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  color: #a33f28;
  background: #fff1ed;
  border: 1px solid #f2cec4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 740;
}

.hotel-price-block {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
}

.hotel-price-before {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: #9a958c;
  font-size: 12px;
  line-height: 1.5;
  text-decoration-line: line-through;
  text-decoration-color: #b45d4a;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

.hotel-price-before strong {
  font-size: 12px;
  font-weight: 650;
}

.hotel-price-value {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

.hotel-price-value strong {
  color: #24241f;
  font-size: 21px;
  font-weight: 860;
  letter-spacing: -.4px;
}

.hotel-price-unit {
  color: #6e6a62;
  font-size: 12px;
}

.hotel-result-offer > :is(button, a) {
  width: min(220px, 100%);
  min-height: 43px;
  margin-top: 10px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #2c2a24;
  background: linear-gradient(105deg, #f2b700, #f8cf4a);
  border: 1px solid #dda600;
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(181, 130, 0, .2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 770;
  transition: transform .17s ease, filter .17s ease;
}

.hotel-result-offer > :is(button, a):hover,
.hotel-result-offer > :is(button, a):focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.hotel-result-offer > :is(button, a) svg {
  font-size: 15px;
}

.hotel-result-offer > :is(button, a) span {
  white-space: nowrap;
}

.hotel-price-caption {
  margin-top: 5px;
  color: #817c72;
  font-size: 12px;
  font-weight: 570;
  line-height: 1.6;
}

/* ۱۴۰۵/۰۶/۲۷: کارت هتل «تکمیل ظرفیت» — هتلی که نرخ/ظرفیت ندارد حالا آخر فهرست می‌آید
   (bookable_first سمت API) به‌جای اینکه حذف شود. عمداً خاکستریِ آرام است نه قرمزِ خطا:
   یک حالت موجودی است، نه اشکال؛ و دکمه‌اش هم بی‌رنگِ ثانویه است تا چشم مسافر روی
   کارت‌های قابل‌رزرو بماند. */
.hotel-result-card--soldout .hotel-result-media img {
  filter: saturate(.55);
}

.hotel-result-card--soldout .hotel-result-offer {
  background: linear-gradient(180deg, #f8f7f5, #efedea);
}

.hotel-soldout-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  color: #6b6559;
  background: #eceae5;
  border: 1px solid #ddd9d1;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.hotel-soldout-badge svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hotel-result-card--soldout .hotel-result-offer > a {
  color: #43403a;
  background: #fff;
  border-color: #dcd8d0;
  box-shadow: 0 6px 16px rgba(60, 54, 40, .08);
}

.hotel-quick-reserve {
  min-width: 0;
  grid-column: 1 / -1;
  background: #faf9f6;
  border-top: 1px solid #ece8e0;
}

.hotel-quick-rooms {
  padding: 9px;
  display: flex;
  gap: 8px;
  direction: rtl;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  /* ADR-038: هم‌اندازه‌ی padding بالا — بدون این، نقطه‌ی snap اولین اتاق ۹px با موقعیت اسکرول
     صفر فاصله داشت و مرورگر همان لحظه‌ی اولین layout یک اسکرول smooth (snap) انجام می‌داد.
     از وقتی کارت اول (با رزرو سریعِ باز) در HTML اولیه رندر می‌شود، Chrome همان اسکرول را
     «اولین اسکرول صفحه» حساب می‌کرد و ثبت LCP را قبل از اولین paint متوقف می‌کرد — لندینگ‌ها
     اصلاً LCP نداشتند (تأیید با bisect: فقط خاموش‌کردن snap/smooth همین track برش می‌گرداند). */
  scroll-padding-inline: 9px;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.hotel-quick-rooms:focus-visible {
  outline: 2px solid #c28c32;
  outline-offset: -2px;
}

.hotel-quick-rooms::-webkit-scrollbar {
  display: none;
}

.hotel-quick-rooms.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

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

.hotel-quick-room {
  min-width: 190px;
  flex: 0 0 clamp(190px, 22%, 215px);
  padding: 10px;
  direction: rtl;
  text-align: right;
  background: #fff;
  border: 1px solid #e8e3da;
  border-radius: 11px;
  box-shadow: 0 3px 9px rgba(42, 38, 31, .025);
  scroll-snap-align: start;
}

.hotel-quick-room:last-child {
  border-left: 1px solid #e8e3da;
}

.hotel-quick-room h4 {
  margin: 0;
  overflow: hidden;
  color: #3a3934;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-quick-room-meta {
  margin: 6px 0 0;
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: #7b766e;
  border-bottom: 1px solid #f0ece5;
  font-size: 12px;
}

.hotel-quick-room-meta b {
  flex: 0 0 auto;
  color: #4d4a44;
  font-weight: 680;
}

.hotel-quick-room-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-quick-room-price {
  margin: 6px 0 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #8b867d;
}

.hotel-quick-room-price strong {
  color: #34332e;
  font-size: 13px;
  font-weight: 790;
}

.hotel-quick-room-price span,
.hotel-quick-room-price small {
  font-size: 12px;
}

.hotel-quick-room-price small {
  margin-right: auto;
}

/* ۱۴۰۵/۰۶/۳۰: «رزرو» از <button> به <a> واقعی (لینک صفحه‌ی رزرو) تبدیل شد — سلکتور
   هر دو را پوشش می‌دهد تا ظاهر دقیقاً همان قالب بماند. */
.hotel-quick-room > button,
.hotel-quick-room-reserve {
  width: 100%;
  min-height: 32px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a691c;
  background: #fff;
  border: 1px solid #d9c49e;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  transition: color .17s ease, background-color .17s ease, border-color .17s ease;
}

.hotel-quick-room > button:hover,
.hotel-quick-room > button:focus-visible,
.hotel-quick-room-reserve:hover,
.hotel-quick-room-reserve:focus-visible {
  color: #2e2b24;
  background: #edc765;
  border-color: #d9a842;
}

.hotel-quick-toggle {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #825d18;
  background: #fffdf8;
  border: 0;
  border-top: 1px solid #e2ddd5;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 730;
}

.hotel-quick-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .18s ease;
}

.hotel-quick-reserve.is-open .hotel-quick-toggle svg {
  transform: rotate(180deg);
}

body.hotel-policy-open,
body.hotel-promo-terms-open {
  overflow: hidden;
}

.hotel-policy-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
}

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

.hotel-policy-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(29, 28, 24, .56);
  border: 0;
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity .22s ease;
}

.hotel-policy-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(690px, calc(100dvh - 48px));
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(22, 21, 18, .28);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .22s ease, transform .26s cubic-bezier(.2, .75, .2, 1);
}

.hotel-policy-modal.is-open .hotel-policy-backdrop,
.hotel-policy-modal.is-open .hotel-policy-dialog {
  opacity: 1;
}

.hotel-policy-modal.is-open .hotel-policy-dialog {
  transform: translateY(0) scale(1);
}

.hotel-policy-dialog > header {
  min-height: 78px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #fffdf8, #f9f5ec);
  border-bottom: 1px solid #ece5da;
}

.hotel-policy-dialog > header span {
  display: block;
  color: #9b7026;
  font-size: 12px;
  font-weight: 680;
}

.hotel-policy-dialog > header h2 {
  margin: 2px 0 0;
  color: #2d2c27;
  font-size: 19px;
  font-weight: 810;
}

.hotel-policy-dialog > header button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  color: #5f5a51;
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 10px;
  cursor: pointer;
}

.hotel-policy-dialog > header button svg {
  font-size: 16px;
}

.hotel-policy-dialog-body {
  max-height: calc(min(690px, 100dvh - 48px) - 145px);
  padding: 17px 18px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hotel-policy-intro {
  margin: 0 0 13px;
  color: #716c63;
  font-size: 12px;
  line-height: 1.9;
}

.hotel-policy-intro b {
  color: #37352f;
  font-weight: 740;
}

.hotel-policy-dialog ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.hotel-policy-dialog li {
  padding: 10px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  background: #fbfaf8;
  border: 1px solid #eee9e1;
  border-radius: 11px;
}

.hotel-policy-dialog li > svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  color: #9d7024;
  background: #f7edd9;
  border-radius: 9px;
}

.hotel-policy-dialog li span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hotel-policy-dialog li b {
  color: #393731;
  font-size: 12px;
  font-weight: 750;
}

.hotel-policy-dialog li small {
  margin-top: 2px;
  color: #777169;
  font-size: 12px;
  line-height: 1.8;
}

.hotel-policy-note {
  margin: 11px 0 0;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #496555;
  background: #f1f8f4;
  border: 1px solid #dcebe2;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.75;
}

.hotel-policy-note svg {
  flex: 0 0 auto;
  font-size: 17px;
}

.hotel-policy-dialog > footer {
  padding: 10px 18px 14px;
  background: #fff;
  border-top: 1px solid #eee8df;
}

.hotel-policy-dialog > footer button {
  width: 100%;
  min-height: 42px;
  color: #2e2b24;
  background: linear-gradient(105deg, #f2b700, #f8cf4a);
  border: 1px solid #dda600;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 770;
}

.hotel-promo-terms-dialog {
  width: min(760px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
}

.hotel-promo-terms-body {
  max-height: calc(min(760px, 100dvh - 48px) - 145px);
  padding: 16px 18px 14px;
}

.hotel-promo-terms-intro {
  margin: 0 0 13px;
  padding: 10px 12px;
  color: #6f675b;
  background: #fff9ed;
  border: 1px solid #ead7ae;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.9;
}

.hotel-promo-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.hotel-promo-plan {
  min-width: 0;
  padding: 13px;
  background: linear-gradient(145deg, #fffdf8, #f8f2e7);
  border: 1px solid #e6d7b9;
  border-radius: 15px;
}

.hotel-promo-plan--cashback {
  background: linear-gradient(145deg, #fbfefa, #edf7f1);
  border-color: #d2e5d9;
}

.hotel-promo-plan > header {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.hotel-promo-plan-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #946719;
  background: #f2e0bc;
  border-radius: 11px;
}

.hotel-promo-plan--cashback .hotel-promo-plan-icon {
  color: #34765d;
  background: #dceee4;
}

.hotel-promo-plan-icon svg {
  width: 20px;
  height: 20px;
}

.hotel-promo-plan > header div {
  min-width: 0;
}

.hotel-promo-plan > header small {
  display: block;
  color: #9a742f;
  font-size: 12px;
  font-weight: 680;
}

.hotel-promo-plan--cashback > header small {
  color: #46806a;
}

.hotel-promo-plan h3 {
  margin: 1px 0 0;
  color: #343129;
  font-size: 14px;
  font-weight: 800;
}

.hotel-promo-plan > header > strong {
  min-height: 30px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  color: #71501a;
  background: #fff4d9;
  border: 1px solid #e7c87f;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.hotel-promo-plan--cashback > header > strong {
  color: #2f7057;
  background: #e9f7ef;
  border-color: #badbc8;
}

.hotel-promo-plan > p {
  margin: 11px 0 10px;
  color: #6e685f;
  font-size: 12px;
  line-height: 1.85;
}

.hotel-promo-plan ul {
  gap: 6px;
}

.hotel-promo-plan li {
  padding: 8px;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, .72);
  border-radius: 10px;
}

.hotel-promo-plan li > svg {
  width: 28px;
  height: 28px;
  padding: 6px;
}

.hotel-promo-plan--cashback li > svg {
  color: #3e795f;
  background: #e2f1e8;
}

.hotel-promo-plan li b {
  font-size: 12px;
}

.hotel-promo-plan li small {
  font-size: 12px;
  line-height: 1.7;
}

.hotel-promo-terms-note {
  margin-top: 12px;
}

.listing-empty {
  min-height: 300px;
  margin-top: 12px;
  padding: 38px 20px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e6dfd4;
  border-radius: 16px;
}

.listing-empty[hidden] {
  display: none;
}

.listing-empty > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #9a702a;
  background: #f5ead5;
  border-radius: 18px;
}

.listing-empty > span svg {
  font-size: 28px;
}

.listing-empty h3 {
  margin: 14px 0 3px;
  color: #34332e;
  font-size: 17px;
}

.listing-empty p {
  margin: 0;
  color: #837e75;
  font-size: 12px;
}

.listing-empty button {
  min-width: 150px;
  height: 40px;
  margin-top: 14px;
  color: #fff;
  background: #33342f;
  border: 1px solid #33342f;
  border-radius: 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.listing-load-more {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-load-more[hidden] {
  display: none;
}

.listing-load-more button {
  min-width: 220px;
  min-height: 48px;
  padding: 8px 18px;
  display: grid;
  grid-template-columns: auto auto 18px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #35332d;
  background: #fff;
  border: 1px solid #d8c39d;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(49, 43, 33, .06);
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.listing-load-more button:hover,
.listing-load-more button:focus-visible {
  color: #29271f;
  background: #f3d48c;
  border-color: #deb052;
  transform: translateY(-1px);
}

.listing-load-more small {
  color: #8b8170;
  font-size: 12px;
  font-weight: 560;
}

.listing-load-more svg {
  color: #a77625;
  font-size: 16px;
}

.recent-hotels {
  padding: 58px 0 68px;
  background: #fff;
  border-top: 1px solid #eee8df;
  border-bottom: 1px solid #eee8df;
}

.recent-hotels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  direction: rtl;
}

.recent-hotel-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9e5de;
  border-radius: 19px;
  box-shadow: 0 10px 28px rgba(39, 35, 29, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.recent-hotel-card:hover {
  transform: translateY(-4px);
  border-color: #ddc68f;
  box-shadow: 0 18px 38px rgba(39, 35, 29, .11);
}

.recent-hotel-card > div {
  position: relative;
  height: 155px;
  overflow: hidden;
}

.recent-hotel-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.recent-hotel-card > div > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 26px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: rgba(37, 36, 31, .88);
  border: 1px solid rgba(247, 182, 3, .42);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 720;
}

.recent-hotel-card > section {
  padding: 13px 14px 12px;
}

.recent-hotel-stars {
  gap: 0;
}

.recent-hotel-stars svg {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.recent-hotel-card h3 {
  margin: 3px 0;
  overflow: hidden;
  color: #32312c;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-hotel-card p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #858077;
  font-size: 12px;
}

.recent-hotel-card p svg {
  color: #9d7227;
  font-size: 13px;
}

.recent-hotel-card footer {
  margin-top: 11px;
  padding-top: 9px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  border-top: 1px solid #eee8df;
}

.recent-hotel-card footer span,
.recent-hotel-card footer small {
  color: #8c877e;
  font-size: 12px;
}

.recent-hotel-card footer b {
  margin-right: auto;
  color: #2f6f59;
  font-size: 14.5px;
  font-weight: 800;
}

.hotel-guide {
  padding: 72px 0;
  background:
    radial-gradient(circle at 95% 10%, rgba(215, 171, 90, .1), transparent 26%),
    #f7f3eb;
}

.hotel-guide-grid {
  display: block;
}

.hotel-guide-copy {
  width: 100%;
}

.hotel-guide-copy h2 {
  max-width: none;
  margin: 8px 0 12px;
  color: #292923;
  font-size: 29px;
  font-weight: 810;
  line-height: 1.65;
}

.hotel-guide-copy > p,
.hotel-guide-more-content p {
  max-width: none;
  margin: 0 0 8px;
  color: #6d6961;
  font-size: 12.5px;
  line-height: 2.15;
}

.hotel-guide-more-content {
  margin-top: 8px;
}

.hotel-guide-more-content[hidden] {
  display: none;
}

.hotel-guide-points {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hotel-guide-points > span {
  min-height: 75px;
  padding: 12px;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-content: center;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #e5dccd;
  border-radius: 12px;
}

.hotel-guide-points svg {
  width: 37px;
  height: 37px;
  padding: 8px;
  grid-row: 1 / 3;
  color: #9d7228;
  background: #f3e6cf;
  border-radius: 10px;
}

.hotel-guide-points b {
  color: #414039;
  font-size: 12px;
}

.hotel-guide-points small {
  color: #8b867e;
  font-size: 12px;
}

.hotel-guide-more-toggle {
  min-width: 154px;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #302b21;
  background: linear-gradient(105deg, #e1ae3d, #f2cf70);
  border: 1px solid #d5a33c;
  border-radius: 11px;
  box-shadow: 0 9px 20px rgba(158, 111, 30, .16);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
}

.hotel-guide-more-toggle svg {
  font-size: 14px;
  transition: transform .18s ease;
}

.hotel-guide-more-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.hotel-faq {
  padding: 66px 0 72px;
  background: #fff;
}

.hotel-faq-wrap {
  max-width: 1080px;
}

.hotel-faq-heading {
  align-items: center;
}

.listing-faq-list {
  display: grid;
  gap: 8px;
}

.listing-faq-item {
  overflow: hidden;
  background: #fbfaf7;
  border: 1px solid #e8e1d7;
  border-radius: 12px;
}

.listing-faq-item[open] {
  background: #fffdf8;
  border-color: #d9bd88;
}

.listing-faq-item summary {
  min-height: 58px;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #414039;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 680;
}

.listing-faq-item summary::-webkit-details-marker {
  display: none;
}

.listing-faq-item summary i {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background: #f2e8d6;
  border-radius: 8px;
}

.listing-faq-item summary i::before,
.listing-faq-item summary i::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 7px;
  width: 12px;
  height: 1.5px;
  background: #906721;
  border-radius: 2px;
}

.listing-faq-item summary i::after {
  transform: rotate(90deg);
  transition: transform .18s ease;
}

.listing-faq-item[open] summary i::after {
  transform: rotate(0);
}

/* جواب FAQ: قالب اصلی یک <p> تکی بود و کل استایل هم روی همان `p` نشسته بود. حالا جواب
   واقعی از CKEditor پنل می‌آید و می‌تواند چند پاراگراف/لیست باشد — پس قاب (padding/رنگ/
   line-height) روی wrapper نشسته و عناصر داخلی فقط فاصله‌ی بین خودشان را می‌گیرند. */
.listing-faq-answer {
  padding: 0 17px 16px 54px;
  color: #747068;
  font-size: 12px;
  line-height: 2;
}

.listing-faq-answer > :first-child { margin-top: 0; }
.listing-faq-answer > :last-child { margin-bottom: 0; }

.listing-faq-answer p {
  margin: 0 0 8px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.listing-faq-answer ul,
.listing-faq-answer ol {
  margin: 0 0 8px;
  padding-inline-start: 18px;
}

.listing-faq-answer li { margin-bottom: 4px; }

.listing-faq-answer a {
  color: #906721;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.listing-faq-answer strong,
.listing-faq-answer b { color: #57534a; font-weight: 700; }

/* «دسترسی سریع به انتخاب‌های محبوب» — پنل هوم‌پیج (styles.css) زیر سوالات متداول لندینگ؛
   فقط قاب بیرونی اینجاست، خودِ کارت‌ها عیناً همان کلاس‌های هوم‌پیج. عرض همان
   booking-confidence-wrap هوم‌پیج (نه ۱۰۸۰px سوالات متداول). بیشتر لندینگ‌ها FAQ ندارند و
   مستقیم بعد از باکس کرم «راهنمای انتخاب» می‌آید — پس فاصله‌ی بالای خودش را دارد؛ فقط وقتی
   بلافاصله بعد از FAQ است (که خودش ۷۲px پایین دارد) حذف می‌شود. */
.listing-quick-links {
  padding: 56px 0 64px;
  background: #fff;
}

.hotel-faq + .listing-quick-links {
  padding-top: 0;
}

.listing-quick-links .landing-links-panel {
  margin-top: 0;
}

.listing-support {
  padding: 0 0 70px;
  background: #fff;
}

.listing-support-card {
  min-height: 142px;
  padding: 25px 30px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  color: #f6f0e5;
  background:
    radial-gradient(circle at 85% 130%, rgba(215, 171, 90, .15), transparent 34%),
    linear-gradient(105deg, #292a25, #3a3931 62%, #292a25);
  border: 1px solid rgba(210, 168, 88, .42);
  border-radius: 20px;
}

.listing-support-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #efc777;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(224, 184, 105, .32);
  border-radius: 20px;
}

.listing-support-icon svg {
  font-size: 34px;
}

.listing-support-card > div > span {
  color: #d9b66f;
  font-size: 12px;
  font-weight: 690;
}

.listing-support-card h2 {
  margin: 3px 0 1px;
  color: #fffaf0;
  font-size: 21px;
  font-weight: 780;
}

.listing-support-card p {
  margin: 0;
  color: rgba(255, 255, 255, .57);
  font-size: 12px;
}

.listing-support-card > a {
  min-width: 190px;
  min-height: 62px;
  padding: 10px 18px;
  display: grid;
  place-content: center;
  gap: 1px;
  color: #2b2923;
  background: linear-gradient(105deg, #dfad40, #f0ce70);
  border: 1px solid #e3b755;
  border-radius: 13px;
  text-align: center;
}

.listing-support-card > a small {
  font-size: 12px;
}

.listing-support-card > a b {
  font-size: 16.5px;
  font-weight: 820;
}

.listing-filter-backdrop[hidden] {
  display: none;
}

@media (max-width: 1220px) {
  .listing-search {
    grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(150px, .8fr)) 175px;
  }

  .listing-category-scroll {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .listing-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 17px;
  }

  .hotel-result-card {
    grid-template-columns: 205px minmax(0, 1fr) 174px;
  }

  .hotel-result-info {
    padding-inline: 15px;
  }

  .hotel-result-info h3 {
    font-size: 15px;
  }

  .listing-featured-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .listing-featured-card img {
    width: 82px;
  }
}

@media (max-width: 1024px) {
  .listing-hero-trust {
    display: none;
  }
}

@media (max-width: 1000px) {

  .listing-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-search-field--wide {
    grid-column: 1 / -1;
  }

  .listing-search-submit {
    grid-column: 1 / -1;
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }

  .listing-filters {
    position: fixed;
    z-index: 170;
    top: 0;
    right: 0;
    bottom: 0;
    max-height: none;
    width: min(365px, 92vw);
    overflow-y: auto;
    border: 0;
    border-radius: 18px 0 0 18px;
    box-shadow: -20px 0 55px rgba(29, 27, 22, .24);
    transform: translateX(110%);
    transition: transform .25s ease;
  }

  .hotel-list-body.listing-filter-open {
    overflow: hidden;
  }

  .hotel-list-body.listing-filter-open .listing-filters {
    transform: translateX(0);
  }

  .listing-filter-backdrop {
    position: fixed;
    z-index: 160;
    inset: 0;
    display: block;
    background: rgba(30, 29, 25, .48);
    backdrop-filter: blur(2px);
  }

  .listing-filter-close,
  .listing-filter-apply,
  .listing-mobile-filter {
    display: flex;
  }

  .listing-filter-close {
    order: -1;
  }

  .listing-clear-filters {
    margin-right: auto;
  }

  .listing-filter-apply {
    position: sticky;
    bottom: 12px;
    box-shadow: 0 10px 25px rgba(85, 61, 19, .18);
  }

  .recent-hotels-grid {
    margin-left: -16px;
    padding: 2px 0 8px 16px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .recent-hotels-grid::-webkit-scrollbar {
    display: none;
  }

  .recent-hotels-grid.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
  }

  .recent-hotel-card {
    min-width: 260px;
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

}

@media (max-width: 760px) {
  .listing-hero {
    padding-bottom: 30px;
  }

  .listing-title-row {
    margin-top: 20px;
  }

  .listing-title-row h1 {
    font-size: 31px;
  }

  .listing-featured-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .listing-featured-card img {
    width: 112px;
  }

  .hotel-list-promo {
    padding: 20px;
    grid-template-columns: 1fr auto;
    gap: 17px;
  }

  .hotel-list-promo-copy {
    grid-column: 1 / -1;
  }

  .hotel-result-card {
    grid-template-columns: 205px minmax(0, 1fr);
    grid-template-rows: 190px auto auto;
    grid-template-areas:
      "media info"
      "offer offer"
      "quick quick";
  }

  .hotel-result-media {
    grid-area: media;
    height: 190px;
  }

  .hotel-gallery-track,
  .hotel-gallery-slide,
  .hotel-gallery-slide img {
    height: 190px;
    min-height: 190px;
  }

  .hotel-result-info {
    grid-area: info;
    min-height: 190px;
  }

  .hotel-result-offer {
    grid-area: offer;
    min-height: 154px;
    padding: 40px 15px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: 1px solid #ece5da;
    border-right: 0;
  }

  .hotel-discount {
    top: 12px;
    left: 15px;
  }

  .hotel-price-block {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .hotel-price-value strong {
    font-size: 18.5px;
  }

  .hotel-quick-reserve {
    grid-area: quick;
  }

  .listing-support-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .listing-support-icon {
    width: 58px;
    height: 58px;
  }

  .listing-support-card > a {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 55px;
  }
}

@media (max-width: 680px) {
  .hotel-policy-modal {
    padding: 0;
    place-items: end stretch;
  }

  .hotel-policy-dialog {
    width: 100%;
    max-height: min(86dvh, 720px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
  }

  .hotel-policy-modal.is-open .hotel-policy-dialog {
    transform: translateY(0);
  }

  .hotel-policy-dialog > header {
    min-height: 69px;
    padding: 12px 14px;
  }

  .hotel-policy-dialog > header h2 {
    font-size: 17px;
  }

  .hotel-policy-dialog-body {
    max-height: calc(min(86dvh, 720px) - 132px);
    padding: 14px 14px 10px;
  }

  .hotel-policy-dialog li {
    padding: 9px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
  }

  .hotel-policy-dialog li > svg {
    width: 30px;
    height: 30px;
  }

  .hotel-policy-dialog > footer {
    padding: 9px 14px max(12px, env(safe-area-inset-bottom));
  }

  .hotel-promo-terms-dialog {
    max-height: min(92dvh, 760px);
  }

  .hotel-promo-terms-body {
    max-height: calc(min(92dvh, 760px) - 132px);
    padding: 13px 12px 10px;
  }

  .hotel-promo-terms-grid {
    grid-template-columns: 1fr;
  }

  .hotel-promo-plan {
    padding: 11px;
  }

  .listing-hero {
    padding-top: calc(var(--header-top) + var(--header-height) + 24px);
  }

  .listing-breadcrumb {
    font-size: 12px;
  }

  .listing-title-row h1 {
    font-size: 28px;
  }

  .listing-search {
    margin-top: 18px;
    padding: 12px;
    gap: 8px;
    border-radius: 15px;
  }

  .listing-search-control,
  .listing-search-submit {
    height: 44px;
  }

  .listing-search-field > span:first-child {
    font-size: 12px;
  }

  .listing-search-control input,
  .listing-search-control select {
    font-size: 12px;
  }

  .listing-search-control .booking-picker-value {
    font-size: 12px;
  }

  .listing-search-submit span {
    font-size: 13px;
  }

  .listing-categories {
    padding: 28px 0 30px;
  }

  .listing-section-heading {
    margin-bottom: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .listing-section-heading h2 {
    font-size: 20px;
  }

  .listing-category-scroll {
    margin-left: -12px;
    padding-left: 12px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .listing-category-scroll::-webkit-scrollbar {
    display: none;
  }

  .listing-category {
    min-width: 176px;
    min-height: 72px;
    flex: 0 0 176px;
    scroll-snap-align: start;
  }

  .listing-category-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .listing-results-section {
    padding: 22px 0 48px;
  }

  .listing-toolbar {
    padding: 11px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .listing-toolbar-actions {
    width: 100%;
  }

  .listing-mobile-filter {
    flex: 1 1 auto;
    justify-content: center;
  }

  .listing-sort {
    flex: 1.5 1 auto;
  }

  .listing-sort select {
    width: 100%;
    min-width: 0;
  }

  .listing-featured {
    padding: 11px;
  }

  .listing-featured > header {
    align-items: flex-start;
  }

  .listing-featured-timer {
    min-width: max-content;
  }

  .hotel-list-promo-copy h3 {
    font-size: 15px;
  }

  .hotel-result-card {
    grid-template-columns: 41% 59%;
    grid-template-rows: 185px auto auto;
    border-radius: 18px;
  }

  .hotel-result-media,
  .hotel-gallery-track,
  .hotel-gallery-slide,
  .hotel-gallery-slide img,
  .hotel-result-info {
    height: 185px;
    min-height: 185px;
  }

  .hotel-result-info {
    padding: 13px 12px 11px;
  }

  .hotel-result-heading {
    align-items: start;
    gap: 4px;
  }

  .hotel-result-score {
    min-height: 31px;
    padding-left: 6px;
    gap: 4px;
  }

  .hotel-result-score b {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .hotel-result-score strong {
    font-size: 12px;
  }

  .hotel-result-score small {
    font-size: 12px;
  }

  .hotel-result-info h3 {
    font-size: 13.5px;
  }

  .hotel-result-stars svg {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }

  .hotel-result-address {
    align-items: flex-start;
  }

  .hotel-result-address span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hotel-result-tags {
    margin-top: 7px;
    gap: 4px;
  }

  .hotel-result-tags span {
    min-height: 23px;
    padding-inline: 6px;
    font-size: 12px;
  }

  .hotel-result-tags span:nth-child(n + 3) {
    display: none;
  }

  .hotel-policy-trigger {
    min-height: 27px;
    padding-inline: 7px;
    font-size: 12px;
  }

  .hotel-result-offer {
    padding: 40px 11px 12px;
  }

  .hotel-price-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 9px;
  }

  .hotel-price-before strong {
    font-size: 12px;
  }

  .hotel-result-offer > :is(button, a) {
    width: 100%;
  }

  .recent-hotels {
    padding: 46px 0 52px;
  }

  .recent-hotels-grid {
    margin-left: -12px;
    padding: 2px 0 8px 12px;
    gap: 10px;
  }

  .recent-hotels-grid::-webkit-scrollbar {
    display: none;
  }

  .recent-hotel-card {
    min-width: 240px;
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

  .hotel-guide {
    padding: 52px 0;
  }

  .hotel-guide-copy h2 {
    font-size: 23px;
  }

  .hotel-guide-copy > p,
  .hotel-guide-more-content p {
    font-size: 12px;
  }

  .hotel-guide-points {
    grid-template-columns: 1fr;
  }

  .hotel-faq {
    padding: 50px 0 54px;
  }

  .listing-quick-links {
    padding: 36px 0 48px;
  }

  .listing-faq-item summary {
    min-height: 54px;
    padding: 11px 13px;
    font-size: 12px;
  }

  .listing-faq-answer {
    padding: 0 13px 14px;
    font-size: 12px;
  }

  .listing-support {
    padding-bottom: 50px;
  }

  .listing-support-card {
    padding: 20px;
  }

  .listing-support-card h2 {
    font-size: 17px;
  }
}

@media (max-width: 500px) {
  .listing-search {
    grid-template-columns: 1fr;
  }

  .listing-search-field--wide,
  .listing-search-submit {
    grid-column: auto;
  }

  .listing-title-row h1 {
    font-size: 25px;
  }

  .listing-results-title h2 {
    font-size: 16px;
  }

  .listing-sort span {
    display: none;
  }

  .listing-featured > header {
    flex-direction: column;
    gap: 7px;
  }

  .hotel-list-promo {
    grid-template-columns: 1fr;
  }

  .hotel-list-promo-benefits {
    justify-content: center;
  }

  .hotel-list-promo > button {
    width: 100%;
  }

  .hotel-result-card {
    grid-template-columns: 1fr;
    grid-template-rows: 170px auto auto auto;
    grid-template-areas: "media" "info" "offer" "quick";
  }

  .hotel-result-media,
  .hotel-gallery-track,
  .hotel-gallery-slide,
  .hotel-gallery-slide img {
    height: 170px;
    min-height: 170px;
  }

  .hotel-result-info {
    height: auto;
    min-height: 0;
    padding: 14px;
  }

  .hotel-result-heading {
    align-items: start;
  }

  .hotel-result-tags span:nth-child(n) {
    display: inline-flex;
  }

  .hotel-policy-trigger {
    margin-top: 10px;
  }

  .hotel-quick-room {
    min-width: 176px;
    flex-basis: 176px;
    padding: 9px;
  }

  .hotel-quick-room > button,
  .hotel-quick-room-reserve {
    min-height: 31px;
  }

  .hotel-result-offer {
    min-height: 146px;
    padding: 40px 12px 10px;
  }

  .hotel-price-block {
    padding: 0;
    justify-items: center;
  }

  .hotel-guide-more-toggle {
    width: 100%;
  }

  .listing-support-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .listing-support-icon {
    margin-inline: auto;
  }
}

@media (max-width: 390px) {
  .listing-category {
    min-width: 162px;
    flex-basis: 162px;
  }

  .listing-toolbar-actions {
    flex-direction: column;
  }

  .listing-mobile-filter,
  .listing-sort {
    width: 100%;
  }

  .listing-featured-card {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .listing-featured-card img {
    width: 94px;
  }

  .hotel-result-media,
  .hotel-gallery-track,
  .hotel-gallery-slide,
  .hotel-gallery-slide img {
    height: 155px;
    min-height: 155px;
  }

  .hotel-result-card {
    grid-template-rows: 155px auto auto auto;
  }

  .hotel-price-value strong {
    font-size: 15.5px;
  }
}

@media (max-width: 680px) {
  .hotel-search-enhanced .listing-mobile-search-summary-slot {
    min-height: 76px;
    margin-top: 16px;
    display: block;
  }

  .hotel-search-enhanced .listing-mobile-search-summary {
    width: 100%;
    min-height: 76px;
    margin: 0;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    color: #36342e;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #e6dbc8;
    border-radius: 19px;
    box-shadow: none;
    cursor: pointer;
    text-align: right;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease, border-color .18s ease;
  }

  .hotel-search-enhanced .listing-mobile-search-summary.is-scroll-sticky {
    position: fixed;
    z-index: 900;
    top: max(8px, env(safe-area-inset-top));
    right: 12px;
    left: 12px;
    width: auto;
    min-height: 70px;
    margin: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .hotel-search-enhanced .listing-mobile-search-summary.is-scroll-sticky.is-scroll-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, calc(-100% - 20px), 0);
  }

  .hotel-search-enhanced .listing-mobile-search-summary:focus-visible {
    outline: 3px solid rgba(215, 171, 90, .28);
    outline-offset: 3px;
  }

  .listing-mobile-search-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #efc653;
    background: #242522;
    border: 1px solid #8f743d;
    border-radius: 14px;
    box-shadow: none;
  }

  .listing-mobile-search-icon svg {
    width: 22px;
    height: 22px;
  }

  .listing-mobile-search-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .listing-mobile-search-copy > b {
    overflow: hidden;
    font-size: 14px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .listing-mobile-search-copy small {
    min-width: 0;
    display: block;
    overflow: hidden;
    color: #817b70;
    font-size: 12px;
    font-weight: 560;
    white-space: nowrap;
  }

  .listing-mobile-search-action {
    min-width: 78px;
    min-height: 38px;
    padding: 0 10px;
    display: grid;
    place-items: center;
    color: #292823;
    font-size: 12px;
    font-weight: 730;
    background: linear-gradient(135deg, #efb53a, #f3d172);
    border: 1px solid #dda121;
    border-radius: 12px;
    box-shadow: none;
    white-space: nowrap;
  }

  .hotel-search-enhanced.mobile-hotel-search-open {
    overflow: hidden;
  }

  .hotel-search-enhanced .listing-search {
    position: fixed;
    z-index: 1010;
    top: var(--hotel-search-viewport-top, 0px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: var(--hotel-search-viewport-height, 100dvh);
    max-height: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 104%, 0);
    will-change: transform;
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .24s ease, visibility 0s linear .42s;
  }

  .hotel-search-enhanced.mobile-hotel-search-open .listing-search {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
  }

  /* Transparent full-height rail; the sheet is header + fields at the bottom so the
     dimmed/blurred page stays visible above it and taps there reach the backdrop. */
  .hotel-search-enhanced.mobile-hotel-search-open .listing-search > * {
    pointer-events: auto;
  }

  .hotel-search-enhanced .listing-mobile-search-backdrop:not([hidden]) {
    animation: listing-search-backdrop-in .3s ease both;
  }

  @keyframes listing-search-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @media (max-width: 420px) {
    .hotel-search-enhanced .listing-mobile-search-summary-slot {
      min-height: 70px;
    }

    .hotel-search-enhanced .listing-mobile-search-summary {
      min-height: 70px;
      grid-template-columns: 42px minmax(0, 1fr) auto;
      gap: 8px;
      padding: 7px 8px;
      border-radius: 17px;
    }

    .listing-mobile-search-icon {
      width: 42px;
      height: 42px;
      border-radius: 13px;
    }

    .listing-mobile-search-icon svg {
      width: 20px;
      height: 20px;
    }

    .listing-mobile-search-copy > b { font-size: 13px; }
    .listing-mobile-search-copy small { font-size: 12px; }

    .listing-mobile-search-action {
      min-width: 70px;
      min-height: 36px;
      padding-inline: 8px;
      font-size: 12px;
    }
  }

  .listing-featured {
    padding: 10px;
  }

  .listing-featured > header {
    margin-bottom: 9px;
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .listing-featured-timer {
    min-height: 27px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .listing-featured-grid {
    margin: 0 -1px -4px;
    padding: 1px 1px 5px;
    gap: 8px;
  }

  .listing-featured-card {
    min-width: min(78vw, 280px);
    height: 80px;
    flex: 0 0 min(78vw, 280px);
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .listing-featured-card img {
    width: 88px;
    height: 80px;
  }

  .hotel-search-enhanced .listing-mobile-search-fields {
    width: 100%;
    margin-top: 0;
    padding: 13px 16px calc(17px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    background: #fff;
  }

  .listing-mobile-search-header {
    position: relative;
    z-index: 4;
    width: 100%;
    margin: auto 0 0;
    padding: 24px 18px 4px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border-top: 1px solid #e7dece;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -18px 52px rgba(63, 49, 28, .12);
  }

  .listing-mobile-search-header::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: 38px;
    height: 4px;
    background: #e3d9c8;
    border-radius: 4px;
    transform: translateX(-50%);
  }

  .listing-mobile-search-header > div {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .listing-mobile-search-header > div > span {
    color: #a17225;
    font-size: 12px;
    font-weight: 730;
  }

  .listing-mobile-search-header h2 {
    margin: 0;
    color: #292823;
    font-size: 19px;
    font-weight: 790;
  }

  .listing-mobile-search-header button,
  .listing-destination-panel-header button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    color: #625e56;
    background: #f7f4ee;
    border: 1px solid #e6ded1;
    border-radius: 50%;
    cursor: pointer;
  }

  .listing-mobile-search-header button svg,
  .listing-destination-panel-header button svg {
    width: 17px;
    height: 17px;
  }

  .hotel-search-enhanced .listing-search .listing-search-field--wide,
  .hotel-search-enhanced .listing-search .listing-search-submit {
    grid-column: 1 / -1;
  }

  .hotel-search-enhanced .listing-search-control,
  .hotel-search-enhanced .listing-search-submit {
    height: 54px;
    border-radius: 14px;
  }

  .hotel-search-enhanced .listing-search-field > span:first-child {
    margin: 0 3px 8px;
    font-size: 12px;
  }

  .hotel-search-enhanced .listing-search-control.destination-trigger b,
  .hotel-search-enhanced .listing-search-control .booking-picker-value {
    font-size: 12px;
  }

  .hotel-search-enhanced .listing-search-submit {
    margin-top: 1px;
  }

  .hotel-search-enhanced .listing-search-submit span {
    font-size: 13px;
  }

  .hotel-search-enhanced .listing-destination-panel.destination-panel--portaled {
    position: fixed;
    z-index: 1040;
    top: var(--hotel-search-viewport-top, 0px) !important;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100% !important;
    height: var(--hotel-search-viewport-height, 100dvh);
    max-height: none;
    padding: 0 13px calc(13px + env(safe-area-inset-bottom));
    overflow: hidden;
    flex-direction: column;
    border-width: 1px 0 0;
    border-radius: 0;
    box-shadow: 0 0 70px rgba(24, 23, 20, .3);
    overscroll-behavior: contain;
  }

  .hotel-search-enhanced .listing-destination-panel.destination-panel--portaled:not([hidden]) {
    display: flex;
  }

  .listing-destination-panel-header {
    flex: 0 0 auto;
    min-height: 70px;
    margin: 0 -13px 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(110deg, #fff, #fffbf2);
    border-bottom: 1px solid #eee5d8;
  }

  .listing-destination-panel-header > div {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .listing-destination-panel-header > div span {
    color: #a17225;
    font-size: 12px;
    font-weight: 720;
  }

  .listing-destination-panel-header > div b {
    color: #292823;
    font-size: 15px;
    font-weight: 780;
  }

  .hotel-search-enhanced .listing-destination-panel .destination-search {
    flex: 0 0 auto;
    height: 48px;
    border-radius: 12px;
  }

  .hotel-search-enhanced .listing-destination-panel .destination-search input {
    font-size: 16px;
  }

  .hotel-search-enhanced .listing-destination-panel .destination-results {
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
    margin-top: 9px;
    padding-bottom: env(safe-area-inset-bottom);
    -webkit-overflow-scrolling: touch;
  }

  .hotel-search-enhanced.booking-picker-open .booking-picker-backdrop {
    z-index: 1060;
  }

  .hotel-search-enhanced.booking-picker-open .booking-calendar,
  .hotel-search-enhanced.booking-picker-open .booking-duration {
    z-index: 1070;
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-category,
  .listing-search-submit,
  .listing-featured-card,
  .hotel-result-card,
  .hotel-gallery-slide img,
  .hotel-gallery-arrow,
  .hotel-gallery-dots button,
  .listing-load-more button,
  .hotel-result-offer > :is(button, a),
  .hotel-quick-room > button,
  .hotel-quick-room-reserve,
  .hotel-quick-toggle svg,
  .hotel-guide-more-toggle svg,
  .recent-hotel-card,
  .listing-filters,
  .listing-search {
    transition: none;
  }
}

/**
 * ۱۴۰۵/۰۶/۱۲ (فاز۸ — لندینگ سریع): دیتای هتل (لیست اصلی، «فرصت‌های محدود امروز»،
 * فیلترها) دیگر SSR نیست — site/hotel-results.php + site/hotel-special.php +
 * site/hotel-filters.php بعد از لود صفحه از مرورگر fetch می‌شوند (hotels.js). این
 * اسکلتون‌ها هم‌اندازه‌ی محتوای واقعی‌اند (بدون جابجایی/CLS) و انیمیشن‌شان از همون
 * @keyframes hotel-compare-shimmer (styles.css) استفاده می‌کند — یک شیمر، نه تعریف تکراری.
 * جعبه‌ی خطا/تلاش‌مجدد عیناً کلاس nearby-error سراسری (styles.css) را reuse می‌کند.
 */
.hotel-results-skeleton {
  display: grid;
  gap: 16px;
}
/* [hidden] و .hotel-results-skeleton هر دو specificity یکسان دارند — هم‌الگوی
   .nearby-skeleton[hidden] در styles.css، وگرنه toggle کردن hidden از جاوااسکریپت
   بی‌اثر می‌ماند. */
.hotel-results-skeleton[hidden],
.listing-filters-skeleton[hidden],
.listing-featured-skeleton[hidden] {
  display: none;
}
.hotel-results-skeleton span {
  height: 198px;
  border-radius: 22px;
  background: linear-gradient(100deg, #f0ede5 30%, #f8f5ee 50%, #f0ede5 70%);
  background-size: 220% 100%;
  animation: hotel-compare-shimmer 1.3s ease-in-out infinite;
}

.hotel-results-error,
.listing-filters-error {
  margin-top: 0;
}

.listing-filters-skeleton {
  padding: 19px 17px;
  display: grid;
  gap: 14px;
}
.listing-filters-skeleton span {
  height: 17px;
  border-radius: 5px;
  background: linear-gradient(100deg, #f0ede5 30%, #f8f5ee 50%, #f0ede5 70%);
  background-size: 220% 100%;
  animation: hotel-compare-shimmer 1.3s ease-in-out infinite;
}
.listing-filters-skeleton span:nth-child(3n+1) { width: 55%; }
.listing-filters-skeleton span:nth-child(3n+2) { width: 85%; }
.listing-filters-error {
  margin: 0 17px 17px;
}

.listing-featured-skeleton {
  margin-top: 16px;
  display: flex;
  gap: 9px;
  overflow: hidden;
}
.listing-featured-skeleton span {
  min-width: 300px;
  flex: 0 0 300px;
  height: 91px;
  border-radius: 11px;
  background: linear-gradient(100deg, #f0ede5 30%, #f8f5ee 50%, #f0ede5 70%);
  background-size: 220% 100%;
  animation: hotel-compare-shimmer 1.3s ease-in-out infinite;
}

/**
 * ۱۴۰۵/۰۶/۱۲ (فاز۸ — رزرو سریع تنبل): «رزرو سریع» هر کارت هتل به‌جز اولین کارت لیست
 * (که eager می‌آید) دیگر روی هر لود صفحه محاسبه نمی‌شود — فقط با کلیک روی خودِ دکمه‌ی
 * «رزرو سریع» (hotels.js). این اسکلتون همان اندازه‌ی .hotel-quick-room واقعی است
 * (بدون CLS وقتی جواب واقعی جایگزینش می‌شود)، هم‌الگوی شیمر بالا.
 */
.hotel-quick-room--skeleton {
  height: 132px;
  background: linear-gradient(100deg, #f0ede5 30%, #f8f5ee 50%, #f0ede5 70%);
  background-size: 220% 100%;
  animation: hotel-compare-shimmer 1.3s ease-in-out infinite;
}

/* خطا/تلاش‌مجدد لود تنبل «رزرو سریع» — عیناً کلاس nearby-error سراسری (styles.css) را
   reuse می‌کند (هم‌الگوی .hotel-results-error بالا)، فقط عرضش را با flex-basis به
   محدوده‌ی همون ردیف افقی کارت‌های .hotel-quick-room محدود می‌کند. */
.hotel-quick-room-error {
  min-width: 190px;
  flex: 1 0 auto;
  padding: 16px 10px;
}

/* حالت «هیچ اتاقی الان قابل رزرو نیست» — خطا نیست، پس نه قاب قرمز نه دکمه‌ی تلاش دوباره. */
.hotel-quick-room-empty {
  min-width: 190px;
  flex: 1 0 auto;
  margin: 0;
  padding: 16px 10px;
  color: #7d7870;
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
}

@media (prefers-reduced-motion: reduce) {
  .hotel-results-skeleton span,
  .listing-filters-skeleton span,
  .listing-featured-skeleton span,
  .hotel-quick-room--skeleton {
    animation: none;
    background: #f0ede5;
  }
}

@media (max-width: 760px) {
  .listing-featured-skeleton span {
    min-width: 260px;
    flex-basis: 260px;
  }
}
