/* ============================================================
   TESISLER.CSS — Hotels.com Pixel-Perfect Clone
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a2e;
}

/* ── Page Layout ─────────────────────────────────────────── */
.tsl-page {
  display: flex;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  gap: 24px;
  align-items: flex-start;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.tsl-sidebar {
  flex: 0 0 280px;
  width: 280px;
  flex-shrink: 0;
}

/* Map Box */
.tsl-map-box {
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 20px;
  transition: border-color .2s;
}
.tsl-map-box:hover { border-color: #667085; }
.tsl-map-preview {
  height: 110px;
  background-image: url('https://mt1.google.com/vt/lyrs=s,h&x=2385&y=1400&z=12');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tsl-map-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
}
.tsl-map-preview i {
  font-size: 28px;
  color: #fff;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.tsl-map-box span {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  background: #fff;
  border-top: 1px solid #e4e7ec;
}

/* Name Search */
.tsl-name-input {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 9px 12px 9px 34px;
  font-size: 13px;
  color: #1a1a2e;
  outline: none;
  transition: border-color .2s;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 10px center;
}
.tsl-name-input:focus { border-color: #1d4ed8; }

/* Divider */
.tsl-divider { border: none; border-top: 1px solid #e4e7ec; margin: 16px 0; }

/* Filter Section */
.tsl-filter-section { padding: 0 2px; }
.tsl-filter-title {
  font-size: 14px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

/* Checkboxes & Radios */
.tsl-check, .tsl-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 13.5px;
  color: #344054;
  line-height: 1.4;
}
.tsl-check input, .tsl-radio input {
  accent-color: #1d4ed8;
  width: 16px; height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.tsl-check-count {
  margin-left: auto;
  font-size: 12px;
  color: #98a2b3;
}

/* Star Rating Filter */
.tsl-star-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 13px;
  color: #344054;
}
.tsl-star-row input { accent-color: #1d4ed8; width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }
.tsl-stars { color: #f59e0b; font-size: 12px; letter-spacing: 1px; }

/* Guest Score Filter */
.tsl-score-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 13px;
  color: #344054;
}
.tsl-score-filter-row input { accent-color: #1d4ed8; width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }
.tsl-score-pill {
  background: #003580;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Price Labels */
.tsl-price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #667085;
  margin-bottom: 6px;
  font-weight: 500;
}

/* Histogram */
.tsl-histogram {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 56px;
  margin-bottom: 0;
  padding: 0 1px;
}
.tsl-histogram-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  min-height: 4px;
  transition: background-color .15s, opacity .15s;
  background: #2563eb; /* blue-600 — seçili */
}
.tsl-histogram-bar.bar-dimmed {
  background: #e5e7eb; /* gray-200 — seçili dışı */
}

/* Dual Range Slider */
.tsl-range-wrap {
  position: relative;
  height: 28px;
  margin-top: 0;
}
.tsl-range {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  outline: none;
}
.tsl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid #2563eb;
  pointer-events: all;
  cursor: grab;
  box-shadow: 0 2px 6px rgba(37,99,235,0.25), 0 1px 3px rgba(0,0,0,0.12);
  transition: box-shadow .15s, transform .1s;
}
.tsl-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  box-shadow: 0 3px 10px rgba(37,99,235,0.4);
  transform: scale(1.1);
}
.tsl-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid #2563eb;
  pointer-events: all;
  cursor: grab;
  box-shadow: 0 2px 6px rgba(37,99,235,0.25);
}
#rangeTrack {
  position: absolute;
  height: 4px;
  background: #e5e7eb;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 2px;
  z-index: 0;
}
#rangeHighlight {
  position: absolute;
  height: 4px;
  background: #2563eb;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 2px;
  z-index: 1;
}

