/* ==========================================================================
   NexTour — Homestay marketplace styles
   Only what the tour template lacks: card image slider dots, "/night" price,
   amenities grid, room-type rows, availability calendar, house-rules list.
   Reuses tp- tokens/spacing everywhere. Namespace: nx-hs-
   ========================================================================== */

/* --- Homestay card image Swiper (inside .tp-tour-thumb) --- */
.tp-tour-thumb .nx-hs-slider { position: relative; overflow: hidden; border-radius: inherit; }
.tp-tour-thumb .nx-hs-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.tp-tour-thumb .nx-hs-slider .swiper-pagination { bottom: 12px; }
.tp-tour-thumb .nx-hs-slider .swiper-pagination-bullet {
  width: 7px; height: 7px; background: #fff; opacity: .6; margin: 0 3px;
}
.tp-tour-thumb .nx-hs-slider .swiper-pagination-bullet-active { opacity: 1; width: 18px; border-radius: 6px; }
.tp-tour-thumb .nx-hs-slider .nx-hs-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transition: opacity .3s ease; border: 0;
}
.tp-tour-thumb:hover .nx-hs-nav { opacity: 1; }
.tp-tour-thumb .nx-hs-nav.nx-hs-prev { left: 12px; }
.tp-tour-thumb .nx-hs-nav.nx-hs-next { right: 12px; }

/* "Superhost" pill reuses .tp-tour-badge; add a neutral variant */
.tp-tour-badge.nx-hs-superhost { background: #fff; color: var(--tp-common-black); }

/* --- Amenities grid (property details) --- */
.nx-hs-amenities { list-style: none; margin: 0; padding: 0; }
.nx-hs-amenities li {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  font-family: var(--tp-ff-body); color: var(--tp-common-black);
}
.nx-hs-amenities li i, .nx-hs-amenities li svg { color: var(--tp-theme-1); font-size: 18px; flex: 0 0 auto; }
.nx-hs-amenities li.nx-hs-unavailable { color: var(--tp-grey-2); text-decoration: line-through; }

/* --- Room-type rows --- */
.nx-hs-room {
  display: flex; gap: 20px; align-items: center; padding: 20px;
  border: 1px solid var(--tp-border-1); border-radius: 16px; margin-bottom: 16px;
  background: #fff; transition: box-shadow .3s ease;
}
.nx-hs-room:hover { box-shadow: 0 16px 40px rgba(7,21,22,.06); }
.nx-hs-room-thumb { flex: 0 0 140px; width: 140px; height: 104px; border-radius: 12px; overflow: hidden; }
.nx-hs-room-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nx-hs-room-body { flex: 1 1 auto; }
.nx-hs-room-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--tp-grey-1); font-size: 14px; margin-top: 6px; }
.nx-hs-room-meta span { display: inline-flex; align-items: center; gap: 6px; }
.nx-hs-room-price { flex: 0 0 auto; text-align: right; }
.nx-hs-room-price .nx-hs-amount { font-size: 24px; font-weight: 700; color: var(--tp-common-black); }
.nx-hs-room-price .nx-hs-suffix { color: var(--tp-grey-1); font-size: 14px; }
@media (max-width: 575px) {
  .nx-hs-room { flex-direction: column; align-items: flex-start; }
  .nx-hs-room-price { text-align: left; }
}

/* --- House rules --- */
.nx-hs-rules { list-style: none; margin: 0; padding: 0; }
.nx-hs-rules li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--tp-border-1); }
.nx-hs-rules li:last-child { border-bottom: 0; }
.nx-hs-rules li i { color: var(--tp-theme-1); font-size: 18px; }

/* --- Availability date field + calendar popup styling --- */
.nx-hs-calendar .nx-hs-calendar-input {
  width: 100%; max-width: 420px; height: 54px; border: 1px solid var(--tp-border-1);
  border-radius: 12px; padding: 0 18px; background: #fff; cursor: pointer; font-size: 15px;
}
.daterangepicker td.active, .daterangepicker td.active:hover,
.daterangepicker .start-date, .daterangepicker .end-date { background-color: var(--tp-theme-1) !important; }
.daterangepicker td.in-range { background-color: var(--nx-theme-light); }
/* Blocked / booked dates */
.daterangepicker td.nx-hs-blocked {
  background: repeating-linear-gradient(45deg,#f3f4f4,#f3f4f4 4px,#e9eaea 4px,#e9eaea 8px);
  color: #b7b9b9; text-decoration: line-through; pointer-events: none;
}

/* --- "Request to Book" reassurance note --- */
.nx-hs-nopay {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 14px;
  padding: 12px 14px; background: var(--nx-theme-light); border-radius: 10px;
  font-size: 13px; color: var(--tp-common-black);
}
.nx-hs-nopay i { color: var(--tp-theme-1); margin-top: 2px; }

/* Status pill reused on booking-success + account pages */
.nx-status {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px;
  border-radius: 50px; font-size: 13px; font-weight: 600; line-height: 1;
}
.nx-status--pending   { background: #FDF3E1; color: #B8860B; }
.nx-status--confirmed { background: #E4F5EC; color: var(--nx-success); }
.nx-status--declined  { background: #FBE9E9; color: var(--nx-danger); }
.nx-status--paid      { background: var(--nx-theme-light); color: var(--tp-theme-1); }
