.listing_container {
  padding: 40px 0 60px;
  background: var(--gray-50);
}

.listing_layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.filters_panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  position: static;
  max-height: none;
  overflow-y: visible;
}
.filters_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.filters_title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
}

.filters_reset {
  border: none;
  background: transparent;
  color: #e45757;
  font-weight: 600;
  cursor: pointer;
}

.filter_block {
  border-top: 1px solid var(--gray-200);
  padding-top: 30px;
  margin-top: 30px;
}

.filter_block:first-of-type {
  border-top: 0;
  padding-top: 8px;
  margin-top: 8px;
}

.filter_block_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.filter_block_title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}

.filter_toggle {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--gray-300);
  background: var(--white);
}

.price_slider .price_inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.price_chip {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 6px 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.price_chip input {
  width: 90px;
  border: none;
  outline: none;
  font: inherit;
  color: var(--gray-800);
}

.slider_wrap {
  position: relative;
  height: 36px;
  margin: 8px 0 6px;
}

.slider_wrap input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: none;
  pointer-events: none;
  z-index: 2;
}

.slider_wrap input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-blue);
  border: 2px solid var(--white);
  box-shadow: var(--shadow);
  pointer-events: auto;
  cursor: pointer
}

.slider_wrap input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-blue);
  border: 2px solid var(--white); 
  box-shadow: var(--shadow);
  cursor: pointer
}

.slider_wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
}

.slider_track {
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 4px;
  background: var(--gray-200);
  border-radius: 999px;
}

.price_range_text {
  font-size: 12px;
  color: var(--gray-600);
}

/* Kalkış Noktası Filtresi */
.departure_filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.departure_checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

.departure_checkbox:hover {
  background-color: var(--gray-50);
}

.departure_checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary-blue);
  flex-shrink: 0;
}

.checkbox_label {
  font-size: 12px;
  color: var(--gray-700);
  cursor: pointer;
  line-height: 1.4;
}

.departure_checkbox input[type="checkbox"]:checked + .checkbox_label {
  font-weight: 600;
  color: var(--gray-900);
}

.no_departures {
  font-size: 14px;
  color: var(--gray-500);
  text-align: center;
  padding: 16px 0;
}

/* Daha Fazla Göster Butonu */
.departure_hidden {
  display: none;
}

.departure_toggle {
  margin-top: 4px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.departure_toggle:hover {
  background-color: var(--gray-50);
  border-color: var(--primary-blue);
}

.departure_toggle:active {
  transform: scale(0.98);
}

/* Vize Durumu Filtresi */
.visa_filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.visa_checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

.visa_checkbox:hover {
  background-color: var(--gray-50);
}

.visa_checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary-blue);
  flex-shrink: 0;
}

.visa_checkbox .checkbox_label {
  font-size: 12px;
  color: var(--gray-700);
  cursor: pointer;
  line-height: 1.4;
}

.visa_checkbox input[type="checkbox"]:checked + .checkbox_label {
  font-weight: 600;
  color: var(--gray-900);
}

.no_visa_info {
  font-size: 14px;
  color: var(--gray-500);
  text-align: center;
  padding: 16px 0;
}

/* Tur Süresi Filtresi */
.night_filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.night_checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

.night_checkbox:hover {
  background-color: var(--gray-50);
}

.night_checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary-blue);
  flex-shrink: 0;
}

.night_checkbox .checkbox_label {
  font-size: 12px;
  color: var(--gray-700);
  cursor: pointer;
  line-height: 1.4;
}

.night_checkbox input[type="checkbox"]:checked + .checkbox_label {
  font-weight: 600;
  color: var(--gray-900);
}

.no_nights {
  font-size: 14px;
  color: var(--gray-500);
  text-align: center;
  padding: 16px 0;
}

/* Ülke Filtreleri */
.country_filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.country_checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

.country_checkbox:hover {
  background-color: var(--gray-50);
}

.country_checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary-blue);
  flex-shrink: 0;
}

