/**
 * استایل صفحه‌ی جزئیات هتل (/hotel/{id}/{slug}) — از متغیرهای CSS
 * تعریف‌شده در style.css اصلی سایت استفاده می‌کند، پس style.css باید
 * همیشه قبل از این فایل لود شود.
 */
.htl-wrap{
  max-width: var(--site-max);
  margin: 24px auto 60px;
  padding: 0 var(--site-pad);
}
/* ===== مسیر صفحه (breadcrumb) ===== */
.htl-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:15px;
  color:var(--gray-500);
  margin-bottom:14px;
}
.htl-breadcrumb a{ color:var(--gray-500); }
.htl-breadcrumb a:hover{ color:#4a4a4a; }
.htl-breadcrumb span:last-child{ color:var(--gray-900); font-weight:600; }
/* ===== گالری تصاویر ===== */
.htl-gallery{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap:8px;
  height:340px;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:20px;
}
.htl-gallery-item{
  background-color: var(--gray-100);
  background-size:cover;
  background-position:center;
  position:relative;
}
.htl-gallery-main{
  grid-row: 1 / 3;
}
.htl-gallery-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gray-500);
  font-size:15px;
}
.htl-gallery-more{
  position:absolute;
  inset:0;
  background:rgba(20,20,20,.55);
  color:#fff;
  border:none;
  font-family:inherit;
  font-size:24px;
  font-weight:700;
  cursor:pointer;
}
@media (max-width:800px){
.htl-gallery{
    grid-template-columns: 1fr 1fr;
    height:220px;
  }
}
/* ===== لایت‌باکس گالری ===== */
.htl-lightbox{
  position:fixed;
  inset:0;
  z-index:300;
  background:rgba(10,10,10,.92);
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease, visibility .18s ease;
  overflow-y:auto;
  padding:70px 20px 40px;
}
.htl-lightbox.open{ opacity:1; visibility:visible; }
.htl-lightbox-close{
  position:fixed;
  top:16px; left:16px;
  width:40px;height:40px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.15);
  color:#fff;
  font-size:20px;
  cursor:pointer;
}
.htl-lightbox-grid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}
.htl-lightbox-img{
  aspect-ratio:4/3;
  background-color:#222;
  background-size:cover;
  background-position:center;
  border-radius:8px;
}
.htl-lightbox-tabs{
  max-width:1100px;
  margin:0 auto 16px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}
.htl-lightbox-tab{
  border:1px solid rgba(255,255,255,.25);
  background:transparent;
  color:rgba(255,255,255,.75);
  font-family:inherit;
  font-size:13.5px;
  font-weight:600;
  padding:6px 14px;
  border-radius:20px;
  cursor:pointer;
}
.htl-lightbox-tab.active{ background:#fff; color:#111; border-color:#fff; }
.htl-lightbox-group{ display:none; }
.htl-lightbox-group.active{ display:block; }
.htl-lightbox-group-title{
  max-width:1100px;
  margin:0 auto 10px;
  color:#fff;
  font-size:15px;
  font-weight:700;
}
@media (max-width:700px){
.htl-lightbox-grid{ grid-template-columns:repeat(2, 1fr); }
}
/* ===== تب‌های ناوبری ===== */
.htl-tabs{
  display:flex;
  gap:6px;
  border-bottom:1px solid var(--gray-300);
  margin-bottom:24px;
  overflow-x:auto;
}
.htl-tab{
  flex:0 0 auto;
  padding:12px 16px;
  font-size:16px;
  font-weight:600;
  color:var(--gray-500);
  border-bottom:2.5px solid transparent;
  white-space:nowrap;
}
.htl-tab.active, .htl-tab:hover{
  color:#4a4a4a;
  border-bottom-color:#f5a500;
}
/* ===== سربرگ هتل ===== */
.htl-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.htl-head-title h1{
  font-size:23px;
  margin:0 0 6px;
  color:var(--gray-900);
}
.htl-rate{
  color:var(--yellow-dark);
  font-size:16px;
  letter-spacing:1px;
  margin-bottom:6px;
}
.htl-rate span{
  margin-right:6px;
  color:var(--gray-500);
  font-size:14.5px;
  letter-spacing:normal;
}
.htl-capacity-warning{
  display:inline-block;
  margin-bottom:6px;
}
.htl-address{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:15px;
  color:var(--gray-500);
}
.htl-address svg{ width:15px; height:15px; flex:0 0 auto; }
.htl-map-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1.5px solid #f5a500;
  color:#4a4a4a;
  font-size:15.5px;
  font-weight:700;
  padding:10px 16px;
  border-radius:10px;
  white-space:nowrap;
}
.htl-map-btn:hover{ background:#f2f2f2; }
.htl-map-btn svg{ width:16px; height:16px; }
/* ===== باکس تاریخ/مسافران و دکمه‌ی «بروزرسانی» =====
   این بخش دیگر داخل بدنه‌ی این صفحه نیست — به منوی بالای سایت
   (partials/header.php) منتقل شده تا در همه‌جای صفحه‌ی هتل در دسترس
   باشد؛ استایل کامل آن (اندازه‌ی جمع‌وجور در دسکتاپ + رفتار شیت در
   موبایل) در style.css است، چون header.php مشترک کل سایت است. اینجا
   فقط ظاهر خودِ دکمه‌ی زرد «بروزرسانی» مانده (کلاسش با همان نام قبلی،
   htl-dates-update-btn، در header.php استفاده شده) تا رنگ/فونتش با
   بقیه‌ی صفحه‌ی هتل هماهنگ بماند. */
.htl-dates-update-btn{
  border:none;
  background:var(--yellow);
  color:var(--gray-900);
  font-family:inherit;
  font-weight:700;
  cursor:pointer;
}
.htl-dates-update-btn:hover{ background:var(--yellow-dark); }
/* ===== بخش‌های عمومی ===== */
.htl-section{ margin-bottom:28px; }
.htl-section h2{
  font-size:18.5px;
  color:var(--gray-900);
  margin:0 0 14px;
}
.htl-desc{
  font-size:16px;
  line-height:2;
  color:var(--gray-700);
  margin:0;
}
.htl-empty-note{
  font-size:15.5px;
  color:var(--gray-500);
  background:var(--gray-100);
  border-radius:10px;
  padding:16px;
  text-align:center;
}
/* ===== امکانات هتل ===== */
.htl-facilities-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px 20px;
}
.htl-facility{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:15.5px;
  color:var(--gray-700);
}
.htl-facility svg{
  width:17px;height:17px;
  flex:0 0 auto;
  color:#1c9a56;
}
@media (max-width:700px){
.htl-facilities-grid{ grid-template-columns:repeat(2, 1fr); }
}
/* ===== بج‌های سیاست هتل (استعمال دخانیات/حیوان خانگی/ترانسفر) — از داده‌ی
   detail=1 در پاسخ searchHotel (smoking/petsAllow/transfer) ساخته می‌شوند؛
   رنگ‌ها همان کلاس‌های htl-badge-* موجود (برای بج «زمان ورود/خروج
   انعطاف‌پذیر» روی کارت اتاق) هستند تا هم‌شکل بمانند. ===== */
.htl-policies{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:28px;
}
/* ===== بنر ساعت ورود/خروج ===== */
.htl-checkinfo-banner{
  background:#fef2d9;
  border:1px solid #f5e6a8;
  color:#8a6d1a;
  font-size:15px;
  line-height:1.9;
  border-radius:10px;
  padding:14px 16px;
  margin-bottom:28px;
}
/* ===== چیدمان دوستونه‌ی بخش «انتخاب اتاق»: لیست اتاق‌ها (۳ از ۴ عرض) +
   ستون خلاصه‌ی رزرو (۱ از ۴ عرض، چسبان) — مثل alibaba.ir. محتوای ستون
   خلاصه (تاریخ‌ها ایستا از PHP، لیست اتاق‌ها/جمع‌مبلغ/دکمه زنده از
   resvState همان مودال — به syncRoomsSidebar در hotel.js نگاه کنید) ===== */
