/* ==========================================================================
   Hotel Results v2 — scoped to .hv2-hotel-* classes only
   Requires home-v2.css :root tokens
   ========================================================================== */

/* ---------- Search bar card ---------- */
.hv2-hotel-search-wrap {
  margin-bottom: 1rem;
}

.hv2-hotel-search-card {
  background: #f8f9fa;
  border: 1px solid #dce4ef;
  border-radius: 16px;
  padding: 0.85rem 1rem;
}

.hv2-hotel-search-card .hotal-filter-card {
  background: transparent;
  border: none;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

/* ---------- Figma modify search bar ---------- */
.hv2-hotel-modify-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.hv2-hotel-modify-field {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 0.35rem 0.85rem;
  background: none;
  border: none;
  border-right: 1px solid #dce4ef;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hv2-hotel-modify-bar > .hv2-hotel-modify-field--wide {
  flex: 1.2 1 0;
}

.hv2-hotel-modify-field:hover,
.hv2-hotel-modify-field:focus-visible {
  outline: none;
}

.hv2-hotel-modify-field__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8e8e8e;
  margin-bottom: 0.2rem;
}

.hv2-hotel-modify-field__value {
  font-size: 18px;
  font-weight: 600;
  color: #1f1f1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hv2-hotel-modify-field__icon {
  margin-right: 0.35rem;
  color: #1f1f1f;
  font-size: 0.85rem;
}

.hv2-hotel-modify-field__icon--calendar {
  color: #3b82f6;
}

.hv2-hotel-modify-search-btn {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 7.25rem;
  margin-left: 0.65rem;
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  border-radius: 10px !important;
  font-weight: 700;
  font-size: 1rem;
  color: #fff !important;
  padding: 0.65rem 1.5rem;
  white-space: nowrap;
}

.hv2-hotel-modify-search-btn:hover,
.hv2-hotel-modify-search-btn:focus {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #fff !important;
}

/* Mobile compact strip */
.hv2-hotel-modify-xs {
  width: 100%;
}

.hv2-hotel-modify-xs h3 {
  width: 100% !important;
  float: none !important;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.hv2-hotel-modify-xs span {
  display: inline-block !important;
  font-size: 0.75rem;
  color: #6b7280;
}

/* ---------- Quick filters row (presentational) ---------- */
.hv2-hotel-quick-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hv2-hotel-quick-filters__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  margin-right: 0.15rem;
}

.hv2-hotel-chip {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: default;
}

.hv2-hotel-chip--active {
  background: #e0f2fe;
  border-color: #3b82f6;
  color: #3b82f6;
}

.hv2-hotel-sort-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  cursor: default;
}

.hv2-hotel-sort-pill__icon {
  font-size: 0.7rem;
  color: #6b7280;
}

/* ---------- Filter sidebar panel ---------- */
.hv2-hotel-filter-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
  padding: 1rem 1.1rem;
  position: sticky;
  top: 1rem;
}

.hv2-hotel-filter-panel__head.widget.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.hv2-hotel-filter-panel__head .title {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.hv2-hotel-filter-panel__head .title i {
  display: none;
}

.hv2-hotel-filter-panel__reset {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2563eb !important;
  text-decoration: none;
}

.hv2-hotel-filter-panel__section {
  margin-bottom: 1.1rem;
  padding-bottom: 0;
  border: none;
}

.hv2-hotel-filter-panel__section:last-child {
  margin-bottom: 0;
}

.hv2-hotel-filter-panel__section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.hv2-hotel-filter-panel__input {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.hv2-hotel-filter-panel__input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

/* Checkbox options */
.hv2-hotel-filter-option {
  margin-bottom: 0.55rem;
}

.hv2-hotel-filter-option:last-child {
  margin-bottom: 0;
}

.hv2-hotel-filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.hv2-hotel-filter-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.hv2-hotel-filter-checkbox:checked {
  background-color: #2563eb;
  border-color: #2563eb;
}

.hv2-hotel-filter-checkbox-text {
  line-height: 1.35;
}

/* Price range slider */
.hv2-hotel-filter-panel .price_filter .ui-slider.ui-slider-horizontal.ui-widget.ui-widget-content.ui-corner-all {
  background: #e5e7eb !important;
  border: none !important;
  border-radius: 999px !important;
  height: 6px !important;
  width: 100% !important;
  margin: 0.25rem 0 0.75rem !important;
}

.hv2-hotel-filter-panel .price_filter .ui-slider .ui-slider-range {
  background: #2563eb !important;
  border-radius: 999px !important;
}

.hv2-hotel-filter-panel .price_filter .ui-slider-handle.ui-state-default.ui-corner-all {
  width: 18px !important;
  height: 18px !important;
  top: 50% !important;
  margin-top: -9px !important;
  margin-left: -9px !important;
  background: #2563eb !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.35) !important;
  cursor: grab !important;
}

.hv2-hotel-filter-panel__price-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.hv2-hotel-filter-panel__price-amount input[type='text'] {
  width: auto;
  flex: 1 1 50%;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  padding: 0;
  box-shadow: none;
}

.hv2-hotel-filter-panel__price-amount .right-price {
  text-align: right;
}

/* Mobile sidebar overlay — keep existing behaviour */
.filter-toggle.mobile-sidebar .hv2-hotel-filter-panel {
  border-radius: 0;
}

/* ==========================================================================
   Hotel results list — Figma cards
   ========================================================================== */

.hv2-hotel-results-page {
  background: #fff;
  font-family: var(--hv2-font-family, 'Plus Jakarta Sans', sans-serif);
}

.hv2-hotel-results-wrap .container {
  max-width: 1240px;
}

.hv2-hotel-results-main {
  min-width: 0;
}

.hv2-hotel-results-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* Promotional banner */
.hv2-hotel-offer-banner-wrap {
  margin-bottom: 1rem;
}

.hv2-hotel-offer-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
}

.hv2-hotel-offer-banner__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92400e;
  flex-shrink: 0;
  font-size: 1rem;
}

