:root {
  --primary: #0b3fb0;
  --primary-dark: #012E95;
  --primary-2: #2563eb;
  --primary-light: #eef3ff;
  --accent: #ea580c;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(11, 63, 176, 0.12);
  --card-border: rgba(11, 63, 176, 0.2);
  --bg: #f5f7fc;
  --surface: #ffffff;
  --grad-cta: linear-gradient(135deg, #0b3fb0, #1d4ed8);
  --grad-brand: linear-gradient(135deg, #012E95 0%, #0b3fb0 100%);
  --grad-blue: var(--grad-cta);
  --blue: var(--primary);
  --blue-2: var(--primary-2);
  --blue-3: #60a5fa;
  --maxw: 960px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 0% -10%, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(700px 400px at 100% 0%, rgba(234, 88, 12, 0.05), transparent 50%),
    linear-gradient(180deg, #f8fafd 0%, var(--bg) 45%);
}

a { text-decoration: none; color: inherit; }
.container { width: min(var(--maxw), 92vw); margin: 0 auto; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--grad-brand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(1, 46, 149, 0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand-logo { display: block; height: 34px; width: auto; }
.header-nav { display: flex; gap: 4px; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 10px;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-link.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 44px;
  margin-bottom: 20px;
  background:
    radial-gradient(700px 300px at 85% 10%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #0b3fb0 0%, #0a38a3 55%, #012E95 100%);
}
.hero-inner { max-width: 680px; }
.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
}
.hero-title {
  font-size: clamp(28px, 4.8vw, 42px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin: 0 0 12px;
  color: #fff;
}
.hero-sub { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: clamp(15px, 2vw, 17px); line-height: 1.5; max-width: 520px; }

.stats-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  min-width: 96px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.stat-value {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.stat-label {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Main ---------- */
.main-content { padding: 26px 0 70px; }

/* ---------- Filter bar ---------- */
.filter-panel {
  margin-bottom: 22px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.filter-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.filter-quick-label,
.active-filters-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
}
.filter-chip {
  padding: 7px 14px;
  border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid rgba(11, 63, 176, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: background .15s, border-color .15s;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chip:hover {
  background: rgba(11, 63, 176, 0.12);
  border-color: rgba(11, 63, 176, 0.35);
}
.filterbar { display: flex; flex-direction: column; gap: 12px; }
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}
.filter-row-main .fb-grow { flex: 2 1 260px; }
.fb-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 150px;
  min-width: 120px;
}
.fb-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .35px;
  color: #94a3b8;
  padding-left: 2px;
}
.fb-field {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.fb-field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 63, 176, 0.12); }
.fb-search { min-width: 200px; }
.filter-months {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.filter-months-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.month-quick {
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.month-quick:hover { background: var(--primary-light); color: var(--primary); }
.holiday-months {
  margin-top: 8px;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}
.holiday-months .filter-quick-label {
  margin-right: 0;
}
.month-quick.holiday-quick {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
.month-quick.holiday-quick:hover {
  background: #ffedd5;
  color: #7c2d12;
}
.holiday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.holiday-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.holiday-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.holiday-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.holiday-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}
.holiday-days {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.holiday-meta {
  margin: 0;
  display: grid;
  gap: 6px;
}
.holiday-meta > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 8px;
  align-items: baseline;
}
@media (max-width: 480px) {
  .holiday-meta > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.holiday-meta dt,
.holiday-facts dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: none;
}
.holiday-meta dd,
.holiday-facts dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.holiday-facts {
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
  max-width: 40rem;
}
.holiday-facts > div {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.holiday-facts > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.holiday-range {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
}
.holiday-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.holiday-price {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}
.holiday-back {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
}
.holiday-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 11px;
  font-weight: 700;
}
.holiday-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0 0;
  scrollbar-width: none;
}
.holiday-nav-label {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .35px;
  color: var(--muted);
  margin-right: 2px;
}
.holiday-nav::-webkit-scrollbar { display: none; }
.holiday-pill {
  flex: none;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid rgba(234, 88, 12, 0.35);
  font-weight: 700;
  font-size: 14px;
  color: #c2410c;
  text-decoration: none;
}
.holiday-pill:hover { background: #ffedd5; }
.holiday-pill-price {
  display: block;
  margin-top: 0;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.9;
}
.holiday-pill-note {
  display: block;
  margin-top: 0;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}
.holiday-bridge {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #c2410c;
}
.origin-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.share-compact {
  display: inline-flex;
  gap: 6px;
}
.share-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.share-ico.share-wa { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
.share-ico.share-tg { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.duration-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 0;
  scrollbar-width: none;
}
.duration-nav::-webkit-scrollbar { display: none; }
.duration-pill {
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}
.duration-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.option-row.is-selected {
  outline: 2px solid rgba(11, 63, 176, 0.35);
  border-radius: 12px;
}
.price-alert {
  margin-top: 20px;
  padding: 18px 20px;
}
.price-alert-title {
  margin: 0 0 4px;
  font-size: 17px;
}
.price-alert-desc { margin: 0 0 12px; font-size: 14px; }
.price-alert-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.price-alert-form .fb-field { min-width: 160px; flex: 1 1 160px; }
.price-alert-msg { margin: 10px 0 0; font-size: 13px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.option-row.is-holiday-anchor {
  scroll-margin-top: 88px;
  outline: 2px solid rgba(234, 88, 12, 0.45);
  background: #fff7ed;
  border-radius: 12px;
}
.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}
.month-quick.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid rgba(11, 63, 176, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.active-chip:hover { background: rgba(11, 63, 176, 0.14); }
.fb-results {
  margin: -6px 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}
.fb-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.fb-switch input { width: 17px; height: 17px; accent-color: var(--primary); }
.fb-btn {
  height: 42px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  background: var(--grad-cta);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 63, 176, 0.25);
  transition: transform .12s, box-shadow .15s;
}
.fb-btn:hover { box-shadow: 0 8px 20px rgba(11, 63, 176, 0.32); }
.fb-btn:active { transform: translateY(1px); }
.fb-clear { font-weight: 600; font-size: 14px; color: var(--muted); padding: 0 6px; }
.fb-clear:hover { color: var(--primary); }

/* ---------- Deal list (homepage) ---------- */
.trip-type-banner {
  margin-bottom: 20px;
  padding: 18px 20px;
}
.trip-type-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.trip-type-banner-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}
.trip-type-switch {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.trip-type-switch a {
  color: var(--accent);
}
.hero-compact .hero-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.hot-drops {
  margin-bottom: 22px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.hot-drops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.hot-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: border-color .15s, transform .15s;
}
.hot-card:hover {
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-1px);
}
.hot-flag { font-size: 20px; grid-row: span 2; align-self: center; }
.hot-dest { font-weight: 700; font-size: 14px; color: var(--ink); }
.hot-drop { font-size: 11px; font-weight: 700; color: var(--accent); }
.hot-price { grid-column: 2; font-size: 15px; font-weight: 800; color: var(--primary); }

.deal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deal-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  overflow: hidden;
}
.deal-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-cta);
  opacity: 0;
  transition: opacity 0.18s;
}
.deal-card:hover {
  border-color: rgba(11, 63, 176, 0.35);
  box-shadow: 0 8px 28px rgba(11, 63, 176, 0.1);
  transform: translateY(-1px);
}
.deal-card:hover::before { opacity: 1; }
.deal-card.has-badge::before { opacity: 1; background: var(--accent); }

.deal-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  color: #fff;
  letter-spacing: 0.02em;
}
.deal-badge.score-good { background: #0284c7; }
.deal-badge.score-great { background: #059669; }
.deal-badge.score-hot { background: var(--accent); }
/* Rozet sağ üst köşede mutlak konumlu: fiyat sütununu altına kaydır */
.deal-card.has-badge .deal-side { padding-top: 40px; justify-content: flex-start; }

.deal-card-body {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 18px 22px;
}
.deal-main { flex: 1; min-width: 0; }
.deal-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.deal-arrow {
  color: var(--primary-2);
  font-weight: 400;
}
.deal-country {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.country-flag {
  font-size: 16px;
  line-height: 1;
}
.deal-meta-line {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.deal-months {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.deal-month {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(11, 63, 176, 0.12);
}
.deal-month.cheapest {
  background: #fff7ed;
  color: #c2410c;
  border-color: rgba(234, 88, 12, 0.25);
}
.deal-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  padding-top: 4px;
  text-align: right;
}
.deal-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.deal-best-month {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
}
.deal-visa-note {
  font-weight: 600;
  color: var(--accent);
}
.deal-cta {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 600px) {
  .deal-card-body {
    flex-direction: column;
    padding: 16px 16px 16px 18px;
  }
  .deal-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .deal-cta { margin-top: 0; }
  .deal-card.has-badge .deal-route { padding-right: 72px; }
  .deal-card.has-badge .deal-side { padding-top: 12px; justify-content: space-between; }
  .deal-side { flex-wrap: wrap; gap: 4px 10px; }
}

/* Legacy ticket-card styles removed */

.chip.score { color: #fff; border: none; font-weight: 700; }
.chip.score.score-good { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.chip.score.score-great { background: linear-gradient(135deg, #059669, #1d4ed8); }
.chip.score.score-hot { background: linear-gradient(135deg, #f97316, #ef4444); }

.price-band {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.price-band.band-low { background: #ecfdf5; color: #059669; }
.price-band.band-normal { background: #eef3ff; color: var(--primary); }
.price-band.band-high { background: #fef2f2; color: #dc2626; }

/* ---------- Empty ---------- */
.empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.empty-icon { font-size: 44px; }
.empty h3 { margin: 12px 0 6px; }
.empty .fb-btn { margin-top: 14px; }

/* ---------- How it works ---------- */
.howto { margin-top: 56px; }
.howto h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 18px; }
.howto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.howto-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
}
.howto-num {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad-cta);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.howto-item h3 { margin: 0 0 6px; font-size: 16px; }
.howto-item p { margin: 0; font-size: 14px; }

/* ---------- Browse / SEO landings ---------- */
.browse-page { padding-top: 28px; }
.browse-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.6px;
}
.browse-hero .muted { margin: 0 0 4px; max-width: 560px; }
.browse-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 22px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.browse-nav-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.browse-nav-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 4px;
}

/* ---------- Price history ---------- */
.price-history {
  padding: 20px 22px;
  margin: 16px 0;
}
.price-history-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.price-history-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.price-chart-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #eef3ff 0%, #ffffff 70%);
  border: 1px solid rgba(11, 63, 176, 0.12);
}
.price-chart {
  display: block;
  width: 100%;
  height: auto;
}
.price-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Detail page ---------- */
.detail-page { padding: 28px 0 70px; }
.back-link { display: inline-block; margin-bottom: 16px; font-weight: 600; color: var(--muted); }
.back-link:hover { color: var(--primary); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
}

.detail-hero {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  border-left: 4px solid var(--primary);
}
.detail-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.detail-route { display: flex; align-items: center; gap: 16px; }
.detail-flag {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  font-size: 34px;
  background: var(--primary-light);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.detail-hero-top h1 { margin: 0; font-size: clamp(20px, 3.2vw, 30px); font-weight: 800; letter-spacing: -.5px; }
.detail-hero-top h1 .swap { color: var(--accent); }
.detail-sub { margin: 6px 0 0; font-size: 14px; }
.route-codes { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 1px; }
.detail-price { text-align: right; }
.price.large { font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1; }
.price-note { font-size: 13px; color: var(--muted); }
.deal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip {
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid rgba(11, 63, 176, 0.12);
  color: var(--primary);
}
.chip.badge { background: #ecfdf5; color: #059669; border-color: #c7f0dd; }
.chip.chip-cheapest { background: #fff7ed; color: #c2410c; border-color: rgba(234, 88, 12, 0.2); }

.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}
.share-btn:hover { border-color: rgba(11, 63, 176, 0.35); }
.share-wa { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.share-tg { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

.month-nav { display: flex; gap: 8px; overflow-x: auto; padding: 20px 0 4px; scrollbar-width: none; }
.month-nav::-webkit-scrollbar { display: none; }
.month-pill {
  flex: none;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600; font-size: 14px;
  color: var(--primary);
}
.month-pill:hover { background: var(--primary-light); }
.month-pill.cheapest {
  background: #fff7ed;
  border-color: rgba(234, 88, 12, 0.35);
  color: #c2410c;
}
.month-pill-price {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.9;
}

.month-section {
  padding: 20px 22px;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
  scroll-margin-top: 80px;
}
.month-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.month-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.month-cheapest-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid rgba(234, 88, 12, 0.2);
}
.month-section.month-cheapest {
  border-color: rgba(234, 88, 12, 0.28);
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.08);
}
.options-list { display: flex; flex-direction: column; gap: 10px; }
.option-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
.option-row:hover { border-color: rgba(11, 63, 176, 0.35); box-shadow: 0 4px 14px rgba(11, 63, 176, 0.08); }
.option-price { font-size: 22px; font-weight: 800; color: var(--primary); }
.trip-days {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.date-line { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 3px; }
.date-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .3px; }
.date-tag.out { background: var(--primary-light); color: var(--primary); }
.date-tag.ret { background: #fff4e6; color: #c2670a; }
.option-airline { font-size: 13px; margin: 6px 0 0; }

.booking-tip {
  margin-top: 20px;
  padding: 16px 20px;
  background: #fff7ed;
  border: 1px solid rgba(234, 88, 12, 0.15);
  border-radius: 12px;
}
.booking-tip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #57534e;
}
.booking-tip strong { color: var(--accent); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform .12s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 4px 14px rgba(11, 63, 176, 0.25); }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(11, 63, 176, 0.32); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: none;
  background: var(--grad-brand);
  padding: 40px 0;
  margin-top: 48px;
  text-align: center;
}
.footer-logo { height: 30px; margin-bottom: 12px; }
.site-footer p { margin: 4px 0; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.footer-links { margin: 10px 0 !important; }
.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover { color: #fff; }
.footer-affiliate { font-size: 12px !important; opacity: 0.85; }
.footer-copyright {
  margin: 14px 0 6px !important;
  font-size: 13px !important;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92) !important;
}
.footer-meta { font-size: 12px !important; opacity: 0.75; }

/* ---------- Legal pages ---------- */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}
.legal-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  color: #64748b;
}
.legal-nav a:hover { border-color: rgba(11, 63, 176, 0.35); color: var(--primary); }
.site-disclaimer {
  margin: 0 auto 8px;
  width: min(var(--maxw), 92vw);
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #57534e;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
}
.site-disclaimer a { color: var(--primary); text-decoration: underline; }
.site-disclaimer strong { color: var(--ink); }

.legal-page { padding-bottom: 24px; }
.legal-doc {
  padding: 28px 32px;
  margin: 12px 0 24px;
}
.legal-doc h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.4px;
}
.legal-updated {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--muted);
}
.legal-doc h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.legal-doc p,
.legal-doc li {
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
}
.legal-doc ul {
  margin: 8px 0 16px;
  padding-left: 1.25rem;
}
.legal-doc a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-doc a:hover { color: var(--primary-2); }
.legal-doc code {
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  width: 28%;
}
.legal-table thead th { width: auto; }

.affiliate-disclosure {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  background: var(--primary-light);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.affiliate-disclosure a { color: var(--primary); text-decoration: underline; }

.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.94);
  color: #e2e8f0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}
.cookie-notice-inner {
  width: min(var(--maxw), 92vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-notice p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 13px;
  line-height: 1.5;
}
.cookie-notice a { color: #7dd3fc; text-decoration: underline; }
.cookie-notice[hidden] { display: none !important; }

/* ---------- Landing / breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 8px;
  font-size: 13px;
  color: #64748b;
}
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.landing-intro h2,
.landing-months h2,
.landing-related h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--ink);
}
.landing-intro p { margin: 0 0 10px; }
.landing-month-pills { margin-top: 4px; }
.related-list { display: grid; gap: 8px; }
.related-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  transition: border-color .15s, box-shadow .15s;
}
.related-row:hover {
  border-color: rgba(11, 63, 176, 0.35);
  box-shadow: 0 4px 14px rgba(11, 63, 176, 0.08);
}
.related-price { font-weight: 700; color: var(--primary); white-space: nowrap; }
.dest-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(11, 63, 176, 0.25);
  text-underline-offset: 2px;
}
.dest-link:hover { color: var(--primary); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
}
.btn-secondary:hover { background: var(--primary-light); }

@media (max-width: 600px) {
  .detail-price { text-align: left; }
  .detail-hero { padding: 18px 16px; }
  .detail-hero-top { gap: 12px; }
  .detail-flag { width: 48px; height: 48px; font-size: 26px; border-radius: 12px; }
  .price.large { font-size: 28px; }
  .option-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }
  .option-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
  }
  .option-price .trip-days {
    display: inline;
    margin-top: 0;
  }
  .option-actions .btn { width: 100%; }
  .sticky-cta-inner { width: 100%; }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
a:focus-visible,
button:focus-visible,
.fb-field:focus-visible,
.fb-switch input:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Filters always visible ---------- */
.filter-panel .filterbar,
.filter-panel .filter-quick {
  display: flex;
}
.filter-toggle[hidden] { display: none !important; }

@media (max-width: 700px) {
  .filter-toggle { display: none !important; }
  .filter-panel .filterbar,
  .filter-panel .filter-quick { display: flex; }
  .filter-panel { padding: 14px; }
  .filter-panel .filter-quick {
    margin-top: 0;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
}

/* ---------- Month deals index ---------- */
.month-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 8px 0 28px;
}
.month-index-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.month-index-card:hover {
  border-color: rgba(11, 63, 176, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(11, 63, 176, 0.1);
}
.month-index-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.month-index-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 600px) {
  .header-inner { height: 56px; }
  .brand-logo { height: 24px; }
  .nav-link { padding: 7px 10px; font-size: 13px; white-space: nowrap; }
  .nav-link.active::after { left: 10px; right: 10px; }

  .hero { padding: 26px 0 30px; margin-bottom: 14px; }
  .hero-sub { font-size: 14px; }
  .stats-band { gap: 8px; margin-top: 16px; }
  .stat-item { min-width: 0; flex: 1 1 0; padding: 8px 10px; }
  .stat-value { font-size: 15px; }
  .stat-label { font-size: 11px; }

  .site-disclaimer { font-size: 12px; padding: 10px 14px; }

  .filter-chip { padding: 6px 11px; font-size: 12px; }
  .deal-month { font-size: 10px; padding: 3px 8px; }
  .deal-price { font-size: 21px; }
  .main-content { padding-top: 18px; }
  .hot-drops-grid { grid-template-columns: repeat(2, 1fr); }
  .howto { margin-top: 40px; }
}

/* ---------- Trust signals ---------- */
.deal-low-badge {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  white-space: nowrap;
}
.chip.chip-low { background: #ecfdf5; color: #047857; border-color: #a7f3d0; font-weight: 700; }
.deal-card.is-stale .deal-price { color: var(--muted); }
.deal-card.is-stale::before { opacity: 0 !important; }
.deal-stale-note { color: #b45309; font-weight: 600; }
.deal-month-more {
  background: transparent;
  color: var(--muted);
  border-style: dashed;
  border-color: rgba(100, 116, 139, 0.35);
}

/* ---------- FAQ ---------- */
.faq-section { padding: 22px 24px; margin-top: 16px; }
.faq-section h2 { margin: 0 0 10px; font-size: 18px; font-weight: 800; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: none; }
.faq-item summary {
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .15s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: #334155; }

/* ---------- Hotel block ---------- */
.hotel-block { padding: 20px 24px; margin-top: 16px; }
.hotel-block-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.hotel-block h2 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.hotel-block p { margin: 0; font-size: 14px; }

/* ---------- Guides ---------- */
.guide-page { padding: 24px 0 60px; }
.guide-hero { margin: 6px 0 20px; }
.guide-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.6px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.guide-card:hover {
  border-color: rgba(11, 63, 176, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11, 63, 176, 0.1);
}
.guide-card h2 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.35; }
.guide-card p { margin: 0; font-size: 14px; }
.guide-card-cta { font-size: 13px; font-weight: 700; color: var(--accent); margin-top: auto; }
.guide-article { padding: 28px 32px; }
.guide-article h1 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.guide-article h2 { margin: 26px 0 8px; font-size: 19px; font-weight: 800; color: var(--primary); }
.guide-article p, .guide-article li { font-size: 15px; line-height: 1.65; color: #334155; }
.guide-article ul { margin: 8px 0 16px; padding-left: 1.25rem; }
.guide-article a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.guide-article .btn { text-decoration: none; margin-top: 6px; }
.guide-intro { font-size: 16px !important; color: var(--ink) !important; }
.guide-columns { columns: 1; }
.guide-deals { margin: 10px 0 16px; }
.guide-footnote {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
  color: var(--muted) !important;
}
.stats-card { padding: 20px 24px; margin-bottom: 16px; }
.stats-card h2 { margin: 0 0 10px; font-size: 17px; font-weight: 800; }

/* ---------- Footer destinations ---------- */
.footer-dests {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}
.footer-dests-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-dests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 6px 18px;
}
.footer-dests-grid a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  padding: 3px 0;
}
.footer-dests-grid a:hover { color: #fff; text-decoration: underline; }
.footer-dest-price { color: #7dd3fc; font-weight: 700; }
.footer-dests-more { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.6); display: flex; gap: 8px; flex-wrap: wrap; }
.footer-dests-more a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-underline-offset: 3px; }
.footer-dests-more a:hover { color: #fff; }

@media (max-width: 600px) {
  .guide-article { padding: 20px 18px; }
  .hotel-block-inner { flex-direction: column; align-items: stretch; }
  .hotel-block .btn { width: 100%; }
  .nav-link-howto { display: none; }
}

/* ---------- City thumbnails ---------- */
.deal-thumb {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 12px;
  align-self: center;
  background: var(--primary-light);
}
.detail-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.detail-photo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--primary-light);
}
.detail-photo-flag {
  position: absolute;
  right: -6px;
  bottom: -6px;
  font-size: 20px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

@media (max-width: 600px) {
  .deal-thumb {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 4px;
  }
  .deal-card-body { flex-direction: column; }
}

/* ---------- 404 ---------- */
.notfound-box { padding: 48px 24px; }
.notfound-box h1 { margin: 12px 0 6px; font-size: clamp(24px, 4vw, 32px); font-weight: 800; }
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.notfound-dests { margin-top: 28px; text-align: left; }
.notfound-dests h2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 10px;
}
.notfound-dests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px 18px;
}
.notfound-dests-grid a { font-size: 14px; color: var(--primary); padding: 3px 0; }
.notfound-dests-grid a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 18px 0 8px;
  padding: 18px 20px;
  background: var(--primary-light);
  border: 1px solid var(--card-border);
  border-radius: 14px;
}
.contact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.contact-email {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.contact-email:hover { text-decoration: underline; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 8px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}
.page-btn:hover { background: var(--primary-light); }
.page-btn-primary {
  background: var(--grad-cta);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(11, 63, 176, 0.25);
}
.page-btn-primary:hover { box-shadow: 0 8px 20px rgba(11, 63, 176, 0.32); }
.page-info { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- Hero featured deal ---------- */
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-grid .hero-inner { flex: 1 1 380px; }
.featured-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 340px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  transition: background .15s, transform .15s;
}
.featured-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.featured-img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.featured-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.featured-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fbbf24;
}
.featured-route {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-meta { display: flex; align-items: baseline; gap: 8px; }
.featured-price { font-size: 20px; font-weight: 800; color: #fff; }
.featured-drop {
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(234, 88, 12, 0.9);
  color: #fff;
}

/* ---------- Deep discount showcase ---------- */
.error-fares { margin-bottom: 22px; }
.error-fares .section-head { flex-wrap: wrap; }
.error-fares .section-head h2 { color: var(--primary); }
.section-note { font-size: 12px; font-weight: 600; color: var(--muted); }
.error-fares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.error-fare-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.error-fare-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(1, 46, 149, 0.1);
}
.error-fare-img {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}
.error-fare-dest { font-size: 14px; font-weight: 700; color: var(--ink); }
.error-fare-drop { font-size: 11px; font-weight: 800; color: var(--accent); }
.error-fare-price { grid-column: 2; font-size: 16px; font-weight: 800; color: var(--primary); }
.deal-badge.score-error { background: linear-gradient(135deg, #0284c7, #012E95); }
.chip.score.score-error { background: linear-gradient(135deg, #0284c7, #012E95); }

/* ---------- Card CTA button + mobile price pill ---------- */
.deal-cta {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--primary-light);
  border: 1px solid var(--card-border);
  transition: background .15s, color .15s;
}
.deal-card:hover .deal-cta { background: var(--primary); color: #fff; }
.deal-price-pill { display: none; }

@media (max-width: 600px) {
  .deal-price-pill {
    display: inline-flex;
    position: absolute;
    top: auto;
    bottom: 10px;
    left: 12px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    backdrop-filter: blur(3px);
  }
  .featured-card { flex: 1 1 100%; }
  .featured-img { width: 64px; height: 64px; object-fit: cover; }
  .error-fares-grid { grid-template-columns: 1fr 1fr; }
  .error-fare-dest { grid-column: 1; }
  .error-fare-drop, .error-fare-price { grid-column: 1; }
  .error-fare-card { grid-template-columns: 1fr; }
}

/* Ana içerik içindeki yasal uyarı (liste altına taşındı) */
.main-content .site-disclaimer { width: 100%; margin: 32px 0 0; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta:not([hidden]) {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--card-border);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.14);
    animation: sticky-cta-in .22s ease-out;
  }
}
@keyframes sticky-cta-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(var(--maxw), 92vw);
  margin: 0 auto;
}
.sticky-cta-info { display: flex; flex-direction: column; min-width: 0; }
.sticky-cta-route {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta-price { font-size: 18px; font-weight: 800; color: var(--primary); }
.sticky-cta-price small { font-size: 11px; font-weight: 600; color: var(--muted); }
.sticky-cta .btn { flex-shrink: 0; }

/* ---------- SVG icons ---------- */
.empty-icon-svg { color: var(--primary); display: flex; justify-content: center; }
.empty-icon-svg svg { opacity: 0.85; }
.error-fares .section-head h2 { display: flex; align-items: center; gap: 6px; }
.error-fares .section-head h2 svg { color: var(--accent); }
.hotel-block h2 { display: flex; align-items: center; gap: 8px; }
.hotel-block h2 svg { color: var(--primary); flex-shrink: 0; }

/* ---------- Dark mode ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #7ea7ff;
    --primary-dark: #012E95;
    --primary-2: #9dbcff;
    --primary-light: rgba(126, 167, 255, 0.13);
    --accent: #fb923c;
    --ink: #e7ecf6;
    --muted: #94a1b8;
    --line: rgba(126, 167, 255, 0.16);
    --card-border: rgba(126, 167, 255, 0.3);
    --bg: #0b1120;
    --surface: #141c30;
    --grad-cta: linear-gradient(135deg, #2452c4, #3b6fe8);
  }
  .page-bg {
    background:
      radial-gradient(900px 500px at 0% -10%, rgba(37, 99, 235, 0.1), transparent 55%),
      linear-gradient(180deg, #090e1a 0%, var(--bg) 45%);
  }
  .filter-panel, .deal-card, .card, .month-section, .empty, .howto-item,
  .guide-card, .browse-nav { box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3); }
  .fb-field, .fb-switch, .month-quick, .share-btn, .option-row {
    background: rgba(255, 255, 255, 0.05);
  }
  .fb-label { color: #7c8aa0; }
  /* Turuncu "en ucuz" vurguları */
  .deal-month.cheapest, .chip.chip-cheapest, .month-pill.cheapest,
  .month-cheapest-badge, .date-tag.ret {
    background: rgba(234, 88, 12, 0.16);
    color: #fdba74;
    border-color: rgba(234, 88, 12, 0.4);
  }
  .deal-best-month { color: #fdba74; }
  .deal-stale-note { color: #fbbf24; }
  /* Yeşil "olumlu" vurgular */
  .price-band.band-low, .chip.badge, .deal-low-badge, .chip.chip-low, .share-wa {
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.35);
  }
  .price-band.band-high { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
  .price-band.band-normal { background: var(--primary-light); }
  .share-tg { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border-color: rgba(59, 130, 246, 0.35); }
  .booking-tip { background: rgba(234, 88, 12, 0.1); border-color: rgba(234, 88, 12, 0.25); }
  .booking-tip p { color: #cbd5e1; }
  .booking-tip strong { color: #fb923c; }
  .price-chart-wrap { background: linear-gradient(180deg, rgba(126, 167, 255, 0.08) 0%, transparent 70%); border-color: var(--line); }
  .legal-doc p, .legal-doc li, .guide-article p, .guide-article li,
  .faq-item p, .site-disclaimer { color: #b7c1d4; }
  .site-disclaimer strong, .legal-doc strong { color: var(--ink); }
  .legal-nav a { background: var(--surface); color: var(--muted); }
  .legal-table th { background: var(--primary-light); color: var(--primary); }
  .contact-card, .affiliate-disclosure { background: var(--primary-light); }
  .related-row { background: rgba(255, 255, 255, 0.04); }
  .error-fare-card {
    background: var(--surface);
  }
  .error-fares .section-head h2 { color: var(--primary); }
  .error-fares .section-head h2 svg { color: var(--accent); }
  .error-fare-price { color: var(--primary); }
  .error-fare-drop { color: var(--accent); }
  .deal-price-pill { background: rgba(9, 14, 26, 0.85); }
  .cookie-notice { background: rgba(9, 14, 26, 0.96); }
  .sticky-cta { box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45); }
  .hot-card:hover { border-color: rgba(251, 146, 60, 0.45); }
}

/* ============================================================= */
/* GÖRSEL CİLA PAKETİ — kart hiyerarşisi, rozet, sparkline, barlar */
/* ============================================================= */

/* --- 01: Kart görsel + bayrak rozeti --- */
.deal-thumb-wrap {
  position: relative;
  flex-shrink: 0;
  align-self: center;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--primary-light);
}
.deal-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  background: var(--primary-light);
}
.deal-thumb-flag {
  position: absolute;
  right: -6px;
  bottom: -6px;
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}

/* --- 01: Fiyat bloğu (etiket + fiyat) --- */
.deal-side { gap: 8px; }
.deal-price-block { display: flex; flex-direction: column; align-items: flex-end; }
.deal-price-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1;
  margin-bottom: 3px;
}
.deal-price { font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -0.4px; }
.deal-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(234, 88, 12, 0.08);
  border: none;
  transition: background .15s, color .15s;
}
.deal-card:hover .deal-cta { background: var(--accent); color: #fff; }

/* --- 02: Rozet ikon + pill --- */
.deal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  top: 12px;
  right: 12px;
  padding: 4px 11px 4px 5px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  letter-spacing: 0;
}
.deal-badge-ic {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #fff;
  flex-shrink: 0;
}
.deal-badge.score-good { background: var(--surface); color: #0369a1; }
.deal-badge.score-good .deal-badge-ic { background: #0284c7; }
.deal-badge.score-great { background: var(--surface); color: #047857; }
.deal-badge.score-great .deal-badge-ic { background: #059669; }
.deal-badge.score-hot { background: var(--surface); color: #c2410c; }
.deal-badge.score-hot .deal-badge-ic { background: var(--accent); }
.deal-badge.score-error { background: var(--surface); color: #0369a1; }
.deal-badge.score-error .deal-badge-ic { background: #0284c7; }
@media (min-width: 601px) {
  .deal-card.has-badge .deal-side { padding-top: 34px; justify-content: flex-start; }
}

/* --- 03: Sparkline mini trend --- */
.deal-trend { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.deal-spark { display: block; }
.deal-trend-txt { font-size: 10.5px; font-weight: 800; letter-spacing: 0.02em; }
.deal-trend-txt.down { color: #059669; }
.deal-trend-txt.up { color: #dc2626; }
.deal-low-badge {
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.1);
  color: #0369a1;
  border: none;
  white-space: nowrap;
}

/* --- 08: Ay bar grafiği --- */
.deal-monthbars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  margin-top: 12px;
  height: 46px;
}
.mbar { display: flex; flex-direction: column; align-items: center; gap: 4px; justify-content: flex-end; height: 100%; }
.mbar-fill {
  width: 26px;
  min-height: 8px;
  border-radius: 5px 5px 0 0;
  background: var(--primary-light);
  transition: background .15s;
}
.mbar-lbl { font-size: 10px; font-weight: 700; color: var(--muted); }
.mbar.cheap .mbar-fill { background: linear-gradient(180deg, var(--accent), #fb923c); }
.mbar.cheap .mbar-lbl { color: var(--accent); }
.deal-card:hover .mbar:not(.cheap) .mbar-fill { background: rgba(11, 63, 176, 0.2); }

@media (max-width: 600px) {
  .deal-thumb-wrap { width: 100%; align-self: stretch; }
  .deal-thumb { width: 100%; height: 130px; border-radius: 12px; }
  .deal-thumb-flag { right: 8px; bottom: 8px; font-size: 22px; }
  .deal-price-pill {
    top: auto;
    bottom: 10px;
    left: 12px;
  }
  .deal-monthbars { height: 42px; }
}

/* --- 05: Hero canlı göstergesi --- */
.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: livepulse 2s infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero-hl { color: #ffd166; }
@media (prefers-reduced-motion: reduce) { .hero-live-dot { animation: none; } }

/* --- 07: Bölüm başlığı aksan + sayaç --- */
.section-title { display: inline-flex; align-items: center; gap: 9px; }
.section-bar {
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), #fb923c);
  flex-shrink: 0;
}
.error-title .section-bar { background: linear-gradient(180deg, #dc2626, #f87171); }
.section-count {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 1px 9px;
  border-radius: 999px;
}

/* --- 04: Sıralama segmented control --- */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.results-count { font-size: 13px; font-weight: 700; color: var(--muted); }
.sort-seg {
  display: inline-flex;
  background: var(--primary-light);
  border-radius: 11px;
  padding: 3px;
  gap: 2px;
}
.sort-seg-btn {
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--primary);
  transition: background .15s, box-shadow .15s;
  white-space: nowrap;
}
.sort-seg-btn:hover { color: var(--primary-dark); }
.sort-seg-btn.on {
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(11, 63, 176, 0.16);
  color: var(--primary);
}

/* --- 06: Skeleton yükleme --- */
.pending-head { padding: 4px 0 18px; }
.pending-head p { margin: 10px 0 12px; max-width: 52ch; }
.sk-b {
  background: linear-gradient(90deg, var(--primary-light) 25%, rgba(11,63,176,0.04) 50%, var(--primary-light) 75%);
  background-size: 200% 100%;
  animation: skshimmer 1.4s infinite;
  border-radius: 8px;
}
@keyframes skshimmer { to { background-position: -200% 0; } }
.skeleton-card { pointer-events: none; }
.skeleton-card .deal-card-body { align-items: center; }
.sk-thumb { width: 96px; height: 96px; border-radius: 14px; flex-shrink: 0; }
.sk-line { height: 13px; margin-bottom: 8px; }
.sk-line.sm { height: 10px; }
.sk-bars { display: flex; align-items: flex-end; gap: 7px; margin-top: 6px; height: 44px; }
.sk-bars .sk-b { width: 26px; border-radius: 5px 5px 0 0; }
.skeleton-card .deal-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .sk-b { animation: none; } }
@media (max-width: 600px) {
  .skeleton-card .deal-card-body { flex-direction: column; align-items: stretch; }
  .sk-thumb { width: 100%; height: 120px; }
}

/* Dark mode ek dokunuşlar */
@media (prefers-color-scheme: dark) {
  .deal-badge { background: var(--surface); border-color: var(--card-border); }
  .deal-badge.score-good { color: #7dd3fc; }
  .deal-badge.score-great { color: #6ee7b7; }
  .deal-badge.score-hot { color: #fdba74; }
  .deal-badge.score-error { color: #7dd3fc; }
  .mbar-fill { background: rgba(126, 167, 255, 0.16); }
  .deal-low-badge { background: rgba(56, 189, 248, 0.14); color: #7dd3fc; }
  .sort-seg-btn.on { background: var(--surface); }
  .deal-cta { background: rgba(251, 146, 60, 0.14); color: #fdba74; }
  .deal-card:hover .deal-cta { background: var(--accent); color: #fff; }
}

/* --- Tek yön yön geçişi (gidiş / dönüş) --- */
.dir-seg {
  display: inline-flex;
  background: var(--primary-light);
  border-radius: 11px;
  padding: 3px;
  gap: 2px;
}
.dir-seg-btn {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--primary);
  white-space: nowrap;
  transition: background .15s, box-shadow .15s;
}
.dir-seg-btn:hover { color: var(--primary-dark); }
.dir-seg-btn.on {
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(11, 63, 176, 0.16);
}
.ow-search { flex: 0 1 240px; }
.ow-search .fb-search { width: 100%; min-width: 0; }
.ow-count { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 14px; }
@media (max-width: 600px) {
  .dir-seg { width: 100%; }
  .dir-seg-btn { flex: 1; text-align: center; }
  .ow-search { flex: 1 1 100%; }
}

/* --- Aktarmasız (direct) göstergeleri --- */
.deal-direct-note { color: #047857; font-weight: 700; }
.chip-direct { background: #ecfdf5; color: #047857; border-color: #a7f3d0; font-weight: 700; }
.direct-toggle-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 6px;
}
.direct-switch { height: 40px; }
.direct-toggle-note { font-size: 13px; font-weight: 600; color: #047857; }
.nonstop-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
}
.option-row.is-nonstop { border-color: rgba(5, 150, 105, 0.3); }
@media (prefers-color-scheme: dark) {
  .deal-direct-note { color: #6ee7b7; }
  .chip-direct { background: rgba(16, 185, 129, 0.14); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.3); }
  .nonstop-tag { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; }
  .direct-toggle-note { color: #6ee7b7; }
}

/* --- Tek yön yön geçişi satırı --- */
.dir-seg-row { margin-bottom: 14px; }

/* ---------- Mobile nav drawer ---------- */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.45);
}
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(300px, 86vw);
  height: 100%;
  padding: 72px 18px 24px;
  background: #012E95;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(105%);
  transition: transform .22s ease;
  overflow-y: auto;
}
body.nav-open .nav-drawer { transform: translateX(0); }
.nav-drawer-link {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 16px;
}
.nav-drawer-link:hover,
.nav-drawer-link.active { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav-drawer-sub {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 22px;
}
body.nav-open { overflow: hidden; }

@media (max-width: 760px) {
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (min-width: 761px) {
  .nav-drawer,
  .nav-backdrop,
  .nav-toggle { display: none !important; }
  body.nav-open { overflow: auto; }
}

/* ---------- Filter rows ---------- */
.filter-row-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.filter-row-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.filter-months {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.filter-months-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fb-btn-main {
  align-self: flex-end;
  height: 42px;
  flex: 0 0 auto;
}

/* Desktop: always show extra filters, hide toggle */
.filter-more-toggle { display: none; }
.filter-more {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.filter-more[hidden] { display: flex !important; }

@media (max-width: 700px) {
  .filter-panel {
    overflow-x: clip;
    max-width: 100%;
  }
  .filter-more,
  .filter-months,
  .filter-row-sub,
  .filterbar {
    min-width: 0;
    max-width: 100%;
  }
  .filter-row-main,
  .filter-row-sub {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .filter-row-main .fb-wrap,
  .filter-row-sub .fb-wrap {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .filter-row-main .fb-grow,
  .fb-search { min-width: 0; }
  .fb-field {
    max-width: 100%;
    min-width: 0;
  }
  .fb-btn-main {
    align-self: stretch;
    width: 100%;
    height: 46px;
    margin-top: 2px;
  }
  .filter-row-flags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 2px;
  }
  .filter-row-flags .fb-switch {
    width: 100%;
    justify-content: flex-start;
  }
  .filter-row-flags .fb-clear {
    grid-column: 1 / -1;
  }

  .filter-more-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 42px;
    margin-top: 4px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    background: var(--bg);
    color: var(--primary);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
  .filter-more-toggle::after { content: "▾"; font-size: 12px; }
  .filter-more-toggle.is-open::after { content: "▴"; }
  .filter-more {
    display: none;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .filter-more[hidden] { display: none !important; }
  .filter-more.is-open { display: flex; }

  .filter-months-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    overscroll-behavior-x: contain;
  }
  .filter-months-scroll::-webkit-scrollbar { display: none; }
  .filter-months-scroll .month-quick {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .filter-quick {
    min-width: 0;
    max-width: 100%;
  }
  .filter-quick .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    min-width: 0;
    max-width: 100%;
  }
  .filter-quick .filter-chips::-webkit-scrollbar { display: none; }
  .filter-quick .filter-chip { flex: 0 0 auto; white-space: nowrap; }

  .browse-nav-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .browse-nav-group::-webkit-scrollbar { display: none; }
  .browse-nav-group .month-quick,
  .browse-nav-label { flex: 0 0 auto; white-space: nowrap; }
}

/* ---------- Compact cards on mobile ---------- */
/* Son kural: görsel üstte tam genişlik, fiyat satırı altta düz hizalı */
@media (max-width: 600px) {
  .deal-monthbars,
  .deal-trend,
  .deal-spark {
    display: none !important;
  }
  .deal-card-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
  .deal-thumb-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    flex-shrink: 0;
    align-self: stretch;
    overflow: hidden;
    border-radius: 12px;
    background: var(--primary-light);
  }
  .deal-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    margin: 0;
  }
  .deal-thumb-flag {
    right: 8px;
    bottom: 8px;
    font-size: 20px;
  }
  .deal-price-pill {
    display: inline-flex !important;
    position: absolute;
    top: auto;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(3px);
  }
  .deal-main {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }
  .deal-route {
    font-size: 16px;
  }
  .deal-card.has-badge .deal-route {
    padding-right: 96px;
  }
  .deal-meta-line {
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.35;
  }
  .deal-months {
    margin-top: 8px;
    gap: 4px;
  }
  .deal-side {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    text-align: left;
  }
  .deal-card.has-badge .deal-side {
    padding-top: 10px;
    justify-content: space-between;
  }
  .deal-price-block {
    align-items: flex-start;
  }
  .deal-price {
    font-size: 20px;
  }
  .deal-cta {
    margin-top: 0;
    flex-shrink: 0;
  }
  .deal-low-badge {
    display: none;
  }
  .trip-type-banner .muted {
    display: none;
  }
  .hero-with-feature .hero-sub {
    max-width: 36ch;
  }
  .error-fares-grid {
    grid-template-columns: 1fr 1fr;
  }
  .error-fare-img {
    display: block;
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
  }
  .results-bar {
    gap: 8px;
  }
  .sort-seg {
    width: 100%;
  }
  .sort-seg-btn {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
  }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
.select:focus-visible,
.fb-field:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}
