:root {
  --nb-orange: #FF8D40;
  --nb-yellow: #ffe49c;
  --nb-blue: #19344b;
  --nb-gray: #f7f7fa;
  --nb-border: #e0e0e0;
  --nb-bg: #f4f8fb;
  --nb-radius: 13px;
  --nb-shadow: 0 2px 12px #ff8d4011;
  --nb-font: 'iransans',tahoma,Arial,sans-serif;
}

/* فیلترها */
.nb-filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px 20px;
  background: #fff6ec;
  border-radius: var(--nb-radius);
  padding: 14px 18px 8px 10px;
  margin-bottom: 17px;
  align-items: center;
  font-size: 15px;
  font-family: var(--nb-font);
  box-shadow: var(--nb-shadow);
  border: 1px solid #ffe0c3;
}

.nb-filter-bar label {
  font-weight: 500;
  color: var(--nb-blue);
  margin-left: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nb-filter-bar select,
.nb-filter-bar input[type="checkbox"] {
  margin-right: 5px;
  margin-left: 2px;
  border: 1.3px solid #121211;
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.16s;
  font-family: inherit;
  outline: none;
}
.nb-filter-bar select:focus {
  border-color: #ff6500;
}
.nb-filter-bar input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--nb-orange);
  vertical-align: middle;
}

@media (max-width: 700px) {
  .nb-filter-bar {padding: 8px 4px 4px 4px; font-size:13px;}
  .nb-filter-bar label {margin-left: 2px;}
  .nb-filter-bar select {padding:3px 6px; font-size:13px;
      width: auto;
  }
  
}

/* سورت */
.nb-sort-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.nb-sort-btn {
  background: #fff;
  color: var(--nb-orange);
  border: 2px solid var(--nb-orange);
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
  outline: none;
  box-shadow: 0 1px 3px #ff8d4011;
  font-family: inherit;
}
.nb-sort-btn:hover, .nb-sort-btn.active {
  background: var(--nb-orange);
  color: #fff;
  border-color: var(--nb-orange);
  font-weight: 700;
}

/* شمارنده */
.nb-package-count {
  color: var(--nb-blue);
  background: var(--nb-yellow);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 14px;
  margin-right: 10px;
  white-space: nowrap;
}

/* دکمه برگشت بالا */
#nb-scroll-to-top-btn, .nb-scroll-top-btn {
  position: fixed !important;
  left: 18px;
  bottom: 34px;
  z-index: 999;
  background: #fff;
  color: var(--nb-orange);
  border: 2.5px solid var(--nb-orange);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: none;
  font-size: 27px;
  font-weight: bold;
  box-shadow: 0 2px 8px #ff8d4011;
  text-align: center;
  vertical-align: middle;
  transition: background 0.15s, color 0.15s, border 0.15s;
  outline: none;
  line-height: 48px; /* برای وسط‌چین */
  cursor: pointer;
}
#nb-scroll-to-top-btn:hover, .nb-scroll-top-btn:hover {
  background: var(--nb-orange);
  color: #fff;
  border-color: var(--nb-orange);
}
@media (max-width: 600px) {
  #nb-scroll-to-top-btn, .nb-scroll-top-btn {
    left: 7px; bottom: 13px; width: 38px; height: 38px; font-size:18px; line-height:38px;
  }
}

/*اسکرول از طریق سرچ */
.nb-package-card { scroll-margin-top:90px; transition:box-shadow .6s, background-color .6s; }
.nb-package-card.nb-anchor-hit {
  box-shadow:0 0 0 3px #f6b22c inset, 0 4px 16px rgba(0,0,0,.15);
  background:#fffdf3;
}


/* کارت کلی */
.nb-multi-hotel-info-bar {
    margin-bottom: 15px;
}

.nb-package-card {
  background: var(--nb-bg);
  border-radius: 18px;
  box-shadow: 0 2px 16px #18345910;
  padding: 10px 15px 16px 15px;
  margin: 30px auto 28px auto;
  max-width: 900px;
  font-family: inherit;
  font-size: 15px;
  direction: rtl;
  transition: box-shadow 0.19s;
  position: relative;
}
.nb-pkg-hidden { display: none !important; }
.nb-card-special { border-right: 8px solid var(--nb-yellow); }
.nb-card-soldout { opacity: 0.58; pointer-events: none; }

/* هدر کارت */
.nb-card-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.nb-card-titleblock {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 170px;
}
.nb-package-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--nb-blue);
  line-height: 1.35;
  margin-bottom: 2px;
}
.nb-main-price {
    color: #1c1c1c;
    font-size: 19px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    background: #ffe49c;
    border-radius: 20px;
}

