/* TakasOlsun — ortak stiller. Palet: KARARLAR.md (4 numara, Bordo & Altın). */
:root {
  --bordo: #6B1E3A;
  --bordo-koyu: #521429;
  --altin: #C9A227;
  --altin-acik: #DDB94A;
  --altin-yazi: #2B0D18;
  --altin-metin: #7A5F0E;   /* krem/beyaz üstünde altın yazı, ikon, kenarlık: 5,6:1 (WCAG AA). #C9A227 yalnızca dolgu ya da bordo/koyu zemin üstünde */
  --zemin: #FBF6EF;
  --kart: #FFFFFF;
  --cip: #EFE2D6;
  --gorsel: #F3E9DE;
  --cizgi: #E9DCCD;
  --metin: #3E1222;
  --metin2: #6D5E60;
  --hata: #A4262C;
  --golge: 0 1px 2px rgba(62,18,34,.06), 0 8px 24px rgba(62,18,34,.07);
  --r: 14px;
  --r-kucuk: 10px;
  --baslik: "Fraunces", Georgia, serif;
  --govde: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --genislik: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--zemin); color: var(--metin);
  font-family: var(--govde); font-size: 16px; line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--baslik); font-weight: 700; letter-spacing: -.3px; line-height: 1.15; margin: 0 0 .4em; color: var(--bordo); }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--bordo); }
