/* Rentals search UX refresh: simple top search + optional filters */

.cl-page--rentals .cl-main {
  background: #f4f6f9;
}

.cl-page--rentals .cl-page__inner {
  max-width: 1400px;
  margin-inline: auto;
}

.cl-page--rentals .cl-search-card.cl-explore-filters {
  border-radius: 14px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 52%, #f1f5f9 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.07) !important;
  padding: 1rem 1.05rem 1.05rem;
}

@media (min-width: 768px) {
  .cl-page--rentals .cl-search-card.cl-explore-filters {
    padding: 1.15rem 1.25rem 1.2rem;
  }
}

.cl-page--rentals .cl-rentals-search-form__row-primary,
.cl-page--rentals .cl-rentals-search-form__row-secondary {
  --bs-gutter-x: 0.7rem;
  --bs-gutter-y: 0.55rem;
}

.cl-page--rentals .cl-rentals-search-form .form-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.28rem;
}

.cl-page--rentals .cl-rentals-search-form .form-control,
.cl-page--rentals .cl-rentals-search-form .form-select {
  border-radius: 10px;
  border-color: #dbe2ea;
  min-height: 2.7rem;
  font-size: 0.875rem;
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.cl-page--rentals .cl-rentals-search-form .form-control:focus,
.cl-page--rentals .cl-rentals-search-form .form-select:focus {
  border-color: #0052ff;
  box-shadow: 0 0 0 0.2rem rgba(0, 82, 255, 0.12);
}

.cl-page--rentals .cl-rentals-location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 0.6rem;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  min-height: 42px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cl-page--rentals .cl-rentals-location:focus-within {
  border-color: rgba(0, 82, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.cl-page--rentals .cl-rentals-location__icon {
  color: #0052ff;
  flex-shrink: 0;
  display: flex;
  opacity: 0.92;
}

.cl-page--rentals .cl-rentals-location__select {
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0;
  min-height: 40px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
}

.cl-page--rentals .cl-rentals-search-cta {
  background: #0052ff;
  border-color: #0052ff;
  border-radius: 8px;
  min-height: 42px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 82, 255, 0.22);
}

.cl-page--rentals .cl-rentals-search-cta:hover {
  background: #0040cc;
  border-color: #0040cc;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.28);
  transform: translateY(-1px);
}

.cl-page--rentals .cl-rentals-search-cta:active {
  transform: translateY(0);
}

.cl-page--rentals .cl-rentals-search-form__meta {
  display: flex;
  justify-content: flex-end;
}

.cl-page--rentals .cl-rentals-more-filters-btn {
  border-radius: 999px;
  font-weight: 600;
}

.cl-page--rentals .cl-rentals-more-filters {
  border-radius: 12px;
  background: #f8fafc;
}

.cl-page--rentals .cl-rentals-filter-switch {
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  padding: 0 0.6rem;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  background: #fff;
}

.cl-page--rentals .cl-rentals-filter-switch__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.cl-page--rentals .cl-rentals-filter-switch__inner .form-check-input {
  width: 2.25em;
  height: 1.2em;
  margin-top: 0;
}

.cl-page--rentals .cl-rentals-popular,
.cl-page--rentals .cl-rentals-recent-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
  margin-top: 0.65rem;
  margin-bottom: 0.15rem;
}

.cl-page--rentals .cl-rentals-popular__label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}

.cl-page--rentals .cl-rentals-popular__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cl-page--rentals .cl-rentals-popular__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  border: 1px solid #d8dee9;
  background: #fff;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
}

.cl-page--rentals .cl-rentals-popular__chip:hover {
  border-color: #0052ff;
  color: #0052ff;
  background: #eff6ff;
}

.cl-page--rentals .cl-rentals-filters-mobile {
  min-height: min(82dvh, 760px);
  border-radius: 18px 18px 0 0;
}

.cl-page--rentals .cl-result-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.cl-page--rentals .cl-result-card .cl-result-media {
  height: 100%;
}

.cl-page--rentals .cl-result-card .card-body {
  padding: 1rem 1.05rem;
}

@media (max-width: 991.98px) {
  .cl-page--rentals .cl-result-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .cl-page--rentals .cl-result-card .cl-result-media {
    height: auto;
    flex: 0 0 auto;
  }

  .cl-page--rentals .cl-result-card .card-body {
    display: block;
    flex: 1 1 auto;
  }
}

@media (max-width: 767.98px) {
  .cl-page--rentals .cl-rentals-more-filters-btn {
    width: 100%;
  }
}
