/* Wanderwallet – arayüz (v9: baştan tasarım)
   Palet: lacivert #1d3a4d · mürdüm #6a2153 · leylak #b4a7af · pudra #f0e0dc · şeftali #dfc0b6
   Fontlar siteye gömülü (SIL Open Font License): metin Plus Jakarta Sans, başlık Bricolage Grotesque */

@font-face { font-family: "Jakarta"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Jakarta"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bricolage"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bricolage"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --navy: #1d3a4d;
  --navy-2: #13283a;
  --plum: #6a2153;
  --plum-2: #8a2e6c;
  --lilac: #b4a7af;
  --blush: #f0e0dc;
  --peach: #dfc0b6;

  --bg: #f6eff0;
  --card: rgba(255, 255, 255, 0.86);
  --ink: #162939;
  --ink-2: #3a4f60;
  --muted: #8b7f88;
  --line: #ece1e1;
  --field: #faf5f5;
  --accent: var(--plum);
  --accent-soft: #f6e9f0;
  --ok: var(--navy);
  --ok-soft: #e7eef3;
  --good: #1f8a6a;

  --c-flight: #1d3a4d;
  --c-stay: #6a2153;
  --c-food: #c48f9f;
  --c-transport: #dfc0b6;
  --c-fees: #9f8f99;

  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 24px 48px -28px rgba(29, 58, 77, 0.38), 0 2px 6px rgba(29, 58, 77, 0.04);
  --grad: linear-gradient(135deg, var(--plum) 0%, #4a2560 55%, var(--navy) 100%);
  --font: "Jakarta", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-d: "Bricolage", "Jakarta", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.5; letter-spacing: 0.003em;
  background: var(--bg); -webkit-font-smoothing: antialiased; position: relative; isolation: isolate;
}
/* Yumuşak renk lekeleri */
body::before {
  content: ""; position: fixed; inset: -10vmax; z-index: -2; pointer-events: none;
  background:
    radial-gradient(34vmax 30vmax at 92% 38%, rgba(223, 160, 150, 0.55), transparent 70%),
    radial-gradient(30vmax 30vmax at 4% 60%, rgba(150, 90, 140, 0.28), transparent 70%),
    radial-gradient(40vmax 34vmax at 70% 100%, rgba(29, 58, 77, 0.16), transparent 70%);
  animation: drift 30s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .3 0 0 0 0 .35 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { 50% { transform: translate3d(-3vmax, 2vmax, 0) scale(1.05); } 100% { transform: translate3d(2vmax, -2vmax, 0); } }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =============== Üst bölüm =============== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 22px 0 104px;
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(240, 224, 220, 0.20), transparent 60%),
    radial-gradient(800px 420px at 100% 100%, rgba(247, 150, 190, 0.28), transparent 60%),
    var(--grad);
  border-radius: 0 0 40px 40px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    repeating-radial-gradient(circle at 85% 30%, rgba(255,255,255,.06) 0 1px, transparent 1px 46px);
  mask-image: radial-gradient(600px 400px at 85% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(600px 400px at 85% 30%, #000, transparent 75%);
}
.brand { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 46px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 6px 18px rgba(0,0,0,.25); }
.logo { font-family: var(--font-d); font-size: 22px; font-weight: 700; letter-spacing: -0.035em; }
.logo span { color: var(--peach); }
.beta {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.8);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow {
  margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--peach);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--peach); }
