/* ============================================================
   HOTEL LIST PAGE
   ============================================================ */

/* Page header */
.hotel-list-header {
  padding: 140px 0 50px;
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-border);
}

/* Filters bar */
.hotel-filters-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  position: relative;
  /* position: sticky;
  top: 60px; */
  z-index: var(--z-sticky);
  box-shadow: var(--shadow-xs);
}

.hotel-filters-inner {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 140px;
}

.filter-group .jd-input {
  padding: 10px 14px;
  font-size: var(--text-sm);
}

/* Results count */
.hotel-results-count {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: 400;
}

#results-count {
  font-weight: 600;
  color: var(--color-primary);
  font-size: var(--text-md);
}

/* Hotel card */
.hotel-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hotel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent-light);
}

.hotel-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
  flex-shrink: 0;
}

.hotel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-xslow);
}

.hotel-card:hover .hotel-card-img {
  transform: scale(1.05);
}

.hotel-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-primary-xlight),
    var(--color-light)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 3rem;
}

.hotel-card-location-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26, 77, 46, 0.88);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.hotel-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hotel-card-stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
  font-size: 12px;
  margin-bottom: 8px;
}

.hotel-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.hotel-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.hotel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.hotel-card-price {
  display: flex;
  flex-direction: column;
}

.hotel-card-price-amount {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}

.hotel-card-price-label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Empty state */
.hotel-empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-muted);
}

.hotel-empty-state i {
  font-size: 4rem;
  color: var(--color-border-dark);
  display: block;
  margin-bottom: 20px;
}

.hotel-empty-state h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.hotel-empty-state p {
  font-size: var(--text-sm);
  max-width: 300px;
  margin: 0 auto;
}

/* Skeleton loading cards */
.hotel-skeleton {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.skeleton-img {
  height: 230px;
  background: linear-gradient(
    90deg,
    var(--color-light) 25%,
    var(--color-border) 50%,
    var(--color-light) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
}

.skeleton-body {
  padding: 22px;
}

.skeleton-line {
  height: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    90deg,
    var(--color-light) 25%,
    var(--color-border) 50%,
    var(--color-light) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  margin-bottom: 10px;
}

.skeleton-line.w-60 {
  width: 60%;
}
.skeleton-line.w-80 {
  width: 80%;
}
.skeleton-line.w-40 {
  width: 40%;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .hotel-list-header {
    padding: 110px 0 40px;
  }

  .hotel-filters-inner {
    gap: 12px;
  }

  .filter-group {
    min-width: calc(50% - 6px);
  }

  #btn-clear-filters {
    width: 100%;
    justify-content: center;
  }
}