.nb-main-price-label {
 /* background: var(--nb-yellow);*/
  color: var(--nb-blue);
  font-size: 12px;
 /* border-radius: 7px;*/
  padding: 2px 10px;
  font-weight: 400;
  margin-left: 7px;
}
.nb-card-labels {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 9px;
  flex-wrap: wrap;
}
.nb-badge {
  background: var(--nb-orange);
  color: #fff;
  font-size: 13px;
  padding: 3px 12px;
  border-radius: 22px;
  font-weight: 600;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
}
.nb-badge-id { background: #e0e0e0; color: #233; border: 1px solid #dadada; }
.nb-badge-charter { background: #2196f3; }
.nb-badge-special { background: var(--nb-yellow); color: var(--nb-blue); border: 1.2px solid var(--nb-orange);}
.nb-badge-soldout { background: #f33; color: #fff; border: none; }

/* تک هتل */
.nb-one-hotel-row {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 13px;
}
.nb-info-col-desc { width: 63%; }
.nb-pkg-info-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
  color: #333;
  font-weight: 400;
  padding-top: 7px;
  min-width: 140px;
}
.nb-pkg-info-col b {
  color: var(--nb-blue);
  font-weight: 600;
  margin-left: 4px;
  font-size: inherit;
}

/* هتل کارت */
.nb-hotel-card-mini {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 8px #0001;
  width: 245px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: stretch;
  position: relative;
}
.nb-hotel-gallery-box {
  position: relative;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  min-height: 135px;
  background: #ececec;
}
.nb-hotel-single-image {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
  border-radius: 15px 15px 0 0;
}
.nb-hotel-gallery-slider {
  height: 145px;
  min-height: 110px;
  max-height: 180px;
  background: #ececec;
}
.nb-hotel-gallery-slider .swiper-wrapper,
.nb-hotel-gallery-slider .swiper-slide {
  height: 100% !important;
}
.nb-hotel-gallery-slider img { 
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  display: block;
}

/* عناصر روی عکس هتل */
.nb-hotel-service-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--nb-orange);
  color: #fff;
  border-radius: 5px;
  font-size: 13px;
  padding: 2px 5px;
  font-weight: 500;
  z-index: 2;
  box-shadow: 0 1px 6px #0002;
}
.nb-hotel-stars {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(255,255,255,0.98);
  border-radius: 5px;
  padding: 2px 8px 2px 5px;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13.5px;
  font-weight: 400;
  box-shadow: 0 1px 6px #0001;
  direction: ltr;
  z-index: 2;
}
.nb-hotel-stars .filled { color: #FFD700; }
.nb-hotel-stars .empty { color: #ccc; }
.nb-star-label {
  color: #555;
  font-size: 12px;
  margin-right: 9px;
  direction: rtl;
}
.nb-hotel-rating {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    font-size: 13px;
    color: #19344b;
    font-weight: 600;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 1px 6px #0001;
    direction: rtl;
    z-index: 99;
    /* width: 48px; */
}

.rating-source {
    font-size: 0.9em;
    color: #888; /* رنگ خاکستری برای توضیح */
    margin-left: 5px; /* فاصله بین امتیاز و توضیح */
    font-weight: normal;
}


/*
.nb-hotel-rating {
  background: #ffe49c;
  color: #19344b;
  border-radius: 8px;
  padding: 1px 8px;
  font-size: 12px;
  margin-right: 8px;
  font-weight: 600;
}*/
.nb-hotel-location {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(255,255,255,0.96);
  border-radius: 8px;
  font-size: 13px;
  color: #19344b;
  font-weight: 600;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 1px 6px #0001;
  direction: rtl;
  z-index: 99;
}
.nb-hotel-location span { color: var(--nb-orange); font-size: 15px; margin-right: 2px; }

/* نام هتل زیر عکس */
.hotel-card-mini-body {
  padding: 6px 8px 6px 8px;
  background: #fff;
}
.nb-hotel-title {
  display: flex;
  line-height: 1.4;
  margin-bottom: 1px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}
.nb-hotel-title .fa-name {
  color: var(--nb-blue);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
  display: block;
}
.nb-hotel-title .en-name {
  color: #888;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  display: block;
}

/* چند هتل */
.nb-hotel-card-list {
  display: flex;
  gap: 10px;
  margin: 0 0 12px 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* ===========================
   NB Modern Price Table (FINAL)
   Scope: .nb-pricetable-wrap .nb-hotel-price-table
=========================== */

.nb-pricetable-wrap{
  margin: 12px 0;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef0f4;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  overflow: hidden;
}

/* جدول */
.nb-hotel-price-table{
  width: 100%;
  border-collapse: separate;   /* مهم برای card-like rows */
  border-spacing: 0 10px;      /* فاصله بین ردیف‌ها */
  font-size: 13.5px;
  margin: 0;
  padding: 10px;              /* فاصله داخلی اطراف ردیف‌ها */
  background: transparent;
}

/* هر ردیف به شکل کارت */
.nb-hotel-price-table tr{
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transform: translateY(0);
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}

/* hover */
.nb-hotel-price-table tr:hover{
  border-color: rgba(243,146,0,.35);
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

/* td ها */
.nb-hotel-price-table td{
  padding: 12px 14px;
  background: transparent;
  border: 0 !important;       /* خط‌های قبلی حذف */
  vertical-align: middle;
}

/* ستون عنوان (نوع اتاق) */
.nb-hotel-price-table td:first-child{
  color: #111827;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

/* ستون قیمت (راست‌چین و pill-style) */
.nb-hotel-price-table td:last-child{
  direction: rtl;
  text-align: left; /* برای اینکه pill ها کنار هم بهتر بچینند */
  font-weight: 900;
  color: #111827;
}

/* اگر داخل td قیمت شما span/del/ins دارید (مثل نمونه قبلی)، این‌ها را هم شیک می‌کنیم */
.nb-hotel-price-table td:last-child .nb-price-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

/* badge تخفیف */
.nb-hotel-price-table .nb-offer-badge{
  background: rgba(243,146,0,.12);
  color: #f39200;
  border: 1px solid rgba(243,146,0,.25);
  font-weight: 900;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
}

/* قیمت قبلی */
.nb-hotel-price-table del{
  color:#9ca3af;
  font-size:12.5px;
  text-decoration-thickness:2px;
  text-decoration-color:#c7cbd1;
  white-space:nowrap;
}

/* قیمت جدید */
.nb-hotel-price-table ins{
  background: rgba(243,146,0,.14);
  color:#111827;
  font-weight:900;
  font-size:14px;
  padding:6px 10px;
  border-radius:12px;
  text-decoration:none;
  white-space:nowrap;
}

/* قیمت عادی (span) */
.nb-hotel-price-table td:last-child span:not(.nb-offer-badge){
  background:#f3f4f6;
  color:#111827;
  font-weight:900;
  font-size:13px;
  padding:6px 10px;
  border-radius:12px;
  white-space:nowrap;
}

/* حالت ناموجود/صفر (با کلاس JS) */
.nb-hotel-price-table td:last-child .nb-price-zero{
  background: rgba(239,68,68,.12);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,.25);
}

/* ===========================
   Responsive: موبایل => کارت دو ردیفه
=========================== */
@media (max-width: 680px){
  .nb-hotel-price-table{
    border-spacing: 0 12px;
    padding: 12px;
  }

  .nb-hotel-price-table tr{
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .nb-hotel-price-table td{
    display:block;
    padding:12px 14px;
  }

  .nb-hotel-price-table td:first-child{
    white-space: normal;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e5e7eb !important;
  }

  .nb-hotel-price-table td:last-child{
    text-align: right;
    padding-top: 10px;
  }

  .nb-hotel-price-table td:last-child .nb-price-wrap{
    justify-content:flex-start;
    gap:8px;
  }
}

/* توضیحات */
.nb-desc-block {
  background: #fff;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 7px;
  padding: 9px 11px 9px 11px;
  font-size: 13.5px;
  color: #222;
  box-shadow: 0 1px 7px #0001;
}
.nb-desc-block b { color: var(--nb-blue); font-size: 13.5px;}
.nb-desc-detail { color: #666; margin-top: 2px; margin-bottom: 6px;}
.nb-hotel-service-type-full {
  color: #322d2d;
  border-radius: 7px;
  font-size: 12.5px;
  display: inline-block;
  margin-top: 6px;
}

/* تماس */
.nb-contact-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  align-items: center;
  justify-content: flex-end;
}
.nb-contact-btn {
  background: var(--nb-orange);
  color: #412d21 !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 2px 10px #ff8d4022;
  text-decoration: none !important;
  transition: background 0.15s;
  border: none;
  outline: none;
  display: inline-block;
  margin-bottom: 4px;
}
.nb-contact-btn:hover,
.nb-contact-btn:focus {
  background: #ff6500;
}

/* خطا */
.nb-error-msg {
  background: #ffe8e6;
  color: #d64223;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 13px;
  text-align: center;
  margin: 13px auto;
  max-width: 420px;
  box-shadow: 0 1px 5px #ff8d4033;
}

/* موبایل */
@media (max-width: 900px) {
  .nb-one-hotel-row { flex-direction: column-reverse; gap: 10px; }
  .nb-hotel-card-mini { width: 100%; min-width: 0; }
  .nb-card-header { flex-direction: column; gap: 10px; align-items: flex-start; }
  tr.nb-price {
    display: flex;
    margin-bottom: 3px;
}
}
@media (max-width: 600px) {
  .nb-info-col-desc { width: 100%; }
  .nb-package-card { padding: 7px 1vw 4px 1vw; }
  .nb-desc-block { font-size: 12px; padding: 8px 6px 9px 6px; }
  .nb-hotel-card-list { flex-direction: column; gap: 8px;}
  .nb-hotel-card-mini { width: 100%; min-width: 0;}
  .nb-hotel-title { font-size: 12px; }
  .nb-hotel-title .en-name { font-size: 9.5px; }
  .nb-hotel-stars, .nb-hotel-location { font-size: 10.5px; padding: 2px 6px 2px 3px;}
  .nb-contact-btn { font-size: 12px; padding: 7px 8px; }
  .nb-hotel-price-table td { font-size: 12px; padding: 7px 3px; }
  .nb-pkg-info-col { font-size: 12px; gap: 4px; }
  .nb-card-header { margin-bottom: 9px; }
.nb-hotel-card-mini .nb-hotel-stars .filled,
.nb-hotel-card-mini .nb-hotel-stars .empty { vertical-align: middle; }
 tr.nb-price {
    display: flex;
    margin-bottom: 3px;
}

    
    
}