.htl-rooms-layout{
  display:flex;
  align-items:flex-start;
  gap:20px;
}
.htl-rooms-main{ flex:1 1 75%; min-width:0; }
.htl-rooms-sidebar{
  flex:0 0 25%;
  max-width:25%;
  position:sticky;
  top:16px;
}
.htl-rooms-sidebar-inner{
  display:flex;
  flex-direction:column;
  gap:14px;
  background:var(--white);
  border:1px solid #e5e5e5;
  border-radius:12px;
  padding:18px;
  box-shadow: none;
}
.htl-rooms-sidebar-dates{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
}
.htl-rooms-sidebar-date{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.htl-rooms-sidebar-date:last-child{ align-items:flex-end; text-align:end; }
.htl-rooms-sidebar-date-label{ font-size:12px; color:var(--gray-500); }
.htl-rooms-sidebar-date-value{ font-size:14px; font-weight:700; color:var(--gray-900); white-space:nowrap; }
.htl-rooms-sidebar-dates-arrow{ width:18px; height:18px; color:var(--gray-300); flex:none; }
.htl-rooms-sidebar-nights{
  font-size:13px;
  font-weight:600;
  color:var(--gray-600);
  text-align:center;
  padding-top:12px;
  border-top:1px dashed #e5e5e5;
}
.htl-rooms-sidebar-rooms{ display:flex; flex-direction:column; gap:8px; }
.htl-rooms-sidebar-empty{ font-size:13px; color:var(--gray-500); text-align:center; padding:6px 0; }
.htl-rooms-sidebar-room{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:13px;
  padding:10px 12px;
  border:1px solid #e5e5e5;
  border-radius:9px;
  background:#fafafa;
  cursor:pointer;
}
.htl-rooms-sidebar-room-title{
  font-weight:600;
  color:var(--gray-900);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.htl-rooms-sidebar-room-status{
  flex:none;
  font-size:11px;
  font-weight:700;
  padding:2px 8px;
  border-radius:10px;
  white-space:nowrap;
}
.htl-rooms-sidebar-room-status.is-confirmed{ background:#ccf4dc; color:#0d542b; }
.htl-rooms-sidebar-room-status.is-pending{ background:#fef3c7; color:#92400e; }
.htl-rooms-sidebar-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:12px;
  border-top:1px solid #e5e5e5;
  font-size:13.5px;
}
.htl-rooms-sidebar-total-label{ color:var(--gray-600); }
.htl-rooms-sidebar-total-val{ font-weight:800; font-size:17px; color:var(--gray-900); }
.htl-rooms-sidebar-submit{
  height:48px;
  border:none;
  border-radius:10px;
  background:#f5a500;
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}
.htl-rooms-sidebar-submit:disabled{ background:var(--gray-300); color:var(--gray-500); cursor:not-allowed; }
.htl-rooms-sidebar-warning{
  background:#fff7ed;
  border:1px solid #fcd9a8;
  color:#9a5b12;
  font-size:12.5px;
  font-weight:600;
  text-align:center;
  border-radius:9px;
  padding:8px 10px;
}
.htl-rooms-sidebar-notice{
  font-size:12.5px;
  color:#0d542b;
  background:#f0fdfa;
  border:1px solid #ccf4dc;
  border-radius:9px;
  padding:8px 10px;
  text-align:center;
}
.htl-rooms-sidebar-notice.is-error{ color:#c0292f; background:#fdf2f2; border-color:#f6c9c9; }
@media (max-width:960px){
.htl-rooms-layout{ flex-direction:column; }
.htl-rooms-sidebar{ position:static; width:100%; max-width:100%; flex-basis:auto; }
}
/* ===== کارت اتاق — فرمت مطابق نمونه‌ی هتل‌یار: بدنه (عنوان/توضیح/بج‌ها)
   سمت راست، پنلِ قیمت+دکمه (تخفیف/شب/قیمت/«انتخاب اتاق») سمت چپ، به‌همراه
   آیکون کنار بج‌های تخت/نفر اضافه/صبحانه/... (روم‌آیکون‌ها از تابع
   roomIcon() در hotel.php می‌آیند و رنگشان از currentColor است) ===== */
.htl-rooms-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.htl-room-card{
  position:relative;
  display:flex;
  align-items:stretch;
  gap:0;
  background:var(--white);
  border:1px solid #e5e5e5;
  border-radius:8px;
  padding:0;
  overflow:hidden;
  flex-wrap:wrap;
}
.htl-room-soldout{ opacity:.6; }
.htl-room-thumb{
  flex:0 0 140px;
  min-height:120px;
  align-self:stretch;
}
.htl-room-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media (max-width:560px){
.htl-room-thumb{ flex:0 0 100%; height:140px; min-height:0; }
}
.htl-room-icon{ flex:0 0 auto; }
/* اندازه‌ها از روی نمونه‌ی هتل‌یار «اندازه‌گیری» شده‌اند (تصویر نمونه با زوم
   ~۱۳۳٪ گرفته شده؛ اعداد اینجا معادل ۱۰۰٪ هستند): عنوان ۲۰٫۵px، متن‌ها
   ۱۶px، بج ۳۶px ارتفاع، قیمت ۲۲٫۵px، پنل قیمت ≈۲۶۰px */
.htl-room-body{
  flex:1 1 320px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
  justify-content:flex-start;
  padding:18px 20px;
}
.htl-room-title{ font-size:20.5px; font-weight:700; color:#222; line-height:1.5; margin-bottom:12px; }
.htl-room-title-qty{ font-size:14.5px; font-weight:600; color:var(--gray-600); }
.htl-room-desc{ font-size:16px; line-height:1.5; color:#222; }
/* آیکن تخت مثل نمونه «قبل» از متن (سمت راست در RTL) */
.htl-room-capacity{
  display:inline-flex;
  flex-direction:row-reverse;
  align-items:center;
  gap:8px;
  font-size:16px;
  line-height:1.5;
  color:#222;
  width:fit-content;
}
.htl-room-capacity .htl-room-icon{ width:22px; height:22px; }
.htl-room-quantity-low{ color:#b45309; }
.htl-room-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-top:auto; padding-top:14px; }
/* بج‌ها مثل نمونه: مستطیل گردگوشه، آیکن «قبل» از متن (سمت راست در RTL) */
.htl-room-badges .htl-badge{
  flex-direction:row-reverse;
  gap:6px;
  font-size:16px;
  font-weight:400;
  line-height:1.5;
  padding:6px 14px;
  border-radius:6px;
}
.htl-room-badges .htl-badge .htl-room-icon{ width:20px; height:20px; }
.htl-room-badges .htl-badge-dark{ font-weight:700; }
/* پنلِ قیمت — بلوکِ سمتِ چپِ کارت (تخفیف/شب/قیمتِ قبل/قیمتِ نهایی/دکمه) */
.htl-room-price-panel{
  flex:0 0 clamp(220px, 26%, 260px);
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  gap:14px;
  padding:19px;
  border-inline-start:1px solid #e5e7eb; /* جداکننده‌ی تمام‌قد بین بدنه و پنل قیمت */
}
/* تخفیف کنار قیمت اصلی (خط‌خورده) در همان ردیفِ «N شب» — دیگر ردیف
   جدای خودش را در بالای پنل نمی‌گیرد. */
.htl-room-old-price-wrap{ display:flex; align-items:center; gap:6px; }
.htl-room-discount-inline{
  background:#f0fdfa;
  color:#00786f;
  font-size:12.5px;
  font-weight:600;
  padding:2px 8px;
  border-radius:6px;
  white-space:nowrap;
}
.htl-room-price-col{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.htl-room-price-sub-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
/* «N شب» راست، قیمت قبل از تخفیف چپ (order فقط دیداری است) */
.htl-room-nights{ order:-1; font-size:14px; color:#4a4a4a; white-space:nowrap; }
.htl-room-old-price{
  font-size:16px;
  color:#4a4a4a;
  text-decoration:line-through;
}
/* عدد درشت و پررنگ، «تومان» ریز و خاکستری؛ span.htl-room-price-amount همان
   است که جاوااسکریپت (قیمت مسافر خارجی) مقدارش را عوض می‌کند */
.htl-room-price{ align-self:flex-end; font-size:16px; font-weight:400; color:#4a4a4a; }
.htl-room-price .htl-room-price-amount{ font-size:22.5px; font-weight:700; color:#222; }
.htl-room-soldout-badge{
  align-self:flex-start;
  font-size:14.5px;
  font-weight:600;
  color:var(--gray-500);
  background:var(--gray-100);
  padding:6px 10px;
  border-radius:8px;
  width:fit-content;
}
@media (max-width:640px){
.htl-room-body{ padding:16px; }
.htl-room-title{ font-size:18px; margin-bottom:8px; }
.htl-room-badges .htl-badge{ padding:5px 10px; font-size:14px; }
.htl-room-price-panel{
    flex:1 1 100%;
    padding:16px;
    border-inline-start:0;
    border-top:1px solid #e5e7eb;
  }
}
/* .htl-earlylate-check همچنان لازم است — مودال تایید رزرو (htlResvEarlyLate
   در hotel.js) از همین کلاس برای چک‌باکس‌های واقعی ورود زودتر/خروج دیرتر
   استفاده می‌کند؛ فقط رَپِر مخصوص کارت اتاق (htl-room-earlylate) حذف شد
   چون آن چک‌باکس‌ها دیگر روی کارت نیستند، فقط یک بج ساده (htl-badge-dark). */
.htl-room-price-amount{ transition: color .15s ease; }
/* ===== اتاق با شرایط ویژه (package) — یعنی این تاریخ قابل رزرو نیست ولی */
/* واقعا "تکمیل‌ظرفیت" هم نیست؛ رنگ کهربایی برای تمایز از قرمز/خاکستری soldout */
.htl-room-package{ border-color:#f0d58a; background:#fffdf5; }
.htl-room-package-badge{
  align-self:flex-start;
  font-size:14px;
  font-weight:700;
  color:#8a6d1a;
  background:#fff3cd;
  padding:6px 12px;
  border-radius:8px;
  white-space:nowrap;
}
.htl-room-package-note{
  margin-top:8px;
  font-size:14.5px;
  color:#8a6d1a;
  background:#fef2d9;
  border:1px solid #f5e6a8;
  border-radius:10px;
  padding:10px 12px;
}
.htl-room-package-note p{ margin:0; line-height:1.9; }
.htl-room-package-offers{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}
.htl-room-package-offers-label{ font-size:13.5px; color:var(--gray-500); }
.htl-room-package-offer{
  font-size:14px;
  font-weight:600;
  font-family:inherit;
  color:#4a4a4a;
  background:var(--white);
  border:1px solid #f5a500;
  border-radius:16px;
  padding:5px 12px;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}
.htl-room-package-offer:hover{ background:#f2f2f2; }
.htl-room-package-offer-active{
  color:var(--gray-500);
  border-color:var(--gray-300, #d0d5dd);
  cursor:default;
}
.htl-room-package-offer-active:hover{ background:var(--white); }
.htl-badge{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:13.5px;
  font-weight:600;
  padding:5px 12px;
  border-radius:16px;
}
/* ===== چیپ‌های فیلتر نوع اتاق (بالای «انتخاب اتاق») — هم‌شکل با
   hsr-pill-filter در style.css (فیلتر ستاره‌ی نتایج جستجو) ===== */
.htl-room-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 16px;
}
.htl-room-filter-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid var(--gray-300);
  background:var(--white);
  border-radius:999px;
  padding:7px 14px;
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  color:var(--gray-800, var(--gray-900));
  cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.htl-room-filter-chip:hover{ border-color:var(--yellow-dark); }
.htl-room-filter-chip.active{
  border-color:var(--yellow-dark);
  background:#fef2d9;
}
.htl-room-filter-chip-count{
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--gray-100);
  color:var(--gray-700);
  font-size:12.5px;
  font-weight:700;
  line-height:18px;
  text-align:center;
}
.htl-room-filter-chip.active .htl-room-filter-chip-count{
  background:var(--yellow);
  color:var(--gray-900);
}
.htl-badge-ok{ background:#ccf4dc; color:#0d542b; }
.htl-badge-muted{ background:#f9fafb; color:#4a4a4a; }
/* بج امتیاز/اعتبار — فعلاً هیچ‌جا رندر نمی‌شود چون داده‌ی «امتیاز» در
   $r وجود ندارد؛ کلاس آماده نگه داشته شده برای وقتی این داده اضافه شد. */
.htl-badge-points{ background:#fff7ed; color:#ca3500; }
/* بج «زمان ورود/خروج انعطاف‌پذیر» روی کارت اتاق — هم‌شکل با بج مشابه در
   نتایج جستجو (hsr-badge-dark در style.css) */
.htl-badge-dark{ background:var(--gray-900); color:var(--white); font-weight:700; }
.htl-room-action{
  display:flex;
  align-items:center;
}
.htl-room-select-btn{
  width:100%;
  background:#0d9488;
  color:#fff;
  border:none;
  border-radius:10px;
  box-shadow:none;
  font-family:inherit;
  font-weight:700;
  font-size:16px;
  line-height:1.5;
  padding:9px 16px;
  white-space:nowrap;
  cursor:pointer;
}
.htl-room-select-btn:hover:not(:disabled){ background:#0b7d73; }
.htl-room-select-btn:disabled{
  background:var(--gray-300);
  color:var(--gray-500);
  cursor:not-allowed;
  box-shadow:none;
}
/* ===== قوانین کنسلی ===== */
.htl-rules-list{
  margin:0;
  padding-right:20px;
  font-size:15.5px;
  line-height:2.1;
  color:var(--gray-700);
}
/* ===== فاصله تا مکان‌های مهم ===== */
.htl-nearplaces-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px 24px;
}
.htl-nearplace-row{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 0;
  border-bottom:1px solid #f2f2f2;
  font-size:15px;
}
.htl-nearplace-row svg{ width:15px; height:15px; color:var(--gray-500); flex:0 0 auto; }
.htl-nearplace-title{ color:var(--gray-700); flex:1 1 auto; }
.htl-nearplace-dist{ color:var(--gray-500); white-space:nowrap; }
/* ردیف‌های اضافه (بعد از ۵ سطرِ اول) تا زدن «نمایش بیشتر» مخفی‌اند */
.htl-nearplaces-grid.htl-nearplaces-collapsed .htl-nearplace-row-extra{ display:none; }
.htl-nearplaces-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  margin-top:14px;
  padding:13px;
  border:1.5px solid #e2e5e9;
  border-radius:10px;
  background:#fff;
  color:var(--gray-700);
  font-family:inherit;
  font-size:14.5px;
  font-weight:700;
  cursor:pointer;
  transition:background .15s ease, border-color .15s ease;
}
.htl-nearplaces-toggle:hover{ background:var(--gray-100); border-color:var(--gray-300); }
.htl-nearplaces-toggle-icon{ width:18px; height:18px; flex:none; transition:transform .2s ease; }
.htl-nearplaces-toggle.is-expanded .htl-nearplaces-toggle-icon{ transform:rotate(180deg); }
@media (max-width:700px){
.htl-nearplaces-grid{ grid-template-columns:1fr; }
}
@keyframes htlResvConfirmPulse{
  0%, 100% { box-shadow: none; }
  50% { box-shadow: none; }
}
@media (min-width:701px){
/* با عرض بیشتر، فرم مسافر می‌تواند سه‌ستونه باشد تا فضای اضافه هدر نرود */
}
@keyframes htlResvConfirmPulse{
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 1px #f5a500; }
}
/* قیمتِ همین اتاق — جدولِ دو‌ستونه با خطوط نازک؛ «جمع همین اتاق» مثل
   سرستون جدول نمونه زمینه‌ی خاکستری دارد */
@media (max-width:480px){
}
/* ===== مودال «جستجوی خود را به‌روز کنید» (بیش از STALE_SEARCH_MS از جستجو گذشته) =====
   دقیقاً همان کلاس‌های استفاده‌شده در style.css/hotel-search.js — عمداً
   یکسان نگه داشته شده تا ظاهر مودال در صفحه‌ی هتل هم با صفحه‌ی اصلی یکی
   باشد. */
.asr-stale-overlay{
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.asr-stale-modal{
  background: var(--white);
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 34px 28px 28px;
  text-align: center;
  box-shadow: none;
}
.asr-stale-icon-wrap{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fdf1dc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.asr-stale-icon-wrap svg{ width: 44px; height: 44px; color: var(--yellow-dark); }
.asr-stale-title{ font-size: 18px; font-weight: 800; color: var(--gray-900); margin: 0 0 12px; }
.asr-stale-text{ font-size: 13.5px; line-height: 1.9; color: var(--gray-700); margin: 0 0 26px; }
.asr-stale-actions{ display: flex; gap: 12px; }
.asr-stale-btn{
  flex: 1 1 0;
  border-radius: 10px;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.asr-stale-btn-outline{
  background: var(--white);
  border: 1.5px solid var(--gray-900);
  color: var(--gray-900);
}
.asr-stale-btn-outline:hover{ background: var(--gray-100); }
.asr-stale-btn-primary{
  background: var(--yellow);
  border: 1.5px solid var(--yellow);
  color: var(--gray-900);
}
.asr-stale-btn-primary:hover{ background: var(--yellow-dark); border-color: var(--yellow-dark); }
@media (max-width: 480px){
.asr-stale-modal{ padding: 28px 20px 22px; }
.asr-stale-actions{ flex-direction: column-reverse; }
}

/* =========================================================================
   مودال انتخاب اتاق / تایید رزرو — طرح جدید (مطابق b9.jpg)
   سربرگ + پیل تاریخ‌ها، کاروسل کارت اتاق‌ها، مشخصات مسافر، ورود زودتر/خروج
   دیرتر، جزئیات قیمت و نوار پایین (جمع کل + تأیید و ادامه).
   همه‌ی hookهای جاوااسکریپت (htl-resv-*، data-*) دست‌نخورده‌اند.
   ========================================================================= */
.htl-resv-modal{
  --rv-blue:#f5a500; --rv-blue-2:#f5a500; --rv-blue-soft:#f2f2f2;
  --rv-navy:#222; --rv-text:#4a4a4a; --rv-muted:#4a4a4a; --rv-line:#ececec;
  --rv-bg:#f2f2f2; --rv-green:#16a06c; --rv-green-ink:#0f6e4c; --rv-green-bg:#e5f6ee; --rv-amber:#f2a516;
  position:fixed; inset:0; z-index:400;
  display:flex; align-items:center; justify-content:center; padding:18px;
  opacity:0; visibility:hidden; transition:opacity .2s ease, visibility .2s ease;
  font-family:inherit; color:var(--rv-text);
}
.htl-resv-modal.open{ opacity:1; visibility:visible; }
.htl-resv-backdrop{ position:absolute; inset:0; background:rgba(20,24,40,0.5); backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); }
.htl-resv-sheet{
  position:relative; z-index:1; width:100%; max-width:1000px; max-height:94vh;
  display:flex; flex-direction:column; overflow:hidden;
  background:#fff; border-radius:28px; box-shadow: none;
  transform:translateY(14px); transition:transform .22s ease;
}
.htl-resv-modal.open .htl-resv-sheet{ transform:none; }
.htl-resv-handle{ display:none; }
.htl-resv-close{
  position:absolute; top:22px; left:22px; z-index:5; width:44px; height:44px; border:none; border-radius:50%;
  background:#f2f2f2; color:var(--rv-text); display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:background .15s;
}
.htl-resv-close:hover{ background:#f2f2f2; }
.htl-resv-close svg{ width:20px; height:20px; }
.htl-resv-sheet-scroll{
  flex:1 1 auto; min-height:0; overflow-y:auto; padding:26px 26px 12px;
  scrollbar-width:thin; scrollbar-color:#e4e7ec transparent;
}
.htl-resv-sheet-scroll::-webkit-scrollbar{ width:8px; }
.htl-resv-sheet-scroll::-webkit-scrollbar-thumb{ background:#e4e7ec; border-radius:8px; }
.rv-i{ width:20px; height:20px; flex:none; }

/* ---------- سربرگ + پیل تاریخ ---------- */
.rv-head-box{ display:block; }
.rv-head{ display:flex; align-items:center; gap:14px; padding-inline-end:56px; }
.rv-head-ico{
  flex:none; width:56px; height:56px; border-radius:16px; color:#fff;
  background: #f5a500; box-shadow: none;
  display:flex; align-items:center; justify-content:center;
}
.rv-head-ico svg{ width:28px; height:28px; }
.rv-head-text{ min-width:0; }
.rv-head-title{ margin:0; font-size:28px; line-height:1.3; font-weight:800; color:var(--rv-navy); }
.rv-head-sub{ margin:2px 0 0; font-size:15px; color:var(--rv-muted); font-weight:500; }
.rv-head-badges{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.rv-badge{
  display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; padding:3px 10px; border-radius:999px;
  background:#f2f2f2; color:var(--rv-muted);
}
.rv-badge svg{ width:14px; height:14px; }
.rv-badge-ok{ background:var(--rv-green-bg); color:var(--rv-green-ink); }
.rv-badge-warn{ background:#fff3dc; color:#a86a00; }
.htl-resv-nonrefundable-note{ margin-top:10px; font-size:13px; font-weight:600; color:#a86a00; background:#fef2d9; border:1px solid #f6e0b0; border-radius:12px; padding:8px 12px; }

.rv-dates{
  width:fit-content; max-width:100%; margin:16px auto 0 0;
  display:flex; align-items:center; gap:14px; padding:10px 14px;
  background:#fff; border:1px solid var(--rv-line); border-radius:999px; box-shadow: none;
}
.rv-date{ display:flex; align-items:center; gap:10px; }
.rv-date-ico{
  width:46px; height:46px; border-radius:50%; background:#fef2d9; color:var(--rv-blue);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.rv-date-txt{ display:flex; flex-direction:column; line-height:1.35; }
.rv-date-txt small{ font-size:12px; color:var(--rv-muted); font-weight:600; }
.rv-date-txt b{ font-size:16px; color:var(--rv-navy); font-weight:800; }
.rv-date-txt em{ font-style:normal; font-size:12.5px; color:var(--rv-muted); font-weight:500; }
.rv-dates-sep{ color:var(--rv-blue); display:flex; }
.rv-dates-sep svg{ width:18px; height:18px; }
.rv-nights-chip{
  display:inline-flex; align-items:center; gap:8px; margin-inline-start:6px; padding:10px 16px; border-radius:999px;
  background:#fef2d9; color:var(--rv-navy); font-size:15px; font-weight:800;
}
.rv-nights-chip svg{ width:20px; height:20px; color:var(--rv-blue); }

/* ---------- کاروسل کارت اتاق‌ها ---------- */
.rv-carousel{
  position:relative; margin-top:18px; padding:18px 62px 34px; background:var(--rv-bg); border-radius:22px;
}
.rv-car-track{
  display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x proximity; padding:6px 4px 8px; margin:-6px -4px -8px;
  scrollbar-width:none;
}
.rv-car-track::-webkit-scrollbar{ display:none; }
.rv-card{
  position:relative; flex:0 0 clamp(210px, 29%, 262px); scroll-snap-align:start; text-align:start; cursor:pointer;
  display:flex; flex-direction:column; gap:10px; padding:14px 14px 13px;
  background:#fff; border:1.5px solid var(--rv-line); border-radius:18px; font-family:inherit; color:inherit;
  box-shadow: none; transition:border-color .15s, box-shadow .15s, transform .15s;
}
.rv-card:hover{ transform:translateY(-1px); box-shadow: none; }
.rv-card.active{ border-color:var(--rv-blue); box-shadow: 0 0 0 1px #f5a500; }
.rv-card-top{ display:flex; align-items:center; gap:8px; min-width:0; }
.rv-card-ico{ color:var(--rv-blue); display:flex; }
.rv-card-ico svg{ width:21px; height:21px; }
.htl-resv-room-tab-label{ flex:1 1 auto; min-width:0; font-size:15px; font-weight:800; color:var(--rv-navy); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.htl-resv-room-tab-badge{ display:none; font-size:11px; font-weight:800; color:#222; background:#fef2d9; border-radius:999px; min-width:20px; height:20px; align-items:center; justify-content:center; }
.rv-multi .htl-resv-room-tab-badge{ display:inline-flex; }
.rv-card-check{
  position:absolute; top:13px; left:13px; width:30px; height:30px; border-radius:50%; background:var(--rv-blue); color:#fff;
  display:none; align-items:center; justify-content:center; box-shadow: none;
}
.rv-card-check svg{ width:17px; height:17px; stroke-width:2.6; }
.rv-card.active .rv-card-check{ display:flex; }
.rv-card.is-confirmed .rv-card-check{ display:flex; background:var(--rv-green); box-shadow: none; }
.rv-card.active .htl-resv-room-tab-badge{ display:none; }
.rv-card-img{ display:block; height:96px; border-radius:12px; overflow:hidden; background:linear-gradient(135deg,#f2f2f2,#f2f2f2); }
.rv-card-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.rv-card-img-ph{ width:100%; height:100%; padding:28px; color:#8a8a8a; }
.rv-card-price{ display:flex; align-items:baseline; justify-content:center; gap:5px; font-size:13px; color:var(--rv-muted); font-weight:500; }
.rv-card-price b{ font-size:16px; color:var(--rv-navy); font-weight:800; }
.htl-resv-room-tab-remove{
  position:absolute; top:46px; left:15px; z-index:2; width:22px; height:22px; border-radius:50%; background:rgba(20,24,40,0.55); color:#fff;
  display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .15s;
}
.htl-resv-room-tab-remove svg{ width:12px; height:12px; stroke-width:2.6; }
.rv-card:hover .htl-resv-room-tab-remove, .rv-card:focus-visible .htl-resv-room-tab-remove, .rv-card.active .htl-resv-room-tab-remove{ opacity:1; }
.rv-car-nav{
  position:absolute; top:50%; z-index:3; transform:translateY(-62%); width:46px; height:46px; border-radius:50%; border:none;
  background:#fff; color:var(--rv-blue); box-shadow:none;
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:opacity .15s, transform .15s;
}
.rv-car-nav:hover:not(:disabled){ transform:translateY(-62%) scale(1.06); }
.rv-car-nav:disabled{ opacity:.4; cursor:default; }
.rv-car-nav[hidden]{ display:none; }
.rv-car-nav svg{ width:20px; height:20px; stroke-width:2.4; }
.rv-car-prev{ right:8px; }
.rv-car-next{ left:8px; }
.rv-car-dots{ position:absolute; left:0; right:0; bottom:12px; display:flex; justify-content:center; gap:8px; pointer-events:none; }
.rv-dot{ width:8px; height:8px; border-radius:50%; background:#f2f2f2; pointer-events:auto; cursor:pointer; transition:background .15s, width .15s; }
.rv-dot.active{ background:var(--rv-blue); width:10px; height:10px; }

/* ---------- بخش‌ها ---------- */
.htl-resv-rooms-panels{ margin-top:18px; }
.htl-resv-room-panel{ display:none; flex-direction:column; gap:16px; }
.htl-resv-room-panel.active{ display:flex; }
.rv-sec{ background:#fff; border:1px solid var(--rv-line); border-radius:22px; padding:18px 20px; box-shadow: none; }
.rv-sec-head{ display:flex; align-items:center; gap:12px; cursor:pointer; user-select:none; }
.rv-sec-ico{ color:var(--rv-navy); display:flex; }
.rv-sec-ico svg{ width:28px; height:28px; stroke-width:1.6; }
.rv-sec-title{ margin:0; font-size:22px; font-weight:800; color:var(--rv-navy); }
.rv-sec-sub{ margin:2px 0 0; font-size:13.5px; color:var(--rv-muted); font-weight:500; }
.rv-chip{ font-size:13px; font-weight:700; color:var(--rv-muted); background:#f2f2f2; border-radius:999px; padding:5px 16px; margin-inline-start:6px; }
.htl-resv-guests-cap{ margin-inline-start:auto; font-size:12.5px; color:var(--rv-muted); font-weight:500; }
.rv-sec-collapse{ color:#222; display:flex; transition:transform .2s; }
.rv-sec-collapse svg{ width:20px; height:20px; stroke-width:2.4; }
.rv-sec.is-collapsed .rv-sec-collapse{ transform:rotate(180deg); }
.rv-sec.is-collapsed .rv-sec-body{ display:none; }
.rv-sec-body{ margin-top:16px; }
.rv-guest-box{ background:var(--rv-bg); border:1px solid #ececec; border-radius:20px; padding:18px; }

/* تب مسافران */
.htl-resv-guest-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.htl-resv-guest-tabs:empty{ display:none; }
.htl-resv-guest-tab-btn, .htl-resv-guest-tab-add{
  display:inline-flex; align-items:center; gap:6px; font-family:inherit; font-size:13.5px; font-weight:700; cursor:pointer;
  padding:7px 16px; border-radius:999px; border:1.5px solid var(--rv-line); background:#fff; color:var(--rv-text);
}
.htl-resv-guest-tab-btn.active{ border-color:var(--rv-blue); color:#222; background:#fef2d9; }
.htl-resv-guest-tab-btn.is-filled{ border-color:#bfe6d4; }
.htl-resv-guest-tab-check{ color:var(--rv-green); font-size:12px; }
.htl-resv-guest-tab-add{ border-style:dashed; color:#222; }
.htl-resv-guest-tab-add:disabled{ opacity:.45; cursor:not-allowed; }

/* کارت مسافر و فیلدها */
.htl-resv-guest-list{ display:block; }
.htl-resv-guest-card{ display:none; }
.htl-resv-guest-card.active{ display:block; }
.htl-resv-guest-card-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.htl-resv-guest-card-title{ font-size:14px; font-weight:800; color:var(--rv-navy); }
.htl-resv-guest-remove{ display:inline-flex; align-items:center; gap:5px; border:none; background:none; color:#d6453d; font-family:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.htl-resv-guest-remove svg{ width:16px; height:16px; }
.htl-resv-guest-foreign-note{ margin:0 0 10px; font-size:12.5px; font-weight:600; color:#a86a00; background:#fef2d9; border-radius:10px; padding:8px 12px; }
.htl-resv-guest-row1{ display:grid; grid-template-columns:150px 165px 1fr 1.8fr; gap:12px; }
.htl-resv-guest-grid{ display:grid; grid-template-columns:2fr 3fr; gap:12px; margin-top:12px; }
.rv-f{
  position:relative; display:flex; align-items:center; gap:12px; min-width:0; min-height:68px; padding:10px 16px; cursor:text;
  background:#fff; border:1.5px solid var(--rv-line); border-radius:16px; transition:border-color .15s, box-shadow .15s;
}
.rv-f:focus-within{ border-color:var(--rv-blue); box-shadow: 0 0 0 3px rgba(245,165,0,.25); }
.rv-f-ico{ color:var(--rv-navy); display:flex; flex:none; }
.rv-f-ico svg{ width:24px; height:24px; stroke-width:1.7; }
.rv-f-body{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; justify-content:center; gap:1px; }
.rv-f-lbl{ font-size:13.5px; font-weight:700; color:var(--rv-text); line-height:1.4; }
.rv-f input, .rv-f select{
  width:100%; min-width:0; border:none; outline:none; background:transparent; font-family:inherit; font-size:14px; font-weight:600;
  color:var(--rv-navy); padding:0; height:24px; box-shadow: none; border-radius:0;
}
.rv-f input::placeholder{ color:#8a8a8a; font-weight:500; }
.rv-f-select{ cursor:pointer; }
.rv-f-select select{ appearance:none; -webkit-appearance:none; height:30px; font-size:16px; font-weight:700; cursor:pointer; padding-inline-end:22px; }
.rv-f-select::after{
  content:''; position:absolute; left:14px; top:50%; width:9px; height:9px; margin-top:-6px;
  border-right:2px solid #d0d5dd; border-bottom:2px solid #d0d5dd; transform:rotate(45deg); pointer-events:none;
}
.rv-f:has(.invalid){ border-color:#e5484d; background:#fff6f6; }
.htl-guest-input.invalid::placeholder{ color:#e58a8d; }
.htl-resv-guest-age-price, .htl-resv-extra-fee-note{ margin-top:10px; font-size:12.5px; color:var(--rv-muted); font-weight:500; line-height:1.8; }
.htl-resv-extra-fee-note{ background:#fef2d9; border:1px solid #f6e0b0; color:#8a5a00; border-radius:12px; padding:8px 12px; }

/* خلاصه‌ی بعد از تایید */
.htl-resv-summary{ display:none; }
.htl-resv-room-panel.is-confirmed .htl-resv-guest-tabs,
.htl-resv-room-panel.is-confirmed .htl-resv-guest-list{ display:none; }
.htl-resv-room-panel.is-confirmed .htl-resv-summary{ display:block; }
.htl-resv-summary-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.htl-resv-summary-title{ display:flex; align-items:center; gap:8px; font-weight:800; color:var(--rv-green-ink); font-size:15px; }
.htl-resv-summary-title svg{ width:20px; height:20px; }
.htl-resv-summary-edit-btn{ display:inline-flex; align-items:center; gap:6px; font-family:inherit; font-size:13px; font-weight:700; padding:7px 14px; border-radius:999px; border:1.5px solid var(--rv-blue); background:#fff; color:#222; cursor:pointer; }
.htl-resv-summary-edit-btn svg{ width:15px; height:15px; }
.htl-resv-summary-row{ display:flex; flex-wrap:wrap; gap:10px 28px; margin-bottom:8px; font-size:14px; }
.htl-resv-summary-field{ display:flex; align-items:center; gap:6px; }
.htl-resv-summary-field b{ color:var(--rv-muted); font-weight:600; }
.htl-resv-summary-field span{ color:var(--rv-navy); font-weight:700; }
.htl-resv-summary-badge{ display:inline-flex; align-items:center; gap:4px; background:var(--rv-green-bg); color:var(--rv-green-ink); border-radius:999px; padding:2px 10px; font-size:12px; }
.htl-resv-summary-table-wrap{ overflow-x:auto; margin-top:8px; border:1px solid var(--rv-line); border-radius:14px; background:#fff; }
.htl-resv-summary-table{ width:100%; border-collapse:collapse; font-size:13.5px; }
.htl-resv-summary-table th{ background:#f2f2f2; color:var(--rv-muted); font-weight:700; padding:9px 12px; text-align:start; }
.htl-resv-summary-table td{ padding:9px 12px; border-top:1px solid #ececec; color:var(--rv-navy); font-weight:600; }

/* ---------- ورود زودتر / خروج دیرتر ---------- */
.rv-el-head{ display:flex; align-items:center; gap:12px; }
.rv-el-head .rv-sec-title{ font-size:20px; }
.rv-el-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; margin-top:14px; }
.rv-toggle{
  position:relative; display:flex; align-items:center; gap:12px; padding:14px 16px; cursor:pointer;
  background:var(--rv-bg); border:1.5px solid #ececec; border-radius:18px; transition:border-color .15s, background .15s;
}
.rv-toggle:has(input:checked){ border-color:#d0d5dd; background:#fef2d9; }
.rv-toggle-ico{ color:var(--rv-navy); display:flex; }
.rv-toggle-ico svg{ width:26px; height:26px; stroke-width:1.6; }
.rv-toggle-txt{ display:flex; flex-direction:column; gap:2px; flex:1 1 auto; min-width:0; }
.rv-toggle-txt b{ font-size:15px; font-weight:800; color:var(--rv-navy); }
.rv-toggle-txt small{ font-size:12.5px; color:var(--rv-muted); font-weight:500; }
.rv-toggle input{ position:absolute; opacity:0; pointer-events:none; }
.rv-switch{ flex:none; position:relative; width:52px; height:30px; border-radius:999px; background:#f2f2f2; transition:background .2s; box-shadow: none; }
.rv-switch::after{ content:''; position:absolute; top:3px; right:3px; width:24px; height:24px; border-radius:50%; background:#fff; box-shadow: none; transition:transform .2s; }
.rv-toggle input:checked ~ .rv-switch{ background:var(--rv-blue); }
.rv-toggle input:checked ~ .rv-switch::after{ transform:translateX(-22px); }
.rv-toggle input:focus-visible ~ .rv-switch{ outline:3px solid rgba(245,165,0,0.3); outline-offset:2px; }

/* ترانسفر */
.htl-resv-transfer{ background:#fff; border:1px solid var(--rv-line); border-radius:22px; padding:16px 20px; }
.htl-resv-transfer-label{ display:block; font-size:13.5px; font-weight:700; color:var(--rv-text); margin-bottom:8px; line-height:1.7; }
.htl-resv-transfer-input{ width:100%; border:1.5px solid var(--rv-line); border-radius:14px; padding:10px 14px; font-family:inherit; font-size:14px; resize:vertical; outline:none; background:var(--rv-bg); }
.htl-resv-transfer-input:focus{ border-color:var(--rv-blue); background:#fff; }

/* ---------- جزئیات قیمت ---------- */
.rv-price-head{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.rv-price-ico{ color:var(--rv-muted); display:flex; }
.rv-price-ico svg{ width:20px; height:20px; }
.rv-price .rv-sec-title{ font-size:20px; }
.rv-price-for{ margin-inline-start:auto; font-size:13.5px; font-weight:700; color:var(--rv-muted); }
.rv-price-row{ display:flex; align-items:stretch; gap:16px; }
.htl-resv-stay-row{ flex:1 1 0; min-width:0; }
.htl-resv-nights-slider{ position:relative; height:100%; border:1px solid var(--rv-line); border-radius:18px; background:#fff; overflow:hidden; }
.htl-resv-nights-grid{ display:flex; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.htl-resv-nights-grid::-webkit-scrollbar{ display:none; }
.htl-resv-night-card{
  flex:1 0 150px; scroll-snap-align:start; display:flex; flex-direction:column; justify-content:center; gap:6px; padding:16px 18px;
}
.htl-resv-night-card + .htl-resv-night-card{ border-inline-start:1px solid var(--rv-line); }
.rv-night-top{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--rv-muted); font-weight:600; flex-wrap:wrap; }
.htl-resv-night-date{ color:var(--rv-text); font-weight:700; }
.rv-night-ico{ order:3; margin-inline-start:auto; color:var(--rv-amber); display:flex; }
.rv-night-ico.is-moon{ color:var(--rv-blue); }
.rv-night-ico svg{ width:20px; height:20px; }
.rv-night-disc{ display:flex; align-items:center; gap:6px; font-size:12px; }
.htl-resv-night-percent{ background:#ffe8ea; color:#d6453d; border-radius:999px; padding:1px 8px; font-weight:800; }
.htl-resv-night-old{ color:#8a8a8a; text-decoration:line-through; }
.htl-resv-night-price{ font-size:19px; font-weight:800; color:var(--rv-navy); }
.htl-resv-night-price span{ font-size:12.5px; color:var(--rv-muted); font-weight:600; }
.htl-resv-nights-nav{
  display:none; position:absolute; top:50%; z-index:2; transform:translateY(-50%); width:32px; height:32px; border-radius:50%; border:none;
  background:#fff; color:var(--rv-blue); box-shadow:none; align-items:center; justify-content:center; cursor:pointer;
}
.htl-resv-nights-nav svg{ width:16px; height:16px; }
.htl-resv-nights-nav:disabled{ opacity:.35; cursor:default; }
.htl-resv-nights-slider.has-overflow .htl-resv-nights-nav{ display:inline-flex; }
.htl-resv-nights-nav[data-nights-nav="prev"]{ right:6px; }
.htl-resv-nights-nav[data-nights-nav="next"]{ left:6px; }

.rv-total{ flex:0 0 clamp(210px, 28%, 270px); display:flex; flex-direction:column; gap:8px; }
.rv-total-card{
  display:flex; align-items:center; gap:12px; width:100%; padding:14px 16px; cursor:pointer; text-align:start; font-family:inherit;
  background:linear-gradient(135deg,#e9f8f1,#d8f2e6); border:1.5px solid #bfe8d3; border-radius:18px; color:var(--rv-green-ink);
  box-shadow: none;
}
.rv-total-ico{ flex:none; width:44px; height:44px; border-radius:50%; background:#cdeedd; color:var(--rv-green); display:flex; align-items:center; justify-content:center; }
.rv-total-ico svg{ width:23px; height:23px; }
.rv-total-txt{ display:flex; flex-direction:column; flex:1 1 auto; min-width:0; gap:1px; }
.rv-total-txt small{ font-size:13px; font-weight:700; color:#2d7a5c; }
.rv-total-txt b{ font-size:19px; font-weight:800; color:var(--rv-navy); white-space:nowrap; }
.rv-total-chev{ display:flex; color:var(--rv-green-ink); transition:transform .2s; }
.rv-total-chev svg{ width:18px; height:18px; stroke-width:2.4; }
.rv-total:not(.is-open) .rv-total-chev{ transform:rotate(180deg); }
.rv-total-details{ display:none; flex-direction:column; gap:6px; padding:10px 14px; background:#f7faf9; border:1px solid #e1efe8; border-radius:14px; }
.rv-total.is-open .rv-total-details{ display:flex; }
.htl-resv-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:13px; }
.htl-resv-row-label{ color:var(--rv-muted); font-weight:600; }
.htl-resv-row-val{ color:var(--rv-navy); font-weight:800; }
.rv-price.rv-flash{ animation:rvFlash 1.4s ease; }
@keyframes rvFlash{ 0%,100%{ box-shadow: none; } 30%{ box-shadow: 0 0 0 1px #f5a500; } }

/* دکمه‌ی پنهانِ تایید اتاق (با «تأیید و ادامه» کلیک می‌شود) */
.htl-resv-confirm-room[hidden]{ display:none; }
.htl-resv-notice{ min-height:0; margin-top:12px; font-size:13.5px; font-weight:600; color:#d6453d; }
.htl-resv-notice:empty{ display:none; }

/* ---------- نوار پایین ---------- */
.rv-footer{
  flex:none; display:flex; flex-direction:row-reverse; align-items:center; gap:14px; margin:10px 22px 22px; padding:12px;
  background:#f2f2f2; border:1px solid #ececec; border-radius:24px; box-shadow: none;
}
.rv-continue-btn{
  flex:0 0 clamp(210px, 32%, 320px); display:flex; align-items:center; justify-content:center; gap:14px; height:60px; border:none; cursor:pointer;
  border-radius:18px; color:#fff; font-family:inherit; font-size:18px; font-weight:800;
  background: #f5a500; box-shadow:none; transition:transform .15s, box-shadow .15s;
}
.rv-continue-btn:hover{ transform:translateY(-1px); box-shadow:none; }
.rv-continue-btn svg{ width:22px; height:22px; stroke-width:2.4; }
.rv-footer-total{ flex:1 1 auto; display:flex; align-items:center; justify-content:flex-start; gap:12px; min-width:0; background:#e4f5ec; border-radius:16px; padding:8px 16px; max-width:360px; }
.rv-footer-total-ico{ color:var(--rv-green); display:flex; }
.rv-footer-total-ico svg{ width:26px; height:26px; }
.rv-footer-total-txt{ display:flex; flex-direction:column; line-height:1.4; }
.rv-footer-total-txt small{ font-size:12.5px; color:#2d7a5c; font-weight:700; }
.rv-footer-total-txt b{ font-size:18px; color:var(--rv-navy); font-weight:800; white-space:nowrap; }
.rv-more-btn{
  flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; height:50px; padding:0 22px; border-radius:999px; cursor:pointer;
  background:#fff; border:1.5px solid var(--rv-line); color:#222; font-family:inherit; font-size:14.5px; font-weight:700;
}
.rv-more-btn:hover{ border-color:var(--rv-blue); }
.rv-more-btn svg{ width:18px; height:18px; }

/* ---------- موبایل / تبلت ---------- */
@media (max-width:700px){
  .htl-resv-modal{ padding:0; align-items:flex-end; }
  .htl-resv-sheet{ max-width:none; max-height:95vh; border-radius:26px 26px 0 0; transform:translateY(40px); }
  .htl-resv-sheet-scroll{ padding:20px 14px 8px; }
  .htl-resv-handle{ display:block; width:44px; height:5px; border-radius:5px; background:#f2f2f2; margin:8px auto 0; flex:none; }
  .htl-resv-close{ top:26px; left:14px; width:38px; height:38px; }
  .rv-head{ padding-inline-end:48px; gap:12px; }
  .rv-head-ico{ width:48px; height:48px; border-radius:14px; }
  .rv-head-ico svg{ width:24px; height:24px; }
  .rv-head-title{ font-size:21px; }
  .rv-head-sub{ font-size:13.5px; }
  .rv-dates{ gap:8px; padding:8px 10px; margin:14px auto 0 0; flex-wrap:wrap; justify-content:center; border-radius:22px; width:100%; }
  .rv-date-ico{ width:38px; height:38px; }
  .rv-date-ico svg{ width:18px; height:18px; }
  .rv-date-txt b{ font-size:14px; }
  .rv-nights-chip{ margin-inline-start:0; padding:7px 12px; font-size:13.5px; }
  .rv-carousel{ padding:14px 14px 30px; border-radius:20px; }
  .rv-car-nav{ display:none  !important; }
  .rv-card{ flex-basis:min(74%, 250px); }
  .rv-sec{ padding:14px 14px; border-radius:20px; }
  .rv-sec-title{ font-size:18px; }
  .rv-sec-ico svg{ width:24px; height:24px; }
  .htl-resv-guests-cap{ display:none; }
  .rv-guest-box{ padding:12px; border-radius:16px; }
  .htl-resv-guest-row1{ grid-template-columns:1fr 1fr; }
  .htl-resv-guest-row1 .rv-f:nth-child(n+3){ grid-column:span 1; }
  .htl-resv-guest-grid{ grid-template-columns:1fr; }
  .rv-f{ min-height:62px; padding:8px 12px; gap:10px; border-radius:14px; }
  .rv-f-ico svg{ width:22px; height:22px; }
  .rv-el-grid{ grid-template-columns:1fr; }
  .rv-price-row{ flex-direction:column; }
  .rv-total{ flex:0 0 auto; }
  .htl-resv-night-card{ flex-basis:140px; padding:12px 14px; }
  .rv-footer{ margin:8px 12px 14px; padding:10px; gap:10px; flex-wrap:wrap; border-radius:22px; }
  .rv-continue-btn{ order:-1; flex:1 1 100%; height:54px; font-size:17px; }
  .rv-footer-total{ flex:1 1 auto; max-width:none; padding:7px 12px; }
  .rv-more-btn{ height:48px; padding:0 16px; }
}
@media (max-width:520px){
  .htl-resv-guest-row1{ grid-template-columns:1fr 1fr; }
  .htl-resv-guest-row1 .rv-f:nth-child(3), .htl-resv-guest-row1 .rv-f:nth-child(4){ grid-column:1 / -1; }
  .rv-footer-total-txt b{ font-size:16px; }
}

/* =========================================================================
   مودال رزرو — نسخه‌ی ۲: تطبیق دقیق‌تر با b9.jpg
   (پیل تاریخ هم‌سطح عنوان، کارت‌های بدون کادر، سوئیچ‌ها، ردیف قیمت، نوار پایین)
   ========================================================================= */
.htl-resv-sheet{ max-width:1120px; border-radius:30px; }
.htl-resv-sheet-scroll{ padding:28px 28px 14px; }
.htl-resv-close{ top:26px; left:26px; width:46px; height:46px; background:#f2f2f2; }

/* ---- سربرگ: عنوان (راست) و پیل تاریخ (چپ) در یک سطح ---- */
.rv-head-box{ display:flex; align-items:flex-start; gap:24px; }
.rv-head{ flex:1 1 auto; min-width:0; padding:0; display:block; }
.rv-head-top{ display:flex; align-items:center; gap:16px; }
.rv-head-ico{ width:56px; height:56px; border-radius:16px; background: #f5a500; }
.rv-head-title{ font-size:32px; font-weight:800; color:#222; letter-spacing:-.2px; }
.rv-head-sub{ margin:14px 0 0; font-size:19px; font-weight:600; color:#475467; }
.rv-dates{
  flex:0 0 auto; width:auto; margin:56px 0 0 0; gap:14px; padding:10px 12px 10px 14px;
  border:1px solid #ececec; border-radius:999px; background:#fff; box-shadow: none;
}
.rv-date{ gap:12px; }
.rv-date-ico{ width:50px; height:50px; background:#f2f2f2; color:#f5a500; }
.rv-date-ico.is-out{ background:#fff; color:#4a4a4a; border:1px solid #ececec; box-shadow: none; }
.rv-date-ico svg{ width:22px; height:22px; }
.rv-date-txt{ text-align:right; gap:0; }
.rv-date-txt small{ font-size:14px; font-weight:700; color:#4a4a4a; }
.rv-date-txt b{ font-size:19px; font-weight:800; color:#222; letter-spacing:.2px; }
.rv-date-txt em{ font-size:14px; color:#8a8a8a; }
.rv-dates-sep{ color:#4a4a4a; padding:0 6px; }
.rv-nights-chip{ margin-inline-start:8px; padding:14px 20px; gap:10px; background:#f2f2f2; font-size:17px; font-weight:800; color:#222; }
.rv-nights-chip svg:first-child{ color:#f5a500; }
.rv-nights-chip svg:last-child{ color:#f5a500; }

/* ---- کاروسل: ۴ کارت بدون کادر، کارت انتخابی با کادر آبی ---- */
.rv-carousel{ margin-top:22px; padding:20px 66px 38px; background:#f2f2f2; border-radius:24px; }
.rv-car-track{ gap:16px; }
.rv-card{
  flex:0 0 calc((100% - 48px) / 4); border:none; padding:16px 16px 15px; gap:12px; border-radius:18px;
  background:#fff; box-shadow: none;
}
.rv-card.active{ background:#fef2d9; box-shadow: 0 0 0 1px #f5a500; }
.rv-card-ico{ color:#4a4a4a; }
.rv-card.active .rv-card-ico, .rv-card.active .htl-resv-room-tab-label{ color:#222; }
.htl-resv-room-tab-label{ font-size:16px; font-weight:800; color:#222; }
.rv-card-check{ top:14px; left:14px; width:34px; height:34px; }
.rv-card-img{ height:92px; border-radius:12px; }
.rv-card-price{ justify-content:flex-start; gap:6px; font-size:14px; color:#8a8a8a; }
.rv-card-price b{ font-size:18px; color:#222; }
.rv-car-nav{ width:48px; height:48px; transform:translateY(-70%); box-shadow:none; }
.rv-car-nav:hover:not(:disabled){ transform:translateY(-70%) scale(1.05); }
.rv-car-prev{ right:10px; } .rv-car-next{ left:10px; }
.rv-car-dots{ bottom:14px; } .rv-dot{ width:8px; height:8px; background:#e4e7ec; } .rv-dot.active{ width:9px; height:9px; background:#f5a500; }

/* ---- بخش‌ها ---- */
.rv-sec{ border-radius:24px; padding:20px 22px; border:1px solid #ececec; box-shadow: none; }
.rv-sec-title{ font-size:26px; font-weight:800; color:#222; }
.rv-sec-ico svg{ width:30px; height:30px; color:#4a4a4a; }
.rv-chip{ background:#f2f2f2; color:#4a4a4a; font-size:14px; font-weight:700; padding:6px 20px; }
.rv-sec-collapse{ color:#4a4a4a; }
.rv-guest-box{ background:#f2f2f2; border:1px solid #ececec; border-radius:22px; padding:22px; }

/* ---- فیلدها ---- */
.htl-resv-guest-row1{ grid-template-columns:166px 178px 1fr 1.9fr; gap:14px; }
.htl-resv-guest-grid{ grid-template-columns:1.55fr 1.55fr .9fr; gap:14px; margin-top:14px; }
.rv-f{ min-height:72px; padding:10px 18px; border:1px solid #ececec; border-radius:16px; gap:14px; background:#fff; }
.rv-f-lbl{ font-size:15px; font-weight:600; color:#222; }
.rv-f input{ font-size:14.5px; font-weight:500; color:#222; }
.rv-f input::placeholder{ color:#8a8a8a; }
.rv-f-ico svg{ width:26px; height:26px; color:#4a4a4a; stroke-width:1.5; }
.rv-f-select select{ font-size:17px; font-weight:700; color:#222; }
.rv-f-select::after{ left:18px; width:8px; height:8px; border-color:#d0d5dd; }

/* ---- ورود زودتر / خروج دیرتر: عنوان راست، دو کارت چپ، یک ردیف ---- */
.rv-el{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 22px; }
.rv-el-head{ flex:0 0 auto; align-items:flex-start; gap:12px; }
.rv-el-head .rv-sec-title{ font-size:22px; }
.rv-el-head .rv-sec-sub{ font-size:14px; color:#8a8a8a; margin-top:6px; }
.rv-el-head .rv-sec-ico svg{ width:26px; height:26px; }
.rv-el-grid{ display:flex; flex:1 1 auto; max-width:68%; gap:14px; margin:0; }
.rv-toggle{ flex:1 1 0; min-width:0; padding:14px 18px; gap:14px; background:#f2f2f2; border:1px solid #ececec; border-radius:18px; }
.rv-toggle-txt{ align-items:flex-start; text-align:right; }
.rv-toggle-txt b{ font-size:16px; font-weight:800; color:#222; }
.rv-toggle-txt small{ font-size:13px; color:#8a8a8a; }
.rv-toggle-ico{ order:3; margin-inline-start:auto; }
.rv-toggle-ico svg{ width:26px; height:26px; color:#4a4a4a; }
.rv-switch{ width:56px; height:32px; background:#f2f2f2; }
.rv-switch::after{ right:auto; left:4px; top:4px; width:24px; height:24px; }
.rv-toggle input:checked ~ .rv-switch::after{ transform:translateX(24px); }

/* ---- جزئیات قیمت: یک کادر شامل شب‌ها + کارت جمع کل ---- */
.rv-price{ padding:18px 22px 22px; }
.rv-price-head{ margin-bottom:14px; }
.rv-price .rv-sec-title{ font-size:21px; }
.rv-price-for{ font-size:13.5px; color:#8a8a8a; align-self:flex-start; }
.rv-price-row{ border:1px solid #ececec; border-radius:18px; padding:14px; gap:14px; background:#fff; }
.htl-resv-nights-slider{ border:none; border-radius:0; background:transparent; }
.htl-resv-night-card{
  display:grid; grid-template-columns:auto 1fr; align-items:center; column-gap:12px; padding:8px 20px; flex:1 0 190px;
}
.htl-resv-night-card + .htl-resv-night-card{ border-inline-start:1px solid #ececec; }
.rv-night-ico{ order:0; margin:0; width:38px; height:38px; border-radius:50%; background:#fff3dc; color:#f2a516; align-items:center; justify-content:center; }
.rv-night-ico.is-moon{ background:#f2f2f2; color:#f5a500; }
.rv-night-ico svg{ width:20px; height:20px; }
.rv-night-txt{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.rv-night-top{ gap:8px; flex-wrap:nowrap; white-space:nowrap; }
.htl-resv-night-date{ font-size:15px; font-weight:700; color:#4a4a4a; }
.rv-night-jdate{ font-size:13px; color:#8a8a8a; font-weight:500; }
.htl-resv-night-price{ font-size:20px; font-weight:800; color:#222; }
.htl-resv-night-price span{ font-size:13.5px; color:#4a4a4a; font-weight:600; }
.rv-total{ flex:0 0 clamp(230px, 27%, 300px); }
.rv-total-card{
  display:grid; grid-template-columns:1fr auto; grid-template-areas:"top chev" "val val"; align-items:center; row-gap:6px;
  padding:14px 18px; background:linear-gradient(140deg,#eaf8f1,#d6f1e4); border:1px solid #c4e9d6; border-radius:18px; box-shadow: none;
}
.rv-total-top{ grid-area:top; display:flex; align-items:center; gap:10px; }
.rv-total-top small{ font-size:15px; font-weight:700; color:#1f6f50; }
.rv-total-ico{ width:46px; height:46px; background:#c9ecdc; color:#16a06c; }
.rv-total-chev{ grid-area:chev; align-self:flex-start; color:#1f6f50; }
.rv-total-val{ grid-area:val; font-size:24px; font-weight:800; color:#0f5a3e; text-align:right; line-height:1.3; }
.rv-total-val span{ white-space:nowrap; }

/* ---- نوار پایین: چپ→راست: جزئیات بیشتر | افزودن اتاق | جمع کل | … | تأیید و ادامه ---- */
.rv-footer{
  direction:ltr; flex-direction:row; justify-content:flex-start; gap:14px; margin:12px 26px 26px; padding:14px;
  background:#f2f2f2; border:1px solid #ececec; border-radius:24px;
}
.rv-footer > *{ direction:rtl; }
.rv-continue-btn{
  order:9; margin-left:auto; flex:0 0 clamp(230px, 28%, 330px); height:62px; border-radius:20px; gap:16px; font-size:23px;
  background: #f5a500;
}
.rv-continue-btn svg{ width:24px; height:24px; }
.rv-more-btn, .rv-add-btn{
  display:inline-flex; align-items:center; gap:10px; height:54px; padding:0 24px; border-radius:999px; cursor:pointer;
  background:#fff; border:1.5px solid #ececec; color:#4a4a4a; font-family:inherit; font-size:15px; font-weight:700;
}
.rv-add-btn{ color:#222; }
.rv-add-btn svg{ width:18px; height:18px; color:#f5a500; }
.rv-add-btn:hover, .rv-more-btn:hover{ border-color:#f5a500; }
.rv-footer-total{ flex:0 0 auto; max-width:none; gap:16px; padding:8px 22px; background:#e6f6ee; border-radius:14px; }
.rv-footer-total-txt{ align-items:flex-start; }
.rv-footer-total-txt small{ font-size:13.5px; color:#2b7a5b; }
.rv-footer-total-txt b{ font-size:20px; color:#222; }

/* ---- موبایل/تبلت ---- */
@media (max-width:700px){
  .htl-resv-sheet{ max-width:none; }
  .htl-resv-sheet-scroll{ padding:20px 14px 8px; }
  .rv-head-box{ flex-direction:column; gap:0; }
  .rv-head-top{ gap:12px; padding-inline-end:46px; }
  .rv-head-ico{ width:48px; height:48px; border-radius:14px; }
  .rv-head-title{ font-size:22px; }
  .rv-head-sub{ font-size:14px; margin-top:8px; }
  .rv-dates{ margin:14px 0 0; width:100%; flex-wrap:wrap; justify-content:center; gap:8px; border-radius:22px; padding:10px; }
  .rv-date-ico{ width:40px; height:40px; }
  .rv-date-txt b{ font-size:15px; }
  .rv-nights-chip{ margin-inline-start:0; padding:9px 14px; font-size:14px; }
  .rv-carousel{ padding:14px 12px 30px; }
  .rv-card{ flex-basis:min(74%, 250px); }
  .rv-sec{ padding:14px; }
  .rv-sec-title{ font-size:19px; }
  .rv-guest-box{ padding:12px; border-radius:18px; }
  .htl-resv-guest-row1{ grid-template-columns:1fr 1fr; }
  .htl-resv-guest-row1 .rv-f:nth-child(n+3){ grid-column:1 / -1; }
  .htl-resv-guest-grid{ grid-template-columns:1fr 1fr; }
  .htl-resv-guest-grid .rv-f-id{ grid-column:1 / -1; }
  .rv-el{ flex-direction:column; align-items:stretch; }
  .rv-el-grid{ max-width:none; flex-direction:column; }
  .rv-price-row{ flex-direction:column; }
  .rv-total{ flex:0 0 auto; }
  .htl-resv-night-card{ flex-basis:170px; padding:8px 14px; }
  .rv-footer{ direction:rtl; margin:8px 12px 14px; padding:10px; gap:10px; flex-wrap:wrap; }
  .rv-continue-btn{ order:-1; margin-left:0; flex:1 1 100%; height:54px; font-size:18px; }
  .rv-footer-total{ order:3; flex:1 1 100%; justify-content:space-between; }
  .rv-more-btn, .rv-add-btn{ flex:1 1 0; justify-content:center; height:48px; padding:0 12px; }
}

/* =========================================================================
   مودال رزرو — نسخه‌ی ۳: تیترهای کوچک‌تر، بدون «جمع کل» پایین و بدون «قیمت این اتاق»
   ========================================================================= */
.rv-head-ico{ width:48px; height:48px; border-radius:14px; }
.rv-head-ico svg{ width:24px; height:24px; }
.rv-head-title{ font-size:23px; letter-spacing:0; }
.rv-head-sub{ font-size:14.5px; margin-top:10px; }
.rv-dates{ margin-top:46px; }
.rv-date-txt b{ font-size:17px; }
.rv-nights-chip{ font-size:15px; padding:12px 18px; }

.htl-resv-room-tab-label{ font-size:14.5px; }
.rv-card-price b{ font-size:16px; }
.rv-card-price{ font-size:13px; }

.rv-sec-title{ font-size:19px; }
.rv-sec-ico svg{ width:26px; height:26px; }
.rv-chip{ font-size:13px; padding:5px 16px; }
.rv-el-head .rv-sec-title, .rv-price .rv-sec-title{ font-size:17px; }
.rv-el-head .rv-sec-sub{ font-size:13px; }
.rv-el-head .rv-sec-ico svg{ width:24px; height:24px; }
.rv-toggle-txt b{ font-size:14.5px; }
.rv-toggle-txt small{ font-size:12.5px; }
.rv-f-lbl{ font-size:14px; }
.rv-f-select select{ font-size:15.5px; }
.htl-resv-night-date{ font-size:14px; }
.htl-resv-night-price{ font-size:18px; }

/* کارت جمع کل (داخل جزئیات قیمت): بدون فلش؛ ریز «نفر اضافه/امکانات» فقط وقتی هست، زیر کارت */
.rv-total-card{ grid-template-columns:1fr; grid-template-areas:"top" "val"; cursor:default; }
.rv-total-top small{ font-size:14px; }
.rv-total-ico{ width:40px; height:40px; }
.rv-total-ico svg{ width:21px; height:21px; }
.rv-total-val{ font-size:20px; }
.rv-total-details{ display:flex; }
.rv-total-details:not(:has([data-room-extras-row]:not([style*="display: none"]))){ display:none; }

/* نوار پایین: جزئیات بیشتر | افزودن اتاق | ... | تأیید و ادامه */
.rv-continue-btn{ font-size:19px; height:58px; }
.rv-continue-btn svg{ width:22px; height:22px; }
.rv-more-btn, .rv-add-btn{ font-size:14px; height:52px; }

@media (max-width:700px){
  .rv-head-title{ font-size:19px; }
  .rv-head-sub{ font-size:13px; }
  .rv-sec-title{ font-size:17px; }
  .rv-el-head .rv-sec-title, .rv-price .rv-sec-title{ font-size:16px; }
  .rv-continue-btn{ font-size:17px; height:52px; }
}

/* =========================================================================
   مودال رزرو — نسخه‌ی ۴
   ========================================================================= */
/* بدون آیکون ماه/خورشید؛ هر شب یک سلول با اندازه‌ی ثابت (کشیده نمی‌شود) */
.rv-night-ico{ display:none; }
.htl-resv-night-card{ display:flex; flex-direction:column; align-items:flex-start; justify-content:center; flex:0 0 190px; padding:8px 22px; }
.rv-night-txt{ width:100%; }
.htl-resv-nights-grid{ justify-content:flex-start; }
.htl-resv-stay-row{ flex:1 1 0; }
.htl-resv-nights-slider{ height:auto; }

/* کادر خالیِ زیر «جمع کل»: فقط وقتی ریزِ نفر اضافه/امکانات دارد دیده شود */
.rv-total-details{ display:none; }
.rv-total-details:has([data-room-extras-row]:not([style*="none"])){ display:flex; }
.rv-total{ gap:0; }
.rv-total-details:has([data-room-extras-row]:not([style*="none"])){ margin-top:8px; }

/* آیکون صبحانه در خلاصه‌ی مسافران کوچک */
.htl-resv-summary-badge svg, .htl-resv-summary-field svg{ width:14px; height:14px; flex:none; }
.htl-resv-summary-badge{ gap:5px; }

/* دکمه‌ی حذف اتاق: کنار تیک آبی (نه روی عکس)، خنثی؛ فقط با هاور قرمز */
.htl-resv-room-tab-remove{
  top:14px; left:56px; width:30px; height:30px; background:#f2f2f2; color:#475467; opacity:1;
  transition:background .15s, color .15s;
}
.htl-resv-room-tab-remove svg{ width:13px; height:13px; }
.htl-resv-room-tab-remove:hover{ background:#ffe4e6; color:#d6453d; }
.rv-card:not(.active):not(.is-confirmed) .htl-resv-room-tab-remove{ left:14px; opacity:0; }
.rv-card:not(.active):hover .htl-resv-room-tab-remove{ opacity:1; }

/* منوی کشویی سفارشی (آقا/خانم، ایرانی/خارجی) با فونت و استایل سایت */
.rv-f-select select{ pointer-events:none; font-family:inherit; }
.rv-f-select.is-open{ border-color:var(--rv-blue); box-shadow: 0 0 0 3px rgba(245,165,0,.25); }
.rv-f-select.is-open::after{ transform:rotate(-135deg); margin-top:-2px; }
.rv-menu{
  position:fixed; z-index:600; padding:6px; direction:rtl; text-align:right;
  background:#fff; border:1px solid #ececec; border-radius:14px; box-shadow: none;
  font-family:inherit; animation:rvMenuIn .12s ease;
}
@keyframes rvMenuIn{ from{ opacity:0; transform:translateY(-4px); } to{ opacity:1; transform:none; } }
.rv-menu-item{
  display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:10px 14px; border:none; border-radius:10px;
  background:transparent; font-family:inherit; font-size:15px; font-weight:600; color:#4a4a4a; cursor:pointer; text-align:right;
}
.rv-menu-item:hover{ background:#f2f2f2; }
.rv-menu-item.is-sel{ color:#4a4a4a; background:#fef2d9; font-weight:800; }
.rv-menu-item svg{ width:16px; height:16px; stroke-width:2.6; }

/* پیام خطای زیر فیلدهای فرم مسافر */
.rv-f-err{ display:block; margin-top:2px; font-size:12px; font-weight:600; color:#d6303a; line-height:1.4; }

/* ضربدر حذف اتاق: قرمز پررنگ (نه صورتی کمرنگ) */
.htl-resv-room-tab-remove{ background:#e0343b; color:#fff; box-shadow: none; }
.htl-resv-room-tab-remove:hover{ background:#c4242b; color:#fff; }

/* =========================================================================
   مودال رزرو — نسخه‌ی ۵: نشان وضعیت کارت اتاق + فاصله‌ها و سایه‌ی کاروسل
   ========================================================================= */
/* قبل از تایید: علامت تعجب نارنجی (روی همه‌ی کارت‌ها)؛ بعد از تایید: تیک سبز */
.rv-card .rv-card-check{
  display:flex; background:#f59e0b; box-shadow: none;
}
.rv-card .rv-card-check svg{ width:18px; height:18px; stroke-width:2.8; }
.rv-card.is-confirmed .rv-card-check{ background:#16a06c; box-shadow: none; }
.rv-card.is-confirmed .rv-card-check svg{ stroke-width:2.6; }
.rv-card:not(.active):not(.is-confirmed) .htl-resv-room-tab-remove{ left:56px; }

/* کاروسل: فاصله‌ی بالا و پایین برابر؛ سایه‌ی کارت‌ها دیگر از پایین بریده نمی‌شود */
.rv-carousel{ padding:22px 66px 22px; }
.rv-car-track{ padding:14px 10px 40px; margin:-14px -10px -40px; }
.rv-car-nav{ top:calc(50% - 4px); transform:translateY(-50%); }
.rv-car-nav:hover:not(:disabled){ transform:translateY(-50%) scale(1.05); }
.rv-car-dots{ position:static; margin-top:14px; height:10px; align-items:center; }
.rv-car-dots:empty{ display:none; }
@media (max-width:700px){
  .rv-carousel{ padding:16px 12px 16px; }
  .rv-car-track{ padding:12px 6px 34px; margin:-12px -6px -34px; }
}

/* پنجره‌ی تایید حذف اتاق (داخل مودال رزرو، هم‌سبک آن) */
.rv-confirm{ position:absolute; inset:0; z-index:700; display:flex; align-items:center; justify-content:center; padding:20px; font-family:inherit; }
.rv-confirm-backdrop{ position:absolute; inset:0; background:rgba(20,24,40,0.5); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); animation:rvFade .15s ease; }
.rv-confirm-card{
  position:relative; width:min(100%, 410px); padding:26px 24px 22px; text-align:center; direction:rtl;
  background:#fff; border-radius:24px; box-shadow: none; animation:rvPop .18s ease;
}
.rv-confirm-ico{
  width:60px; height:60px; margin:0 auto 14px; border-radius:50%; background:#ffe9eb; color:#e0343b;
  display:flex; align-items:center; justify-content:center;
}
.rv-confirm-ico svg{ width:28px; height:28px; stroke-width:1.8; }
.rv-confirm-title{ margin:0 0 8px; font-size:19px; font-weight:800; color:#222; }
.rv-confirm-text{ margin:0 0 20px; font-size:14px; line-height:1.9; font-weight:500; color:#475467; }
.rv-confirm-actions{ display:flex; gap:12px; }
.rv-confirm-actions button{
  flex:1 1 0; height:50px; border-radius:16px; font-family:inherit; font-size:15px; font-weight:800; cursor:pointer;
  transition:background .15s, border-color .15s, transform .15s;
}
.rv-confirm-cancel{ background:#fff; border:1.5px solid #ececec; color:#222; }
.rv-confirm-cancel:hover{ border-color:#f5a500; color:#4a4a4a; }
.rv-confirm-ok{ border:none; background:#e0343b; color:#fff; box-shadow:none; }
.rv-confirm-ok:hover{ background:#c4242b; transform:translateY(-1px); }
@keyframes rvFade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes rvPop{ from{ opacity:0; transform:scale(.94) translateY(8px); } to{ opacity:1; transform:none; } }

/* دکمه‌ی حذف اتاق: گوشه‌ی راستِ کارت (نشان وضعیت سمت چپ می‌ماند) */
.htl-resv-room-tab-remove,
.rv-card:not(.active):not(.is-confirmed) .htl-resv-room-tab-remove{
  left:auto; right:14px; top:14px; width:28px; height:28px;
}
.rv-card .rv-card-top{ padding-inline-start:36px; }
@media (hover:none){
  .rv-card:not(.active):not(.is-confirmed) .htl-resv-room-tab-remove{ opacity:1; }
}

/* ضربدر حذف اتاق: در حالت عادی طوسی؛ با رفتن ماوس روی آن قرمز پررنگ */
.htl-resv-room-tab-remove{ background:#f2f2f2; color:#4a4a4a; box-shadow: none; }
.htl-resv-room-tab-remove:hover{ background:#e0343b; color:#fff; box-shadow: none; }

/* ===== نظراتِ مسافران (فقط تأییدشده‌ها) ===== */
.htl-rv-summary{ display:flex; align-items:center; gap:16px; margin-bottom:18px; padding:16px 20px; background:var(--gray-100); border-radius:14px; }
.htl-rv-avg{ font-size:38px; font-weight:800; color:var(--gray-900); line-height:1; }
.htl-rv-count{ font-size:13.5px; color:var(--gray-500); margin-top:4px; }
.htl-rv-list{ display:flex; flex-direction:column; gap:14px; }
.htl-rv-item{ border:1px solid var(--gray-200,#ececec); border-radius:14px; padding:16px 18px; background:#fff; }
.htl-rv-item[hidden]{ display:none; }
.htl-rv-top{ display:flex; align-items:center; gap:12px; }
.htl-rv-avatar{ width:38px; height:38px; border-radius:50%; background:var(--gray-100); color:var(--gray-700); display:grid; place-items:center; font-weight:800; font-size:13px; flex:none; }
.htl-rv-who{ flex:1; display:flex; flex-direction:column; line-height:1.6; }
.htl-rv-who b{ font-size:14.5px; color:var(--gray-900); }
.htl-rv-who small{ font-size:12px; color:var(--gray-500); }
.htl-rv-title{ margin:12px 0 0; font-size:15px; color:var(--gray-900); }
.htl-rv-body{ margin:8px 0 0; font-size:14.5px; line-height:2; color:var(--gray-700); }
.rv-stars{ color:#f5a623; letter-spacing:1px; white-space:nowrap; }
.rv-stars i{ font-style:normal; color:#f2f2f2; }
.htl-rv-more{ display:block; margin:16px auto 0; padding:10px 26px; border-radius:999px; border:1.5px solid var(--gray-300,#ececec); background:#fff; font-family:inherit; font-size:14px; font-weight:700; color:var(--gray-700); cursor:pointer; }
.htl-rv-more:hover{ background:var(--gray-100); }

/* فونت فیلدهای تاریخ ورود/خروج در صفحه هتل کمی کوچکتر */
.htl-sidebar-picker .mui-field input,
.picker-root .mui-field input#inputStart,
.picker-root .mui-field input#inputEnd{ font-size:14px; }


/* =========================================================================
   ویژگی‌های اتاق — (۱) آیکنِ گردِ کاشی اتاق  (۲) باکس «ویژگی‌های اتاق انتخابی» در مودال رزرو
   آیکن‌ها هم‌اندازه‌ی دایره‌ی فلشِ بین تاریخ ورود/خروج (.htl-dates-arrow): دایره ۴۲px، حاشیه‌ی ۴px، آیکن ۱۶px
   ========================================================================= */
.htl-room-fbadges{ display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; padding-top:14px; }
.htl-fbadge{
  --fb-c:#222; --fb-bg:#eef0f4;
  position:relative; box-sizing:border-box; flex:0 0 42px; width:42px; height:42px; padding:0; margin:0;
  display:inline-flex; align-items:center; justify-content:center; border-radius:50%;
  background:#fff; color:var(--fb-c); border:4px solid #f3f4f6; font:inherit; cursor:default;
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.htl-fbadge .htl-room-icon{ width:16px; height:16px; flex:none; }
.htl-fbadge.is-extra{ --fb-c:#0b6b46; --fb-bg:#e1f6ea; }
.htl-fbadge.is-breakfast{ --fb-c:#b45309; --fb-bg:#fff1dc; }
.htl-fbadge.is-flex{ --fb-c:#d98a00; --fb-bg:#fff4de; }
.htl-fbadge.is-hourly{ --fb-c:#8a8a8a; --fb-bg:#f2f2f2; }
.htl-fbadge.is-refund{ --fb-c:#12744a; --fb-bg:#e1f6ea; cursor:pointer; }
.htl-fbadge.is-norefund{ --fb-c:#b42318; --fb-bg:#fdecea; }
.htl-fbadge:hover, .htl-fbadge:focus-visible{ background:var(--fb-bg); border-color:#fff; outline:0; box-shadow: 0 0 0 1px var(--fb-c) inset; }
.htl-fbadge.is-refund:active{ transform:scale(.94); }
/* راهنمای کوتاه (فقط وقتی hover واقعی هست) */
.htl-fbadge[data-tip]::after{
  content:attr(data-tip); position:absolute; bottom:calc(100% + 8px); left:50%; transform:translate(-50%,4px);
  background:#222; color:#fff; font-size:12px; line-height:1; font-weight:500; white-space:nowrap;
  padding:7px 10px; border-radius:8px; pointer-events:none; opacity:0; visibility:hidden; z-index:5;
  transition:opacity .15s ease, transform .15s ease, visibility .15s;
}
@media (hover:hover){
  .htl-fbadge:hover::after, .htl-fbadge:focus-visible::after{ opacity:1; visibility:visible; transform:translate(-50%,0); }
}

/* ---- باکس ویژگی‌ها در مودال رزرو ---- */
.rv-feats{ padding:18px 20px; }
.rv-feats-head{ display:flex; align-items:center; gap:12px; }
.rv-feats-head .rv-sec-title{ font-size:20px; }
.rv-feats-grid{ list-style:none; margin:16px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:12px; }
.rv-feat{
  --ft-c:#222; --ft-bg:#eef0f4;
  display:flex; align-items:flex-start; gap:14px; min-width:0; padding:14px 16px;
  background:var(--rv-bg); border:1px solid var(--rv-line); border-radius:18px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.rv-feat:hover{ border-color:color-mix(in srgb, var(--ft-c) 30%, #fff); box-shadow: none; }
.rv-feat:first-child{ grid-column:1 / -1; }
.rv-feat.is-yes{ --ft-c:#12744a; --ft-bg:#e1f6ea; }
.rv-feat.is-no{ --ft-c:#8a8a8a; --ft-bg:#f2f2f2; }
.rv-feat.is-warn{ --ft-c:#b42318; --ft-bg:#fdecea; }
.rv-feat-ico{
  flex:0 0 42px; width:42px; height:42px; box-sizing:border-box; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#fff; color:var(--ft-c); border:4px solid #f3f4f6;
}
.rv-feat.is-yes .rv-feat-ico, .rv-feat.is-warn .rv-feat-ico{ background:var(--ft-bg); border-color:#fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ft-c) 22%, transparent); }
.rv-feat-ico svg{ width:16px; height:16px; stroke-width:1.9; }
.rv-feat-txt{ min-width:0; display:flex; flex-direction:column; gap:1px; }
.rv-feat-txt small{ font-size:12px; font-weight:600; color:var(--rv-muted); }
.rv-feat-txt b{ font-size:15.5px; font-weight:800; color:var(--rv-navy); line-height:1.7; }
.rv-feat.is-no .rv-feat-txt b{ color:var(--rv-muted); font-weight:700; }
.rv-feat.is-warn .rv-feat-txt b{ color:#b42318; }
.rv-feat-txt p{ margin:2px 0 0; font-size:13px; line-height:1.9; color:var(--rv-text); font-weight:500; overflow-wrap:anywhere; }
.rv-feat-tag{ display:inline-block; vertical-align:middle; margin-inline-start:6px; padding:1px 10px; border-radius:999px; background:var(--ft-bg); color:var(--ft-c); font-size:12px; font-weight:700; }
.rv-feat-link{
  align-self:flex-start; margin-top:8px; padding:5px 14px; border:0; border-radius:999px; cursor:pointer;
  background:var(--ft-bg); color:var(--ft-c); font:inherit; font-size:12.5px; font-weight:700;
  transition:filter .15s ease, transform .15s ease;
}
.rv-feat-link:hover{ filter:brightness(.96); }
.rv-feat-link:active{ transform:scale(.97); }
@media (max-width:700px){
  .rv-feats{ padding:16px; }
  .rv-feats-grid{ grid-template-columns:1fr; gap:10px; }
}

/* ---- اصلاح: آیکن‌ها همه مشکی، ۱۸px (هم‌اندازه‌ی قلب کاشی هتل)، دورِ آیکن فقط یک خطِ باریکِ دایره‌ای، بدون سایه ---- */
.htl-fbadge, .htl-fbadge.is-extra, .htl-fbadge.is-breakfast, .htl-fbadge.is-flex, .htl-fbadge.is-hourly, .htl-fbadge.is-refund, .htl-fbadge.is-norefund{ --fb-c:#222; color:#222; }
.htl-fbadge{ background:#fff; border:1px solid #ececec; box-shadow: none; }
.htl-fbadge:hover, .htl-fbadge:focus-visible{ background:#f2f2f2; border-color:#222; box-shadow: none; }
.htl-fbadge .htl-room-icon{ width:18px; height:18px; }
.rv-feat, .rv-feat.is-yes, .rv-feat.is-no, .rv-feat.is-warn{ --ft-c:#222; }
.rv-feat:hover{ box-shadow: none; border-color:var(--rv-line); }
.rv-feat-ico, .rv-feat.is-yes .rv-feat-ico, .rv-feat.is-warn .rv-feat-ico{ background:#fff; color:#222; border:1px solid #ececec; box-shadow: none; }
.rv-feat-ico svg{ width:18px; height:18px; }
.rv-feat.is-warn .rv-feat-txt b{ color:var(--rv-navy); }
.rv-feat-tag, .rv-feat-link{ background:#eef0f4; color:#222; }
.rv-feats-head .rv-sec-ico svg{ color:#222; }
.rv-feat-txt p{ font-size:12.5px; line-height:1.7; }
/* دسکتاپ: همه‌ی مشخصات در یک سطر */
@media (min-width:701px){
  .rv-feats-grid{ display:flex; flex-wrap:nowrap; gap:10px; }
  .rv-feat, .rv-feat:first-child{ flex:1 1 0; min-width:0; grid-column:auto; align-items:center; padding:12px 12px; gap:10px; }
  .rv-feat:first-child{ flex:1.7 1 0; }
  .rv-feat-txt b{ font-size:14px; line-height:1.6; }
  .rv-feat-txt p{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .rv-feat-link{ margin-top:4px; padding:3px 10px; font-size:12px; }
}
@media (min-width:701px){
  .rv-feat-txt small, .rv-feat-txt b{ white-space:nowrap; }
  .rv-feat-txt b{ overflow:hidden; text-overflow:ellipsis; font-size:13.5px; }
  .rv-feat:first-child .rv-feat-txt b{ display:flex; align-items:center; gap:6px; }
  .rv-feat-tag{ margin:0; flex:none; }
  .rv-feat-ico{ flex:0 0 42px; }
  .rv-feat, .rv-feat:first-child{ padding:12px 10px; gap:8px; }
  .rv-feat-link{ white-space:nowrap; }
}
@media (min-width:701px){
  .rv-feat, .rv-feat:first-child{ flex:1 1 auto; }
  .rv-feat:first-child{ flex:1.6 1 0; }
  .rv-feat-txt b{ overflow:visible; text-overflow:clip; }
  .rv-feat:first-child .rv-feat-txt b{ overflow:hidden; text-overflow:ellipsis; display:block; }
  .rv-feat-tag, .rv-feat-link{ display:none; }
}
@media (min-width:701px){
  .rv-feat:first-child{ flex:1 1 auto; min-width:190px; max-width:300px; }
  .rv-feat:first-child .rv-feat-txt{ flex:1; min-width:0; }
  .rv-feat-txt p{ display:none; }
}

/* =========================================================================
   بازطراحی باکس ویژگی‌ها — پالت: مشکی #222 / خاکستری #f2f2f2,#ececec / زرد #f0443f (هم‌خوان با صفحه‌ی اول)
   یک نوار خاکستری یکپارچه؛ ستون‌ها با خطِ نازک جدا؛ «دارد» = دایره‌ی زرد، «ندارد» = دایره‌ی سفید، «غیرقابل» = دایره‌ی مشکی
   ========================================================================= */
.rv-feats{ --f-ink:#222; --f-mut:#8a8a8a; --f-line:#ececec; --f-bg:#f2f2f2; --f-y:#f5a500;
  background:#fff; border:1px solid var(--f-line); box-shadow: none; border-radius:24px; padding:18px 20px 20px; }
.rv-feats-head{ gap:10px; }
.rv-feats-head .rv-sec-ico{ display:none; }
.rv-feats-head .rv-sec-title{ display:flex; align-items:center; gap:10px; font-size:17px; font-weight:800; color:var(--f-ink); }
.rv-feats-head .rv-sec-title::before{ content:""; width:6px; height:20px; border-radius:3px; background:var(--f-y); }
.rv-feats-grid{ margin-top:14px; gap:0; background:var(--f-bg); border:1px solid var(--f-line); border-radius:20px; overflow:hidden; }
.rv-feat, .rv-feat:first-child, .rv-feat:hover{ background:transparent; border:0; border-radius:0; box-shadow: none; }
.rv-feat-ico, .rv-feat.is-yes .rv-feat-ico, .rv-feat.is-no .rv-feat-ico, .rv-feat.is-warn .rv-feat-ico{ border:1px solid #ececec; background:#fff; color:var(--f-ink); box-shadow: none; }
.rv-feat.is-yes .rv-feat-ico{ background:var(--f-y); border-color:var(--f-y); color:var(--f-ink); }
.rv-feat.is-warn .rv-feat-ico{ background:var(--f-ink); border-color:var(--f-ink); color:#fff; }
.rv-feat.is-no .rv-feat-ico{ color:var(--f-mut); }
.rv-feat-txt small{ color:var(--f-mut); font-weight:500; }
.rv-feat-txt b, .rv-feat.is-warn .rv-feat-txt b{ color:var(--f-ink); }
.rv-feat.is-no .rv-feat-txt b{ color:var(--f-mut); font-weight:600; }
.rv-feat-link{ margin:0; margin-inline-start:auto; flex:none; align-self:center; display:inline-flex; align-items:center; height:30px; padding:0 12px;
  background:var(--f-ink); color:#fff; border-radius:999px; font-size:12px; font-weight:600; white-space:nowrap; }
.rv-feat-link:hover{ filter:none; background:#222; }
@media (min-width:701px){
  .rv-feats-grid{ align-items:stretch; }
  .rv-feat, .rv-feat:first-child{ padding:14px 16px; gap:10px; align-items:center; }
  .rv-feat + .rv-feat{ border-inline-start:1px solid var(--f-line); }
  .rv-feat:first-child{ flex:1.2 1 auto; }
  .rv-feat-link{ display:inline-flex; }
  .rv-feat-tag{ display:none; }
}
@media (max-width:700px){
  .rv-feats{ padding:16px 16px 12px; border-radius:24px; }
  .rv-feats-grid{ background:transparent; border:0; border-radius:0; overflow:visible; margin-top:6px; }
  .rv-feat, .rv-feat:first-child{ padding:12px 0; gap:12px; align-items:center; border-top:1px solid var(--f-line); }
  .rv-feat:first-child{ border-top:0; }
  .rv-feat-txt p{ display:block; }
  .rv-feat-tag{ display:inline-block; background:#fff3cc; color:var(--f-ink); }
}
@media (min-width:701px){
  .rv-feat{ flex:1 0 auto; min-width:max-content; padding:12px 12px; gap:9px; }
  .rv-feat:first-child{ flex:1 1 150px; min-width:140px; max-width:240px; }
  .rv-feat-txt b{ font-size:13px; }
  .rv-feat-link{ height:28px; padding:0 10px; font-size:11.5px; margin-inline-start:6px; }
}
@media (min-width:701px){ .rv-feats-grid{ overflow-x:auto; scrollbar-width:none; } .rv-feats-grid::-webkit-scrollbar{ display:none; } }

/* ورود زودتر/خروج دیرتر: فقط سوییچ کلیک‌پذیر است، نه کل باکس */
.rv-toggle{ cursor:default; }
label.rv-switch{ cursor:pointer; -webkit-tap-highlight-color:transparent; }
label.rv-switch::before{ content:""; position:absolute; inset:-8px -6px; }
/* همه‌ی آیکن‌های کاشی هم‌تمِ «قابل استرداد»: زمینه‌ی سفید + آیکن مشکی */
.htl-fbadge, .htl-fbadge.is-norefund, .htl-fbadge.is-refund{ background:#fff; color:#222; }

/* کاشی: دایره‌ی سفیدِ شفاف + آیکن‌های درشت‌تر (صبحانه/منعطف) */
.htl-fbadge, .htl-fbadge.is-norefund, .htl-fbadge.is-refund{ background:rgba(255,255,255,.55); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.htl-fbadge:hover, .htl-fbadge:focus-visible{ background:rgba(255,255,255,.9); }
.htl-fbadge.is-breakfast .htl-room-icon, .htl-fbadge.is-flex .htl-room-icon{ width:21px; height:21px; }
/* مودال: دکمه‌ی قوانین استرداد سبز */
.rv-feat-link{ background:#16a34a; color:#fff; }
.rv-feat-link:hover{ background:#12883e; }
/* ورود زودتر/خروج دیرتر: همیشه (جز موبایل) در یک سطر */
@media (min-width:701px){
  .rv-el-grid{ display:flex; flex-direction:row; flex-wrap:nowrap; max-width:none; width:100%; gap:12px; }
  .rv-el-grid .rv-toggle{ flex:1 1 0; min-width:0; padding:12px 14px; gap:10px; }
  .rv-el-grid .rv-toggle-txt b{ font-size:14px; white-space:nowrap; }
  .rv-el-grid .rv-toggle-txt small{ white-space:nowrap; }
  .rv-el-grid .rv-toggle-ico svg{ width:22px; height:22px; }
}

/* =========================================================================
   مودال: عنوان فیلدهای فرم مسافر خاکستری؛ کارت اتاق = عکس تمام‌باکس + کادر ۱px
   (مشکی برای اتاقِ در حال ویرایش، طوسی برای بقیه)
   ========================================================================= */
body.hotel-page .htl-resv-modal .rv-f-lbl,
.htl-resv-modal .rv-f-lbl{ color:#4a4a4a; font-weight:500; }

.htl-resv-modal .rv-card, body.hotel-page .htl-resv-modal .rv-card{
  position:relative; overflow:hidden; min-height:168px; padding:14px; gap:0; justify-content:space-between;
  background:#f2f2f2; border:1px solid #ececec; border-radius:16px; box-shadow: none; transform:none;
}
.htl-resv-modal .rv-card:hover, body.hotel-page .htl-resv-modal .rv-card:hover{ box-shadow: none; transform:none; border-color:#d0d5dd; }
.htl-resv-modal .rv-card.active, body.hotel-page .htl-resv-modal .rv-card.active{ background:#f2f2f2; border:1px solid #222; box-shadow: none; }
.htl-resv-modal .rv-card-img{ position:absolute; inset:0; height:auto; border-radius:0; z-index:0; background:#4a4a4a; }
.htl-resv-modal .rv-card-img::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,24,40,.58) 0%, rgba(20,24,40,.08) 45%, rgba(20,24,40,.72) 100%); }
.htl-resv-modal .rv-card-img-ph{ color:rgba(255,255,255,.35); }
.htl-resv-modal .rv-card-top, .htl-resv-modal .rv-card-price{ position:relative; z-index:1; }
.htl-resv-modal .rv-card-check, .htl-resv-modal .htl-resv-room-tab-remove{ z-index:2; }
.htl-resv-modal .rv-card-ico,
.htl-resv-modal .rv-card.active .rv-card-ico,
.htl-resv-modal .htl-resv-room-tab-label,
.htl-resv-modal .rv-card.active .htl-resv-room-tab-label,
body.hotel-page .htl-resv-modal .htl-resv-room-tab-label,
body.hotel-page .htl-resv-modal .rv-card.active .htl-resv-room-tab-label,
body.hotel-page .htl-resv-modal .rv-card-ico,
body.hotel-page .htl-resv-modal .rv-card.active .rv-card-ico{ color:#fff; text-shadow:0 1px 8px rgba(0,0,0,.4); }
.htl-resv-modal .rv-card-price, body.hotel-page .htl-resv-modal .rv-card-price{ color:rgba(255,255,255,.85); text-shadow:0 1px 8px rgba(0,0,0,.45); }
.htl-resv-modal .rv-card-price b, body.hotel-page .htl-resv-modal .rv-card-price b{ color:#fff; }
.htl-resv-modal .htl-resv-room-tab-badge{ position:relative; z-index:1; }

/* دکمه‌ی «انتخاب اتاق»: همان استایل دکمه‌ی فرم جستجوی هتل (زرد، متن قهوه‌ای تیره، hover زرد تیره‌تر) */
body.hotel-page .htl-room-select-btn:not(:disabled){
  background:#f5a500; color:#fff; border-radius:10px; box-shadow:none; font-weight:700; transition:background .2s;
}
body.hotel-page .htl-room-select-btn:hover:not(:disabled), body.hotel-page .htl-room-select-btn:active:not(:disabled){ background:#e69500; color:#fff; box-shadow:none; }
/* درصد تخفیف کاشی: زمینه‌ی سبز */
body.hotel-page .htl-room-discount-inline{ background:#16a34a; color:#fff; }
/* دکمه‌ی قوانین استرداد در مودال: گوشه‌ی کم‌گرد */
.rv-feat-link, body.hotel-page .rv-feat-link{ border-radius:8px; }


/* دکمه‌ی دایره‌ایِ فلش‌دار «مسافران ذخیره‌شده» در انتهای فیلدهای نام / نام خانوادگی / کد ملی */
.rv-pax-toggle{
  flex:none; width:28px; height:28px; padding:0; margin-inline-start:6px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
  background:#fff; border:1.5px solid #d0d5dd; color:#4a4a4a; transition:background .15s, border-color .15s, color .15s;
}
.rv-pax-toggle svg{ width:16px; height:16px; transition:transform .15s; }
.rv-pax-toggle:hover, .rv-pax-toggle:focus-visible{ background:#fef2d9; border-color:#f5a500; color:#222; outline:none; }
.rv-pax-toggle[aria-expanded="true"]{ background:#fef2d9; border-color:#f5a500; }
.rv-pax-toggle[aria-expanded="true"] svg{ transform:rotate(180deg); }
.htl-pax-empty{ padding:12px 10px; font-size:12.5px; color:#8a8a8a; text-align:center; }