.country_checkbox .checkbox_label {
  font-size: 12px;
  color: var(--gray-700);
  cursor: pointer;
  line-height: 1.4;
}

.country_checkbox input[type="checkbox"]:checked + .checkbox_label {
  font-weight: 600;
  color: var(--gray-900);
}

.country_hidden {
  display: none;
}

.country_toggle {
  margin-top: 4px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  width: 100%;
}

.country_toggle:hover {
  background-color: var(--gray-50);
  border-color: var(--primary-blue);
}

.country_toggle:active {
  transform: scale(0.98);
}

/* Dönem Filtreleri (Badge Stili) */
.period_filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.period_badge {
  padding: 5px 5px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 5px;
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.period_badge:hover {
  border-color: var(--primary-blue);
  background-color: var(--gray-50);
}

.period_badge.period_active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  font-weight: 600;
}

.period_count {
  font-size: 11px;
  opacity: 0.8;
}

.no_periods {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--gray-500);
  text-align: center;
  padding: 16px 0;
}

/* Responsive: Mobilde tek kolon */
@media (max-width: 768px) {
  .period_filters {
    grid-template-columns: 1fr;
  }
}

.results_panel {
  min-width: 0;
}

.results_topbar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.results_count {
  font-weight: 600;
  color: var(--gray-800);
}

.sort_group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.select_like select {
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--white);
  font: inherit;
  color: var(--gray-800);
}

.cards_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tour_card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  background: var(--white); 
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.card_media {
  position: relative;
}

.media_slider {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #f6f7f9;
}

.media_slider .slide {
  position: absolute; inset:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  -webkit-border-top-left-radius: 12px;
  -webkit-border-bottom-left-radius: 12px;
  -moz-border-radius-topleft: 12px;
  -moz-border-radius-bottomleft: 12px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.media_slider .slide.active {
  display: block;
}

.wish_btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-size: 16px;
  z-index: 3;
}

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.badge-blue {
  background: var(--primary-blue);
}

.badge-gold {
  background: #f1a545;
}

.media_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease; z-index:3;
}

.card_media:hover .media_nav {
  opacity: 1;
}

.media_nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.media_nav.prev {
  left: 10px;
}

.media_nav.next {
  right: 10px;
}

.dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

.card_body {
  padding: 14px 16px 16px 0;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.card_header {
  margin-bottom: 6px;
}

.card_title {
  font-size: 16px;
  line-height: 1.2;
  color: var(--gray-900);
  font-weight: 600;
}

.meta_locline {
  margin-top: 6px;
  font-size: 12px;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 4px;
}

.transport_badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}

.transport_badge svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.visa_badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}

.visa_badge svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.visa_badge.visa_free {
  color: #10b981;
}

.visa_badge.visa_required {
  color: #ef4444;
}

.meta_features {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 12.5px;
  color: var(--gray-700);
}

.meta_type {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 12px;
}

.sep {
  opacity: .5;
}

.feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featlabel {
  color: var(--gray-800);
  font-weight: 600;
}

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: currentColor;
}

.icon.plane {
  color: var(--primary-blue);
}

.icon.star {
  color: #f5a524;
}

.icon.star.filled path {
  fill: currentColor;
}

.stars {
  gap: 0 !important;
}

.rating_row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating_stars {
  display: inline-flex;
  gap: 4px;
}

.rating_stars .star {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  position: relative;
  background: linear-gradient(90deg, #f5a524 0 0) no-repeat;
}

.rating_stars .star::before {
  content: "★";
  color: #f5a524;
  font-size: 16px;
  line-height: 16px;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.rating_stars .star::after {
  content: "★";
  color: #e2e8f0;
  font-size: 16px;
  line-height: 16px;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  mix-blend-mode: lighten;
}

.rating_stars .star.fill {
  background-size: 100% 100%;
}

.rating_stars .star.half {
  background: linear-gradient(90deg, #f5a524 0 50%, transparent 50% 100%);
}

.rating_text {
  font-size: 12.5px;
  color: var(--gray-800);
  font-weight: 600;
}

.rating_text small {
  color: var(--gray-600);
  font-weight: 500;
}

.card_desc {
  color: var(--gray-700);
  font-size: 14px;
  margin: 10px 0 12px;
}

.card_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
  margin-top: auto;
}

.meta_inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--gray-100);
  color: var(--gray-700);
}

