/* =========================================================================
   نتایج جستجوی هتل — مطابق تصویر مرجع (eee.jpg)
   این فایل باید بعد از style.css لود شود: <link rel="stylesheet" href="results-ref.css">
   فقط ظاهر را بازنویسی می‌کند؛ منطق فیلتر/مرتب‌سازی همان hotel-search.js است.
   رنگ‌ها از تصویر مرجع: پس‌زمینه #f8fcff، کارت #fff، سرمه‌ای #2b2f38،
   آبی #e9a400→#ffd23f، ستاره #ffa81f، متن کم‌رنگ #4a5160، خط #ececf0.
   ========================================================================= */
.featured-hotels:has(.hsr-layout){
  --rf-navy:#2b2f38; --rf-text:#4a5160; --rf-muted:#8b909b; --rf-blue:#ffb800; --rf-blue2:#ffd23f;
  --rf-line:#ececf0; --rf-soft:#dfe1e6; --rf-star:#ffa81f; --rf-shadow:0 4px 16px rgba(30,36,48,.06);
  background:#fff; padding:22px 16px 40px; font-family:'Vazirmatn',Tahoma,Arial,sans-serif;
}
.hsr-layout{ gap:16px; align-items:flex-start; }

/* ---------- نوار بالا: عنوان | نمای نمایش | مرتب‌سازی ---------- */
.hsr-toolbar{ display:flex; flex-wrap:nowrap; align-items:center; justify-content:flex-start; gap:14px; margin:0 0 14px; }
.hsr-toolbar .hsr-head{
  display:flex; align-items:center; gap:8px; margin:0 0 0 auto; font-size:15.5px; font-weight:800; color:var(--rf-navy);
}
.hsr-head svg{ width:19px; height:21px; flex:none; }
.rf-view{ display:flex; background:#fff; border:1px solid var(--rf-line); border-radius:10px; overflow:hidden; box-shadow:var(--rf-shadow); }
.rf-view-btn{ width:40px; height:36px; border:0; background:#fff; color:#e9a400; display:grid; place-items:center; padding:0; }
.rf-view-btn.active{ background:#dfe1e6; color:var(--rf-navy); }
.rf-view-btn svg{ width:15px; height:15px; }
.rf-sort{ position:relative; }
.rf-sort-toggle{
  display:flex; align-items:center; gap:6px; min-width:200px; height:38px; padding:0 14px 0 12px; background:#fff;
  border:1px solid var(--rf-line); border-radius:10px; box-shadow:var(--rf-shadow); font-size:10.5px; color:var(--rf-muted);
}
.rf-sort-toggle b{ color:var(--rf-navy); font-weight:700; }
.rf-sort-toggle .hsr-chevron{ margin-right:auto; width:12px; height:12px; color:var(--rf-navy); transition:transform .15s; }
.rf-sort.open .hsr-chevron{ transform:rotate(180deg); }
.rf-sort-menu{
  display:none; position:absolute; top:calc(100% + 6px); right:0; left:0; z-index:20; padding:6px; background:#fff;
  border:1px solid var(--rf-line); border-radius:12px; box-shadow:0 10px 28px rgba(30,36,48,.14);
}
.rf-sort.open .rf-sort-menu{ display:block; }
.rf-sort-menu .hsr-sort-btn{
  display:block; width:100%; text-align:right; border:0; border-radius:8px; background:transparent; box-shadow:none;
  padding:8px 10px; font-size:11.5px; font-weight:600; color:var(--rf-text);
}
.rf-sort-menu .hsr-sort-btn:hover{ background:var(--rf-soft); color:#1f2430; }
.rf-sort-menu .hsr-sort-btn.active{ background:#dfe1e6; color:#1f2430; font-weight:800; }

/* ---------- ستون کناری ---------- */
.rf-side{ flex:0 0 206px; width:206px; position:sticky; top:80px; align-self:flex-start; display:flex; flex-direction:column; gap:16px; }
.rf-side .hsr-filters{
  flex:none; width:100%; position:static; padding:0; background:#fff; border:1px solid var(--rf-line);
  border-radius:14px; box-shadow:var(--rf-shadow); overflow:hidden;
}
.rf-side .hsr-filters-head{
  margin:0; padding:16px 14px 14px; background:#dfe1e6; border-bottom:1px solid var(--rf-line);
}
.rf-side .hsr-filters-title{ display:flex; align-items:center; gap:8px; font-size:15px; font-weight:800; color:var(--rf-navy); }
.rf-side .hsr-filters-title svg{ width:22px; height:22px; }
.rf-side .hsr-filters-clear{ font-size:10.5px; font-weight:600; color:#e9a400; }
.rf-side .hsr-filter-dropdown{ margin:0; border:0; border-bottom:1px solid var(--rf-line); border-radius:0; background:#fff; }
.rf-side .hsr-filter-dropdown:last-of-type{ border-bottom:0; }
.rf-side .hsr-filter-toggle{ background:transparent; padding:14px 14px 8px; font-size:11.5px; font-weight:800; color:var(--rf-navy); border:0 !important; }
.rf-side .hsr-filter-toggle .hsr-chevron{ display:none; }
.rf-side .hsr-filter-count{ background:var(--rf-blue); color:#1f2430; font-size:9.5px; min-width:16px; height:16px; line-height:16px; }
.rf-side .hsr-filter-panel{ padding:0 14px 12px; }
.rf-side .hsr-checkbox-row{ gap:9px; padding:5px 0; font-size:10.8px; font-weight:500; color:var(--rf-text); }
.rf-side .hsr-checkbox-row input[type="checkbox"]{
  -webkit-appearance:none; appearance:none; flex:none; width:15px; height:15px; margin:0; border:1.5px solid #c4c8d0;
  border-radius:4px; background:#fff center/10px no-repeat; transition:.15s;
}
.rf-side .hsr-checkbox-row input[type="checkbox"]:checked{
  background-color:var(--rf-blue); border-color:var(--rf-blue);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.4l2.4 2.3 4.6-5' fill='none' stroke='%231f2430' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.rf-side .hsr-checkbox-row input[type="checkbox"]:focus-visible{ outline:2px solid rgba(255,184,0,.35); outline-offset:1px; }
.rf-side .hsr-checkbox-count{ font-size:9.5px; color:var(--rf-muted); }
.rf-side .hsr-name-search-input{ font-size:10.5px; padding:8px 30px 8px 8px; border-radius:9px; border-color:var(--rf-line); background:#f7faff; }
.rf-side .hsr-pill-filter{ font-size:10.5px; padding:5px 9px; border-radius:999px; border-color:var(--rf-line); color:var(--rf-text); }
.rf-side .hsr-pill-filter.active{ background:#dfe1e6; border-color:#1f2430; color:var(--rf-blue); }
.rf-side .hsr-pill-filter-count{ font-size:9.5px; }
/* اسلایدر قیمت: فقط خط + دو نقطه + اعداد زیرش */
.rf-side .hsr-price-values, .rf-side .hsr-price-hist{ display:none; }
.rf-side .hsr-price-slider{ padding:12px 4px 0; }
.rf-side .hsr-price-track{ height:2px; background:#cfe0fb; }
.rf-side .hsr-price-range-fill{ background:var(--rf-blue); }
.rf-side .hsr-price-thumb{ width:11px; height:11px; margin-left:-5.5px; background:var(--rf-blue); border:0; box-shadow:none; }
.rf-side .hsr-price-bounds{ margin-top:12px; }
.rf-side .hsr-price-bounds span{ font-size:9px; font-weight:500; color:var(--rf-muted); }

/* کارت تبلیغ */
.rf-promo{
  display:block; position:relative; padding:8px; background:#fff; border:1px solid var(--rf-line); border-radius:16px;
  box-shadow:var(--rf-shadow); color:var(--rf-navy);
}
.rf-promo-img{ display:block; height:116px; border-radius:14px 14px 0 0; background:center/cover no-repeat #dfe1e6; }
.rf-promo-body{ display:block; margin-top:-26px; position:relative; padding:34px 12px 10px; background:linear-gradient(180deg,rgba(241,247,255,0),#f1f7ff 30px); border-radius:0 0 14px 14px; }
.rf-promo-body b{ display:block; font-size:13.5px; font-weight:800; line-height:1.9; }
.rf-promo-body small{ display:block; margin-top:6px; font-size:9.5px; font-weight:600; color:#e9a400; }

/* ---------- کارت هتل ---------- */
.hsr-results{ min-width:0; }
.rf-list{ display:flex; flex-direction:column; gap:16px; }
.hsr-list.grid .rf-list{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.rf-card{
  display:flex; align-items:stretch; gap:16px; padding:13px; min-height:192px; background:#fff;
  border:1px solid var(--rf-line); border-radius:14px; box-shadow:var(--rf-shadow);
}
.rf-card.is-soldout{ opacity:.85; }
.rf-photo{
  position:relative; flex:0 0 36.5%; aspect-ratio:270/166; align-self:flex-start; border-radius:14px; overflow:hidden;
  background:#dfe1e6 center/cover no-repeat;
}
.rf-badge{ position:absolute; top:10px; right:8px; padding:3px 11px; border-radius:20px; font-size:10px; font-weight:700; color:#fff; background:#12a37f; }
.rf-badge-pink{ background:linear-gradient(90deg,#e83bd0,#f04fa0); }
.rf-badge-blue{ background:#4a6cf0; }
.rf-fav{
  position:absolute; top:10px; left:10px; width:32px; height:32px; padding:0; border:0; border-radius:50%;
  background:rgba(255,255,255,.28); backdrop-filter:blur(4px); display:grid; place-items:center; color:#fff;
}
.rf-fav svg{ width:17px; height:17px; }
.rf-fav.on{ color:#ff4f8b; } .rf-fav.on svg{ fill:currentColor; }
.rf-photocount{ position:absolute; bottom:8px; left:8px; padding:4px 12px; border-radius:9px; background:rgba(40,46,56,.72); color:#fff; font-size:9.5px; }

.rf-body{ flex:1 1 0; min-width:0; display:flex; flex-direction:column; padding-top:6px; }
.rf-name{ margin:0; font-size:15px; font-weight:800; line-height:1.5; color:var(--rf-navy); }
.rf-name a{ color:inherit; }
.rf-rating{ display:flex; align-items:center; gap:8px; margin-top:7px; }
.rf-stars{ display:inline-flex; gap:2px; direction:ltr; }
.rf-stars span{ display:block; width:15px; height:14px; color:var(--rf-star); }
.rf-stars span.off{ color:#d0d3da; }
.rf-stars svg{ display:block; width:100%; height:100%; }
.rf-rating b{ font-size:10.5px; font-weight:700; color:var(--rf-navy); }
.rf-loc{ display:flex; align-items:center; gap:6px; margin-top:9px; font-size:10.5px; color:var(--rf-text); min-width:0; }
.rf-loc svg{ flex:none; width:19px; height:19px; color:var(--rf-navy); }
.rf-loc span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rf-amen{ display:flex; gap:14px; margin-top:auto; padding-top:12px; }
.rf-am{ display:flex; flex-direction:column; align-items:center; gap:5px; min-width:44px; font-size:9.3px; color:var(--rf-text); text-align:center; }
.rf-am i{ width:34px; height:34px; border-radius:50%; background:var(--rf-soft); display:grid; place-items:center; }
.rf-am svg{ width:15px; height:15px; color:#2b2f38; }

.rf-buy{ flex:0 0 118px; display:flex; flex-direction:column; justify-content:space-between; gap:14px; padding-top:6px; }
.rf-price{ display:flex; flex-direction:column; align-items:center; text-align:center; padding:10px 6px 9px; background:#f8fbff; border:1px solid var(--rf-line); border-radius:11px; }
.rf-old{ font-size:9.5px; color:#8b909b; text-decoration:line-through; }
.rf-now{ margin-top:5px; font-size:12.5px; font-weight:800; color:#e9a400; }
.rf-now small{ font-size:inherit; font-weight:inherit; }
.rf-per{ margin-top:9px; font-size:8.8px; color:var(--rf-text); }
.rf-part{ margin-top:4px; font-size:8.8px; color:#e9a400; }
.rf-price-note{ font-size:10.5px; font-weight:700; color:var(--rf-text); line-height:1.8; }
.rf-cta{
  display:flex; align-items:center; justify-content:space-between; height:38px; padding:0 16px 0 14px; border-radius:20px; color:#1f2430;
  background:linear-gradient(180deg,var(--rf-blue2),var(--rf-blue)); font-size:11px; font-weight:700; box-shadow:0 6px 14px rgba(255,184,0,.28);
  width:calc(100% + 28px); margin-right:-28px;
}
.rf-cta svg{ width:9px; height:9px; }

/* ---------- مشاهده هتل‌های بیشتر ---------- */
.rf-loadmore{ display:flex; align-items:center; justify-content:center; gap:28px; margin-top:24px; }
.rf-more-btn{
  display:flex; align-items:center; gap:12px; height:46px; padding:0 34px; border-radius:23px; background:#dfe1e6;
  border:1px solid var(--rf-line); box-shadow:var(--rf-shadow); font-size:11px; font-weight:700; color:var(--rf-navy);
}
.rf-more-btn .hsr-chevron{ width:12px; height:12px; }
.rf-plane{ width:120px; height:34px; color:#e9a400; }

/* ---------- موبایل/تبلت: همان نوار کپسولی قبلی؛ ستون کناری و کنترل‌های دسکتاپ مخفی ---------- */
@media (max-width:700px){
  .rf-side, .rf-view, .rf-sort{ display:none; }
  .hsr-toolbar .hsr-head{ margin:0; }
  .rf-card{ flex-direction:column; }
  .rf-photo{ flex:none; width:100%; }
  .rf-buy{ flex:none; flex-direction:row; align-items:center; }
  .rf-buy .rf-price{ flex:1; }
  .rf-cta{ width:auto; margin:0; flex:1; }
  .hsr-list.grid .rf-list{ grid-template-columns:1fr; }
}

/* =========================================================================
   نسخه‌ی بزرگ‌تر: متن‌ها درشت‌تر، عکس کوچک‌تر، نشان‌های ترانسفر/آنلاین-آفلاین
   ========================================================================= */
.hsr-toolbar .hsr-head{ font-size:18px; }
.hsr-head svg{ width:21px; height:23px; }
.rf-sort-toggle{ font-size:12.5px; height:42px; }
.rf-sort-menu .hsr-sort-btn{ font-size:13px; }
.rf-view-btn{ height:40px; }

.rf-side .hsr-filters-title{ font-size:17.5px; }
.rf-side .hsr-filters-clear{ font-size:12.5px; }
.rf-side .hsr-filter-toggle{ font-size:14px; }
.rf-side .hsr-checkbox-row{ font-size:13px; }
.rf-side .hsr-checkbox-count, .rf-side .hsr-pill-filter-count{ font-size:11px; }
.rf-side .hsr-name-search-input{ font-size:12.5px; }
.rf-side .hsr-pill-filter{ font-size:12.5px; }
.rf-side .hsr-price-bounds span{ font-size:10.5px; }
.rf-promo-body b{ font-size:15px; }
.rf-promo-body small{ font-size:11px; }

.rf-card{ gap:18px; min-height:200px; }
.rf-photo{ flex:0 0 31%; }
.rf-badge{ font-size:11.5px; padding:4px 12px; }
.rf-photocount{ font-size:11px; }
.rf-name{ font-size:17.5px; }
.rf-stars span{ width:17px; height:16px; }
.rf-rating b{ font-size:12.5px; }
.rf-loc{ font-size:13.5px; }
.rf-badges{ display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.rf-badges .hsr-badge{ font-size:12.5px; padding:3px 10px; }
.rf-am{ font-size:11px; min-width:50px; }
.rf-am i{ width:38px; height:38px; }
.rf-am svg{ width:17px; height:17px; }
.rf-buy{ flex:0 0 138px; }
.rf-old{ font-size:11px; }
.rf-now{ font-size:14.5px; }
.rf-per{ font-size:10.5px; }
.rf-part{ font-size:10.5px; }
.rf-price-note{ font-size:12px; }
.rf-cta{ height:42px; font-size:13px; width:calc(100% + 32px); margin-right:-32px; }
.rf-more-btn{ font-size:13px; height:48px; }

/* ---------- پنل فیلتر پهن‌تر ---------- */
.rf-side{ flex:0 0 268px; width:268px; }
.rf-side .hsr-filters-head{ padding:18px 16px 16px; }
.rf-side .hsr-filter-toggle{ padding:16px 16px 10px; font-size:15px; }
.rf-side .hsr-filter-panel{ padding:0 16px 14px; }
.rf-side .hsr-checkbox-row{ font-size:14px; padding:6px 0; }
.rf-side .hsr-name-search-input{ font-size:13.5px; }
.rf-side .hsr-pill-filter{ font-size:13.5px; }
.rf-side .hsr-price-bounds span{ font-size:14.5px; }
.rf-promo-img{ height:136px; }
.rf-promo-body b{ font-size:16px; }

/* ---------- بعد از جستجو: محتوای صفحه‌ی اصلی (مزایا تا قبل از فوتر) نمایش داده نمی‌شود ---------- */
html.hsr-searched .home-main{ display:none; }

/* دکمه‌ی «مشاهده هتل‌های بیشتر» وقتی نتیجه‌ای باقی نمانده: دیده می‌شود ولی غیرفعال است */
.rf-more-btn{ cursor:pointer; }
.rf-more-btn:disabled{ opacity:.5; cursor:not-allowed; box-shadow:none; }
.rf-loadmore:has(.rf-more-btn:disabled) .rf-plane{ opacity:.4; }

/* ---------- امکانات هتل: ۱۰ مورد + نمایش بیشتر/کمتر ---------- */
.rf-side .hsr-filter-panel:not(.rf-expanded) .rf-extra{ display:none; }
.rf-toggle-more{
  display:block; margin:6px 0 0; padding:4px 0; border:0; background:none; font-size:13px; font-weight:700; color:#e9a400; cursor:pointer;
}
.rf-toggle-more:hover{ text-decoration:underline; }

/* ---------- ۵ امکان روی کارت ---------- */
.rf-amen{ gap:8px; flex-wrap:wrap; }
.rf-am{ min-width:46px; max-width:64px; }

/* ---------- عکس هم‌قد کارت (فاصله‌ی بالا و پایین یکسان) + دکمه کمی بالاتر ---------- */
.rf-photo{ align-self:stretch; aspect-ratio:auto; min-height:170px; }
.rf-buy{ padding-bottom:20px; }
@media (max-width:700px){ .rf-photo{ aspect-ratio:270/166; min-height:0; align-self:auto; } .rf-buy{ padding-bottom:0; } }

/* ---------- قیمت درشت‌تر + درصد تخفیف + آیکون‌های مربعی گرد با فاصله‌ی بیشتر ---------- */
.rf-old{ font-size:17px; }
.rf-now{ font-size:17px; margin-top:6px; }
.rf-per{ font-size:12px; margin-top:8px; }
.rf-per-off{ font-size:13px; font-weight:800; color:#e0338f; }
.rf-part{ font-size:12px; }
.rf-price{ padding:12px 6px 11px; }
.rf-amen{ gap:14px; }
.rf-am{ min-width:44px; max-width:60px; }
.rf-am i{ border-radius:11px; }

/* =========================================================================
   نمای گرید: ۳ کارت در هر ردیف؛ هر کارت تمام‌عکس است و از پایین یک گرادیانت مشکی
   برای خوانایی اطلاعات هتل دارد. فقط وقتی .hsr-list.grid فعال است؛ نمای لیستی دست‌نخورده می‌ماند.
   ========================================================================= */
.hsr-list.grid .rf-list{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:stretch; }
.hsr-list.grid .rf-card{
  position:relative; isolation:isolate; overflow:hidden; color:#2b2f38;
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto; gap:0; padding:0;
  min-height:480px; border:0; border-radius:24px; background:#fff;
  box-shadow:0 10px 30px rgba(30,36,48,.14);
  transition:transform .25s ease, box-shadow .25s ease;
}
.hsr-list.grid .rf-card:hover{ transform:translateY(-5px); box-shadow:0 22px 46px rgba(30,36,48,.24); }
.hsr-list.grid .rf-card.is-soldout{ opacity:1; filter:saturate(.55); }

/* عکس کل کارت را می‌پوشاند (بدون زوم روی hover) */
.hsr-list.grid .rf-photo{
  position:relative; grid-area:1/1; z-index:0; flex:none; width:auto; min-height:0; aspect-ratio:auto; align-self:stretch; border-radius:0;
  background-size:cover; background-position:center;
}
/* گرادیانت سفید از پایین کارت */
.hsr-list.grid .rf-photo::after{ /* عکس تا خط قیمت ادامه دارد؛ گرادیانت سفید به همان خط ختم می‌شود */
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.22) 0,rgba(0,0,0,0) 16%,rgba(255,255,255,0) 30%,rgba(255,255,255,.8) 58%,rgba(255,255,255,.95) 80%,#fff 100%);
}
.hsr-list.grid .rf-badge{ z-index:3; top:14px; right:14px; padding:5px 13px; font-size:11.5px; box-shadow:0 6px 14px rgba(0,0,0,.25); }
.hsr-list.grid .rf-fav{
  z-index:3; top:12px; left:12px; width:36px; height:36px; color:#fff;
  background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.35); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.hsr-list.grid .rf-fav:hover{ background:rgba(255,255,255,.3); }
.hsr-list.grid .rf-fav.on{ color:#ff4f8b; }
.hsr-list.grid .rf-photocount{
  z-index:3; top:17px; bottom:auto; left:58px; padding:4px 11px; font-size:11px;
  background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.3); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}

.hsr-list.grid .rf-body{ position:relative; grid-area:1/1; align-self:end; z-index:2; padding:0 20px 14px; min-width:0; }
.hsr-list.grid .rf-name{ font-size:19px; line-height:1.5; color:#2b2f38; }
.hsr-list.grid .rf-name a{ color:#2b2f38; }
.hsr-list.grid .rf-rating{ margin-top:6px; }
.hsr-list.grid .rf-stars span{ width:15px; height:14px; }
.hsr-list.grid .rf-stars span.off{ color:#d0d3da; }
.hsr-list.grid .rf-rating b{ padding:2px 8px; border-radius:8px; background:#dfe1e6; color:#2b2f38; font-size:12px; }
.hsr-list.grid .rf-loc{ margin-top:9px; font-size:12.5px; color:#4a5160; }
.hsr-list.grid .rf-loc svg{ color:#2b2f38; }
.hsr-list.grid .rf-badges{ margin-top:10px; gap:6px; }
.hsr-list.grid .rf-badges .hsr-badge{
  font-size:11px; padding:3px 10px; border-radius:20px; white-space:normal;
  background:#eaf8f2; color:#0f8f6a; border:1px solid #c9ecdd;
}
.hsr-list.grid .rf-amen{ margin-top:0; padding-top:14px; gap:8px; flex-wrap:nowrap; overflow:hidden; }
.hsr-list.grid .rf-am{ flex:1 1 0; min-width:0; max-width:none; gap:5px; font-size:10.5px; color:#4a5160; }
.hsr-list.grid .rf-am i{ width:38px; height:38px; border-radius:12px; background:#dfe1e6; border:1px solid #d0d3da; }
.hsr-list.grid .rf-am svg{ color:#2b2f38; }
.hsr-list.grid .rf-am span{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.hsr-list.grid .rf-buy{
  position:relative; z-index:2; flex:0 0 auto; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:12px;
  grid-area:2/1; margin:0; padding:14px 20px 20px; background:#fff; border-top:1px solid #ececf0;
}
.hsr-list.grid .rf-price{
  flex:1 1 auto; min-width:0; padding:0; background:transparent; border:0; border-radius:0;
  display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:flex-start; column-gap:10px; row-gap:2px; text-align:right;
}
.hsr-list.grid .rf-old{ flex:0 0 100%; order:1; font-size:17px; line-height:1.2; color:#8b909b; }
.hsr-list.grid .rf-now{ order:2; margin:0; font-size:21px; line-height:1.3; white-space:nowrap; color:#e9a400; }
.hsr-list.grid .rf-now small{ font-size:11.5px; font-weight:600; color:#4a5160; }
.hsr-list.grid .rf-per{ order:3; margin:0; font-size:11px; color:#4a5160; }
.hsr-list.grid .rf-per-off{
  order:3; display:inline-block; padding:2px 9px; border-radius:20px; font-size:11px; font-weight:800;
  background:#ffe8f4; color:#d6277f;
}
.hsr-list.grid .rf-part{ order:4; flex:0 0 100%; margin:2px 0 0; font-size:10.5px; color:#e9a400; }
.hsr-list.grid .rf-price-note{ display:block; font-size:12.5px; line-height:1.8; color:#2b2f38; }
.hsr-list.grid .rf-cta{
  box-sizing:border-box; flex:0 0 auto; width:100%; margin:0; height:46px; padding:0 20px; gap:10px; font-size:13.5px; border-radius:23px;
  box-shadow:0 8px 20px rgba(255,184,0,.45);
}
.hsr-list.grid .rf-cta svg{ width:10px; height:10px; }

@media (max-width:1180px){ .hsr-list.grid .rf-list{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:700px){
  .hsr-list.grid .rf-list{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .hsr-list.grid .rf-card{ min-height:400px; flex-direction:column; }
  .hsr-list.grid .rf-photo{ width:auto; }
}
@media (max-width:640px){
  .hsr-list.grid .rf-list{ grid-template-columns:1fr; }
  .hsr-list.grid .rf-card{ min-height:420px; }
}

/* نشان «تخفیف ویژه»: سبز مات (به‌جای صورتی) */
.rf-badge.rf-badge-pink{ background:#1f9d6e; color:#fff; box-shadow:none; }
.hsr-list.grid .rf-badge.rf-badge-pink{ box-shadow:none; }

/* نمای گرید: بلوک قیمت (بعد از خط) گرادیانت تیره‌ی ملایم — نه سیاه کامل */
.hsr-list.grid .rf-buy{ background:linear-gradient(180deg,#4a5160 0,#222b4a 55%,#161d36 100%); border-top:1px solid rgba(255,255,255,.14); }
.hsr-list.grid .rf-old{ color:rgba(255,255,255,.6); }
.hsr-list.grid .rf-now{ color:#fff; }
.hsr-list.grid .rf-now small{ color:rgba(255,255,255,.78); }
.hsr-list.grid .rf-per{ color:rgba(255,255,255,.72); }
.hsr-list.grid .rf-per-off{ background:rgba(255,255,255,.16); color:#fff; border:1px solid rgba(255,255,255,.28); }
.hsr-list.grid .rf-part{ color:#ffd27a; }
.hsr-list.grid .rf-price-note{ color:#fff; }

/* =========================================================================
   نمای گرید (نسخه‌ی نهایی رنگ‌ها): روی عکس گرادیانت تیره‌ی ملایم با متن سفید،
   بلوک قیمت زیر خط سفید. (معکوسِ نسخه‌ی قبلی)
   ========================================================================= */
.hsr-list.grid .rf-photo::after{
  background:linear-gradient(180deg,rgba(0,0,0,.2) 0,rgba(0,0,0,0) 16%,rgba(10,16,36,0) 32%,rgba(10,16,36,.55) 58%,rgba(10,16,36,.78) 100%);
}
.hsr-list.grid .rf-card{ background:#fff; color:#fff; }
.hsr-list.grid .rf-name, .hsr-list.grid .rf-name a{ color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.45); }
.hsr-list.grid .rf-stars span.off{ color:rgba(255,255,255,.35); }
.hsr-list.grid .rf-rating b{ background:rgba(255,255,255,.2); color:#fff; }
.hsr-list.grid .rf-loc{ color:rgba(255,255,255,.88); }
.hsr-list.grid .rf-loc svg{ color:#fff; }
.hsr-list.grid .rf-badges .hsr-badge{ background:rgba(255,255,255,.16); color:#fff; border:1px solid rgba(255,255,255,.3); }
.hsr-list.grid .rf-am{ color:rgba(255,255,255,.88); }
.hsr-list.grid .rf-am i{ background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.25); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.hsr-list.grid .rf-am svg{ color:#fff; }

.hsr-list.grid .rf-buy{ background:#fff; border-top:1px solid #ececf0; }
.hsr-list.grid .rf-old{ color:#8b909b; }
.hsr-list.grid .rf-now{ color:#e9a400; }
.hsr-list.grid .rf-now small{ color:#4a5160; }
.hsr-list.grid .rf-per{ color:#4a5160; }
.hsr-list.grid .rf-per-off{ background:#ffe8f4; color:#d6277f; border:0; }
.hsr-list.grid .rf-part{ color:#e9a400; }
.hsr-list.grid .rf-price-note{ color:#2b2f38; }

/* =========================================================================
   موبایل/تبلت (تا ۹۰۰px): کارت‌ها دقیقاً مثل نمای گرید نمایش داده می‌شوند
   (دکمه‌ی تغییر نما در موبایل مخفی است، پس نمای لیستی افقی اصلاً نیازی نیست).
   همان قاعده‌های گرید با انتخابگر .hsr-list (بدون .grid) تکرار شده‌اند.
   ========================================================================= */
@media (max-width:700px){
.hsr-list .rf-list{ display:grid; }
.hsr-list .rf-list{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:stretch; }
.hsr-list .rf-card{
  position:relative; isolation:isolate; overflow:hidden; color:#2b2f38;
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto; gap:0; padding:0;
  min-height:480px; border:0; border-radius:24px; background:#fff;
  box-shadow:0 10px 30px rgba(30,36,48,.14);
  transition:transform .25s ease, box-shadow .25s ease;
}
.hsr-list .rf-card:hover{ transform:translateY(-5px); box-shadow:0 22px 46px rgba(30,36,48,.24); }
.hsr-list .rf-card.is-soldout{ opacity:1; filter:saturate(.55); }
.hsr-list .rf-photo{
  position:relative; grid-area:1/1; z-index:0; flex:none; width:auto; min-height:0; aspect-ratio:auto; align-self:stretch; border-radius:0;
  background-size:cover; background-position:center;
}
.hsr-list .rf-photo::after{ /* عکس تا خط قیمت ادامه دارد؛ گرادیانت سفید به همان خط ختم می‌شود */
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.22) 0,rgba(0,0,0,0) 16%,rgba(255,255,255,0) 30%,rgba(255,255,255,.8) 58%,rgba(255,255,255,.95) 80%,#fff 100%);
}
.hsr-list .rf-badge{ z-index:3; top:14px; right:14px; padding:5px 13px; font-size:11.5px; box-shadow:0 6px 14px rgba(0,0,0,.25); }
.hsr-list .rf-fav{
  z-index:3; top:12px; left:12px; width:36px; height:36px; color:#fff;
  background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.35); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.hsr-list .rf-fav:hover{ background:rgba(255,255,255,.3); }
.hsr-list .rf-fav.on{ color:#ff4f8b; }
.hsr-list .rf-photocount{
  z-index:3; top:17px; bottom:auto; left:58px; padding:4px 11px; font-size:11px;
  background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.3); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.hsr-list .rf-body{ position:relative; grid-area:1/1; align-self:end; z-index:2; padding:0 20px 14px; min-width:0; }
.hsr-list .rf-name{ font-size:19px; line-height:1.5; color:#2b2f38; }
.hsr-list .rf-name a{ color:#2b2f38; }
.hsr-list .rf-rating{ margin-top:6px; }
.hsr-list .rf-stars span{ width:15px; height:14px; }
.hsr-list .rf-stars span.off{ color:#d0d3da; }
.hsr-list .rf-rating b{ padding:2px 8px; border-radius:8px; background:#dfe1e6; color:#2b2f38; font-size:12px; }
.hsr-list .rf-loc{ margin-top:9px; font-size:12.5px; color:#4a5160; }
.hsr-list .rf-loc svg{ color:#2b2f38; }
.hsr-list .rf-badges{ margin-top:10px; gap:6px; }
.hsr-list .rf-badges .hsr-badge{
  font-size:11px; padding:3px 10px; border-radius:20px; white-space:normal;
  background:#eaf8f2; color:#0f8f6a; border:1px solid #c9ecdd;
}
.hsr-list .rf-amen{ margin-top:0; padding-top:14px; gap:8px; flex-wrap:nowrap; overflow:hidden; }
.hsr-list .rf-am{ flex:1 1 0; min-width:0; max-width:none; gap:5px; font-size:10.5px; color:#4a5160; }
.hsr-list .rf-am i{ width:38px; height:38px; border-radius:12px; background:#dfe1e6; border:1px solid #d0d3da; }
.hsr-list .rf-am svg{ color:#2b2f38; }
.hsr-list .rf-am span{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hsr-list .rf-buy{
  position:relative; z-index:2; flex:0 0 auto; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:12px;
  grid-area:2/1; margin:0; padding:14px 20px 20px; background:#fff; border-top:1px solid #ececf0;
}
.hsr-list .rf-price{
  flex:1 1 auto; min-width:0; padding:0; background:transparent; border:0; border-radius:0;
  display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:flex-start; column-gap:10px; row-gap:2px; text-align:right;
}
.hsr-list .rf-old{ flex:0 0 100%; order:1; font-size:12px; line-height:1.2; color:#8b909b; }
.hsr-list .rf-now{ order:2; margin:0; font-size:21px; line-height:1.3; white-space:nowrap; color:#e9a400; }
.hsr-list .rf-now small{ font-size:11.5px; font-weight:600; color:#4a5160; }
.hsr-list .rf-per{ order:3; margin:0; font-size:11px; color:#4a5160; }
.hsr-list .rf-per-off{
  order:3; display:inline-block; padding:2px 9px; border-radius:20px; font-size:11px; font-weight:800;
  background:#ffe8f4; color:#d6277f;
}
.hsr-list .rf-part{ order:4; flex:0 0 100%; margin:2px 0 0; font-size:10.5px; color:#e9a400; }
.hsr-list .rf-price-note{ display:block; font-size:12.5px; line-height:1.8; color:#2b2f38; }
.hsr-list .rf-cta{
  box-sizing:border-box; flex:0 0 auto; width:100%; margin:0; height:46px; padding:0 20px; gap:10px; font-size:13.5px; border-radius:23px;
  box-shadow:0 8px 20px rgba(255,184,0,.45);
}
.hsr-list .rf-cta svg{ width:10px; height:10px; }
@media (max-width:1180px){ .hsr-list .rf-list{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:700px){
  .hsr-list .rf-list{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .hsr-list .rf-card{ min-height:400px; flex-direction:column; }
  .hsr-list .rf-photo{ width:auto; }
}
@media (max-width:640px){
  .hsr-list .rf-list{ grid-template-columns:1fr; }
  .hsr-list .rf-card{ min-height:420px; }
}
.hsr-list .rf-badge.rf-badge-pink{ box-shadow:none; }
.hsr-list .rf-buy{ background:linear-gradient(180deg,#4a5160 0,#222b4a 55%,#161d36 100%); border-top:1px solid rgba(255,255,255,.14); }
.hsr-list .rf-old{ color:rgba(255,255,255,.6); }
.hsr-list .rf-now{ color:#fff; }
.hsr-list .rf-now small{ color:rgba(255,255,255,.78); }
.hsr-list .rf-per{ color:rgba(255,255,255,.72); }
.hsr-list .rf-per-off{ background:rgba(255,255,255,.16); color:#fff; border:1px solid rgba(255,255,255,.28); }
.hsr-list .rf-part{ color:#ffd27a; }
.hsr-list .rf-price-note{ color:#fff; }
.hsr-list .rf-photo::after{
  background:linear-gradient(180deg,rgba(0,0,0,.2) 0,rgba(0,0,0,0) 16%,rgba(10,16,36,0) 32%,rgba(10,16,36,.55) 58%,rgba(10,16,36,.78) 100%);
}
.hsr-list .rf-card{ background:#fff; color:#fff; }
.hsr-list .rf-name, .hsr-list .rf-name a{ color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.45); }
.hsr-list .rf-stars span.off{ color:rgba(255,255,255,.35); }
.hsr-list .rf-rating b{ background:rgba(255,255,255,.2); color:#fff; }
.hsr-list .rf-loc{ color:rgba(255,255,255,.88); }
.hsr-list .rf-loc svg{ color:#fff; }
.hsr-list .rf-badges .hsr-badge{ background:rgba(255,255,255,.16); color:#fff; border:1px solid rgba(255,255,255,.3); }
.hsr-list .rf-am{ color:rgba(255,255,255,.88); }
.hsr-list .rf-am i{ background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.25); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.hsr-list .rf-am svg{ color:#fff; }
.hsr-list .rf-buy{ background:#fff; border-top:1px solid #ececf0; }
.hsr-list .rf-old{ color:#8b909b; }
.hsr-list .rf-now{ color:#e9a400; }
.hsr-list .rf-now small{ color:#4a5160; }
.hsr-list .rf-per{ color:#4a5160; }
.hsr-list .rf-per-off{ background:#ffe8f4; color:#d6277f; border:0; }
.hsr-list .rf-part{ color:#e9a400; }
.hsr-list .rf-price-note{ color:#2b2f38; }
}

/* =========================================================================
   موبایل (≤۷۰۰px): کارت نتیجه مثل اپ مرجع — کارت سفید، عکس گرد بالا،
   ردیف ۱: نام | قیمت، ردیف ۲: آدرس | ستاره/امتیاز. بدون گرادیانت، امکانات و دکمه.
   انتخابگرها با .featured-hotels شروع می‌شوند تا بر قاعده‌های بالا (تا ۹۰۰px) غلبه کنند.
   ========================================================================= */
@media (max-width:700px){
  .featured-hotels:has(.hsr-layout){ background:#f5f6fa; padding:18px 14px 30px; }
  .featured-hotels .hsr-toolbar .hsr-head{ font-size:19px; font-weight:900; color:#111827; }
  .featured-hotels .hsr-list .rf-list{ grid-template-columns:1fr; gap:14px; }
  .featured-hotels .hsr-list .rf-card{
    display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto auto; column-gap:10px; row-gap:6px;
    padding:8px 8px 14px; min-height:0; border-radius:22px; background:#fff; color:#111827; overflow:hidden;
    box-shadow:0 2px 14px rgba(20,30,70,.06); filter:none; transform:none;
  }
  .featured-hotels .hsr-list .rf-card:hover{ transform:none; box-shadow:0 2px 14px rgba(20,30,70,.06); }
  .featured-hotels .hsr-list .rf-card.is-soldout{ filter:saturate(.6); }
  .featured-hotels .hsr-list .rf-photo{
    grid-column:1 / -1; grid-row:1; aspect-ratio:16/10.5; min-height:0; align-self:auto; border-radius:16px; margin-bottom:6px;
  }
  .featured-hotels .hsr-list .rf-photo::after{ display:none; }
  .featured-hotels .hsr-list .rf-photocount{ display:none; }
  .featured-hotels .hsr-list .rf-badge{ top:10px; right:10px; font-size:10.5px; padding:3px 10px; box-shadow:none; }
  .featured-hotels .hsr-list .rf-fav{ top:10px; left:10px; width:34px; height:34px; background:rgba(255,255,255,.9); color:#111827; border:0; backdrop-filter:none; }
  .featured-hotels .hsr-list .rf-fav.on{ color:#ff4f8b; }
  /* محتوای کارت مستقیم در گریدِ کارت قرار می‌گیرد */
  .featured-hotels .hsr-list .rf-body, .featured-hotels .hsr-list .rf-buy{ display:contents; }
  .featured-hotels .hsr-list .rf-name{ grid-column:1; grid-row:2; margin:0; padding:0 8px; font-size:17px; font-weight:700; line-height:1.5; color:#111827; text-shadow:none; }
  .featured-hotels .hsr-list .rf-name a{ color:#111827; text-shadow:none; }
  .featured-hotels .hsr-list .rf-price{
    grid-column:2; grid-row:2; justify-self:end; align-self:center; flex-direction:row; flex-wrap:nowrap; align-items:baseline; gap:4px;
    padding:0 8px 0 0; margin:0; background:transparent; border:0; text-align:left;
  }
  .featured-hotels .hsr-list .rf-old, .featured-hotels .hsr-list .rf-part, .featured-hotels .hsr-list .rf-per-off{ display:none; }
  .featured-hotels .hsr-list .rf-now{ margin:0; font-size:16px; font-weight:800; color:#111827; white-space:nowrap; }
  .featured-hotels .hsr-list .rf-now small{ font-size:11px; font-weight:500; color:#9aa3b5; }
  .featured-hotels .hsr-list .rf-per{ margin:0; font-size:11px; color:#9aa3b5; white-space:nowrap; }
  .featured-hotels .hsr-list .rf-price-note{ font-size:12px; font-weight:700; color:#6b7280; }
  .featured-hotels .hsr-list .rf-loc{ grid-column:1; grid-row:3; margin:0; padding:0 8px; font-size:12.5px; color:#9aa3b5; }
  .featured-hotels .hsr-list .rf-loc svg{ width:16px; height:16px; color:#6b7280; }
  .featured-hotels .hsr-list .rf-rating{ grid-column:2; grid-row:3; justify-self:end; margin:0; padding:0 8px 0 0; gap:5px; }
  .featured-hotels .hsr-list .rf-stars span{ width:12px; height:11px; }
  .featured-hotels .hsr-list .rf-stars span.off{ color:#d0d3da; }
  .featured-hotels .hsr-list .rf-rating b{ padding:0; background:none; color:#6b7280; font-size:12.5px; font-weight:600; }
  .featured-hotels .hsr-list .rf-badges, .featured-hotels .hsr-list .rf-amen, .featured-hotels .hsr-list .rf-cta{ display:none; }
}

/* =====================================================================
   شیت فیلتر شناور (موبایل/تبلت) — دکمه‌ی شناور + شیت پایین‌صفحه
   ===================================================================== */
.hsr-fab, .hsr-fsheet-backdrop, .hsr-fsheet-head, .hsr-fsheet-foot{ display:none; }
.hsr-fsheet-body{ display:contents; }
.hsr-filter-dropdown[data-group="sort"]{ display:none; }


@media (max-width:700px){
  /* فیلترها فقط داخل شیت؛ نوار کپسولی قدیمی فقط «مرتب‌سازی» را نگه می‌دارد */
  #hsrMobileFacilitiesOpen, #hsrMobileStarOpen, #hsrMobilePriceOpen{ display:none !important; }
  .rf-side{ display:none; }
  .hsr-mobile-controls{ display:none !important; }   /* مرتب‌سازی هم داخل شیت فیلتر است */
  body.hsr-fsheet-open .rf-side .hsr-filter-dropdown[data-group="sort"]{ display:block; }
  body.hsr-fsheet-open .rf-side .hsr-sort-chip{ font:600 13.5px 'Vazirmatn',system-ui,sans-serif; padding:9px 14px; border-radius:999px; border:1px solid #edf0f4; background:#fff; color:#222; cursor:pointer; width:auto; text-align:center; }
  body.hsr-fsheet-open .rf-side .hsr-sort-chip.active{ background:#ffb800; border-color:#ffb800; color:#222; font-weight:800; }
  body.hsr-fsheet-open .rf-side .hsr-pill-filter.active, body.hsr-fsheet-open .rf-side .hsr-pill-filter[aria-pressed="true"]{ background:#fff4d6; border-color:#ffb800; color:#222; }
  body.hsr-fsheet-open .rf-side .hsr-checkbox-row input[type="checkbox"]:checked{ background-color:#ffb800; border-color:#ffb800; }
  body.hsr-fsheet-open .rf-side{ accent-color:#f5a500; }

  .hsr-fab{
    display:grid; place-items:center; position:fixed; left:16px; bottom:calc(88px + env(safe-area-inset-bottom,0px)); z-index:45;
    width:58px; height:58px; padding:0; border:0; border-radius:50%; cursor:pointer; color:#222;
    background:#ffb800;
    box-shadow:0 10px 26px rgba(245,165,0,.45), inset 0 1px 0 rgba(255,255,255,.35);
    transition:transform .18s ease, box-shadow .18s ease;
    -webkit-tap-highlight-color:transparent;
  }
  .hsr-fab:active{ transform:scale(.92); }
  .hsr-fab svg{ width:26px; height:26px; }
  .hsr-fab-badge{
    position:absolute; top:-3px; right:-3px; min-width:21px; height:21px; padding:0 5px; box-sizing:border-box; border-radius:999px;
    background:#ff4f6d; color:#fff; font:800 11.5px/21px 'Vazirmatn',system-ui,sans-serif; font-style:normal; text-align:center; box-shadow:0 0 0 2.5px #fff;
  }
  .hsr-fab-badge[hidden]{ display:none; }
  body.mq-edit .hsr-fab, body.hsr-fsheet-open .hsr-fab,
  body:has(.popover.open) .hsr-fab, body:has(.pax-popover.open) .hsr-fab{ display:none; }

  .hsr-fsheet-backdrop{
    display:block; position:fixed; inset:0; z-index:255; background:rgba(12,22,50,.45);
    opacity:0; pointer-events:none; transition:opacity .25s ease;
  }
  body.hsr-fsheet-open .hsr-fsheet-backdrop{ opacity:1; pointer-events:auto; }

  body.hsr-fsheet-open .rf-side{
    display:flex; flex-direction:column; gap:0; position:fixed; left:0; right:0; bottom:0; top:auto; width:auto; z-index:260;
    height:min(86vh,720px); background:#fff; border-radius:26px 26px 0 0; overflow:hidden;
    box-shadow:0 -12px 40px rgba(12,22,50,.28);
    animation:hsrSheetUp .28s cubic-bezier(.2,.8,.2,1);
  }
  @keyframes hsrSheetUp{ from{ transform:translateY(40px); opacity:.6; } to{ transform:none; opacity:1; } }

  body.hsr-fsheet-open .hsr-fsheet-head{
    display:flex; align-items:center; justify-content:space-between; flex:0 0 auto; position:relative; padding:22px 18px 12px;
  }
  .hsr-fsheet-grab{ position:absolute; top:8px; left:50%; width:40px; height:4.5px; margin-left:-20px; border-radius:3px; background:#d0d3da; }
  .hsr-fsheet-title{ display:flex; align-items:center; gap:9px; font-size:17px; font-weight:900; color:#0c2040; }
  .hsr-fsheet-title svg{ width:22px; height:22px; color:#f5a500; }
  .hsr-fsheet-close{ width:36px; height:36px; display:grid; place-items:center; border:0; border-radius:50%; background:#f1f3f8; color:#4a5160; cursor:pointer; }
  .hsr-fsheet-close svg{ width:18px; height:18px; }

  body.hsr-fsheet-open .hsr-fsheet-body{
    display:block; flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 14px 14px; -webkit-overflow-scrolling:touch;
  }
  body.hsr-fsheet-open .rf-side .hsr-filters{
    display:block; border:0; box-shadow:none; border-radius:0; background:transparent; overflow:visible; width:100%; padding:0; flex:none;
  }
  body.hsr-fsheet-open .rf-side .hsr-filters-head{ display:none; }
  body.hsr-fsheet-open .rf-side .rf-promo{ display:none; }

  /* هر گروه یک کارت نرم */
  body.hsr-fsheet-open .rf-side .hsr-filter-dropdown{
    margin:0 0 12px; border:1px solid #ececf0 !important; border-radius:18px; background:#fff; box-shadow:0 1px 0 rgba(12,22,50,.03);
  }
  body.hsr-fsheet-open .rf-side .hsr-filter-toggle{ padding:16px 16px 10px; font-size:14.5px; font-weight:800; color:#0c2040; }
  body.hsr-fsheet-open .rf-side .hsr-filter-toggle .hsr-chevron{ display:block; }
  body.hsr-fsheet-open .rf-side .hsr-filter-count{ font-size:11px; min-width:20px; height:20px; line-height:20px; }
  body.hsr-fsheet-open .rf-side .hsr-filter-panel{ padding:0 16px 14px; }
  body.hsr-fsheet-open .rf-side .hsr-checkbox-row{ font-size:14px; padding:10px 0; gap:12px; font-weight:500; }
  body.hsr-fsheet-open .rf-side .hsr-checkbox-row input[type="checkbox"]{ width:21px; height:21px; border-radius:7px; }
  body.hsr-fsheet-open .rf-side .hsr-pill-filter-row{ display:flex; flex-wrap:wrap; gap:8px; }
  body.hsr-fsheet-open .rf-side .hsr-pill-filter{ font-size:13.5px; padding:9px 14px; border-radius:999px; }
  body.hsr-fsheet-open .rf-side .hsr-name-search-input{ height:46px; font-size:14px; border-radius:14px; }
  body.hsr-fsheet-open .rf-side .rf-toggle-more{ font-size:13.5px; padding:8px 0; }

  body.hsr-fsheet-open .hsr-fsheet-foot{
    display:flex; align-items:center; gap:10px; flex:0 0 auto; padding:12px 16px calc(14px + env(safe-area-inset-bottom,0px));
    background:rgba(255,255,255,.96); border-top:1px solid #ececf0;
  }
  .hsr-fsheet-clear{ flex:0 0 auto; height:50px; padding:0 18px; border:1px solid #dfe1e6; border-radius:16px; background:#fff; color:#4a5160; font:700 14px 'Vazirmatn',system-ui,sans-serif; cursor:pointer; }
  .hsr-fsheet-apply{
    flex:1 1 auto; height:50px; border:0; border-radius:16px; color:#222; font:800 15px 'Vazirmatn',system-ui,sans-serif; cursor:pointer;
    background:#ffb800; box-shadow:0 8px 20px rgba(245,165,0,.38);
  }
  .hsr-fsheet-apply b{ font-weight:900; margin:0 2px; }
}

/* ===== دکمه‌ی «مشاهده جزئیات هتل»: دقیقاً مثل دکمه‌ی جستجوی صفحه‌ی اصلی ===== */
.rf-cta, .hsr-list .rf-cta, .hsr-list.grid .rf-cta{
  background:linear-gradient(135deg,#ffd23f,#ffb800); color:#1f2430; font-weight:800; border:0; border-radius:8px;
  box-shadow:0 12px 24px rgba(30,36,48,.10);
}
.rf-cta:hover, .hsr-list .rf-cta:hover, .hsr-list.grid .rf-cta:hover{ background:linear-gradient(135deg,#ffc928,#f5a900); color:#1f2430; }
.rf-cta svg{ color:#1f2430; }

/* =========================================================================
   قیمت و تخفیفِ کاشی هتل در نتایج جستجو: درشت‌تر و پررنگ‌تر
   (انتخابگرها هم‌وزنِ قاعده‌های قبلی‌اند و چون آخر فایل‌اند برنده می‌شوند؛
   چیدمان فشرده‌ی موبایلِ صفحه‌ی اصلی با .featured-hotels دست‌نخورده می‌ماند)
   ========================================================================= */
.hsr-list .rf-old, .hsr-list.grid .rf-old{ font-size:16px; font-weight:600; color:#7a808d; }
.hsr-list .rf-now, .hsr-list.grid .rf-now{ font-weight:800; color:#0c2040; }
.hsr-list .rf-now small, .hsr-list.grid .rf-now small{ font-weight:700; color:#4a5160; }
.hsr-list .rf-per, .hsr-list.grid .rf-per{ font-size:12.5px; font-weight:600; color:#2b2f38; }
.hsr-list .rf-per-off, .hsr-list.grid .rf-per-off{
  padding:4px 11px; border-radius:6px; font-size:14px; font-weight:800; line-height:1.3;
  background:#1f9d6e; color:#fff; border:0; box-shadow:none;
}
.hsr-list .rf-part, .hsr-list.grid .rf-part{ font-size:12px; font-weight:700; }
@media (max-width:640px){
  .hsr-list .rf-per-off, .hsr-list.grid .rf-per-off{ font-size:13px; padding:3px 10px; }
}

/* دکمه‌ی «پاک کردن همه» در فیلترها: متن مشکی روی پس‌زمینه‌ی سفید */
.hsr-filters-clear, .rf-side .hsr-filters-clear{
  background:#fff; color:#000; font-weight:700; padding:5px 12px; border:1px solid #d0d3da; border-radius:999px; cursor:pointer;
  font-family:inherit; line-height:1.4;
}
.hsr-filters-clear:hover, .rf-side .hsr-filters-clear:hover{ background:#fff; color:#000; border-color:#000; text-decoration:none; }
.rf-side .hsr-filters-clear{ font-size:12.5px; }

/* نشانِ «تخفیف ویژه» روی کاشی: رنگِ رسمیِ نشان‌ها (#c8102e) */
.rf-badge.rf-badge-pink, .hsr-list .rf-badge.rf-badge-pink, .hsr-list.grid .rf-badge.rf-badge-pink{ background:#c8102e; color:#fff; box-shadow:none; border-radius:6px; padding:4px 11px; }