a:hover { color: var(--bordo-koyu); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Odak — klavye kullanıcıları için her zaman görünür */
:focus-visible { outline: 3px solid var(--bordo); outline-offset: 2px; border-radius: 6px; box-shadow: 0 0 0 5px rgba(201,162,39,.55); }
/* Koyu zeminlerde (üst menü, altbilgi, çerez bandı) altın çerçeve: bordo üstünde ≈4,9:1 */
.ust :focus-visible, .alt-bilgi :focus-visible, .cerez-banner :focus-visible, .demo-bant :focus-visible, .eslesme-kart :focus-visible { outline-color: var(--altin); box-shadow: none; }
.gizli { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atla { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--altin); color: var(--altin-yazi); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.atla:focus { top: 8px; }

.kap { width: 100%; max-width: var(--genislik); margin: 0 auto; padding: 0 16px; }
main { display: block; padding-bottom: 48px; }

/* ---------- Üst menü ---------- */
.ust { background: var(--bordo); color: #fff; position: sticky; top: 0; z-index: 50; }
.ust .kap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--baslik); font-weight: 700; font-size: 1.45rem; color: #fff; text-decoration: none; letter-spacing: -.5px; white-space: nowrap; }
.logo:hover { color: #fff; }
.logo b { color: var(--altin); font-weight: 700; }
.logo img { display: block; height: 34px; width: auto; } /* logo.svg: T-Ok ikonu + özel çizim yazı (pazarlama/marka/logolar/v2), şeffaf zemin */
.alt-bilgi .logo img { height: 30px; }
.sosyal { list-style: none; display: flex; gap: 10px; margin: 14px 0 0; padding: 0; }
.sosyal a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(233,220,205,.35); color: #E9DCCD; }
.sosyal a:hover { color: var(--altin); border-color: var(--altin); }
@media (max-width: 720px) { .ust .logo img { height: 28px; } }
.isaret { width: 32px; height: 32px; border-radius: 10px; background: var(--altin); color: var(--altin-yazi); display: grid; place-items: center; font: 700 18px var(--govde); flex: none; }
.ust nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ust nav a, .nav-dugme { color: #fff; text-decoration: none; padding: 9px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.ust nav a:hover, .nav-dugme:hover { background: rgba(255,255,255,.12); color: #fff; }
.ust nav a[aria-current="page"] { background: rgba(255,255,255,.16); }
.ust nav a.cta { background: var(--altin); color: var(--altin-yazi); font-weight: 700; margin-left: 6px; }
.ust nav a.cta:hover { background: var(--altin-acik); color: var(--altin-yazi); }
.mobil-ikon { display: none; }
.kat-menu { position: relative; }
.kat-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(560px, 92vw); background: var(--kart); color: var(--metin); border-radius: var(--r); box-shadow: 0 18px 40px rgba(43,13,24,.25); padding: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.kat-panel a { color: var(--metin) !important; display: flex; gap: 10px; align-items: center; padding: 9px 10px !important; border-radius: 10px !important; font-size: .93rem; }
.kat-panel a:hover { background: var(--cip) !important; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 12px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-ana { background: var(--bordo); color: #fff; }
.btn-ana:hover { background: var(--bordo-koyu); color: #fff; }
.btn-altin { background: var(--altin); color: var(--altin-yazi); }
.btn-altin:hover { background: var(--altin-acik); color: var(--altin-yazi); }
.btn-cizgi { background: var(--kart); color: var(--bordo); border-color: var(--bordo); }
.btn-cizgi:hover { background: var(--cip); }
.btn-sade { background: transparent; color: var(--bordo); padding-inline: 10px; }
.btn-sade:hover { background: var(--cip); }
.btn-tam { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-dugme { background: none; border: 0; padding: 0; color: var(--bordo); text-decoration: underline; cursor: pointer; font-weight: 500; }

/* ---------- Hero + arama ---------- */
.hero { padding: 44px 0 30px; background:
  radial-gradient(900px 300px at 85% -10%, rgba(201,162,39,.16), transparent 70%),
  radial-gradient(700px 260px at 0% 110%, rgba(107,30,58,.08), transparent 70%); }
/* Dekoratif eşya deseni (desen.svg, elle çizilmiş ince çizgi ikonlar). ::before ile: ekran okuyucuya görünmez, tıklamayı engellemez.
   Saydamlık düşük tutulur; metin kontrastı (WCAG AA) korunur. Düşük entropili SVG olduğundan LCP adayı sayılmaz. */
.desen, .desen-silik { position: relative; isolation: isolate; }
.desen { --metin2: #5E5052; } /* hero gradyanı + %9 desenin en koyu noktasında bile 5,3:1 (varsayılan #6D5E60 orada 4,2:1 kalıyordu) */
.desen::before, .desen-silik::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("desen.svg") 0 0 / 400px 400px repeat; opacity: .09; }
.desen-silik::before { opacity: .04; background-position: 120px 60px; }
@media (max-width: 600px) { .desen::before, .desen-silik::before { background-size: 300px 300px; } }
@media print { .desen::before, .desen-silik::before { display: none; } }
.hero h1 span { color: var(--altin-yazi); background: linear-gradient(transparent 62%, rgba(201,162,39,.55) 62%); padding: 0 4px; }
.hero .alt-yazi { color: var(--metin2); font-size: 1.08rem; max-width: 620px; }
.arama { display: grid; grid-template-columns: 1fr 220px auto; gap: 8px; background: var(--kart); border-radius: 16px; padding: 8px; box-shadow: 0 6px 24px rgba(62,18,34,.10); border: 1px solid var(--cizgi); max-width: 860px; margin-top: 20px; }
.arama input, .arama select { border: 0; background: transparent; padding: 12px 14px; min-height: 50px; font-size: 1.02rem; width: 100%; min-width: 0; }
.arama select { border-left: 1px solid var(--cizgi); }
.arama .btn { min-height: 50px; padding-inline: 28px; }
.hero-etiketler { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: .9rem; color: var(--metin2); align-items: center; }

/* ---------- Çipler / rozetler ---------- */
.cip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--cip); color: var(--bordo); font-weight: 600; font-size: .85rem; text-decoration: none; border: 0; }
a.cip:hover, button.cip:hover { background: #E6D3C2; }
.rozet { display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 8px; border-radius: 7px; letter-spacing: .1px; white-space: nowrap; }
.r-takas { background: var(--bordo); color: #fff; }
.r-satis { background: var(--altin); color: var(--altin-yazi); }
.r-ikisi { background: var(--bordo); color: #fff; box-shadow: inset -6px 0 0 var(--altin); padding-right: 12px; } /* yazı hep bordo üstünde (AA) */
.r-durum { background: var(--cip); color: var(--metin); }
.dogrulama { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.dogrulama span { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #F4ECD2; color: var(--altin-yazi); border: 1px solid #E6D49A; }
.dogrulama span.yok { background: var(--cip); color: var(--metin2); border-color: var(--cizgi); }

/* ---------- Bölümler ---------- */
.bolum { padding: 34px 0 6px; }
.bolum-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.bolum-bas h2 { margin: 0; }

.kategoriler { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr)); gap: 10px; }
.kategori { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px 8px; background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--r); text-decoration: none; color: var(--metin); font-weight: 600; font-size: .86rem; line-height: 1.25; transition: transform .15s, box-shadow .15s; }
.kategori { min-width: 0; overflow-wrap: anywhere; hyphens: auto; } /* uzun tek kelimeler (RU "коллекционирование") kutudan taşmasın */
.kategori:hover { transform: translateY(-2px); box-shadow: var(--golge); color: var(--bordo); }
.kategori .ikon { width: 52px; height: 52px; border-radius: 16px; background: var(--gorsel); display: grid; place-items: center; font-size: 26px; }

/* ---------- İlan kartları ---------- */
.ilan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.ilan-kart { position: relative; background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.ilan-kart:hover { box-shadow: var(--golge); transform: translateY(-2px); }
.ilan-kart .gorsel { aspect-ratio: 4 / 3; background: var(--gorsel); }
.ilan-kart .gorsel img { width: 100%; height: 100%; object-fit: cover; }
.ilan-kart .govde { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ilan-kart h3 { font-family: var(--govde); font-size: .95rem; font-weight: 600; color: var(--metin); margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ilan-kart h3 a { color: inherit; text-decoration: none; }
.ilan-kart h3 a::after { content: ""; position: absolute; inset: 0; } /* tüm kart tıklanır */
.ilan-kart .konum { font-size: .82rem; color: var(--metin2); }
.ilan-kart .alt { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.fiyat { font-weight: 700; color: var(--bordo); font-size: 1rem; }
.rozetler { position: absolute; left: 8px; top: 8px; right: 54px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px; z-index: 1; } /* sağda favori düğmesine (38 px) yer bırak; uzun rozet alt satıra geçer */
.rozetler .rozet { white-space: normal; max-width: 100%; line-height: 1.25; }
.fav { position: absolute; right: 8px; top: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 18px; cursor: pointer; color: var(--bordo); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.fav[aria-pressed="true"] { background: var(--bordo); color: #fff; }
.bos { text-align: center; padding: 40px 16px; color: var(--metin2); background: var(--kart); border: 1px dashed var(--cizgi); border-radius: var(--r); }

/* ---------- Nasıl çalışır ---------- */
.adimlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; counter-reset: adim; }
.adim { background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--r); padding: 22px; position: relative; }
.adim::before { counter-increment: adim; content: counter(adim); width: 40px; height: 40px; border-radius: 12px; background: var(--altin); color: var(--altin-yazi); display: grid; place-items: center; font: 700 1.1rem var(--baslik); margin-bottom: 12px; }
.adim p { color: var(--metin2); margin: 0; }
.guven-serit { margin-top: 18px; background: var(--bordo); color: #fff; border-radius: var(--r); padding: 18px 20px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.guven-serit strong { color: var(--altin); }

/* ---------- Footer ---------- */
.alt-bilgi { background: var(--altin-yazi); color: #E9DCCD; margin-top: 40px; padding: 36px 0 24px; font-size: .92rem; }
.alt-bilgi .kap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.alt-bilgi h3 { font-family: var(--govde); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--altin); margin-bottom: 10px; }
.alt-bilgi ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.alt-bilgi a { color: #F3E9DE; text-decoration: none; }
.alt-bilgi a:hover { color: #fff; text-decoration: underline; }
.alt-bilgi .logo { font-size: 1.3rem; margin-bottom: 8px; }
.alt-bilgi .telif { grid-column: 1 / -1; border-top: 1px solid rgba(233,220,205,.2); padding-top: 16px; font-size: .82rem; color: #CBB9AE; }

/* ---------- Mobil alt menü ---------- */
.mobil-menu { display: none; }

/* ---------- Formlar ---------- */
.alan { display: grid; gap: 6px; margin-bottom: 14px; }
.alan > label, .alan > .etiket, fieldset legend { font-weight: 600; font-size: .92rem; }
.alan .ipucu { font-size: .82rem; color: var(--metin2); }
.alan .hata-yazi { font-size: .84rem; color: var(--hata); font-weight: 600; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--cizgi); border-radius: var(--r-kucuk); background: var(--kart); font-size: 1rem;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--bordo); outline: none; box-shadow: 0 0 0 3px rgba(201,162,39,.45); }
[aria-invalid="true"] { border-color: var(--hata) !important; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.secenekler { display: flex; flex-wrap: wrap; gap: 8px; }
.secenek { position: relative; }
.secenek input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.secenek span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--cizgi); background: var(--kart); font-weight: 600; font-size: .9rem; cursor: pointer; }
.secenek input:checked + span { background: var(--bordo); border-color: var(--bordo); color: #fff; }
.secenek input:focus-visible + span { outline: 3px solid var(--bordo); outline-offset: 2px; }
.onay { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.onay input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bordo); flex: none; }
.ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.kutu { background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--r); padding: 20px; }
.kutu + .kutu { margin-top: 14px; }

/* ---------- İlan listesi sayfası ---------- */
.liste-duzen { display: grid; grid-template-columns: 270px 1fr; gap: 22px; align-items: start; padding-top: 22px; }
.filtreler { position: sticky; top: 80px; }
.filtreler h2 { font-size: 1.15rem; }
.filtre-ac { display: none; }
.liste-ust { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.liste-ust select { width: auto; min-width: 190px; }
.sonuc-sayi { color: var(--metin2); font-size: .95rem; margin: 0; }
.aktif-filtreler { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.ekmek { font-size: .86rem; color: var(--metin2); padding-top: 16px; }
.ekmek a { color: var(--metin2); }

/* ---------- İlan detay ---------- */
.detay { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 12px; }
.detay > .galeri { grid-column: 1; }
.detay > aside { grid-column: 2; grid-row: 1 / span 2; }
.detay > .detay-alt { grid-column: 1; grid-row: 2; }
.detay-alt > .kutu:first-child { margin-top: 0; }
.galeri .ana { aspect-ratio: 4 / 3; background: var(--gorsel); border-radius: var(--r); overflow: hidden; border: 1px solid var(--cizgi); }
.galeri .ana img { width: 100%; height: 100%; object-fit: cover; }
.kucukler { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.kucukler button { flex: none; width: 76px; height: 60px; border-radius: 10px; overflow: hidden; padding: 0; border: 2px solid transparent; background: var(--gorsel); cursor: pointer; }
.kucukler button[aria-current="true"] { border-color: var(--bordo); }
.kucukler img { width: 100%; height: 100%; object-fit: cover; }
.detay-bilgi h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
.detay-fiyat { font-size: 1.6rem; font-weight: 700; color: var(--bordo); font-family: var(--baslik); margin-bottom: 10px; }
.ozellikler { display: grid; grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: .94rem; }
.ozellikler dt, .ozellikler dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .metin .ozellikler { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .metin .ozellikler dd { margin-bottom: 8px; } }
.ozellikler dt { color: var(--metin2); }
.ozellikler dd { margin: 0; font-weight: 600; }
.istenen-liste { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.satici { display: flex; gap: 12px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--bordo); color: var(--altin); display: grid; place-items: center; font: 700 1.2rem var(--baslik); flex: none; }
.satici .ad { font-weight: 700; font-size: 1.05rem; }
.satici .meta { font-size: .85rem; color: var(--metin2); }
.eylemler { display: grid; gap: 10px; margin-top: 14px; }
.uyari { background: #FBF1D6; border: 1px solid #E8D18A; border-left: 5px solid var(--altin-metin); border-radius: var(--r); padding: 16px 18px; font-size: .92rem; }
.uyari h2, .uyari h3 { font-size: 1rem; color: var(--altin-yazi); font-family: var(--govde); margin-bottom: 6px; }
.uyari ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.sikayet { font-size: .88rem; color: var(--metin2); }

/* ---------- Adım göstergesi ---------- */
.adim-gosterge { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: ag; }
.adim-gosterge li { flex: 1; font-size: .78rem; font-weight: 600; color: var(--metin2); text-align: center; min-width: 0; }
.adim-gosterge li::before { counter-increment: ag; content: counter(ag); display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; background: var(--cip); color: var(--metin2); font-weight: 700; }
.adim-gosterge li[aria-current="step"] { color: var(--bordo); }
.adim-gosterge li[aria-current="step"]::before { background: var(--bordo); color: #fff; }
.adim-gosterge li.tamam::before { content: "✓"; background: var(--altin); color: var(--altin-yazi); }
.adim-gosterge li span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-adim > h2 { margin-bottom: 14px; }
.form-alt { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.form-alt .btn { flex: 1 1 160px; }
.dar { max-width: 760px; margin: 0 auto; }
.cok-dar { max-width: 460px; margin: 0 auto; }

.kat-sec { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 8px; }
.kat-sec label { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid var(--cizgi); border-radius: 12px; background: var(--kart); cursor: pointer; font-weight: 600; font-size: .9rem; position: relative; }
.kat-sec input { position: absolute; opacity: 0; }
.kat-sec label:has(input:checked) { border-color: var(--bordo); background: #F7EDEF; box-shadow: inset 0 0 0 1px var(--bordo); }
.kat-sec label:has(input:focus-visible) { outline: 3px solid var(--bordo); outline-offset: 2px; }
.kat-sec .ikon { font-size: 22px; }

.foto-yukle { border: 2px dashed var(--cizgi); border-radius: var(--r); padding: 26px 16px; text-align: center; background: var(--kart); cursor: pointer; display: block; }
.foto-yukle:hover, .foto-yukle.surukle { border-color: var(--bordo); background: #FFFBF4; }
.foto-yukle:focus-within { outline: 3px solid var(--bordo); outline-offset: 2px; }
.foto-onizleme { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.foto-onizleme li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--gorsel); }
.foto-onizleme img { width: 100%; height: 100%; object-fit: cover; }
.foto-onizleme .kapak { position: absolute; left: 4px; bottom: 4px; }
.foto-onizleme button { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(43,13,24,.8); color: #fff; cursor: pointer; font-size: 15px; }

/* Teklif sayfası */
.secilebilir { display: grid; gap: 8px; }
.secilebilir label { display: grid; grid-template-columns: auto 64px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1.5px solid var(--cizgi); border-radius: 12px; background: var(--kart); cursor: pointer; }
.secilebilir label:has(input:checked) { border-color: var(--bordo); background: #F7EDEF; }
.secilebilir input { width: 20px; height: 20px; accent-color: var(--bordo); }
.secilebilir img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; }
.secilebilir .kb { font-weight: 600; font-size: .94rem; }
.secilebilir .km { font-size: .82rem; color: var(--metin2); }
.ozet-ilan { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; }
.ozet-ilan img { width: 88px; height: 70px; object-fit: cover; border-radius: 10px; }
.takas-ok { text-align: center; font-size: 1.6rem; color: var(--altin-metin); margin: 6px 0; }

/* OTP */
.otp { display: flex; gap: 8px; justify-content: center; margin: 14px 0 6px; }
.otp input { width: 48px; height: 58px; min-height: 0; padding: 0; text-align: center; font-size: 1.5rem; font-weight: 700; border-radius: 12px; }
.sayac { text-align: center; font-size: .9rem; color: var(--metin2); }
.demo-not { background: var(--cip); border-radius: 10px; padding: 10px 12px; font-size: .85rem; color: var(--metin); }

/* Sekmeler (hesabım) */
.hesap-bas { display: flex; gap: 14px; align-items: center; padding: 22px 0 12px; flex-wrap: wrap; }
.sekmeler { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--cizgi); margin-bottom: 18px; scrollbar-width: thin; }
.sekmeler button { flex: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 14px; font-weight: 600; color: var(--metin2); cursor: pointer; }
.sekmeler button[aria-selected="true"] { color: var(--bordo); border-bottom-color: var(--altin-metin); }
.sayi-rozet { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bordo); color: #fff; font-size: .72rem; margin-left: 4px; }
.satir-liste { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.satir { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--kart); border: 1px solid var(--cizgi); border-radius: 12px; padding: 10px; }
.satir img { width: 72px; height: 58px; object-fit: cover; border-radius: 8px; }
.satir .bas { font-weight: 600; }
.satir .bas a { color: var(--metin); text-decoration: none; }
.satir .bas a:hover { color: var(--bordo); text-decoration: underline; }
.satir .alt-y { font-size: .84rem; color: var(--metin2); }
.satir .islem { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.satir .islem .btn { min-height: 38px; padding: 6px 12px; font-size: .88rem; }
.satir.okunmadi { border-left: 4px solid var(--altin-metin); }
.durum-bekliyor { background: #F4ECD2; color: var(--altin-yazi); }
.durum-kabul { background: #E2EFE4; color: #1E4D2B; }
.durum-red { background: #F6E1E3; color: #7A1C25; }

/* Dialog */
dialog { border: 0; border-radius: 18px; padding: 0; width: min(520px, calc(100vw - 24px)); box-shadow: 0 24px 60px rgba(43,13,24,.35); color: var(--metin); background: var(--kart); }
dialog::backdrop { background: rgba(43,13,24,.55); }
.dialog-ic { padding: 22px; }
.dialog-bas { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kapat { width: 40px; height: 40px; border: 0; background: var(--cip); border-radius: 50%; cursor: pointer; font-size: 18px; flex: none; }

.bildirim { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: var(--altin-yazi); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 90; font-weight: 600; max-width: calc(100vw - 32px); }
.basarili { text-align: center; padding: 30px 16px; }
.basarili .buyuk { font-size: 48px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 900px) {
  .liste-duzen { grid-template-columns: 1fr; }
  .filtreler { position: static; }
  .filtre-ac { display: inline-flex; }
  .filtreler-ic[data-kapali="true"] { display: none; }
  .detay { grid-template-columns: 1fr; }
  .detay > aside, .detay > .galeri, .detay > .detay-alt { grid-column: 1; grid-row: auto; }
  .alt-bilgi .kap { grid-template-columns: 1fr 1fr; }
  .alt-bilgi .marka { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  .ust nav .masaustu { display: none; }
  .ust nav .mobil-ikon { display: inline; }
  .nav-dugme { font-size: 1.3rem; line-height: 1; padding: 8px 12px; }
  .ust .kap { min-height: 58px; }
  .logo { font-size: 1.25rem; }
  .isaret { width: 28px; height: 28px; font-size: 16px; }
  .kat-panel { position: fixed; left: 8px; right: 8px; top: 62px; width: auto; grid-template-columns: 1fr; max-height: calc(100vh - 150px); overflow-y: auto; }
  .arama { grid-template-columns: 1fr; }
  .arama select { border-left: 0; border-top: 1px solid var(--cizgi); }
  .hero { padding-top: 28px; }
  .ilan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kategoriler { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .kategori { padding: 12px 4px; font-size: .78rem; }
  .kategori .ikon { width: 44px; height: 44px; font-size: 22px; }
  .ilan-kart h3 { font-size: .88rem; }
  .ilan-kart .govde { padding: 8px 10px 10px; }
  .rozet { font-size: .7rem; padding: 3px 6px; }
  .mobil-menu { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--kart); border-top: 1px solid var(--cizgi); box-shadow: 0 -4px 16px rgba(62,18,34,.08); padding-bottom: env(safe-area-inset-bottom); }
  .mobil-menu a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; font-size: .72rem; font-weight: 600; color: var(--metin2); text-decoration: none; }
  .mobil-menu a .i { font-size: 20px; line-height: 1; }
  .mobil-menu a[aria-current="page"] { color: var(--bordo); }
  .mobil-menu a.ilan-ver .i { background: var(--altin); color: var(--altin-yazi); width: 30px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; }
  .satir { grid-template-columns: 60px 1fr; }
  .satir img { width: 60px; height: 50px; }
  .satir .islem { grid-column: 1 / -1; justify-content: flex-start; }
  .adim-gosterge li span { display: none; }
  .bildirim { bottom: 84px; }
}
@media (max-width: 400px) {
  .otp { gap: 5px; }
  .otp input { width: 42px; height: 52px; font-size: 1.3rem; }
  .ikili { grid-template-columns: 1fr; }
  .alt-bilgi .kap { grid-template-columns: 1fr; }
  .kap { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Yasal metinler (yasal.html) ---------- */
.yasal section { scroll-margin-top: 80px; }
.yasal .kutu + .kutu { margin-top: 16px; }
.icindekiler ul { columns: 2 200px; padding-left: 18px; margin: 0; }
.metin { font-size: .96rem; line-height: 1.65; }
.metin h3 { font-size: 1.12rem; margin: 1.4em 0 .5em; }
.metin h4 { font-family: var(--govde); font-size: 1rem; color: var(--metin); margin: 1.2em 0 .4em; }
.metin ul, .metin ol { padding-left: 22px; margin: 0 0 1em; }
.metin li { margin-bottom: 4px; }
.metin blockquote { margin: 0 0 1em; padding: 10px 14px; background: #FBF1D6; border-left: 4px solid var(--altin-metin); border-radius: 8px; }
.metin code { background: var(--cip); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
.tablo-kap { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--cizgi); border-radius: 10px; }
.metin table { border-collapse: collapse; width: 100%; font-size: .88rem; }
.metin th, .metin td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--cizgi); }
.metin th { background: var(--cip); color: var(--metin); }
.metin tr:last-child td { border-bottom: 0; }
.metin details { border-bottom: 1px solid var(--cizgi); padding: 10px 0; }
.metin summary { cursor: pointer; font-weight: 600; }
.metin details p { margin: 8px 0 0; }

/* ---------- Çerez bannerı ---------- */
.cerez-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; max-width: 760px; margin: 0 auto; background: var(--altin-yazi); color: #F3E9DE; border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.cerez-banner p { margin: 0 0 12px; font-size: .92rem; }
.cerez-banner a { color: #fff; }
.cerez-dugmeler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cerez-dugmeler .btn { background: #fff; color: var(--altin-yazi); border-color: #fff; min-height: 44px; padding: 8px 10px; font-size: .95rem; }
.cerez-dugmeler .btn:hover { background: var(--cip); }
.alt-bilgi .kunye { grid-column: 1 / -1; font-size: .82rem; color: #CBB9AE; margin: 0; }
.alt-bilgi .link-dugme { color: #F3E9DE; text-decoration: none; font: inherit; }
.alt-bilgi .link-dugme:hover { color: #fff; text-decoration: underline; }
@media (max-width: 720px) { .cerez-banner { bottom: 76px; } }
@media (max-width: 480px) { .cerez-banner { padding: 12px; left: 8px; right: 8px; } .cerez-banner p { font-size: .84rem; margin-bottom: 10px; } .cerez-dugmeler { gap: 6px; } .cerez-dugmeler .btn { font-size: .86rem; padding: 6px 4px; min-height: 42px; } }

/* ---------- Telefon doğrulama (WhatsApp / Telegram) ---------- */
.dogrulama-kodu { text-align: center; font: 700 1.7rem var(--govde); letter-spacing: .12em; background: var(--cip); border-radius: 12px; padding: 12px; margin: 10px 0 14px; color: var(--bordo); }
.kanal-dugmeler { display: grid; gap: 10px; }
.btn-wa { background: #1F7A4D; color: #fff; }
.btn-wa:hover { background: #18623D; color: #fff; }
.btn-tg { background: #1F6FA8; color: #fff; }
.btn-tg:hover { background: #185A89; color: #fff; }
.bekleniyor { display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--metin2); font-size: .92rem; margin-top: 12px; }
.donen { width: 18px; height: 18px; border: 3px solid var(--cizgi); border-top-color: var(--bordo); border-radius: 50%; animation: don 1s linear infinite; }
@keyframes don { to { transform: rotate(360deg); } }

/* ---------- Marka/kategori önerisi ---------- */
.oneri-kap { position: relative; }
.oneri-sar { min-width: 0; }
.oneri-liste { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; list-style: none; margin: 0; padding: 6px; background: var(--kart); border: 1px solid var(--cizgi); border-radius: 12px; box-shadow: 0 14px 34px rgba(43,13,24,.18); max-height: 360px; overflow-y: auto; text-align: left; }
.oneri-liste a { display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--metin); text-decoration: none; font-size: .94rem; }
.oneri-liste a:hover, .oneri-liste [aria-selected="true"] a { background: var(--cip); color: var(--bordo); }
.oneri-grup { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--metin2); padding: 8px 10px 4px; }

/* ---------- Harita ---------- */
.liste-arac { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gorunum { display: inline-flex; border: 1.5px solid var(--cizgi); border-radius: 12px; overflow: hidden; background: var(--kart); }
.gorunum .btn { border-radius: 0; min-height: 42px; padding: 6px 12px; }
.gorunum .btn[aria-pressed="true"] { background: var(--bordo); color: #fff; }
.harita { height: 520px; border-radius: var(--r); border: 1px solid var(--cizgi); overflow: hidden; background: var(--gorsel); z-index: 0; }
.harita-kucuk { height: 280px; margin-top: 12px; }
.harita-not { font-size: .84rem; color: var(--metin2); margin: 8px 0 0; }
.harita-liste { margin: 6px 0 0; padding-left: 16px; }
.maplibregl-map { font-family: var(--govde); }
.maplibregl-popup-content { border-radius: 10px; padding: 10px 14px; color: var(--metin); }
.maplibregl-popup-content a { color: var(--bordo); }
@media (max-width: 720px) { .harita { height: 62vh; } .harita-kucuk { height: 240px; } }

/* ---------- EİDS "yakında" kategorileri ---------- */
.kategori.yakinda { opacity: .8; border-style: dashed; }
.kategori .rozet { font-size: .68rem; }
.kat-sec label.kapali { opacity: .6; cursor: not-allowed; border-style: dashed; }
.kat-sec label.kapali small { display: block; font-weight: 500; font-size: .74rem; color: var(--metin2); }

/* ---------- Dil seçici ---------- */
.dil-sec { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; min-height: 36px; padding: 4px 8px; width: auto; font-size: 16px; font-weight: 600; } /* 16px: iOS odaklanınca yakınlaştırmasın */
.dil-sec option { color: var(--metin); }
.dil-sec:focus { border-color: var(--altin); box-shadow: none; }
.alt-bilgi .dil-sec { border-color: rgba(233,220,205,.4); }
.baglayici { background: #FBF1D6; border: 1px solid #E8D18A; border-radius: 10px; padding: 10px 14px; font-size: .9rem; }
@media (max-width: 720px) { .ust nav a.cta { display: none; } .ust nav { gap: 6px; } }
.alt-bilgi .marka .dil-sec { margin-top: 4px; }

/* ---------- Demo bandı ---------- */
.demo-bant { background: #2B0D18; color: #F4ECD2; text-align: center; font-size: .86rem; padding: 7px 12px; }
.demo-bant strong { color: var(--altin); }

/* ---------- Rozetler (yeni) ---------- */
.r-ucretsiz { background: #E2EFE4; color: #1E4D2B; }
/* Ücretsiz eşyalar: menü bağlantısı, çağrı kutusu, detay notu, ilan formunda öne çıkan seçenek */
.nav-ucretsiz { white-space: nowrap; }
@media (max-width: 720px) { .nav-ucretsiz .nav-yazi { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .nav-ucretsiz { font-size: 1.25rem; padding: 6px; } }
.ucretsiz-cagri { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; margin: 0 0 16px;
  background: #EEF6EF; border: 1px solid #C9DECD; border-radius: var(--r); }
.ucretsiz-cagri p { margin: 0; flex: 1 1 240px; color: #1E4D2B; }
.ucretsiz-cagri .ipucu { display: block; font-size: .85rem; margin-top: 2px; }
.ucretsiz-not { margin: 6px 0 12px; padding: 10px 12px; background: #EEF6EF; border-left: 4px solid #2E6B3E; border-radius: var(--r-kucuk); color: #1E4D2B; font-size: .92rem; }
.secenek-one span { border-color: #2E6B3E; background: #EEF6EF; color: #1E4D2B; font-weight: 600; }
.secenek-one input:checked + span { background: #2E6B3E; color: #fff; }
.konum-ref { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.konum-ref[hidden] { display: none; }
.konum-ref .ipucu { font-size: .85rem; color: var(--metin2); margin: 0; flex: 1 1 220px; }
.konum-ref .btn[aria-pressed="true"] { background: var(--cip); color: var(--bordo); }
.ilan-kart .mesafe { font-weight: 600; color: var(--bordo); }
.r-ariyorum { background: #2B0D18; color: #F4ECD2; }
.r-sponsor { background: var(--altin); color: var(--altin-yazi); }
.r-guvenilir { background: #F4ECD2; color: var(--altin-yazi); }
.guvenilir-rozet { display: inline-block; margin: 10px 0 0; padding: 4px 10px; border-radius: 999px; background: #F4ECD2; border: 1px solid #E6D49A; color: var(--altin-yazi); font-weight: 700; font-size: .86rem; }
.kucuk-gri { font-size: .82rem; color: var(--metin2); font-weight: 400; }
.yakinda-kucuk { font-size: .7rem; font-weight: 700; color: var(--metin2); background: var(--cip); padding: 1px 6px; border-radius: 6px; }
.durum-withdrawn, .durum-cancelled { background: var(--cip); color: var(--metin2); }
.durum-completed { background: #E2EFE4; color: #1E4D2B; }

/* ---------- Sponsorlu ilan: yasa gereği normal ilandan AYIRT EDİLEBİLİR olmalı ---------- */
.ilan-kart.sponsorlu { border: 2px solid var(--altin-metin); }
.sponsor-etiket { position: absolute; left: 0; right: 0; bottom: auto; top: 0; z-index: 3; background: var(--altin); color: var(--altin-yazi); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 3px 6px; }
.ilan-kart.sponsorlu .rozetler { top: 30px; }
.ilan-kart.sponsorlu .fav { top: 30px; }
.sponsor-serit { margin-bottom: 18px; padding: 12px; border-radius: var(--r); background: #FBF1D6; border: 1px dashed #E8D18A; }

/* ---------- Reklam alanı (boşken gizli) ---------- */
.reklam { margin: 22px 0 6px; text-align: center; }
.reklam-etiket { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--metin2); margin-bottom: 4px; }
.reklam img { margin: 0 auto; border-radius: 10px; max-height: 200px; width: auto; }

/* ---------- Takas eşleşmesi kartı ---------- */
.eslesme-kart { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--bordo); color: #fff; }
.eslesme-kart h2 { color: var(--altin); margin: 0 0 4px; font-size: 1.2rem; }
.eslesme-kart p { margin: 0; color: #F3E9DE; }
.eslesme-kart > div { flex: 1; min-width: 200px; }
.eslesme-kart .buyuk { font-size: 34px; }
.bildirim-satir { grid-template-columns: 40px 1fr auto; }
.bildirim-satir.eslesme { border-left: 4px solid var(--bordo); }
.bildirim-ikon { font-size: 24px; text-align: center; }
@media (max-width: 720px) { .bildirim-satir { grid-template-columns: 40px 1fr; } }

/* ---------- Form ekleri ---------- */
.tur-sec { margin-bottom: 6px; }
.tur-sec .secenek span { font-size: .95rem; padding: 10px 16px; }
.etiket-liste { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.etiket-liste .cip button { background: none; border: 0; cursor: pointer; color: inherit; font-weight: 700; padding: 0 0 0 4px; }
.turnstile { margin: 0 0 12px; min-height: 0; max-width: 100%; overflow: hidden; }
.btn-pasif { opacity: .5; pointer-events: auto; cursor: not-allowed; }
.secenek-liste { padding-left: 18px; display: grid; gap: 8px; }
.bos-kucuk { color: var(--metin2); font-size: .9rem; list-style: none; text-align: center; padding: 10px; }

/* ---------- Konuşma (mesaj geçmişi) ---------- */
dialog.genis { width: min(640px, calc(100vw - 24px)); }
.konusma { list-style: none; margin: 10px 0 0; padding: 8px; display: grid; gap: 8px; max-height: 46vh; overflow-y: auto; background: var(--zemin); border-radius: 12px; border: 1px solid var(--cizgi); }
.balon { max-width: 82%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--kart); border: 1px solid var(--cizgi); justify-self: start; }
.balon.ben { justify-self: end; background: #F7EDEF; border-color: #E7CDD5; border-radius: 14px 14px 4px 14px; }
.balon p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.balon time { display: block; font-size: .72rem; color: var(--metin2); margin-top: 2px; }
.guvenlik-not { display: block; font-size: .76rem; color: #7A1C25; margin-top: 4px; }

/* ---------- Yıldızlı değerlendirme ---------- */
.yildizlar { display: inline-flex; flex-direction: row-reverse; gap: 2px; border: 0; padding: 0; margin: 0 0 12px; }
.yildizlar legend { float: left; width: 100%; font-weight: 600; margin-bottom: 4px; }
.yildizlar input { position: absolute; opacity: 0; }
.yildizlar label { font-size: 2rem; color: var(--cizgi); cursor: pointer; line-height: 1; padding: 0 2px; }
.yildizlar input:checked ~ label, .yildizlar label:hover, .yildizlar label:hover ~ label { color: var(--altin-metin); }
.yildizlar input:focus-visible + label { outline: 3px solid var(--bordo); border-radius: 6px; }

/* ---------- Rusça: Fraunces'ta Kiril harf yok → başlıklar Inter (yerel kopya, Kiril alt kümesiyle) ---------- */
html:lang(ru) h1, html:lang(ru) h2, html:lang(ru) h3, html:lang(ru) .detay-fiyat, html:lang(ru) .adim::before { font-family: var(--govde); letter-spacing: -.2px; }

/* ---------- Güvenlik: "asla ödeme/kargo linki göndermez" vurgusu ---------- */
.dur-uyari { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #F6E1E3; color: #7A1C25; font-weight: 700; font-size: .9rem; }
.metin .dur-uyari { font-size: 1rem; }
.maplibregl-ctrl-attrib { font-size: .72rem; }
.harita { position: relative; }
.metin p, .metin li, .metin td { overflow-wrap: anywhere; } /* form şablonlarındaki "……" boşluksuz satırlar 360 px'te taşmasın */

/* ---------- Mobil: klavye ve dinamik ekran yüksekliği ----------
   Klavye açıkken (bir metin alanı odaktayken) alttaki sabit menü ve çerez bandı gizlenir: yazılan alanın üstünü örtmesin.
   dvh destekleyen tarayıcılarda (iOS 15.4+, Android Chrome 108+) adres çubuğu açılıp kapanınca yükseklik doğru kalır; desteklemeyen
   tarayıcı geçersiz satırı yok sayar ve üstteki vh değerini kullanır. */
@media (max-width: 720px) {
  body.klavye-acik .mobil-menu, body.klavye-acik .cerez-banner { display: none; }
  body.klavye-acik { padding-bottom: 0; }
  .kat-panel { max-height: calc(100dvh - 150px); }
  .harita { height: 62dvh; }
  .harita.harita-kucuk { height: 240px; }
}
dialog { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }

/* ---------- Üst menü: dar masaüstü / tablet ----------
   Masaüstü menüsünün tek satıra sığması için ~1050 px gerekir (en uzunu RU + giriş yapmış). 1080 px'e kadar telefon üst menüsü
   (☰ + 🎁 + dil) ve alttaki sabit menü (Ana sayfa / Ara / İlan ver / Giriş) kullanılır; böylece hiçbir dilde menü iki satıra kırılmaz.
   Diğer telefon düzeni kuralları 720 px'te kalır. */
.ust nav a, .nav-dugme { white-space: nowrap; }
@media (max-width: 1080px) {
  body { padding-bottom: 68px; }
  .ust nav .masaustu { display: none; }
  .ust nav .mobil-ikon { display: inline; }
  .nav-dugme { font-size: 1.3rem; line-height: 1; padding: 8px 12px; }
  .ust nav a.cta { display: none; }
  .ust nav { gap: 6px; }
  .nav-ucretsiz .nav-yazi { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-ucretsiz { font-size: 1.25rem; padding: 6px; }
  .kat-panel { position: fixed; left: 8px; right: 8px; top: 62px; width: auto; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; }
  .mobil-menu { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--kart); border-top: 1px solid var(--cizgi); box-shadow: 0 -4px 16px rgba(62,18,34,.08); padding-bottom: env(safe-area-inset-bottom); }
  .mobil-menu a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; font-size: .72rem; font-weight: 600; color: var(--metin2); text-decoration: none; }
  .mobil-menu a .i { font-size: 20px; line-height: 1; }
  .mobil-menu a[aria-current="page"] { color: var(--bordo); }
  .mobil-menu a.ilan-ver .i { background: var(--altin); color: var(--altin-yazi); width: 30px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; }
  .bildirim { bottom: 84px; }
  .cerez-banner { bottom: 76px; }
  body.klavye-acik .mobil-menu, body.klavye-acik .cerez-banner { display: none; }
  body.klavye-acik { padding-bottom: 0; }
}
@media (min-width: 721px) and (max-width: 1080px) { .kat-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; left: auto; } }
