/* Search results (tours.search) – layered on the Diskovar theme */

.tp-search-hero .tp-breadcrumb-title {
  position: relative;
  z-index: 2;
}

.tp-search-hero-heading {
  position: relative;
  z-index: 2;
  color: var(--tp-common-white);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tp-search-hero-subtitle {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

.tp-search-hero .tp-booking-form {
  position: relative;
  z-index: 3;
}

.tp-search-hero.tp-breadcrumb-ptb-3,
.tp-search-hero.tp-breadcrumb-ptb {
  padding-top: 120px;
  padding-bottom: 120px;
}

@media (max-width: 1399px) {
  .tp-search-hero.tp-breadcrumb-ptb-3,
  .tp-search-hero.tp-breadcrumb-ptb {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .tp-search-hero .tp-breadcrumb-title.fs-112 {
    font-size: 80px;
  }
}

@media (max-width: 991px) {
  .tp-search-hero.tp-breadcrumb-ptb-3,
  .tp-search-hero.tp-breadcrumb-ptb {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .tp-search-hero .tp-breadcrumb-title.fs-112 {
    font-size: 56px;
  }
}

@media (max-width: 767px) {
  .tp-search-hero.tp-breadcrumb-ptb-3,
  .tp-search-hero.tp-breadcrumb-ptb {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .tp-search-hero .tp-breadcrumb-title.fs-112 {
    font-size: 42px;
  }
}

.tp-search-hero .city-ac-wrap {
  position: static;
}

.tp-search-hero .city-ac-dropdown {
  text-align: left;
  z-index: 1000000;
}

.tp-search-suggest-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-right: 16px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6f6f6;
  color: var(--tp-theme-1);
  font-size: 24px;
}

.tp-search-hero .tp-booking-col-2 {
  width: 300px;
  max-width: 100%;
}

.tp-search-hero .tp-booking-col-2 .tp-input {
  padding-right: 80px;
}

/* Sidebar */
.tp-search-sidebar-head .tp-filter-title i {
  color: var(--tp-theme-1);
  margin-right: 4px;
}

.tp-search-reset-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--tp-theme-1);
  text-decoration: underline;
}

.tp-search-select .nice-select {
  width: 100%;
  float: none;
  background: transparent;
}

.tp-search-select .nice-select .list {
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
}

.tp-search-date i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tp-grey-1);
  pointer-events: none;
}

.tp-search-date .tp-input {
  padding-left: 42px;
  border-radius: 50px;
  border: 1px solid rgba(7, 21, 22, 0.1);
}

.tp-search-traveller-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(7, 21, 22, 0.1);
  border-radius: 50px;
  padding: 6px;
}

.tp-search-traveller-counter button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #f4f4f4;
  color: var(--tp-common-black);
  transition: all 0.3s ease;
}

.tp-search-traveller-counter button:hover {
  background: var(--tp-theme-1);
  color: var(--tp-common-white);
}

.tp-search-traveller-counter span {
  font-weight: 600;
  color: var(--tp-common-black);
}

.tp-search-filter-note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--tp-grey-1);
}

.tp-filter-ratings-wrap span:last-child {
  font-size: 14px;
}

/* Static column on desktop, off-canvas drawer below xl (theme main.js toggles .offcanvas-opened) */
@media (min-width: 1200px) {
  .tp-search-sidebar.tp-filter-offcanvas-area {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    overflow: visible;
    z-index: auto;
    background: transparent;
  }

  .tp-search-sidebar.tp-filter-offcanvas-area .tp-filter-sidebar {
    border: 1px solid rgba(7, 21, 22, 0.1);
    padding: 43px 28px 45px 28px;
  }
}

@media (max-width: 1199.98px) {
  .tp-search-sidebar {
    display: flex;
    flex-direction: column;
  }

  .tp-search-sidebar .tp-filter-sidebar {
    flex: 1 1 auto;
    padding: 24px;
    box-shadow: none;
  }
}

.tp-search-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--tp-common-black);
}

.tp-search-drawer-header h4 {
  margin: 0;
  font-size: 18px;
  color: var(--tp-common-white);
}

.tp-search-drawer-close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  line-height: 1;
}

.tp-search-drawer-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  background: var(--tp-common-white);
  border-top: 1px solid rgba(7, 21, 22, 0.1);
}

.tp-search-drawer-footer .tp-btn {
  flex: 1;
  justify-content: center;
}

.tp-search-drawer-reset {
  flex: 1;
  border: 1px solid rgba(7, 21, 22, 0.15);
  border-radius: 50px;
  background: transparent;
  font-weight: 500;
  color: var(--tp-common-black);
}

/* Listing tabs + results bar */
.tp-search-listing-tabs {
  border-bottom: 1px solid rgba(7, 21, 22, 0.1);
}

.tp-search-listing-tabs ul li {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .tp-search-listing-tabs ul li:not(:last-child) {
    margin-right: 18px;
  }
}

.tp-tour-dis-icon i {
  font-size: 34px;
  line-height: 1;
}

.tp-search-pagination-info {
  font-size: 15px;
  color: var(--tp-grey-1);
}

.tp-search-pagination-info strong {
  color: var(--tp-common-black);
}

.tp-search-pagination-bar .tp-pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

.tp-tour-wishlist {
  cursor: pointer;
}

.tp-tour-wishlist.active {
  background: var(--tp-theme-1);
  color: var(--tp-common-white);
}

.tp-tour-wishlist.active svg path {
  fill: currentColor;
}