.hero-title {
  margin: 0; font-family: var(--font-d); font-size: clamp(44px, 7.4vw, 86px);
  font-weight: 750; line-height: .95; letter-spacing: -0.045em;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #ffd9cf 0%, var(--peach) 45%, #f7b8c9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 20px 0 0; max-width: 520px; font-size: 17px; color: rgba(255,255,255,.78); font-weight: 450; }
.hero-chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li {
  font-size: 13px; padding: 7px 13px; border-radius: 999px; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-chips strong { color: #fff; font-weight: 800; }

/* Biniş kartı */
.ticket {
  position: relative; justify-self: end; width: 100%; max-width: 400px;
  background: #fff; color: var(--ink); border-radius: 24px; padding: 22px 24px 18px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.4);
  transform: rotate(2.5deg); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  animation: float 7s ease-in-out infinite;
}
.ticket:hover { transform: rotate(0deg) translateY(-4px); }
@keyframes float { 50% { translate: 0 -8px; } }
.ticket-head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticket-brand { color: var(--plum); }
.ticket small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticket b { font-family: var(--font-d); font-weight: 700; letter-spacing: -0.02em; }
.ticket-route { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 16px; }
.ticket-route b { display: block; font-size: 26px; line-height: 1.1; }
.ticket-route .r { text-align: right; }
.ticket-plane {
  flex: 1; text-align: center; color: var(--plum); font-size: 20px; position: relative;
}
.ticket-plane::before, .ticket-plane::after {
  content: ""; position: absolute; top: 50%; width: calc(50% - 16px); border-top: 2px dashed var(--lilac);
}
.ticket-plane::before { left: 0; } .ticket-plane::after { right: 0; }
.ticket-meta { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; }
.ticket-meta b { font-size: 16px; }
.ticket-cut { position: relative; margin: 18px -24px 14px; border-top: 2px dashed var(--line); }
.ticket-cut::before, .ticket-cut::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: #5b2a5c;
}
.ticket-cut::before { left: -12px; } .ticket-cut::after { right: -12px; }
.ticket-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ticket-total b { display: block; font-size: 30px; color: var(--plum); line-height: 1.05; }
.ticket-barcode {
  width: 92px; height: 40px; flex: 0 0 auto; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px);
  border-radius: 3px;
}

/* =============== Sekmeler =============== */
.tabs {
  position: sticky; top: 12px; z-index: 40;
  display: flex; gap: 4px; padding: 6px; margin: -38px auto 30px; width: fit-content; max-width: 100%;
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.8); border-radius: 999px;
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 18px 40px -18px rgba(29,58,77,.45);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer;
  padding: 11px 18px; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 650; white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s;
}
.tab:hover { background: rgba(106, 33, 83, .07); color: var(--ink); }
.tab.active { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(106,33,83,.7); }
.tab .ico { font-size: 16px; }