.price_box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price_label {
  color: var(--gray-600);
  font-size: 12px;
}

.price {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 18px;
}

.old_price {
  color: var(--gray-500);
  text-decoration: line-through;
  font-size: 13px;
}

@media (max-width:1024px) {
  .listing_layout {
    grid-template-columns: 1fr;
  }

  .filters_panel {
    position: static;
  }
}
@media (max-width:640px) {
  .tour_card {
    grid-template-columns: 1fr;
  }

  .media_slider {
    height: 220px;
  }

  .card_body {
    padding: 14px 16px;
  }
}

.parallax-banner {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  background-image: url("https://images.unsplash.com/photo-1499856871958-5b9627545d1a?q=80&w=1120&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: clamp(60px, 2vw, 140px) 20px;
}

.parallax-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  pointer-events: none;
}

.parallax-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pb-line1 {
  font-size: clamp(28px, 6vw, 64px);
  font-weight: 800;
  margin: 0;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.pb-line2 {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  margin: 0;
}

.pb-line2 span {
  color: #ff4aa3;
  font-weight: 900;
  font-size: 56px;
}

.pb-line3 {
  font-size: clamp(16px, 2.8vw, 26px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0;
}

.pb-btn {
  display: inline-block;
  margin-top: 10px;
  background: #184fce;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

.pb-btn:hover {
  background: #0f3ea8;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .parallax-banner {
    background-attachment: scroll;
    padding: 70px 16px;
  }

  .pb-line1 {
    font-size: 36px;
  }
}

.tour-card-link {
  text-decoration: none;
}

/* Tur kartı tarih badge'i + tooltip */
.tour_date_badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--gray-800);
  margin-top: 15px;
}

.tour_date_range {
  font-weight: 500;
}

.tour_date_count_wrapper {
  position: relative;
}

.tour_date_count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 2px 8px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--primary-blue);
  color: #fff;
  font-weight: 600;
  font-size: 11px;
  cursor: default;
}

/* Tooltip kutusu */
.tour_date_tooltip {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -8px);
  min-width: 180px;
  max-width: 260px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  font-size: 12px;
  color: var(--gray-800);
  opacity: 0;
  visibility: hidden;
  z-index: 20;
}

.tour_date_tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.15));
}

.tour_date_tooltip_title {
  font-weight: 600;
  margin-bottom: 4px;
}

.tour_date_tooltip ul {
  margin: 0;
  padding-left: 16px;
  max-height: 220px;
  overflow-y: auto;
}

.tour_date_tooltip li {
  padding: 1px 0;
}

/* Hover ile açılma */
.tour_date_count_wrapper:hover .tour_date_tooltip {
  opacity: 1;
  visibility: visible;
}

.price_box {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-direction: column;
}

.price_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.price {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.price_loading {
  color: var(--gray-500);
  font-size: 14px;
  font-style: italic;
  animation: pulse 1.5s ease-in-out infinite;
}

.price_error {
  color: var(--error, #e45757);
  font-size: 13px;
}

.price_label {
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 500;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.price_try {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.1;
}

.price_row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price_old {
  color: var(--gray-500);
  text-decoration: line-through;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.1;
}

.price_campaign {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.converted-price {
  font-size: 12px;
  font-weight: 400;
  color: #6c757d;
  display: inline-block;
}

.discount_badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, #ff4d4d 0%, #c62828 100%);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   INFINITE SCROLL LOADING & NO MORE
   ============================================ */

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-spinner.active {
  opacity: 1;
  visibility: visible;
}

.loading-spinner .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-spinner p {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  margin: 0;
}

.no-more-tours {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  margin-top: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.no-more-tours.active {
  opacity: 1;
  visibility: visible;
}

.no-more-tours p {
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 500;
  margin: 0;
}