.hv2-hotel-offer-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}

.hv2-hotel-offer-banner__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 0.15rem;
}

.hv2-hotel-offer-banner__sub {
  display: block;
  font-size: 0.78rem;
  color: #92400e;
}

.hv2-hotel-offer-banner__btn {
  border: none;
  border-radius: 8px;
  background: #78350f;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  cursor: default;
}

/* Sort toolbar */
.hv2-hotel-sort-toolbar {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.hv2-hotel-sort-toolbar__list {
  margin-bottom: 0;
}

.hv2-hotel-sort-toolbar h5 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.hv2-hotel-sort-toolbar .nav-link {
  color: #374151;
  font-weight: 500;
  padding: 0;
}

.hv2-hotel-sort-toolbar .nav-link:hover {
  color: #2563eb;
}

/* Hotel card */
.hv2-hotel-card {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.06) !important;
  padding: 1rem !important;
  overflow: hidden;
}

.hv2-hotel-card__layout {
  align-items: stretch;
}

.hv2-hotel-card__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.hv2-hotel-card__main-image {
  flex: 1 1 auto;
  min-height: 180px;
  border-radius: 12px;
  overflow: hidden;
}

.hv2-hotel-card__img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.hv2-hotel-card__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.hv2-hotel-card__thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.hv2-hotel-card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hv2-hotel-card__thumb-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.45);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.hv2-hotel-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hv2-hotel-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.hv2-hotel-card__title-block {
  min-width: 0;
  flex: 1 1 auto;
}

.hv2-hotel-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.hv2-hotel-card__stars {
  color: #f59e0b;
  font-size: 0.8rem;
}

.hv2-hotel-card__rating-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background: #eff6ff;
  border-radius: 10px;
  padding: 0.35rem 0.45rem 0.35rem 0.65rem;
}

.hv2-hotel-card__rating-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hv2-hotel-card__rating-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #111827;
}

.hv2-hotel-card__rating-reviews {
  font-size: 0.68rem;
  color: #6b7280;
  text-decoration: none;
}

.hv2-hotel-card__rating-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.35rem;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.hv2-hotel-card__location {
  display: block;
  font-size: 0.8125rem;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 0.65rem;
}

.hv2-hotel-card__location-icon {
  margin-right: 0.25rem;
  color: #9ca3af;
}

.hv2-hotel-card__amenities {
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem !important;
}

.hv2-hotel-card__amenity {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #d1fae5;
  background: #ecfdf5;
  color: #047857;
}

.hv2-hotel-card__amenity:nth-child(3) {
  border-color: #e5e7eb;
  background: #fff;
  color: #6b7280;
}

.hv2-hotel-card__amenity-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.hv2-hotel-card__divider {
  height: 1px;
  background: #f3f4f6;
  margin: 0.25rem 0 0.75rem;
}

.hv2-hotel-card__promo {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.hv2-hotel-card__promo-icon {
  color: #10b981;
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.hv2-hotel-card__promo-text {
  background: transparent !important;
  color: #059669 !important;
  font-size: 0.8125rem !important;
  font-weight: 600;
  padding: 0 !important;
  border: none !important;
}

.hv2-hotel-card__description {
  display: block;
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.hv2-hotel-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.hv2-hotel-card__pricing {
  min-width: 0;
}

.hv2-hotel-card__price-old {
  display: block;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #9ca3af !important;
  text-decoration: line-through;
  margin: 0 0 0.1rem;
}

.hv2-hotel-card__price-current {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 0;
  line-height: 1.2;
}

.hv2-hotel-card__price-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
}

.hv2-hotel-card__price-net {
  font-size: 1rem !important;
  margin: 0.15rem 0 0;
}

.hv2-hotel-card__price-tax {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0.2rem 0 0;
}

.hv2-hotel-card__cta {
  flex-shrink: 0;
}

.hv2-hotel-card__view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.15s ease;
}

.hv2-hotel-card__view-btn:hover {
  background: #1d4ed8;
  color: #fff;
}

.hv2-hotel-card__view-btn-label {
  display: inline !important;
  background: transparent !important;
  color: inherit !important;
  border-radius: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  padding: 0 !important;
  border: none !important;
  float: none !important;
}

.hv2-hotel-card__view-btn-icon {
  font-size: 0.8rem;
}

@media (min-width: 992px) {
  .hv2-hotel-card__main-image {
    min-height: 210px;
  }
}

@media (max-width: 767.98px) {
  .hv2-hotel-offer-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hv2-hotel-card__header {
    flex-direction: column;
  }

  .hv2-hotel-card__rating-box {
    align-self: flex-start;
  }

  .hv2-hotel-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hv2-hotel-card__cta {
    width: 100%;
  }

  .hv2-hotel-card__view-btn {
    width: 100%;
    justify-content: stretch;
  }

  .hv2-hotel-card__view-btn-label {
    width: 100%;
    text-align: center;
  }
}