/* =============== Panel düzeni =============== */
.panel { display: grid; gap: 20px; }
.panel[hidden] { display: none; }
@media (min-width: 980px) {
  .panel { grid-template-columns: 410px minmax(0, 1fr); align-items: start; gap: 26px; }
  .panel > :first-child { grid-column: 1; grid-row: 1 / span 10; position: sticky; top: 88px; }
  .panel > :not(:first-child) { grid-column: 2; }
}
.panel:not([hidden]) > .card { animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }
.panel:not([hidden]) > .card:nth-child(2) { animation-delay: .05s; }
.panel:not([hidden]) > .card:nth-child(3) { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* =============== Kartlar =============== */
.card {
  background: var(--card); border: 1px solid rgba(255,255,255,.75); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
}
.card:empty { display: none; }
h1 {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-family: var(--font-d); font-size: 20px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.25;
}
.h-ico {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px;
  font-size: 18px; background: linear-gradient(135deg, var(--accent-soft), #fff); box-shadow: inset 0 0 0 1px var(--line);
}
.lead { margin: -10px 0 20px; color: var(--muted); font-size: 14.5px; }

/* =============== Form =============== */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.wide { grid-column: 1 / -1; }
label, .field-label {
  display: flex; flex-direction: column; gap: 7px; min-width: 0;
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
input, select, .picker-btn, .dp-btn {
  font: inherit; font-size: 15px; font-weight: 550; letter-spacing: normal; text-transform: none;
  color: var(--ink); width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px;
  background: var(--field); border: 1.5px solid transparent; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238b7f88' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input:hover, select:hover, .picker-btn:hover, .dp-btn:hover { background-color: #fff; }
input:focus, select:focus, .picker-btn:focus-visible, .picker-btn[aria-expanded="true"], .dp-btn:focus-visible, .dp-btn[aria-expanded="true"] {
  outline: none; background-color: #fff; border-color: var(--plum);
  box-shadow: 0 0 0 4px rgba(106, 33, 83, .12);
}
input::placeholder { color: #b9adb4; font-weight: 450; }
label.check {
  flex-direction: row; align-items: center; gap: 12px; grid-column: 1 / -1; cursor: pointer;
  font-size: 14px; font-weight: 550; letter-spacing: normal; text-transform: none; color: var(--ink-2);
  padding: 14px 16px; border-radius: 14px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .15s, box-shadow .15s;
}
label.check:has(input:checked) { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px rgba(106,33,83,.35); color: var(--ink); }
input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto; margin: 0; padding: 0;
  width: 22px; height: 22px; min-height: 0; border-radius: 7px; cursor: pointer;
  background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px #cdbfc6;
  display: inline-grid; place-items: center; transition: background .15s, box-shadow .15s;
}
input[type="checkbox"]::after {
  content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s;
}
input[type="checkbox"]:checked { background: var(--grad); box-shadow: none; }
input[type="checkbox"]:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 4px rgba(106,33,83,.18), inset 0 0 0 1.5px var(--plum); }
input[type="checkbox"]:disabled { opacity: .4; cursor: not-allowed; }
.field-hint { font-size: 12.5px; font-weight: 450; letter-spacing: normal; text-transform: none; color: var(--muted); }
.btn {
  font: inherit; font-weight: 700; font-size: 15px; min-height: 52px; padding: 14px; cursor: pointer;
  border: 0; border-radius: 14px; color: #fff; background: var(--grad);
  box-shadow: 0 14px 28px -14px rgba(106,33,83,.8); transition: transform .12s, box-shadow .2s, filter .2s;
}
.btn:hover { filter: brightness(1.08); box-shadow: 0 18px 32px -14px rgba(106,33,83,.9); }
.btn:active { transform: translateY(1px) scale(.995); }

/* Bayraklı şehir seçici */
.picker { position: relative; text-transform: none; letter-spacing: normal; }
.picker-btn { display: flex; align-items: center; gap: 10px; cursor: pointer; text-align: left; }
.picker-name { font-family: var(--font-d); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.picker-country { color: var(--muted); font-size: 13px; font-weight: 500; }
.chev { margin-left: auto; color: var(--muted); font-size: 12px; }
.picker-pop {
  position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px); min-width: 270px;
  background: rgba(255,255,255,.97); border-radius: 18px; padding: 8px;
  border: 1px solid var(--line); box-shadow: 0 28px 60px -20px rgba(29,58,77,.45);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  animation: pop .16s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.picker-search { margin-bottom: 6px; }
.picker-list { max-height: 330px; overflow-y: auto; overscroll-behavior: contain; }
.picker-group { font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; padding: 12px 10px 4px; }
.picker-item {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; cursor: pointer;
  border: 0; background: none; border-radius: 12px; font: inherit; font-size: 14.5px; color: var(--ink); text-align: left;
}
.picker-item:hover, .picker-item:focus-visible { background: var(--field); outline: none; }
.picker-item.selected { background: var(--accent-soft); font-weight: 650; }
.picker-empty { color: var(--muted); font-size: 14px; padding: 10px; margin: 0; }
.mini-badge { margin-left: auto; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--navy); }

/* Bayraklar */
.flag {
  width: 22px; height: 16px; object-fit: cover; border-radius: 4px; vertical-align: -3px; flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(22,41,57,.10); background: #eee;
}
.flag-lg { width: 40px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(22,41,57,.08), 0 4px 10px -4px rgba(22,41,57,.3); }

/* =============== Sonuç özeti =============== */
.total {
  position: relative; overflow: hidden; color: #fff; margin: 0 0 20px; padding: 26px 28px;
  border-radius: 22px; background:
    radial-gradient(420px 220px at 105% -10%, rgba(240, 224, 220, .32), transparent 60%),
    radial-gradient(300px 200px at -10% 120%, rgba(106, 33, 83, .55), transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, #2a3557 60%, #4a2560 100%);
  box-shadow: 0 24px 44px -24px rgba(29,58,77,.75);
}
.total::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.07) 0 1px, transparent 1px 22px);
}
.total-warn {
  background:
    radial-gradient(420px 220px at 105% -10%, rgba(247, 184, 201, .35), transparent 60%),
    linear-gradient(135deg, #4a1838 0%, var(--plum) 100%);
}
.total > * { position: relative; z-index: 1; }
.total-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.total .label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 550; color: rgba(255,255,255,.72); }
.total .value {
  font-family: var(--font-d); font-size: clamp(38px, 5.4vw, 56px); font-weight: 750; letter-spacing: -0.04em;
  line-height: 1.05; margin: 8px 0 8px; font-variant-numeric: tabular-nums;
}
.total .sub { font-size: 14px; color: rgba(255,255,255,.78); }
.total .sub strong { color: #fff; }
.total .saved, .total .save {
  display: inline-flex; margin-top: 12px; padding: 7px 13px; border-radius: 999px; font-weight: 650; font-size: 13.5px;
  background: rgba(240,224,220,.16); color: #ffe6de; border: 1px solid rgba(240,224,220,.25);
}
.total .flag { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.share-btn {
  flex: 0 0 auto; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: #fff;
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s;
}
.share-btn:hover { background: rgba(255,255,255,.22); }
.badges { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.18);
}
.badge-visa { background: rgba(240,224,220,.2); }
.bar { height: 8px; background: rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; margin: 16px 0 2px; }
.bar > div { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--peach), #fff); transition: width .4s; }
.bar.over > div { background: linear-gradient(90deg, #f7b8c9, #ff8fa9); }

/* Dağılım çubuğu */
.stack { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 3px; margin: 4px 0 12px; }
.stack span { display: block; min-width: 4px; border-radius: 999px; }
.legend { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.legend b { color: var(--muted); font-weight: 650; margin-left: 2px; }

/* =============== Satırlar =============== */
.rows { width: 100%; border-collapse: separate; border-spacing: 0 8px; margin: 0; }
.rows td {
  padding: 14px 16px; vertical-align: middle; font-size: 15px; font-weight: 550;
  background: rgba(255,255,255,.7); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.rows td:first-child { border-left: 1px solid var(--line); border-radius: 16px 0 0 16px; }
.rows td:last-child {
  border-right: 1px solid var(--line); border-radius: 0 16px 16px 0;
  text-align: right; white-space: nowrap; font-family: var(--font-d); font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.rows tr:hover td { background: #fff; }
.rows .hint { display: block; color: var(--muted); font-family: var(--font); font-size: 12.5px; font-weight: 450; letter-spacing: normal; margin-top: 2px; }
.rows tr.best td { background: linear-gradient(90deg, var(--accent-soft), #fff); border-color: rgba(106,33,83,.25); }
.rows tr.best td:first-child { box-shadow: inset 4px 0 0 var(--plum); }
.rows tr.best td:last-child { color: var(--plum); }
.row-main { display: flex; align-items: center; gap: 14px; }
.row-ico {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; font-size: 18px;
  background: color-mix(in srgb, var(--c) 16%, white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, white);
}
.row-text { display: block; }
.rows-help { margin: 16px 0 2px; }
.row-check { width: 22px; height: 22px; }
.rows .joke { display: block; font-size: 12.5px; color: #b2a3ac; margin-top: 4px; font-style: normal; }
.rows tr.off td { background: rgba(250,245,245,.6); border-style: dashed; }
.rows tr.off .row-ico { filter: grayscale(1); opacity: .45; }
.rows tr.off .row-text { color: var(--muted); }
.rows tr.off td:last-child { text-decoration: line-through; color: var(--muted); opacity: .7; }
.rows tr.off .joke { color: var(--plum); font-weight: 650; font-size: 13.5px; }

/* =============== İpuçları, etiketler =============== */
.tip {
  margin-top: 18px; padding: 16px 18px; border-radius: 16px; font-size: 14px; color: var(--ink-2);
  background: linear-gradient(135deg, #fff, var(--accent-soft)); border: 1px solid rgba(106,33,83,.14);
}
.tip strong { color: var(--plum); }
#pCards .tip { margin: 0 0 14px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; font-family: var(--font); letter-spacing: normal; }
.tag-center { background: var(--accent-soft); color: var(--plum); }
.tag-near { background: #f4ece9; color: #7a5a52; }
.tag-far { background: var(--ok-soft); color: var(--navy); }
.error { color: var(--plum); background: var(--accent-soft); padding: 14px 16px; border-radius: 14px; margin: 0; font-weight: 550; }
#iResult { margin-top: 18px; }
#iResult .field-hint, .card > .field-hint { display: block; margin-top: 14px; }

/* =============== Nereye gidebilirim =============== */
.dest-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 6px; }
.dest {
  padding: 18px; border-radius: 20px; background: rgba(255,255,255,.8); border: 1px solid var(--line);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, border-color .2s;
}
.dest:hover { transform: translateY(-3px); background: #fff; border-color: rgba(106,33,83,.25); box-shadow: 0 20px 36px -22px rgba(29,58,77,.5); }
.dest.over { opacity: .62; }
.dest.over:hover { opacity: 1; }
.dest-head { display: flex; align-items: center; gap: 12px; }
.dest-name { display: flex; flex-direction: column; min-width: 0; }
.dest-name strong { font-family: var(--font-d); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.dest-name span { font-size: 12.5px; color: var(--muted); }
.vf { font-style: normal; color: var(--good); font-weight: 650; }
.dest-price { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.dest-price strong { font-family: var(--font-d); font-size: 18px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dest-price span { font-size: 12px; color: var(--muted); }
.meter { height: 6px; border-radius: 999px; background: #f1e7e8; overflow: hidden; margin: 14px 0 12px; }
.meter > div { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7fc8b0, var(--good)); }
.meter.over > div { background: linear-gradient(90deg, #d98aa8, var(--plum)); }
.dest-foot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.dest-foot .left { color: var(--good); font-weight: 650; }
.dest-foot .short { color: var(--plum); font-weight: 650; }
.link-btn { border: 0; background: none; color: #b2a3ac; cursor: pointer; font: inherit; font-size: 13px; padding: 2px 0 2px 10px; }
.link-btn:hover { color: var(--plum); }
.link-btn.strong {
  color: var(--plum); font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft);
  transition: background .15s, color .15s;
}
.link-btn.strong:hover { background: var(--plum); color: #fff; }

/* =============== Harcama =============== */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.checklist label {
  flex-direction: row; align-items: center; gap: 12px; cursor: pointer;
  padding: 13px 14px; border-radius: 14px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink); font-size: 14px; font-weight: 550; letter-spacing: normal; text-transform: none;
  transition: background .15s, box-shadow .15s, transform .15s;
}
.checklist label:hover { background: #fff; }
.checklist label:has(input:checked) { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px rgba(106,33,83,.35); }
.checklist .att-name { display: flex; flex-direction: column; gap: 3px; }
.checklist .price { margin-left: auto; color: var(--ink-2); font-size: 13px; font-weight: 700; white-space: nowrap; }
.checklist .price s { color: #b9adb4; font-weight: 500; margin-right: 3px; }
.eu-only { align-self: flex-start; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--navy); letter-spacing: normal; text-transform: none; }
.student-note { margin: -8px 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--ok-soft); color: var(--navy); font-size: 13.5px; }
.expense-form { margin-top: 18px; padding-top: 18px; border-top: 1.5px dashed var(--line); }
#xList { margin-top: 20px; }
.tips { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tips li {
  position: relative; padding: 16px 18px 16px 52px; border-radius: 16px; font-size: 14px; color: var(--ink-2);
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
}
.tips li::before {
  content: "✦"; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 8px;
  display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--grad);
}
.tips strong { display: block; color: var(--ink); margin-bottom: 3px; font-family: var(--font-d); font-size: 15px; letter-spacing: -0.01em; }

/* =============== Takvim =============== */
.dp-btn { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; cursor: pointer; text-align: left; padding: 10px 14px; }
.dp-ico { font-size: 14px; opacity: .55; }
.dp-date { font-weight: 650; white-space: nowrap; }
.dp-day { font-size: 12px; color: var(--muted); white-space: nowrap; font-weight: 500; }
.dp-day.we { color: var(--plum); font-weight: 700; }
.dp-empty { color: var(--muted); }
.dp-pop {
  position: absolute; z-index: 70; width: 316px; padding: 16px;
  background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 60px -22px rgba(29,58,77,.5); animation: pop .16s ease-out;
}
.dp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp-top strong { font-family: var(--font-d); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.dp-nav { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--field); box-shadow: inset 0 0 0 1px var(--line); font-size: 18px; line-height: 1; color: var(--ink); cursor: pointer; }
.dp-nav:hover:not(:disabled) { background: var(--accent-soft); }
.dp-nav:disabled { opacity: .3; cursor: default; }
.dp-head, .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-head span { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 0; font-family: var(--font); }
.dp-head span.we { color: var(--plum); }
.dp-cell {
  aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 11px; background: transparent;
  font: inherit; font-size: 13.5px; font-weight: 550; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums;
  transition: background .12s;
}
.dp-cell.blank { cursor: default; }
.dp-cell.we { background: var(--accent-soft); color: var(--plum); font-weight: 700; }
.dp-cell:hover:not(:disabled):not(.sel) { background: #f0e4ea; }
.dp-cell.today { box-shadow: inset 0 0 0 1.5px var(--lilac); }
.dp-cell.in { background: #efe6ec; border-radius: 0; }
.dp-cell.in.we { background: #ead5e1; }
.dp-cell.edge-start, .dp-cell.edge-end { background: #e4cfdc; color: var(--ink); }
.dp-cell.sel { background: var(--grad); color: #fff; font-weight: 750; box-shadow: 0 8px 16px -8px rgba(106,33,83,.8); }
.dp-cell:disabled { color: #cdc3c8; background: transparent; cursor: default; font-weight: 400; }
.dp-cell.edge-start:disabled { background: #e4cfdc; color: var(--ink); font-weight: 650; }
.dp-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.dp-we-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(106,33,83,.3); margin-right: 6px; vertical-align: -1px; }
.dp-nights { font-weight: 700; color: var(--plum); }

/* =============== Bildirim, alt bölüm =============== */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80;
  background: var(--navy); color: #fff; padding: 13px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: 0 18px 40px -12px rgba(29,58,77,.6); animation: toastIn .2s ease-out;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } }
.footer { margin: 48px 0 44px; text-align: center; }
.note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 0 auto 12px; max-width: 660px; }
.privacy { max-width: 660px; margin: 0 auto; font-size: 13px; color: var(--muted); }
.privacy summary { cursor: pointer; font-weight: 650; color: var(--ink-2); display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.6); }
.privacy summary:hover { background: #fff; }
.privacy p { text-align: left; background: var(--card); padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); }
.copy { font-size: 12px; color: #b2a3ac; margin-top: 16px; }

/* =============== Duyarlı =============== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .ticket { justify-self: start; max-width: 420px; transform: rotate(-1.5deg); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 14px; }
  .hero { padding: 18px 0 84px; border-radius: 0 0 28px 28px; }
  .brand { margin-bottom: 30px; }
  .hero-title { font-size: clamp(42px, 13vw, 60px); }
  .hero-sub { font-size: 15.5px; }
  .hero-chips li { font-size: 12px; padding: 6px 11px; }
  .ticket { padding: 18px 18px 14px; border-radius: 20px; }
  .ticket-route b { font-size: 21px; }
  .ticket-total b { font-size: 24px; }
  .ticket-cut { margin: 14px -18px 12px; }
  .tabs { margin: -32px 0 22px; width: auto; top: 8px; }
  .tab { padding: 10px 14px; font-size: 14px; }
  .card { padding: 20px 18px; border-radius: 22px; }
  .grid { gap: 14px 10px; }
  .checklist { grid-template-columns: 1fr; }
  input, select, .picker-btn, .dp-btn { font-size: 16px; } /* iPhone'da odaklanınca yakınlaştırmayı önler */
  .total { padding: 22px 20px; border-radius: 20px; }
  .rows td { padding: 12px 12px; font-size: 14px; }
  .rows td:last-child { font-size: 15px; }
  .row-ico { width: 34px; height: 34px; font-size: 15px; border-radius: 11px; }
  .dest-list { grid-template-columns: 1fr; }
  .share-btn { padding: 7px 11px; }
  .dp-pop { width: calc(100vw - 16px); max-width: 340px; }
  .ticket { width: calc(100% - 10px); margin: 0 auto; justify-self: center; transform: rotate(-1deg); }
  .card.result { padding: 14px 12px; }
  .card.result .total { margin-bottom: 16px; }
  .card.result .stack, .card.result .legend, .card.result .rows-help { margin-left: 6px; margin-right: 6px; }
  .rows td { padding: 12px 10px; }
  .rows .row-ico { display: none; }
  .row-main { gap: 12px; }
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  body::before, .ticket, .panel:not([hidden]) > .card { animation: none; }
  html { scroll-behavior: auto; }
}