/* Fiyat Gösterge Kutuları */
.tsl-price-boxes {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.tsl-price-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 7px 10px;
  background: #f9fafb;
}
.tsl-price-box-label {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
  line-height: 1;
}
.tsl-price-box-value {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.tsl-price-box-sep {
  color: #d1d5db;
  font-size: 16px;
  flex-shrink: 0;
}

/* Apply Button */
.tsl-apply-btn {
  width: 100%;
  margin-top: 18px;
  padding: 11px;
  background: #003580;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.tsl-apply-btn:hover { background: #002a6b; }

/* ── Main Content ─────────────────────────────────────────── */
.tsl-main { flex: 1; min-width: 0; }

/* Top Bar */
.tsl-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 10px 0 12px;
  border-bottom: 1px solid #e4e7ec;
  gap: 12px;
}
.tsl-result-count {
  font-size: 15px;
  color: #101828;
  font-weight: 600;
  white-space: nowrap;
}
.tsl-topbar-info {
  font-size: 13px;
  color: #344054;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex: 1;
  justify-content: center;
}
.tsl-topbar-info i { color: #667085; font-size: 14px; }
.tsl-topbar-info:hover { color: #101828; }
.tsl-sort-select {
  border: 1.5px solid #d0d5dd;
  border-radius: 8px;
  padding: 8px 36px 8px 14px;
  font-size: 13px;
  color: #344054;
  outline: none;
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color .2s;
}
.tsl-sort-select:hover { border-color: #667085; }

/* Promo Banner */
.tsl-promo-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1a2340;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
}
.tsl-promo-icon {
  width: 44px; height: 44px;
  background: rgba(255,107,53,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: #FF6B35;
}
.tsl-promo-text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}
.tsl-promo-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.tsl-promo-btn-outline {
  padding: 8px 18px;
  background: #fff;
  color: #1a2340;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}
.tsl-promo-btn-outline:hover { opacity: .88; }
.tsl-promo-btn-text {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.tsl-promo-btn-text:hover { color: #fff; }
  transition: border-color .2s;
}
.tsl-sort-select:hover { border-color: #667085; }

/* ── Horizontal Card (Hotels.com style) ──────────────────── */
.tsl-card {
  display: flex;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
  overflow: hidden;
  height: 220px;
}
.tsl-card:hover {
  border-color: #98a2b3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

/* Card Image — sabit 240px */
.tsl-card-img {
  position: relative;
  width: 240px;
  flex-shrink: 0;
  background: #f2f4f7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tsl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.tsl-card:hover .tsl-card-img img { transform: scale(1.03); }
.tsl-img-fallback {
  display: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #3b82f6;
}
.tsl-card-img:not(:has(img)) .tsl-img-fallback,
.tsl-img-fallback:only-child { display: flex; }

/* Ana görsel + küçük görseller */
.tsl-img-main {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #f2f4f7;
  border-radius: 8px;
  margin: 4px 4px 0;
}
.tsl-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.tsl-card:hover .tsl-img-main img { transform: scale(1.03); }

.tsl-img-thumbs {
  display: flex;
  flex-direction: row;
  gap: 4px;
  width: 100%;
  height: 62px;
  flex-shrink: 0;
  padding: 4px 4px 4px;
}
.tsl-img-thumbs img, .tsl-img-thumb-empty {
  flex: 1;
  height: 100%;
  object-fit: cover;
  background: #e4e7ec;
  border-radius: 5px;
}

.tsl-badge-vip {
  position: absolute;
  top: 10px; left: 10px;
  background: #101828;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .05em;
  z-index: 2;
}
.tsl-fav-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 15px;
  color: #98a2b3;
  transition: color .2s, background .2s;
  z-index: 2;
}
.tsl-fav-btn:hover, .tsl-fav-btn.active { color: #ef4444; background: #fff; }

/* Card Body — middle 45% + right 25% */
.tsl-card-body {
  display: flex;
  flex: 1;
  min-width: 0;
}

/* Card Info — orta alan, kalan boşluğu doldurur */
.tsl-card-info {
  flex: 1;
  min-width: 0;
  padding: 14px 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  max-height: 220px;
}

.tsl-card-name {
  font-size: 17px;
  font-weight: 700;
  color: #101828;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .15s;
}
.tsl-card:hover .tsl-card-name { color: #1d4ed8; }

.tsl-card-stars { color: #f59e0b; font-size: 12px; letter-spacing: 1px; margin-top: -2px; }

.tsl-card-score-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}
.tsl-score-badge {
  background: #003580;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px 6px 6px 0;
  flex-shrink: 0;
}
.tsl-score-label {
  font-size: 13px;
  font-weight: 700;
  color: #101828;
}
.tsl-score-count {
  font-size: 12px;
  color: #667085;
}

.tsl-card-location {
  font-size: 12.5px;
  color: #667085;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.tsl-card-location i { font-size: 11px; color: #98a2b3; }

/* Green check features */
.tsl-card-features {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}
.tsl-feat-tag {
  font-size: 12.5px;
  color: #027a48;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tsl-feat-tag i { font-size: 11px; color: #12b76a; flex-shrink: 0; }

.tsl-points-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #6941c6;
  margin-top: auto;
  padding-top: 8px;
}
.tsl-points-badge i { font-size: 10px; }

/* Card Alias */
.tsl-card-alias {
  font-size: 12px;
  color: #98a2b3;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Price Block — sabit 200px sağ blok ──────────────────── */
.tsl-card-price {
  width: 200px;
  flex-shrink: 0;
  border-left: 1px solid #e4e7ec;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3px;
  overflow: hidden;
}
.tsl-price-nights {
  font-size: 11.5px;
  color: #667085;
  text-align: right;
  margin-bottom: 2px;
}
.tsl-discount-badge {
  background: #d92d20;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}
.tsl-old-price {
  font-size: 13px;
  color: #98a2b3;
  text-decoration: line-through;
  text-align: right;
}
.tsl-new-price {
  font-size: 24px;
  font-weight: 800;
  color: #101828;
  line-height: 1.1;
  text-align: right;
}
.tsl-price-note {
  font-size: 11px;
  color: #98a2b3;
  text-align: right;
  line-height: 1.4;
  margin-top: 1px;
}
.tsl-book-link {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
}
.tsl-book-link:hover { color: #1e40af; }

/* ── Skeleton ─────────────────────────────────────────────── */
.tsl-skeleton {
  height: 220px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #f9fafb 25%, #f2f4f7 50%, #f9fafb 75%);
  background-size: 200% 100%;
  animation: tsl-shimmer 1.4s infinite;
}
@keyframes tsl-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Empty State ──────────────────────────────────────────── */
.tsl-empty {
  text-align: center;
  padding: 60px 20px;
  color: #98a2b3;
}
.tsl-empty i { font-size: 48px; margin-bottom: 16px; display: block; }
.tsl-empty p { font-size: 15px; margin-bottom: 16px; color: #667085; }
.tsl-reset-btn {
  padding: 10px 24px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  color: #344054;
  font-family: inherit;
}
.tsl-reset-btn:hover { border-color: #667085; }

/* ── Map Modal ────────────────────────────────────────────── */
.tsl-map-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tsl-map-modal-inner {
  position: relative;
  width: 90vw;
  height: 80vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.tsl-map-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  width: 36px; height: 36px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #344054;
}

/* ── Search Bar ───────────────────────────────────────────── */
.tsl-search-bar {
  background: #fff;
  padding: 14px 16px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.tsl-search-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1.5px solid #d0d5dd;
  border-radius: 14px;
  overflow: visible;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.tsl-search-inner:focus-within {
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}
.tsl-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  cursor: pointer;
  border-radius: 14px;
  transition: background .15s;
  position: relative;
  min-width: 0;
}
.tsl-search-field:hover { background: #f9fafb; }
.tsl-sf-icon { font-size: 16px; color: #FF6B35; flex-shrink: 0; }
.tsl-sf-texts { display: flex; flex-direction: column; min-width: 0; }
.tsl-sf-label {
  font-size: 11px; font-weight: 700;
  color: #101828; text-transform: uppercase;
  letter-spacing: .6px; line-height: 1;
  margin-bottom: 4px;
}
.tsl-sf-input {
  border: none; outline: none;
  font-size: 14px; color: #344054;
  background: transparent;
  width: 100%; padding: 0;
  font-family: inherit;
}
.tsl-sf-input::placeholder { color: #98a2b3; }
.tsl-sf-value {
  font-size: 14px; color: #344054;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tsl-search-sep {
  width: 1px; height: 36px;
  background: #e4e7ec; flex-shrink: 0;
}
.tsl-search-btn {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #FF6B35 0%, #E85D2A 100%);
  border: none; border-radius: 10px;
  color: #fff; font-size: 18px;
  cursor: pointer; flex-shrink: 0;
  margin: 6px 6px 6px 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .15s, transform .15s;
  box-shadow: 0 4px 14px rgba(255,107,53,0.4);
}
.tsl-search-btn:hover { opacity: .9; transform: scale(1.04); }

/* Guest picker */
.tsl-guest-picker {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 300;
  min-width: 280px;
}
.tsl-gp-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f2f4f7;
  font-size: 14px; color: #344054;
}
.tsl-gp-row:last-of-type { border-bottom: none; margin-bottom: 12px; }
.tsl-gp-ctrl { display: flex; align-items: center; gap: 12px; }
.tsl-gp-btn {
  width: 28px; height: 28px;
  border: 1.5px solid #d0d5dd; border-radius: 50%;
  background: #fff; font-size: 16px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #344054; transition: border-color .15s;
}
.tsl-gp-btn:hover { border-color: #344054; }
.tsl-dp-apply {
  width: 100%; padding: 10px;
  background: linear-gradient(135deg, #FF6B35 0%, #E85D2A 100%);
  color: #fff;
  border: none; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}

/* City Dropdown */
.tsl-city-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 420px;
  max-height: 480px;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 9999;
  display: none;
}
.tsl-cd-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 16px 10px;
  border-bottom: 1px solid #f2f4f7;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.tsl-cd-header-left { flex: 1; }
.tsl-cd-header-label {
  font-size: 11px; color: #667085;
  font-weight: 500; margin-bottom: 3px;
  display: block; text-transform: uppercase; letter-spacing: .4px;
}
.tsl-cd-header-input {
  font-size: 20px; font-weight: 800;
  color: #101828; border: none; outline: none;
  width: 100%; background: transparent;
  font-family: inherit;
  caret-color: #FF6B35;
}
.tsl-cd-header-input::placeholder { color: #98a2b3; font-weight: 400; font-size: 16px; }
.tsl-cd-close {
  width: 28px; height: 28px;
  background: #101828; color: #fff;
  border: none; border-radius: 50%;
  font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.tsl-cd-section {
  font-size: 12px; font-weight: 700;
  color: #667085; text-transform: uppercase; letter-spacing: .5px;
  padding: 12px 16px 4px;
}
.tsl-cd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background .1s;
}
.tsl-cd-item:hover { background: #f9fafb; }
.tsl-cd-icon-wrap {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px; color: #1e3a5f;
}
.tsl-cd-texts { flex: 1; min-width: 0; }
.tsl-cd-name {
  display: block; font-size: 14px; font-weight: 700;
  color: #101828; line-height: 1.3;
}
.tsl-cd-sub { font-size: 12px; color: #667085; }
.tsl-cd-remove {
  background: none; border: none;
  font-size: 18px; color: #98a2b3;
  cursor: pointer; padding: 0 4px;
  line-height: 1; flex-shrink: 0;
}
.tsl-cd-remove:hover { color: #344054; }
.tsl-cd-search .tsl-cd-icon-wrap { color: #FF6B35; }
.tsl-cd-search .tsl-cd-name { color: #FF6B35; font-weight: 500; }

/* ── Map Pins & Popups ────────────────────────────────────── */
.tsl-pin-wrapper { background: transparent !important; border: none !important; overflow: visible !important; }
.tsl-map-pin {
  display: inline-block;
  background: #003580;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: background .15s, transform .15s;
  border: 2px solid #fff;
  position: relative;
  line-height: 1.4;
}
.tsl-map-pin::after {
  content: '';
  position: absolute;
  bottom: -7px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #003580;
}
.tsl-map-pin.hovered, .tsl-map-pin:hover { background: #002a6b; transform: scale(1.1); }
.tsl-map-pin.hovered::after, .tsl-map-pin:hover::after { border-top-color: #002a6b; }

.tsl-leaflet-popup .leaflet-popup-content-wrapper {
  padding: 0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 1px solid #e4e7ec;
}
.tsl-leaflet-popup .leaflet-popup-content { margin: 0; width: 220px !important; }
.tsl-leaflet-popup .leaflet-popup-tip-container { display: none; }
.tsl-map-popup { font-family: 'Inter', sans-serif; }
.tsl-map-popup-img { width: 100%; height: 120px; overflow: hidden; background: #f2f4f7; }
.tsl-map-popup-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tsl-map-popup-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #98a2b3;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}
.tsl-map-popup-body { padding: 10px 12px 12px; }
.tsl-map-popup-name { font-size: 13px; font-weight: 700; color: #101828; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsl-map-popup-loc { font-size: 11px; color: #667085; display: flex; align-items: center; gap: 3px; margin-bottom: 5px; }
.tsl-map-popup-score { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #027a48; font-weight: 600; margin-bottom: 8px; }
.tsl-map-popup-score span { background: #003580; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.tsl-map-popup-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f2f4f7; padding-top: 8px; margin-top: 4px; }
.tsl-map-popup-price { font-size: 15px; font-weight: 800; color: #c4320a; }
.tsl-map-popup-price small { font-size: 10px; font-weight: 400; color: #98a2b3; }
.tsl-map-popup-btn {
  background: #003580 !important; color: #fff !important;
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 6px;
  text-decoration: none !important;
  transition: background .15s; display: inline-block;
}
.tsl-map-popup-btn:hover { background: #002a6b !important; }

/* ── Flatpickr Theme ──────────────────────────────────────── */
.tsl-search-bar .flatpickr-calendar {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-radius: 20px !important;
  border: none !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15) !important;
  overflow: hidden;
  font-family: 'Inter', sans-serif !important;
  z-index: 9999 !important;
}
.tsl-search-bar .flatpickr-months { background: linear-gradient(135deg, #FF6B35 0%, #E85D2A 100%) !important; padding: 10px 8px 8px !important; }
.tsl-search-bar .flatpickr-month,
.tsl-search-bar .flatpickr-current-month,
.tsl-search-bar .flatpickr-current-month input,
.tsl-search-bar .flatpickr-current-month .flatpickr-monthDropdown-months { color: #fff !important; fill: #fff !important; background: transparent !important; }
.tsl-search-bar .flatpickr-prev-month,
.tsl-search-bar .flatpickr-next-month { color: #fff !important; fill: #fff !important; }
.tsl-search-bar .flatpickr-prev-month svg,
.tsl-search-bar .flatpickr-next-month svg { fill: #fff !important; }
.tsl-search-bar .flatpickr-weekdays { background: #f9fafb !important; }
.tsl-search-bar span.flatpickr-weekday { color: #FF6B35 !important; background: transparent !important; }
.tsl-search-bar .flatpickr-day { border-radius: 50% !important; font-size: 13px !important; }
.tsl-search-bar .flatpickr-day:hover { background: #fff3ee !important; color: #FF6B35 !important; border: none !important; }
.tsl-search-bar .flatpickr-day.today { border: 2px solid #FF6B35 !important; background: transparent !important; font-weight: 700 !important; }
.tsl-search-bar .flatpickr-day.selected,
.tsl-search-bar .flatpickr-day.startRange,
.tsl-search-bar .flatpickr-day.endRange { background: linear-gradient(135deg, #FF6B35, #E85D2A) !important; border-color: transparent !important; color: #fff !important; }
.tsl-search-bar .flatpickr-day.inRange { background: #fff3ee !important; border-color: transparent !important; box-shadow: -5px 0 0 #fff3ee, 5px 0 0 #fff3ee !important; }
.tsl-search-bar .flatpickr-day.startRange { border-radius: 50% 0 0 50% !important; }
.tsl-search-bar .flatpickr-day.endRange { border-radius: 0 50% 50% 0 !important; }
.tsl-search-bar .flatpickr-day.startRange.endRange { border-radius: 50% !important; }
.tsl-search-bar .flatpickr-day.flatpickr-disabled,
.tsl-search-bar .flatpickr-day.prevMonthDay,
.tsl-search-bar .flatpickr-day.nextMonthDay { color: #d1d5db !important; background: transparent !important; }

/* ── Mobil-only elementler — desktop'ta gizli ─────────────── */
.tsl-mobile-filter-bar,
.tsl-mobile-map-btn,
.tsl-mobile-filter-pill,
.tsl-mobile-drawer-overlay,
.tsl-mobile-drawer { display: none; }

/* ── Tablet (641px–960px) ─────────────────────────────────── */
@media (min-width: 641px) and (max-width: 960px) {
  .tsl-page { flex-direction: column; padding: 16px 12px 80px; gap: 0; }
  .tsl-sidebar { flex: none; width: 100%; position: static; max-height: none; margin-bottom: 16px; }
  .tsl-card { height: 190px; }
  .tsl-card-img { width: 200px; }
  .tsl-card-price { width: 160px; }
  .tsl-card-name { font-size: 15px; }
  .tsl-new-price { font-size: 20px; }
}

/* ── Mobile (≤640px) — Hotels.com stili ──────────────────── */
@media (max-width: 640px) {

  /* Search bar — sadece "Nereye?" + arama butonu */
  .tsl-search-bar { padding: 8px 12px; }
  .tsl-search-inner { border-radius: 50px; border-width: 1.5px; }
  .tsl-search-sep { display: none; }
  #searchFieldDates, #searchFieldGuests { display: none; }
  .tsl-search-field { padding: 10px 16px; }
  .tsl-sf-label { display: none; }
  .tsl-sf-input { font-size: 15px; font-weight: 500; }
  .tsl-search-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    margin: 4px 4px 4px 0;
  }

  /* Sayfa layout */
  .tsl-page { flex-direction: column; padding: 0 0 80px; gap: 0; width: 100%; box-sizing: border-box; }

  /* Sidebar gizle */
  .tsl-sidebar { display: none; }

  /* Main padding — kartlar tam genişlik */
  .tsl-main { padding: 0 !important; width: 100% !important; box-sizing: border-box !important; min-width: 0 !important; }

  /* Filtre pill bar */
  .tsl-mobile-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #fff;
    border-bottom: 1px solid #f2f4f7;
    position: sticky;
    top: 60px;
    z-index: 99;
  }
  .tsl-mobile-filter-bar::-webkit-scrollbar { display: none; }
  .tsl-mobile-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border: 1.5px solid #d0d5dd;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #344054;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    font-family: inherit;
    transition: border-color .15s, background .15s;
  }
  .tsl-mobile-filter-pill.active {
    border-color: #1d4ed8;
    background: #eff6ff;
    color: #1d4ed8;
  }
  .tsl-mobile-filter-pill i { font-size: 11px; }

  /* Topbar */
  .tsl-topbar { padding: 8px 12px 6px !important; flex-wrap: wrap; gap: 6px; border-bottom: none; margin-bottom: 4px; }
  .tsl-topbar-info { display: none; }
  .tsl-result-count { font-size: 13px; color: #667085; font-weight: 400; }
  .tsl-sort-select { font-size: 12px; padding: 5px 28px 5px 10px; border-radius: 6px; }

  /* Promo banner gizle */
  .tsl-promo-banner { display: none; }

  /* Main padding — kartlar tam genişlik */
  .tsl-list { display: flex; flex-direction: column; gap: 12px; padding: 8px 12px 80px; box-sizing: border-box; width: 100%; }

  /* ══════════════════════════════════════════════════════════
     KART — Hotels.com mobil stili: sol görsel %38, sağ içerik %62
     Ekranda aynı anda 3-4 tesis görünecek kompakt yükseklik
     ══════════════════════════════════════════════════════════ */
  .tsl-card {
    flex-direction: row !important;
    height: 160px !important;
    min-height: unset !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    border: 1px solid #e8e8e8 !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07) !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    align-items: stretch !important;
    background: #fff !important;
    overflow: hidden !important;
  }
  .tsl-card:active { box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important; transform: scale(0.99) !important; }

  /* ── Sol kolon: %38 — 3'lü galeri ── */
  .tsl-card-img {
    width: 38% !important;
    height: 160px !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: #f2f4f7 !important;
    position: relative !important;
  }

  /* Ana görsel — kalan alanı doldurur */
  .tsl-img-main {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
  }
  .tsl-img-main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    border-radius: 8px 0 0 0 !important;
  }

  /* İki küçük görsel — alt, yan yana */
  .tsl-img-thumbs {
    width: 100% !important;
    flex: 0 0 53px !important;
    height: 53px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 1px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }
  .tsl-img-thumbs img, .tsl-img-thumb-empty {
    width: 100% !important;
    height: 53px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .tsl-img-thumbs img:first-child {
    border-radius: 0 0 0 8px !important;
  }
  .tsl-img-thumb-empty { background: #e4e7ec !important; }

  /* VIP rozeti */
  .tsl-badge-vip {
    font-size: 9px !important;
    padding: 2px 5px !important;
    top: 5px !important;
    left: 5px !important;
    border-radius: 3px !important;
  }

  /* Favori butonu — görsel alanının sağ üst köşesi */
  .tsl-fav-btn {
    width: 26px !important;
    height: 26px !important;
    font-size: 12px !important;
    top: 5px !important;
    right: 5px !important;
    background: rgba(255,255,255,0.88) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15) !important;
    border-radius: 50% !important;
  }

  /* ── Sağ kolon: %62 — içerik + fiyat ── */
  .tsl-card-body {
    flex: 1 !important;
    flex-direction: column !important;
    min-width: 0 !important;
    display: flex !important;
    gap: 0 !important;
    justify-content: space-between !important;
    padding: 10px 10px 8px 10px !important;
    overflow: hidden !important;
  }

  /* Üst: tesis adı + konum + puan */
  .tsl-card-info {
    padding: 0 !important;
    gap: 3px !important;
    flex: 1 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Tesis adı — 2 satır, üç nokta */
  .tsl-card-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    color: #101828 !important;
    margin-bottom: 1px !important;
  }

  /* Konum */
  .tsl-card-location {
    font-size: 11px !important;
    margin-top: 1px !important;
    color: #667085 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Puan satırı */
  .tsl-card-score-row {
    display: flex !important;
    gap: 5px !important;
    margin-top: 4px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .tsl-score-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    background: #006ce4 !important;
    color: #fff !important;
    flex-shrink: 0 !important;
  }
  .tsl-score-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #344054 !important;
    white-space: nowrap !important;
  }
  .tsl-score-count {
    font-size: 10px !important;
    color: #98a2b3 !important;
    white-space: nowrap !important;
  }

  /* Gizlenenler */
  .tsl-card-stars    { display: none !important; }
  .tsl-card-features { display: none !important; }
  .tsl-points-badge  { display: none !important; }
  .tsl-card-alias    { display: none !important; }

  /* ── Fiyat — sağ kolonun alt-sağ köşesi ── */
  .tsl-card-price {
    width: 100% !important;
    border-left: none !important;
    border-top: 1px solid #f2f4f7 !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    padding: 6px 0 0 0 !important;
    gap: 1px !important;
    flex-shrink: 0 !important;
  }
  .tsl-price-nights { display: none !important; }
  .tsl-discount-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    background: #d92d20 !important;
    color: #fff !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .tsl-old-price {
    font-size: 11px !important;
    text-align: right !important;
    text-decoration: line-through !important;
    color: #98a2b3 !important;
  }
  .tsl-new-price {
    font-size: 18px !important;
    font-weight: 800 !important;
    text-align: right !important;
    line-height: 1.1 !important;
    color: #101828 !important;
  }
  .tsl-price-note {
    font-size: 10px !important;
    text-align: right !important;
    color: #98a2b3 !important;
    margin-top: 0 !important;
  }
  .tsl-book-link { display: none !important; }

  /* Sabit Harita butonu */
  .tsl-mobile-map-btn {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    background: #101828;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    font-family: inherit;
    white-space: nowrap;
  }

  /* Skeleton mobil */
  .tsl-skeleton { height: 130px; margin-bottom: 0; border-radius: 0; border: none; border-bottom: 1px solid #f2f4f7; }
}

/* ── Mobil Drawer (her ekranda çalışır, JS ile açılır) ────── */
.tsl-mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 600;
}
.tsl-mobile-drawer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 700;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}
.tsl-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f2f4f7;
  flex-shrink: 0;
}
.tsl-mobile-drawer-title { font-size: 16px; font-weight: 700; color: #101828; }
.tsl-mobile-drawer-close {
  width: 32px; height: 32px;
  background: #f2f4f7; border: none; border-radius: 50%;
  font-size: 14px; color: #344054; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.tsl-mobile-drawer-body { overflow-y: auto; padding: 16px 20px; flex: 1; }
.tsl-mobile-drawer-footer { padding: 12px 20px 20px; border-top: 1px solid #f2f4f7; flex-shrink: 0; }
.tsl-mobile-drawer-apply {
  width: 100%; padding: 13px;
  background: #1d4ed8; color: #fff;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}

.leaflet-control-attribution { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   FC-CARD GALERİ YAPISI — 1 Ana Görsel + 2 Küçük Thumbnail
   Mobil ve masaüstünde küçük görseller HİÇBİR ZAMAN gizlenmez
   ══════════════════════════════════════════════════════════════ */

/* Galeri wrapper — dikey sütun, 3px premium boşluk */
.fc-gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  width: 100%;
}

/* Ana görsel — sünme yok */
.fc-main-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Thumbnail satırı — iki küçük resim yan yana eşit */
.fc-thumb-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 100%;
}

/* Küçük görseller — sünme yok */
.fc-thumb-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ── Mobil Özel (@media max-width: 768px) ─────────────────── */
@media (max-width: 768px) {
  /* Kart dikey düzen */
  .fc-card {
    flex-direction: column !important;
  }

  /* Ana görsel — mobilde 160px, sünme yok */
  .fc-main-img {
    height: 160px !important;
  }

  /* Küçük görseller — mobilde 80px, sünme yok */
  .fc-thumb-img {
    height: 80px !important;
  }

  /* Metin alanı — nefes alsın */
  .fc-body {
    width: 100% !important;
    padding: 12px 16px !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}
