: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-pricetable-wrap {
  margin: 10px 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 6px #0001;
  overflow: hidden;
}
.nb-hotel-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
}
.nb-hotel-price-table tr { border-bottom: 1px solid var(--nb-border);}
.nb-hotel-price-table tr:last-child { border-bottom: none;}
.nb-hotel-price-table td {
  padding: 8px 13px;
  text-align: right;
  background: #fff;
}
.nb-hotel-price-table td:first-child { color: #444; font-weight: 500; }
.nb-hotel-price-table td:last-child { color: #f56300; font-weight: 700; direction: rtl; text-align: right; }

/* توضیحات */
.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-desc-detail p {
    color: #666;
    margin-top: 2px;
    margin-bottom: 6px;
}
.nb-desc-detail p,
.nb-desc-detail li {
    line-height: 1.2 !important;
    margin-bottom: 3px !important;
}
.nb-desc-detail ol,
.nb-desc-detail ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-right: 20px; /* برای راست‌چین */
}

.nb-contact-btn-disabled{
  background:#e5e7eb !important;
  color:#6b7280 !important;
  cursor:not-allowed !important;
  pointer-events:none !important;
  box-shadow:none !important;
}
/* تماس */
.nb-contact-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  align-items: center;
  justify-content: flex-end;
}
.nb-phone-buttons-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  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;
  white-space: nowrap;
}
.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-phone-buttons-group { gap: 6px; }
  .nb-phone-buttons-group .nb-contact-btn { font-size: 11px; padding: 6px 10px; }
  .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;
}

    
    
}


/* با این، ظاهر باکس پیام نوروز را عوض می‌کنیم */
.nb-error-msg.nb-nowruz-no-package {
    background: #ffe5e5;       /* پس‌زمینه صورتی روشن‌تر */
    border: 1px solid #ff6b81;
    color: #b30022;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.8;
    max-width: 650px;
    margin: 20px auto;
    text-align: center;
}

/* پاراگراف‌های داخل باکس */
.nb-error-msg.nb-nowruz-no-package p {
    margin: 0 0 8px;
}

/* لینک تور اصلی را شبیه دکمه کنیم */
.nb-error-msg.nb-nowruz-no-package .nb-nowruz-main-link {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ff6b81;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.nb-error-msg.nb-nowruz-no-package .nb-nowruz-main-link:hover {
    background: #ff4757;
}
