/*
Theme Name: Yarışoto
Theme URI: https://yarisoto.com
Author: yarisoto.com
Description: Türkiye'nin ilk yarış otomobili ve ekipmanları alım satım platformu. WPAdverts ile birlikte çalışır.
Version: 0.3.4
Requires PHP: 7.4
Text Domain: yarisarabasi
*/

/* (0.3.0) Bebas Neue / Work Sans @font-face kaldırıldı: site sistem yazı tipiyle
   çalışır (Apple'da SF, Android'de Roboto, Windows'ta Segoe UI) — font indirme yok. */

/* 0.3.0 "sade vitrin" tasarım sistemi (23.11.2026, Çağlar onayı): açık zemin,
   sistem yazı tipi, tek vurgu rengi (kırmızı yalnız ana düğme + bağlantı),
   kenarlıksız yumuşak gölgeli kartlar, hap biçimli düğmeler. Bebas / Work Sans
   artık yüklenmiyor (font dosyaları temada duruyor, @font-face kaldırıldı). */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #ececf0;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #e3e3e8;
  --line-strong: #c7c7cc;
  --accent: #ce1226;
  --accent-soft: #ce122614;
  --accent-ink: #ffffff;
  /* Eski "koyu başlık" jetonları: başlık artık açık; jetonlar açık değerlere
     çekildi ki onları kullanan eski kurallar koyu zemine açık yazı basmasın. */
  --hdr-bg: #ffffff;
  --hdr-bg-2: #f5f5f7;
  --hdr-ink: #1d1d1f;
  --hdr-muted: #6e6e73;
  --hdr-line: #e3e3e8;
  --hdr-search-bg: #e8e8ed;
  --accent-deep: #a90e1e;
  --r-xs: 6px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 980px;
  --shadow-1: 2px 4px 12px rgba(0, 0, 0, .08);
  --shadow-2: 2px 4px 16px rgba(0, 0, 0, .16);
  --shadow-3: 0 12px 40px rgba(0, 0, 0, .18);
  --dur: .2s;
  --ease: cubic-bezier(0, 0, .5, 1);
  --nav-h: 52px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  /* Yapışkan footer: kısa sayfalarda footer ekranın dibine oturur. İçerik
     kapsayıcısı (main / .advert-single / .yarisoto-auth-page / ana sayfa
     .wrap) esner; footer'ın 40px üst boşluğu korunur. */
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100dvh;
}
body > main.site-main, body > .advert-single, body > .yarisoto-auth-page, body > div.wrap { flex: 1 0 auto; }
/* KÖK NEDEN (0.2.52, iPhone yatay taşma): flex çocukta `margin: 0 auto`
   stretch'i iptal eder → .wrap içeriğe (öne çıkan şeridi = 4 × 68vw) sığacak
   kadar genişler ve sayfa viewport'u aşar. width:100% ile stretch davranışı
   geri gelir; max-width 1180 + auto margin ortalamayı korur. */
body > main.site-main, body > .advert-single, body > div.wrap { width: 100%; min-width: 0; }
/* Güvenlik ağı: tek bir bileşen taşsa bile sayfa yatay kaymaz (root'ta,
   position:sticky'yi bozmaz). */
html { overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
/* Dul satır önleyici (0.2.55): paragraf/madde son satırında tek kelime
   kalmasın (Chromium/Safari 'pretty'), başlıklar dengeli kırılsın. Destek
   olmayan tarayıcıda yok sayılır. */
p, li, dd { text-wrap: pretty; }
h1, h2, h3, .page-title, .kat-archive-title, .yarisoto-hesap-h2 { text-wrap: balance; }
/* Kısa (2-3 satırlık) notlar: dengeli kırılım, tek kelimelik son satır yok. */
.price-note, .siralama-step-body p, .yarisoto-hesap-note, .advert-safety p { text-wrap: balance; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.display { font-family: inherit; font-weight: 600; }

/* ---------- Header (0.3.0: tek satır, yarı saydam, yapışkan üst çubuk) ---------- */
header.site {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
/* Menü ya da arama açıkken alttaki içerik yazının arkasından seçilmesin. */
header.site:has(.mobile-nav:not([hidden])), header.site:has(.nav-ara:not([hidden])) { background: rgba(255, 255, 255, .97); }
.admin-bar header.site { top: 32px; }
@media (max-width: 782px) { .admin-bar header.site { top: 46px; } }
@media (max-width: 600px) { .admin-bar header.site { top: 0; } }
.nav-bar { position: relative; display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.logo {
  font-size: 27px; font-weight: 700; letter-spacing: -.04em; line-height: 1;
  white-space: nowrap; text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 0; flex: 0 0 auto;
}
.logo .accent { color: var(--accent); }
/* ".com" eki: taban çizgisi hizalı, küçük ve gri. Header, footer ve giriş
   paneli logoları bu tek kuralı paylaşır. */
.logo .tld { color: #86868b; font-weight: 500; font-size: .57em; letter-spacing: -.01em; margin-left: 1px; line-height: 1; }
nav.main { display: flex; align-items: center; align-self: stretch; gap: 24px; font-size: 13px; min-width: 0; }
nav.main a.link {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); opacity: .8;
  text-decoration: none; white-space: nowrap; transition: opacity var(--dur) var(--ease);
}
nav.main a.link:hover, nav.main a.link.is-active { opacity: 1; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 13px; flex: 0 0 auto; }
.header-actions .hesap-link {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); opacity: .8;
  text-decoration: none; white-space: nowrap; transition: opacity var(--dur) var(--ease);
}
.header-actions .hesap-link:hover { opacity: 1; }
.nav-ikon {
  width: 44px; height: 44px; margin: 0 -13px; padding: 0; border: 0; border-radius: 50%; background: none;
  color: var(--ink); opacity: .8; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  appearance: none; -webkit-appearance: none; -webkit-tap-highlight-color: transparent; font: inherit; line-height: 0;
  transition: opacity var(--dur) var(--ease);
}
.nav-ikon:hover, .nav-ikon[aria-expanded="true"] { opacity: 1; }
.nav-ikon svg { width: 17px; height: 17px; display: block; }

/* Ana düğme (hap). Üst çubukta küçük, sayfa içinde 44px. */
.btn-post {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--r-pill);
  font-weight: 400; font-size: 17px; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn-post:hover { background: var(--accent-deep); }
.btn-post:active { transform: scale(.97); }
.header-actions .btn-post { min-height: 32px; padding: 0 14px; font-size: 13px; }
/* İkincil düğme (gri hap). */
.btn-gri {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  background: #e8e8ed; color: var(--ink); border-radius: var(--r-pill); font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.btn-gri:hover { background: #dcdce2; }

/* Arama: üst çubuktaki büyüteç açar (footer.php'deki küçük betik). */
.nav-ara { border-top: 1px solid rgba(0, 0, 0, .06); padding: 12px 0 14px; }
.nav-ara[hidden] { display: none; }
/* form.search (NOT .search): WordPress arama sonuç sayfasında <body class="search">
   üretir; çıplak .search seçicisi body'yi yakalayıp tüm sayfayı yatay flex
   satırına çeviriyordu (header | içerik | footer yan yana). */
form.search {
  display: flex; align-items: center; width: 100%; max-width: 680px; height: 44px; margin: 0 auto;
  border-radius: var(--r-sm); overflow: hidden; background: var(--hdr-search-bg);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
form.search:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--ink); }
form.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 8px 0 16px; font: inherit; font-size: 17px; color: var(--ink); outline: none; }
form.search input::placeholder { color: var(--muted); }
form.search button { flex: 0 0 auto; width: 48px; height: 100%; border: 0; background: none; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: color var(--dur) var(--ease); }
form.search button:hover { color: var(--ink); }

/* Açılış şeridi: üst çubuğun altında, sayfayla birlikte kayar. */
.serit { background: var(--surface); text-align: center; font-size: 14px; line-height: 1.4; color: var(--ink-2); padding: 11px 24px; text-wrap: balance; }
.serit strong { font-weight: 600; color: var(--ink); }
.serit-kisa { display: none; }
.serit a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.serit a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.single-advert .serit { background: var(--bg); }

/* ---------- Mobil menü ---------- */
.nav-toggle { display: none; }
.nav-toggle-bars { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 18px; flex: 0 0 auto; }
.nav-toggle-bars span { display: block; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav, .mobile-nav[hidden] { display: none; }
/* 1080: yedi bağlantı + hesap bağlantıları + düğme bu genişliğin altına sığmıyor. */
@media (max-width: 1080px) {
  nav.main, .header-actions .hesap-link { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-bar { gap: 14px; }
  .header-actions { gap: 22px; }
  .mobile-nav:not([hidden]) {
    display: block; max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 28px; border-top: 1px solid rgba(0, 0, 0, .06);
  }
  .mobile-nav-auth { display: flex; gap: 24px; padding: 10px 0 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
  .mobile-nav-auth a { display: inline-flex; align-items: center; min-height: 36px; color: var(--accent); text-decoration: none; font-size: 15px; }
  .mobile-nav .mobile-nav-link { display: flex; align-items: center; min-height: 46px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
  .mobile-nav .mobile-nav-link.is-active { color: var(--accent); }
  .mobile-nav .mobile-nav-alt { min-height: 38px; padding-left: 14px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
  .mobile-nav .mobile-nav-cta { margin-top: 16px; justify-content: center; min-height: 48px; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-pill); font-size: 17px; font-weight: 400; letter-spacing: 0; }
}
@media (max-width: 900px) { .mobile-nav:not([hidden]) { padding-left: 16px; padding-right: 16px; } }

/* ---------- Sections ---------- */
/* 0.3.4 (Çağlar: "bölümler arası boşlukları sil"): 64 → 28. Şeritlerin alt iç boşluğu (kart gölgesi
   için 24px) da araya eklendiğinden görünen aralık ~50px kalır. */
section.block-section { padding-top: 28px; padding-bottom: 0; }
section.block-section--ad { padding-top: 24px; }
#feature-rail { padding-bottom: 8px; margin-bottom: 0; } /* vitrin karosunun gölgesi yok; altında boşluk bırakma */
.son-grid + .son-alt, .son-panel + .son-alt { padding-top: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
/* Başlık: koyu ilk cümle + gri devam cümlesi (<span>). Düz yazım; büyük harf yok. */
.section-head h2 { font-size: 28px; font-weight: 600; letter-spacing: -.022em; line-height: 1.14; margin: 0; text-wrap: balance; }
.section-head h2 span { color: var(--muted); }
.section-head a { font-size: 14px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.section-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.section-head a.yarisoto-siralama-link { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.section-head a.yarisoto-siralama-link:hover { color: var(--ink); }
.section-head-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }

/* Ana sayfa girişi: solda slogan, sağda arama (büyük başlık yok — Çağlar, 23.11.2026). */
.giris { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; padding: 26px 0 22px; }
.giris-slogan { margin: 0; font-size: 17px; line-height: 1.35; color: var(--ink-2); text-wrap: balance; }
.giris-arama { position: relative; flex: 0 1 380px; min-width: 0; }
.giris-arama input {
  width: 100%; height: 44px; border: 0; border-radius: var(--r-sm); background: #e8e8ed;
  padding: 0 16px 0 42px; font: inherit; font-size: 17px; color: var(--ink);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.giris-arama input::placeholder { color: var(--muted); }
.giris-arama input:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.giris-arama svg { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }

/* ---------- Rails ---------- */
.rail-outer { position: relative; min-width: 0; max-width: 100%; }
/* İç boşluk + eksi kenar: yatay kaydırma kabı kart gölgesini kırpmasın. */
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 12px;
  padding: 6px 12px 20px; margin: -6px -12px -12px; max-width: calc(100% + 24px); min-width: 0; /* alt: gölge payı 20, bunun 12'si eksi kenarla geri alınır */
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail-btn {
  position: relative; width: 36px; height: 36px; padding: 0; margin: 0; border-radius: 50%; border: 0;
  background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .56); display: flex; align-items: center; justify-content: center;
  cursor: pointer; appearance: none; -webkit-appearance: none; -webkit-tap-highlight-color: transparent; line-height: 0; font: inherit;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.rail-btn::before { content: ''; position: absolute; inset: -4px; } /* dokunma alanı 44px */
.rail-btn:hover { background: rgba(223, 223, 227, .95); color: rgba(0, 0, 0, .8); }
/* Tıklama sonrası kalan odak halkası (Safari'de yuvarlak düğmede KARE çiziyor)
   yalnızca klavye odağında görünsün; o zaman da yuvarlağı takip etsin. */
.rail-btn:focus { outline: none; }
.rail-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rail-btn svg { width: 14px; height: 14px; display: block; flex: 0 0 auto; }
.rail-nav { display: flex; gap: 10px; }
.section-head-actions .rail-btn { width: 32px; height: 32px; }
.rail-nav-float { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; }
.rail-nav-float.left { left: 16px; } .rail-nav-float.right { right: 16px; }
.rail-nav-float .rail-btn { width: 40px; height: 40px; background: rgba(30, 30, 32, .5); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.rail-nav-float .rail-btn:hover { background: rgba(30, 30, 32, .78); color: #fff; }
.rail-nav-float .rail-btn:focus-visible { outline-color: #fff; }

/* ---------- Vitrin (koyu, tam genişlik karo) ---------- */
.featured-strip { padding: 0; }
.featured-strip .wrap { padding: 0 24px; }
.feature-card {
  scroll-snap-align: start; scroll-snap-stop: always; flex: 0 0 100%; width: 100%; position: relative;
  display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 2 / 1;
  background: #101012;
  /* Safari: transform'lu (hover scale) çocuk, overflow:hidden + border-radius
     kırpmasını bozar → görsel alt köşelerde KÖŞELİ görünür. isolate +
     translateZ + radial mask, WebKit'e yuvarlak kırpmayı zorlar. */
  isolation: isolate; transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}
.feature-card picture, .feature-scrim { position: absolute; inset: 0; border-radius: inherit; }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; transition: transform .6s var(--ease); }
.feature-card:hover img { transform: scale(1.025); }
.feature-scrim {
  background:
    linear-gradient(90deg, rgba(10, 10, 12, .86) 0%, rgba(10, 10, 12, .58) 30%, rgba(10, 10, 12, 0) 58%),
    linear-gradient(0deg, rgba(10, 10, 12, .38) 0%, rgba(10, 10, 12, 0) 34%);
}
.feature-ic { position: absolute; inset: 0; max-width: 640px; padding: 48px 52px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.feature-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: rgba(255, 255, 255, .76); }
/* 0.3.1 (Çağlar: "çok beyaz oldu"): vitrinde kırmızı "Reklam" hapı + kırmızı düğme. */
.feature-eyebrow .tag { background: var(--accent); color: #fff; border-radius: var(--r-pill); padding: 3px 10px; white-space: nowrap; }
.feature-eyebrow .sep { display: none; }
.feature-eyebrow .cat { margin-left: 4px; }
.feature-title {
  margin: 12px 0 0; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; font-weight: 600; letter-spacing: -.026em; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.feature-meta { margin: 12px 0 0; font-size: 21px; line-height: 1.3; color: rgba(255, 255, 255, .86); letter-spacing: -.012em; }
.feature-alt { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.feature-fiyat { font-size: 28px; font-weight: 600; letter-spacing: -.022em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.feature-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff; font-size: 17px; white-space: nowrap; transition: background var(--dur) var(--ease);
}
.feature-card:hover .feature-cta { background: var(--accent-deep); }
.feature-empty { padding: 44px 24px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--r-lg); }
.feature-empty a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.feature-empty a:hover { text-decoration: underline; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.cat-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 20px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cat-tile:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.cat-tile svg { width: 46px; height: 46px; padding: 11px; color: var(--accent); background: var(--accent-soft); border-radius: var(--r-sm); }
.cat-tile .cat-name { font-weight: 600; font-size: 16px; }
.cat-tile .cat-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.cat-tile .cat-tags span { font-size: 11px; color: var(--muted); background: var(--surface-2); border-radius: var(--r-xs); padding: 3px 7px; font-weight: 600; }

/* ---------- Ad banner slot ---------- */
.ad-banner {
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.ad-banner .ad-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------- İlan kartı (0.3.0) ----------
   Beyaz, kenarlıksız, yumuşak gölge. Fiyat artık görselin üstünde rozet değil,
   gövdede düz yazı. Üst satır: tarih · kategori · il (+ sağda "Reklam"). */
.card {
  scroll-snap-align: start; scroll-snap-stop: always; flex: 0 0 calc(25% - 15px); width: calc(25% - 15px); min-width: 0;
  background: var(--surface); border-radius: var(--r-md);
  overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: scale(1.015); box-shadow: var(--shadow-2); }
.card-art { position: relative; flex: 0 0 auto; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.card-ust, .son-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; font-size: 12px; line-height: 1.5; color: var(--muted); min-height: 20px; }
.card-ust > span + span::before, .son-meta > span + span::before { content: '·'; margin-right: 6px; }
.son-meta .son-tarih { font-variant-numeric: tabular-nums; }
/* 0.3.3: üst satır tek satır kalır — dar kartta "Reklam" etiketi alt satıra düşüp kart başlıklarını
   hizadan çıkarıyordu. Sığmazsa il adı kısalır (…), etiket ve kategori bölünmez. */
.card-ust, .son-meta { flex-wrap: nowrap; }
.card-ust > span, .son-meta > span { white-space: nowrap; flex: 0 0 auto; }
.son-meta > .son-kat + .son-kat { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.card-title {
  font-size: 16px; line-height: 1.25; font-weight: 600; letter-spacing: -.012em; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em;
}
.card-fiyat { margin-top: auto; padding-top: 8px; font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.card-meta { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ---------- Latest list rows ---------- */
.list-rows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
.list-row { display: grid; grid-template-columns: 100px 1fr auto auto; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background-color .12s ease; }
.list-row:hover { background: var(--bg); }
.list-row:hover .list-title { color: var(--accent); }
.list-row:last-child { border-bottom: none; }
/* width:100% ŞART — sabit 68px yazılırsa mobilde grid sütunu 52px'e inince
   görsel sütunundan taşıp başlığın altına giriyor ("resim-text karışmış"
   şikayeti tam olarak buydu). %100 ile thumbnail her kırılımda sütunu kadar. */
.list-thumb { width: 100%; height: 68px; border-radius: var(--r-xs); overflow: hidden; background: var(--surface-2); }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.list-title { font-size: 13.5px; font-weight: 600; }
.list-cat { font-size: 11.5px; color: var(--muted); }
.list-price { font-size: 15px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.list-date { font-size: 11px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Footer (0.3.0: açık gri, küçük yazı) ---------- */
footer.site { margin-top: 88px; background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; line-height: 1.4; }
.foot-row { padding-top: 34px; padding-bottom: 24px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { max-width: 340px; }
.foot-brand .logo { display: inline-flex; margin-bottom: 12px; font-size: 27px; }
.foot-brand p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; text-wrap: balance; }
.foot-social { display: flex; gap: 10px; margin-top: 14px; }
.foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #e8e8ed; color: var(--ink-2); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.foot-social a:hover { background: var(--ink); color: #fff; }
.foot-social svg { width: 17px; height: 17px; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-col h4 { font-size: 12px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.foot-col a { display: block; font-size: 12px; color: var(--ink-2); text-decoration: none; margin-bottom: 9px; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
/* 0.3.2: satır içi akış + text-wrap: balance → 10 bağlantı 8+2 yerine 5+5 bölünür; ayırıcı noktalar
   kaldırıldı (satır sonunda asılı kalıyordu — Çağlar, 23.11.2026). */
.foot-legal { position: relative; display: block; padding-top: 14px; padding-bottom: 6px; font-size: 12px; line-height: 2.1; color: var(--ink-2); text-wrap: balance; }
/* Ayırıcı çizgi .wrap'in iç genişliğinde (kenar boşluğuna taşmaz). */
.foot-legal::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: #d2d2d7; }
.foot-legal a { display: inline-block; margin-right: 22px; line-height: 1.4; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.foot-legal a:last-of-type { margin-right: 0; }
.foot-legal a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal-sep { display: none; }
.foot-bottom { padding-top: 4px; padding-bottom: 26px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-bottom span { text-wrap: balance; } /* mobilde "…alım satım / platformu" dulu kalmasın (06.10 tarama) */

/* ---------- Generic page / content wrapper (Classifieds, Kategoriler, Publish, Manage) ---------- */
main.site-main { padding-top: 48px; padding-bottom: 28px; }
main.site-main .wrap > h1,
.page-title { font-weight: 600; font-size: 40px; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 24px; }

.page-content { font-size: 15.5px; line-height: 1.7; color: var(--ink); }
/* Ölçü sınırı yalnızca metin bloklarına: WPAdverts kısa kodları (İlan Ver,
   İlanlar, Yönet) da page.php > .page-content içinden basılıyor, onlar tam
   genişlikte kalmalı. */
.page-content > p, .page-content > h2, .page-content > h3, .page-content > ul, .page-content > ol,
.page-content > .legal-note { max-width: 860px; }
.page-content ul, .page-content ol { padding-left: 22px; margin: 0 0 18px; }
.page-content li { margin-bottom: 4px; text-wrap: pretty; }
.page-content p { margin: 0 0 18px; text-wrap: pretty; } /* pretty: hukuk metinlerinde tek-iki kelimelik son satır kalmasın (06.10 tarama) */
.page-content h2 {
  font-weight: 600; font-size: 21px; line-height: 1.2;
  letter-spacing: -.015em; margin: 36px 0 12px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content .legal-note {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 4px; padding: 16px 20px; font-size: 14px; color: var(--muted);
}
.page-content .legal-note p { margin: 0 0 12px; }
.page-content .legal-note p:last-child { margin-bottom: 0; }
.page-content .legal-note strong { color: var(--ink); }

/* ---------- 404 + WP ?s= arama yedeği (search.php) ---------- */
.notfound { max-width: 620px; padding: 24px 0 8px; }
.notfound-code { font-size: 96px; font-weight: 600; line-height: .95; color: var(--ink); letter-spacing: -.04em; margin: 0 0 14px; }
.notfound p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.notfound-actions .btn-post { display: inline-flex; }
.notfound-actions .btn-plain { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); background: #e8e8ed; color: var(--ink); font-size: 17px; text-decoration: none; white-space: nowrap; transition: background var(--dur) var(--ease); }
.notfound-actions .btn-plain:hover { background: #dcdce2; }
.search-fallback-note { font-size: 13.5px; color: var(--muted); margin: -12px 0 22px; }
.search-fallback-note a { color: var(--accent); font-weight: 600; }
.search-fallback-empty { padding: 28px 24px; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--muted); background: var(--surface); }
.search-fallback-empty a { color: var(--accent); font-weight: 600; }

/* ---------- İlan sayfası (0.3.0) ----------
   Beyaz zemin. Solda galeri + içerik (Açıklama, İlan Detayları, Güvenlik),
   sağda yapışkan özet: kategori · başlık · fiyat · iletişim düğmesi · paylaş ·
   satıcı. Telefonda sıra: galeri → özet → içerik. */
body.single-advert { background: var(--surface); }
.advert-single { padding-top: 18px; padding-bottom: 8px; }
.advert-single .advert-breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.advert-single .advert-breadcrumb a { color: var(--muted); text-decoration: none; }
.advert-single .advert-breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.advert-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 372px; column-gap: 56px; align-items: start;
  grid-template-areas: "galeri ozet" "icerik ozet";
}
.advert-gallery { grid-area: galeri; min-width: 0; }
.advert-icerik { grid-area: icerik; min-width: 0; }
.advert-ozet { grid-area: ozet; min-width: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.admin-bar .advert-ozet { top: calc(var(--nav-h) + 56px); }

/* --- Galeri --- */
.advert-gallery-main {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3 / 2; width: 100%; max-width: 100%; overflow: hidden; padding: 0; margin: 0;
  border: 0; border-radius: 20px; background: var(--bg);
  text-decoration: none; color: var(--ink); cursor: zoom-in; font: inherit; -webkit-tap-highlight-color: transparent;
}
.advert-gallery-main:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.advert-gallery-zoom {
  position: absolute; left: 16px; bottom: 16px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(30, 30, 32, .58); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; display: flex; align-items: center; justify-content: center; opacity: .9; transition: opacity var(--dur) var(--ease);
}
.advert-gallery-main:hover .advert-gallery-zoom { opacity: 1; }
.advert-gallery-main.is-empty { cursor: default; }

/* Sayfa içi lightbox */
html.advert-lb-open { overflow: hidden; }
.advert-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,9,11,.92); display: flex; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.advert-lightbox[hidden] { display: none; }
.advert-lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.advert-lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; border-radius: var(--r-xs); box-shadow: 0 20px 60px rgba(0,0,0,.6); user-select: none; -webkit-user-drag: none; }
.advert-lb-close, .advert-lb-nav {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  appearance: none; -webkit-appearance: none; -webkit-tap-highlight-color: transparent; line-height: 0;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.advert-lb-close:hover, .advert-lb-nav:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.7); }
.advert-lb-close:focus-visible, .advert-lb-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.advert-lb-close { top: 16px; right: 16px; width: 44px; height: 44px; }
.advert-lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.advert-lb-prev { left: 16px; } .advert-lb-next { right: 16px; }
.advert-lightbox.is-single .advert-lb-nav, .advert-lightbox.is-single .advert-lb-count { display: none; }
.advert-lb-count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) {
  .advert-lb-stage { padding: 56px 8px 64px; }
  .advert-lb-nav { width: 40px; height: 40px; top: auto; bottom: 12px; transform: none; }
  .advert-lb-prev { left: 12px; } .advert-lb-next { right: 12px; }
  .advert-lb-close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .advert-lb-count { bottom: 22px; }
}
/* contain: dikey çekilmiş fotoğraf kırpılmasın; yatay fotoğraf alanı zaten doldurur. */
.advert-gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.advert-gallery-main.is-empty { flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
.advert-gallery-count {
  position: absolute; right: 16px; bottom: 16px;
  background: rgba(30, 30, 32, .58); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; font-size: 12px; line-height: 1.5; padding: 5px 12px; border-radius: var(--r-pill); white-space: nowrap; font-variant-numeric: tabular-nums;
}
/* padding + eksi kenar: seçili küçük resmin halkası kırpılmasın. */
.advert-gallery-thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; padding: 4px; margin: 8px -4px 0; }
.advert-gallery-thumb {
  display: block; padding: 0; margin: 0; border: 0; border-radius: 10px;
  background: var(--bg); overflow: hidden; cursor: pointer; aspect-ratio: 3 / 2;
  transition: opacity var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  opacity: .62; -webkit-tap-highlight-color: transparent;
}
.advert-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.advert-gallery-thumb:hover { opacity: 1; }
.advert-gallery-thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.advert-gallery-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Sağ: özet --- */
.advert-ozet-kat { font-size: 14px; line-height: 1.4; color: var(--muted); }
.advert-ozet-kat a { color: inherit; text-decoration: none; }
.advert-ozet-kat a:hover { color: var(--ink); text-decoration: underline; }
.advert-single .advert-title { font-weight: 600; font-size: 32px; line-height: 1.1; letter-spacing: -.025em; margin: 6px 0 0; text-wrap: balance; overflow-wrap: anywhere; min-width: 0; }
.advert-pricebox { margin-top: 18px; }
.advert-price { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -.022em; color: var(--accent); font-variant-numeric: tabular-nums; }
.advert-location { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.advert-seller-contact { margin-top: 24px; }
.advert-seller-contact:empty { display: none; }
.advert-seller-contact .wpadverts-cpt-single-contact { margin: 0; }
.advert-seller-contact .contact-details-buttons-list { margin: 0 !important; }
.advert-seller-contact .wpa-cpt-contact-details > .atw-relative { margin: 0 !important; }
.advert-seller-contact .wpa-cpt-contact-details .atw-relative, .advert-seller-contact .contact-details-buttons-list { width: 100%; flex: 1 1 100%; } /* md'de satır düzenine geçip düğmeyi içeriğe daraltıyordu */
.advert-seller-contact .wpa-btn-primary { width: 100% !important; min-height: 50px; justify-content: center; font-family: inherit; font-weight: 400 !important; font-size: 17px !important; padding-left: 16px !important; padding-right: 16px !important; }
.advert-seller-contact .wpadverts-contact-reveal-box { background: var(--bg) !important; border: 0 !important; border-radius: var(--r-sm) !important; margin-top: 12px; padding-left: 16px !important; padding-right: 16px !important; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.advert-seller-contact .wpadverts-reveal-item { padding-right: 0 !important; }
.advert-ozet .advert-share { margin-top: 16px; }
.advert-ozet .advert-share-btns { justify-content: center; }

.advert-seller { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.advert-seller-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.advert-seller-avatar { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); color: var(--ink-2); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 19px; }
.advert-seller-id { min-width: 0; }
.advert-seller-name { font-size: 17px; line-height: 1.25; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.advert-seller-meta { font-size: 14px; color: var(--muted); margin-top: 1px; white-space: nowrap; }
/* Eklentinin yeşil kutulu rozeti: çerçevesiz, yeşil tik + koyu başlık + gri açıklama. */
.advert-seller-badge .yarisoto-satici-rozet { margin: 18px 0 0 !important; padding: 0 !important; gap: 10px !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--muted) !important; font-size: 14px !important; line-height: 1.4; align-items: flex-start !important; }
.advert-seller-badge .yarisoto-eids-tik { width: 22px !important; height: 22px !important; font-size: .7rem !important; background: #0a7d34 !important; }
.advert-seller-badge strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.advert-seller-badge br { display: none; }
.advert-seller-linkler { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.advert-seller-all, .advert-seller-insta { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 14px; color: var(--accent); text-decoration: none; }
.advert-seller-all::after, .advert-seller-insta::after { content: '›'; font-size: 1.15em; line-height: 1; }
.advert-seller-all:hover, .advert-seller-insta:hover { text-decoration: underline; text-underline-offset: 3px; }
.advert-seller-insta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.advert-seller-insta svg { flex: 0 0 auto; width: 16px; height: 16px; }

/* --- Sol: içerik bölümleri --- */
.advert-bolum-baslik,
.advert-single .advert-content .wpadverts-cpt-data-table-text .atw-text-xl,
.advert-video-title {
  display: block; margin: 0 0 16px; padding: 0 !important;
  font-family: inherit; font-size: 24px !important; line-height: 1.15; font-weight: 600 !important; letter-spacing: -.022em; color: var(--ink) !important;
}
.advert-tabs { margin-top: 52px; }
.advert-tab-nav { display: none; } /* tek sekmeydi; başlığı içerikteki "Açıklama" taşıyor */
.advert-single .advert-content { font-size: 17px; line-height: 1.53; color: var(--ink-2); }
.advert-single .advert-content .wpadverts-cpt-data-table-text .atw-text-base { max-width: 66ch; }
.advert-single .advert-content img, .advert-single .advert-content iframe { max-width: 100%; height: auto; }
/* WPAdverts'in tam şablonundan yalnızca Açıklama (+ EİDS kutuları) kalsın:
   galeri, yazar/fiyat sütunları ve konum/kategori tablosu üstte kendi
   bileşenlerimizle gösteriliyor. İletişim bloğu JS ile özet sütununa taşınır. */
.advert-single .advert-content .wpa-block-gallery,
.advert-single .advert-content .wp-block-columns,
.advert-single .advert-content .wpadverts-cpt-data-table-list,
.advert-single .advert-content > .yarisoto-satici-rozet { display: none; }
.advert-single .advert-content .wpadverts-cpt-data-table-text .atw-mb-6 { margin-bottom: 0 !important; }
.advert-single .advert-content .wpadverts-cpt-data-table-text .atw-text-base p:last-child { margin-bottom: 0; }
/* JS çalışmazsa iletişim bloğu açıklamanın altında kalır; en azından aralıklı dursun. */
.advert-single .advert-content .wpadverts-cpt-single-contact { margin-top: 16px; max-width: 420px; }
/* EİDS kutusu (eklenti basar): gri, yuvarlak, çerçevesiz. */
.advert-single .advert-content .yarisoto-eids-kutu { margin: 36px 0 0 !important; padding: 24px 26px; border: 0; border-radius: var(--r-md); background: var(--bg); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.advert-single .advert-content .yarisoto-eids-baslik { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.advert-single .advert-content .yarisoto-eids-rozet { align-items: flex-start; font-weight: 600; color: #0a7d34; margin: 0 0 10px; }
.advert-single .advert-content .yarisoto-eids-tik { width: 20px; height: 20px; font-size: .65rem; margin-top: 1px; background: #0a7d34; }
.advert-single .advert-content .yarisoto-eids-dl { gap: 4px 20px; margin: 0; }
.advert-single .advert-content .yarisoto-eids-dl dt { font-weight: 400; color: var(--muted); }
.advert-single .advert-content .yarisoto-eids-dl dd { color: var(--ink); }
.advert-single .advert-content .yarisoto-eids-kaynak { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* İlan Detayları: etiket solda gri, değer sağda; ince çizgili satırlar. */
.advert-specs-strip { margin-top: 52px; }
.advert-specs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0; }
.advert-spec { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-width: 0; padding: 13px 0; border-top: 1px solid var(--line); }
.advert-spec dt { flex: 0 0 auto; margin: 0; font-size: 15px; color: var(--muted); white-space: nowrap; }
.advert-spec dd { margin: 0; min-width: 0; text-align: right; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.advert-spec dd a { color: var(--ink); text-decoration: none; }
.advert-spec dd a:hover { color: var(--accent); text-decoration: underline; }
.advert-report { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.advert-report:hover { color: var(--ink); }
.advert-report svg { flex: 0 0 auto; }

/* Güvenlik ipuçları: gri, sessiz kutu. */
.advert-safety { margin-top: 44px; border-radius: var(--r-md); background: var(--bg); padding: 24px 26px; }
.advert-safety-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.advert-safety-head strong { font-size: 17px; font-weight: 600; color: var(--ink); }
.advert-safety-icon { display: none; }
.advert-safety ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.advert-safety li { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.advert-safety p { margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }

@media (max-width: 980px) {
  .advert-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "galeri" "ozet" "icerik"; }
  .advert-ozet { position: static; padding-top: 24px; }
  .advert-ozet .advert-share-btns { justify-content: flex-start; }
}

/* ---------- İlanı paylaş (ikon kutuları) ---------- */
/* Eşit 40×40 kutular: ince gri kenar, beyaz zemin, yalnız ikon; hover'da ikon
   marka rengine döner. Metin etiketleri .sr-only (paylaşım JS'i flash() için
   span'ı bulmaya devam eder; kopyalandı geri bildirimi .is-done ile görsel). */
.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; }
.advert-share { margin-top: 0; }
.advert-share-btns { display: flex; flex-wrap: nowrap; gap: 8px; }
.advert-share-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 40px; height: 40px; padding: 0; margin: 0;
  border: 0; border-radius: 50%;
  background: var(--bg); color: var(--ink-2);
  font-family: inherit; text-decoration: none; cursor: pointer; line-height: 0;
  appearance: none; -webkit-appearance: none; -webkit-tap-highlight-color: transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.advert-share-btn svg { width: 18px; height: 18px; flex: 0 0 auto; display: block; }
.advert-share-btn:hover { background: #e8e8ed; }
.advert-share-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.advert-share-btn.is-native:hover { color: var(--accent); }
.advert-share-btn.is-wa:hover { color: #25d366; }
.advert-share-btn.is-x:hover { color: #14171a; }
.advert-share-btn.is-fb:hover { color: #1877f2; }
.advert-share-btn.is-copy:hover { color: var(--accent); }
.advert-share-btn .ico-done { display: none; }
.advert-share-btn.is-done { color: #fff; background: #2e7d32; border-color: #2e7d32; }
.advert-share-btn.is-done .ico-link { display: none; }
.advert-share-btn.is-done .ico-done { display: block; }

/* ---------- İletişim: İşletmeci Bilgileri (6563) ---------- */
.operator-info {
  margin-top: 28px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1);
  padding: 24px 26px;
}
.operator-info-title {
  font-weight: 600; font-size: 24px;
  letter-spacing: -.022em; line-height: 1.15; margin: 0 0 18px; color: var(--ink);
}
.operator-info-grid { display: grid; gap: 14px; margin: 0; }
.operator-info-row { display: grid; grid-template-columns: 190px 1fr; gap: 6px 18px; align-items: baseline; }
.operator-info-row dt { font-size: 11px; font-weight: 600; color: var(--muted); margin: 0; }
.operator-info-row dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.operator-info-row dd a { color: var(--accent); text-decoration: none; }
.operator-info-row dd a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .operator-info { padding: 20px; }
  .operator-info-row { grid-template-columns: 1fr; gap: 3px; }
}

/* ---------- WPAdverts block cosmetic alignment ---------- */
.wpadverts, .wp-block-wpadverts-list, .wp-block-wpadverts-search, .wp-block-wpadverts-categories, .wp-block-wpadverts-publish, .wp-block-wpadverts-manage {
  font-family: inherit;
}
.wp-block-wpadverts-list a, .wp-block-wpadverts-categories a { color: var(--ink); }
.wp-block-wpadverts-search input[type="text"],
.wp-block-wpadverts-search input[type="search"] {
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
}

/* List view (?display=list) is a 2-column grid at every breakpoint in WPAdverts.
   At 375px that packs an image + title + non-shrinking price into ~170px cells and
   the price (wpa-result-last-text) blows past the viewport (scrollWidth 386>375).
   Collapse to a single column on narrow screens and let the flex children shrink.
   Grid view and wider viewports are untouched. */
@media (max-width: 640px) {
  /* minmax(0,1fr) (not 1fr): the default `auto` min-track resolves to the item's
     content min-width (~362px) and blows the grid past the viewport. */
  .wpa-results.wpa-list-view { grid-template-columns: minmax(0, 1fr) !important; }
  .wpa-list-view .wpa-result-item,
  .wpa-list-view .wpa-result-details,
  .wpa-list-view .wpa-detail-left { min-width: 0; }
  /* Title is inline-block with atw-break-normal: a long unbreakable word
     (e.g. "homologasyonlu") overflows its column and collides with the price.
     Let it wrap so it stays in its lane. */
  .wpa-list-view .wpa-result-title-text {
    display: block; max-width: 100%; overflow-wrap: anywhere; word-break: break-word;
  }
}

@media (max-width: 900px) {
  .giris { flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 0 18px; }
  .giris-arama { flex: 0 0 auto; }
  .card { flex-basis: 74vw; width: 74vw; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  /* Mobilde başlık/görsel iç içe geçiyordu (kullanıcı bildirdi): grid hücresi
     uzun başlığın min-content genişliğinin altına inemediği için metin
     thumbnail'in üstüne taşıyordu. min-width:0 taşmayı keser, line-clamp uzun
     başlığı 2 satırda tutar, overflow-wrap kesintisiz uzun kelimeyi böler. */
  .list-row { grid-template-columns: 80px minmax(0,1fr) auto; gap: 12px; padding: 10px 12px; }
  .list-row > * { min-width: 0; }
  .list-thumb { height: 56px; }
  .list-title { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .list-price { font-size: 14px; }
  .list-date { display: none; }
  .foot-row { flex-direction: column; }
  .foot-legal-sep { display: none; }
  .rail-nav { display: none; }
  .rail-nav-float { display: none; }
}

/* Tablet (601-900px): şeritte tek dev kart yerine iki kart yan yana. */
@media (min-width: 601px) and (max-width: 900px) {
  .card { flex-basis: calc(50% - 10px); width: calc(50% - 10px); }
  .feature-card { aspect-ratio: 16 / 10; }
}

/* Telefon: vitrin dikey karo (yazı üstte koyu geçişin üzerinde, fiyat + düğme altta). */
@media (max-width: 600px) {
  .feature-card { aspect-ratio: 4 / 5; border-radius: 22px; }
  .feature-card img { object-position: 58% 50%; }
  .feature-scrim { background: linear-gradient(180deg, rgba(10, 10, 12, .84) 0%, rgba(10, 10, 12, .32) 40%, rgba(10, 10, 12, 0) 58%, rgba(10, 10, 12, .68) 100%); }
  .feature-ic { max-width: none; padding: 26px 22px 22px; }
  .feature-title { font-size: 28px; -webkit-line-clamp: 4; }
  .feature-meta { font-size: 17px; margin-top: 8px; }
  .feature-alt { justify-content: space-between; }
  .feature-fiyat { font-size: 24px; }
  section.block-section { padding-top: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .section-head h2 { font-size: 24px; }
  .section-head-actions { margin-left: 0; width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .feature-card:hover img { transform: none; }
  .card:hover, .cat-tile:hover, .price-card:hover,
  .btn-post:hover, .yarisoto-auth-submit:hover { transform: none; }
  .kat-card-media:hover img { transform: none; }
}

/* ---------- Pricing page ---------- */
.price-hero { text-align: center; max-width: 640px; margin: 0 auto 22px; }
/* Bebas display heading — template text must be hand-typed Turkish uppercase. */
.price-hero h1 { font-weight: 600; font-size: 48px; letter-spacing: -.028em; line-height: 1.07; margin: 0 0 12px; text-wrap: balance; }
.price-hero h1 .stripe { display: none; }
.price-hero p { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0 0 10px; }
.price-hero p:last-child { margin-bottom: 0; }

.price-launch-banner {
  max-width: 640px; margin: 20px auto 0;
  display: flex; align-items: center; gap: 16px;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-md); padding: 18px 24px;
  box-shadow: var(--shadow-1);
}
.price-launch-banner .icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.price-launch-banner .icon svg { width: 22px; height: 22px; }
.price-launch-banner .copy { text-align: left; }
.price-launch-banner .eyebrow {
  display: block; color: var(--accent); font-weight: 600; font-size: 11px; white-space: nowrap; margin-bottom: 3px;
}
.price-launch-banner .headline { display: block; font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.35; text-wrap: balance; }
.price-launch-banner .subline { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; text-wrap: pretty; }

.price-toggle {
  display: flex; justify-content: center; gap: 8px; margin: 28px 0 8px;
}
input[name="price-track"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.price-toggle label {
  cursor: pointer; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: 14px; color: var(--muted); background: var(--surface);
  transition: all .15s ease;
}
.price-switcher:has(#track-arac:checked) label[for="track-arac"],
.price-switcher:has(#track-diger:checked) label[for="track-diger"] {
  background: var(--ink); border-color: var(--ink); color: #fff;
}

.price-note { text-align: center; color: var(--muted); font-size: 13px; margin: 0 0 24px; }

.price-grid.price-track { display: none; }
.price-switcher:has(#track-arac:checked) .price-grid.price-track-arac { display: grid; }
.price-switcher:has(#track-diger:checked) .price-grid.price-track-diger { display: grid; }

.price-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch;
}
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; position: relative;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.price-card h3 { font-family: inherit; font-size: 17px; font-weight: 600; margin: 0; }
.price-card .price-duration { font-size: 12px; color: var(--muted); margin-top: -10px; }
.price-card .price-amt {
  font-size: 36px; font-weight: 600; letter-spacing: -.028em; line-height: 1; color: var(--ink);
}
.price-card .price-amt .cur { font-size: 22px; color: var(--muted); margin-right: 2px; }
.price-card .price-addon { font-size: 12.5px; color: var(--muted); margin-top: -10px; }
.price-card .price-amt-old { text-decoration: line-through; color: var(--muted); font-size: 15px; font-weight: 600; }
.price-card .price-promo-note { font-size: 11.5px; color: var(--accent); font-weight: 600; margin-top: -10px; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--ink); line-height: 1.4; }
.price-card li svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--accent); margin-top: 1px; }
.price-card li.is-muted { color: var(--muted); }
.price-card li.is-muted svg { color: var(--line); }
.price-card .price-cta {
  display: block; text-align: center; padding: 11px 16px; border-radius: var(--r-pill);
  font-weight: 400; font-size: 15px; text-decoration: none;
  border: 1px solid var(--ink); color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.price-card .price-cta:hover { background: var(--ink); color: #fff; }

.price-vitrin-note { text-wrap: pretty;
  text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px;
}

@media (max-width: 980px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-toggle { flex-direction: column; align-items: center; }
}

/* ---------- Kategoriler page ---------- */
/* Bebas display heading — template text hand-typed in Turkish uppercase.
   Compound selector: must outrank `main.site-main .wrap > h1` (0-2-2). */
main.site-main .wrap > .kat-page-title,
.kat-page-title {
  font-weight: 600; font-size: 40px;
  letter-spacing: -.025em; line-height: 1.1; margin: 0 0 24px;
}

.kat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kat-card { border-radius: var(--r-md); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); transition: box-shadow var(--dur) var(--ease); }
.kat-card:hover { box-shadow: var(--shadow-2); }
.kat-card-header {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); padding: 16px 20px;
}
.kat-card-header h2 { margin: 0; font-weight: 600; font-size: 19px; letter-spacing: -.015em; color: var(--ink); white-space: nowrap; }
.kat-card-header a { color: var(--accent); font-size: 14px; text-decoration: none; white-space: nowrap; flex-shrink: 0; margin-left: 12px; }
.kat-card-header a:hover { text-decoration: underline; }
.kat-card-media { position: relative; height: 300px; overflow: hidden; }
.kat-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.kat-card-media:hover img { transform: scale(1.04); }
.kat-card-sublist {
  position: absolute; inset: 0;
  background: rgba(14,15,18,.93);
  opacity: 0; pointer-events: none;
  overflow-y: auto;
  padding: 18px 22px;
  transition: opacity .18s ease;
}
.kat-card-media:hover .kat-card-sublist { opacity: 1; pointer-events: auto; }
.kat-card-sublist ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.kat-card-sublist li { break-inside: avoid; margin-bottom: 10px; }
.kat-card-sublist a { color: #e7e6e2; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.kat-card-sublist a:hover { color: var(--accent); }

@media (max-width: 780px) {
  .kat-grid { grid-template-columns: 1fr; }
  .kat-card-sublist ul { columns: 1; }
}

/* ---------- Category archive (filtered listing) ---------- */
.kat-archive-title {
  font-weight: 600; font-size: 32px; line-height: 1.1; letter-spacing: -.025em;
  margin: 0 0 22px; color: var(--ink);
}
.kat-archive-title .bracket { display: none; }
/* Kategori giriş paragrafı (SEO): kısa, sakin, başlıkla filtre çubuğu arasında. */
.kat-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.kat-pill {
  font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; text-decoration: none;
  white-space: nowrap; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.kat-pill:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-1); }

.refine-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 20px;
}
.refine-label { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; margin-right: 2px; }
.refine-select {
  appearance: none; -webkit-appearance: none;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363656c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 9px 32px 9px 12px;
  cursor: pointer; min-width: 150px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.refine-select:hover { border-color: var(--accent); box-shadow: var(--shadow-1); }
.refine-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Reusable brand ad banner (placed within page content, not header) ---------- */
.site-ad-banner { margin-top: 28px; }
.site-ad-banner .inner {
  border: 1px dashed var(--line); border-radius: var(--r-md); background: var(--surface);
  min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--muted); font-size: 12.5px; font-weight: 600;
}
.site-ad-banner .inner .ad-tag {
  font-size: 10px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 2px; padding: 3px 8px;
  white-space: nowrap; flex-shrink: 0;
}

/* ---------- Üst menü: açılır Kategoriler ---------- */
.nav-kat { display: inline-flex; align-items: center; align-self: stretch; }
.nav-kat-link { display: inline-flex !important; align-items: center; gap: 6px; }
.nav-kat-ok { transition: transform var(--dur) var(--ease); opacity: .8; }
.nav-kat:hover .nav-kat-ok, .nav-kat:focus-within .nav-kat-ok, .nav-kat.is-open .nav-kat-ok { transform: rotate(180deg); }
.nav-kat-panel {
  position: absolute; top: 100%; left: 24px; right: 24px; z-index: 60; max-width: 900px;
  padding-top: 8px; /* bağlantı ile panel arasındaki boşlukta fare kaybolmasın */
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 0s linear 160ms;
}
.nav-kat:hover .nav-kat-panel, .nav-kat:focus-within .nav-kat-panel, .nav-kat.is-open .nav-kat-panel {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}

.nav-kat-grid {
  display: grid; grid-template-columns: 1fr 1.7fr 1fr 1fr; gap: 8px 28px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-bottom: 0;
  border-radius: var(--r-md) var(--r-md) 0 0; padding: 22px 24px 18px; box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.nav-kat-ust { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.nav-kat-ust:hover { color: var(--accent); }
.nav-kat-col ul { list-style: none; margin: 0; padding: 0; }
.nav-kat-col--genis ul { columns: 2; column-gap: 20px; }
.nav-kat-col li { break-inside: avoid; }
.nav-kat-col li a { display: block; padding: 5px 0; font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-kat-col li a:hover { color: var(--accent); }
.nav-kat-tum { display: block; background: var(--surface-2); border: 1px solid var(--line); border-radius: 0 0 var(--r-md) var(--r-md); padding: 11px 24px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.nav-kat-tum:hover { text-decoration: underline; }


@media (prefers-reduced-motion: reduce) { .nav-kat-panel, .nav-kat-ok { transition: none; } }

/* ---------- Ana sayfa: Son eklenenler kart ızgarası + kategori sekmeleri ---------- */
/* Masaüstü: bölümlü kontrol (gri zemin, seçili sekme beyaz). */
.son-chips { display: inline-flex; background: #e3e3e8; border-radius: 10px; padding: 2px; }
.son-chip {
  position: relative; appearance: none; -webkit-appearance: none; border: 0; background: none; color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 500; min-height: 32px; padding: 0 14px; border-radius: 8px; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.son-chip::before { content: ''; position: absolute; inset: -6px 0; } /* dokunma alanı 44px */
.son-chip.is-active { background: #fff; font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .04); }
.son-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.son-panel[hidden] { display: none; }
.son-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.son-grid .card { flex: none; width: auto; }
.son-ozet { display: none; } /* 0.3.0: kartta özet yok (başlık + fiyat yeter) */
.son-alt { text-align: center; padding-top: 36px; }
.son-bos { border-radius: var(--r-md); background: var(--surface); padding: 32px 20px; text-align: center; color: var(--muted); }
.son-bos a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.son-bos a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .son-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .son-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .son-grid .card-body, .wpa-kart .card-body { padding: 12px 14px 16px; gap: 4px; }
  .son-grid .card-title, .wpa-kart .card-title { font-size: 15px; }
  .son-grid .card-fiyat, .wpa-kart .card-fiyat { font-size: 15px; padding-top: 6px; }
  .son-grid .son-meta, .wpa-kart .son-meta { font-size: 11px; }
  /* Dar kartta tarih · kategori · il (+Reklam) ikinci satıra taşıp dağılıyordu:
     il varsa tarih gizlenir (kategori · il kalır). */
  .son-meta:has(.son-kat + .son-kat) .son-tarih { display: none; }
  .son-meta:has(.son-kat + .son-kat) .son-tarih + .son-kat::before { content: none; }
  /* Telefonda 6 kart yeter; devamı "Tüm ilanları gör"de. */
  .son-grid:not(.ilan-grid) > .son-card:nth-child(n+7) { display: none; }
  #yo-son-arac .section-head { flex-direction: row; align-items: flex-end; flex-wrap: nowrap; } /* başlık + "Tümünü gör" aynı satır */
  #yo-son-arac .section-head-actions { width: auto; margin-left: auto; flex: 0 0 auto; } /* kategori sayfasında (.ilan-grid) hepsi görünür */
  /* Telefonda bölümlü kontrol sığmıyor: ayrı haplar, ikinci satıra sarar
     (Çağlar, 02.11: çipler kesilmek yerine sarsın). */
  .son-chips { display: flex; flex-wrap: wrap; gap: 8px; background: none; padding: 0; border-radius: 0; }
  .son-chip { flex: 0 0 auto; min-height: 36px; background: #e8e8ed; border-radius: var(--r-pill); }
  .son-chip::before { inset: -4px 0; }
  .son-chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }
  .son-alt { padding-top: 28px; }
}

/* ---------- /son-ilanlar/ ---------- */
.son-ilanlar-head { margin-bottom: 18px; }
.son-ilanlar-head .kat-page-title { margin-bottom: 8px; }
.son-ilanlar-sub { margin: 0; color: var(--muted); font-size: 14px; }
.yo-sayfalama { margin-top: 22px; }
.yo-sayfalama ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.yo-sayfalama .page-numbers { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.yo-sayfalama a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.yo-sayfalama .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.yo-sayfalama .page-numbers.dots { border: 0; background: transparent; padding: 0 4px; }

/* Kısa çizgili kelimeler (e-posta) satır sonunda bölünmesin */
.nw { white-space: nowrap; }
/* Telefonda reklam yer tutucu: rozet üstte, metin ortalı ve dengeli */
@media (max-width: 640px) {
  .ad-banner, .site-ad-banner .inner {
    flex-direction: column; gap: 8px; padding: 14px 16px; text-align: center;
  }
  .ad-banner > span:not(.ad-tag), .site-ad-banner .inner > span:not(.ad-tag) { text-wrap: balance; }
}

/* ---------- WPAdverts form fields (Publish, Manage, Search, Contact) ----------
   WPAdverts' own Tailwind defaults give inputs a #f3f4f6 fill on a #f3f4f6
   border, which is nearly invisible against this theme's #f6f6f3 page
   background. Force a white fill + visible border so fields read as inputs. */
.wpa-field-input input[type="text"],
.wpa-field-input input[type="email"],
.wpa-field-input input[type="tel"],
.wpa-field-input input[type="number"],
.wpa-field-input input[type="password"],
.wpa-field-input select,
.wpa-field-input textarea {
  background-color: var(--surface) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--r-sm) !important;
  color: var(--ink) !important;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wpa-field-input input[type="text"]:focus,
.wpa-field-input input[type="email"]:focus,
.wpa-field-input input[type="tel"]:focus,
.wpa-field-input input[type="number"]:focus,
.wpa-field-input input[type="password"]:focus,
.wpa-field-input select:focus,
.wpa-field-input textarea:focus {
  border-color: var(--accent) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(206,18,38,.15);
}
.adverts-multiselect-holder,
.adverts-multiselect-options {
  background-color: var(--surface) !important;
  border: 1px solid var(--line) !important;
}
/* Same #f3f4f6-on-#f3f4f6 invisibility bug, but on checkboxes/radios (e.g.
   the "create an account for me" checkbox on the Publish form) — these are
   appearance:none custom boxes, checked-state uses a background-image
   checkmark layered on top, so overriding just the fill/border is safe. */
.wpa-field-input input[type="checkbox"],
.wpa-field-input input[type="radio"] {
  background-color: var(--surface) !important;
  border: 1px solid var(--line) !important;
}
.wpa-field-input input[type="checkbox"]:checked,
.wpa-field-input input[type="radio"]:checked {
  border-color: var(--accent) !important;
}
/* The button row (Preview/Publish) sits in its own #f9fafb panel — a
   near-white rectangle that reads as a stray box against this theme's
   #f6f6f3 page background. Drop it so the buttons sit directly on the
   page, and match the Preview button to the site's actual accent red
   instead of WPAdverts' default coral. */
.wpa-form-buttons {
  background: transparent !important;
}
/* All WPAdverts primary buttons (Preview/Publish, single-page contact reveal,
   etc.): match the brand accent instead of WPAdverts' default coral. */
.wpa-btn-primary {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  border-radius: var(--r-pill) !important;
  transition: background-color var(--dur) var(--ease);
}
.wpa-btn-primary:hover {
  background-color: var(--accent-deep) !important;
  border-color: var(--accent-deep) !important;
}

/* Label + zorunlu yıldızı arasındaki boşluk: WPAdverts'in kendi alanlarında
   whitespace düğümü var, temanın Kategori/Alt Kategori alanlarında yok →
   "Başlık *" ile "Kategori*" tutarsızdı. inline-flex boşluk düğümünü yutar,
   gap her ikisinde de aynı aralığı verir. */
.wpa-field-label { display: inline-flex !important; flex-wrap: wrap; align-items: baseline; gap: 0 4px; }

/* İlanlarımı Yönet (mobil): WPAdverts yönet listesi 390px'te 2 sütun grid →
   146px'lik hücrede durum kutusu + Yönet düğmesi eziliyordu. Tek sütun. */
@media (max-width: 640px) {
  .wpadverts-block-manage .wpa-results.wpa-grid-view { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ---------- Boost tier badge (category archives, search, manage page) ---------- */
.yarisoto-boost-badge {
  display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-xs);
  vertical-align: middle; margin-left: 6px; white-space: nowrap;
}
.yarisoto-boost-badge--ust { background: var(--accent-soft, #fff5f5); color: var(--accent); border: 1px solid var(--accent); }
.yarisoto-boost-badge--one-cikan { background: var(--accent); color: #fff; }
.yarisoto-boost-badge--vitrin { background: var(--ink); color: #fff; }

/* ---------- Reklam Kurulu m.28/A: "Reklam" ibaresi + sıralama ölçütü bağlantısı ---------- */
/* "Reklam" ibaresi: kırmızı çerçeveli etiket (kart üst satırında sağa yaslı). */
.card-reklam {
  display: inline-block; flex: 0 0 auto; margin-left: auto; font-size: 11px; line-height: 18px; font-weight: 400;
  color: var(--accent); border: 1px solid rgba(206, 18, 38, .5); border-radius: 5px; padding: 0 6px; white-space: nowrap;
}
.card-ust > .card-reklam::before, .son-meta > .card-reklam::before { content: none; }
.siralama-step-title .card-reklam { margin-left: 0; }
.yarisoto-siralama-link { font-size: 14px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; white-space: nowrap; }
.yarisoto-siralama-link:hover { color: var(--ink); }
.refine-bar .yarisoto-siralama-link { margin-left: auto; }
.yarisoto-siralama-bar { text-align: right; margin: 0 0 14px; }

/* ---------- Hakkımızda (/hakkimizda/) — 0.2.52 yapılandırılmış şablon ---------- */
.hakkimizda { max-width: none; }
.hakkimizda-lead { font-size: 17px; line-height: 1.55; color: var(--ink); margin: 0 0 22px; max-width: 60em; text-wrap: balance; }
.hakkimizda-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 22px; align-items: start; } /* start: kısa kart yanındakinin boyuna uzayıp boş kalmasın (06.10) */
.hakkimizda-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hakkimizda-card h2, .hakkimizda-legal h2 { font-family: inherit; font-weight: 600; font-size: 17px; letter-spacing: -0.005em; margin: 0; color: var(--ink); }
.hakkimizda-card p, .hakkimizda-legal p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
/* 760px: 1280'de her iki hukuk paragrafının son satırı en az %40 dolu (dul satır yok; ölçüldü). */
.hakkimizda-card .hakkimizda-link { margin-top: auto; padding-top: 6px; align-self: flex-start; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.hakkimizda-card .hakkimizda-link:hover { color: var(--accent-deep); text-decoration: underline; }
/* Sorumluluk Reddi: uyarı şeridi en üstte tam genişlik, iki paragraf yan yana
   (06.10: eskiden paragraflar 760px'te kesilip kutunun sağında boş bant bırakıyordu). */
.hakkimizda-legal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); padding: 18px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; align-items: start; }
.hakkimizda-legal h2 { grid-column: 1 / -1; order: 0; }
.hakkimizda-legal .hakkimizda-warn { grid-column: 1 / -1; order: 1; }
.hakkimizda-legal p { order: 2; }
.hakkimizda-warn { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--accent-soft); border: 1px solid rgba(206,18,38,.25); color: var(--ink); }
.hakkimizda-warn-icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--accent); display: inline-flex; }
.hakkimizda-warn strong { font-size: 14.5px; font-weight: 600; line-height: 1.45; text-wrap: pretty; }
@media (max-width: 640px) {
  .hakkimizda-cards, .hakkimizda-legal { grid-template-columns: minmax(0, 1fr); }
  .hakkimizda-card, .hakkimizda-legal { padding: 16px; }
}

/* ---------- Sıralama ölçütleri (/siralama/, m.28/A) ---------- */
.siralama { max-width: 720px; }
.siralama-lead { font-size: 15.5px; line-height: 1.6; color: var(--ink); margin: 0 0 20px; text-wrap: pretty; }
.siralama-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.siralama-step { display: flex; align-items: flex-start; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow-1); }
.siralama-step-no { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; line-height: 1; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.siralama-step--tarih .siralama-step-no { background: var(--ink); }
.siralama-step-body { min-width: 0; }
.siralama-step-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.siralama-step-body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.siralama-notes { margin: 0 0 20px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.siralama-cta { display: inline-block; }

/* ---------- İhlal bildirimi (/ihlal-bildirimi/) — 0.2.47 iki sütun ---------- */
.ihlal-intro > p { max-width: 760px; }
.ihlal-notice-msg { max-width: 760px; }
.ihlal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; margin-top: 4px; }
.ihlal-card { margin: 0; }
.ihlal-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ihlal-form { max-width: none; }
.ihlal-form .yarisoto-form-ikili { gap: 0 16px; }
/* Bildirilen ilan (?ilan=ID ile gelindiğinde) */
.ihlal-target { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); }
.ihlal-target-label { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.ihlal-target-card { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.ihlal-target-thumb { flex: 0 0 64px; width: 64px; height: 48px; border-radius: var(--r-xs); overflow: hidden; background: var(--surface-2); }
.ihlal-target-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ihlal-target-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ihlal-target-title { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.ihlal-target-card:hover .ihlal-target-title { color: var(--accent); }
.ihlal-target-no { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* Sağ sütun kartları */
.ihlal-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ihlal-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.ihlal-steps strong { font-weight: 600; }
.ihlal-step-no { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.ihlal-kep { }
.ihlal-kep .yarisoto-hesap-note { margin-bottom: 10px; }
.ihlal-kep-addr { display: block; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
.ihlal-kep-addr:hover { text-decoration: underline; }
.ihlal-when { margin: 4px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
@media (max-width: 900px) {
  .ihlal-layout { grid-template-columns: minmax(0, 1fr); }
}
.ihlal-form .req { color: var(--accent); }
.ihlal-form select.yarisoto-auth-input { appearance: none; background-color: var(--surface); }
.ihlal-form textarea.yarisoto-auth-input { min-height: 150px; resize: vertical; }
.ihlal-form .yarisoto-newsletter-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ihlal-beyan { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 18px; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.ihlal-beyan input { margin-top: 3px; flex-shrink: 0; }
.ihlal-kvkk-note { margin: 0 0 18px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.ihlal-kvkk-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ihlal-form .yarisoto-auth-submit { width: auto; }

/* ---------- Seller self-service actions on İlanlarımı Yönet ---------- */
.yarisoto-manage-action { display: inline-block; margin: 6px 8px 0 0; }
.yarisoto-manage-btn {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--r-xs);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.yarisoto-manage-btn:hover { border-color: var(--accent); color: var(--accent); }
.yarisoto-manage-btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.yarisoto-manage-btn--accent:hover { color: #fff; opacity: .9; }
.yarisoto-promo-status { margin-top: 6px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- Pricing cards: "where does this package show up" mini mockup ---------- */
.pe-mock { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 10px; height: 64px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.pe-mock--grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; }
.pe-card { background: var(--line); border-radius: 3px; display: block; width: 100%; height: 100%; }
.pe-card--hi { background: var(--accent); }
.pe-mock--rail { flex-direction: row; }
.pe-mock--rail .pe-card { width: 30%; height: 100%; flex-shrink: 0; }
.pe-mock--hero { flex-direction: column; gap: 5px; }
.pe-banner { width: 100%; height: 55%; background: var(--accent); border-radius: 3px; flex-shrink: 0; }
.pe-row { width: 100%; height: 35%; display: flex; gap: 5px; }
.pe-row .pe-card { width: 50%; height: 100%; }
.pe-mock--sm { height: 40px; padding: 6px; }
.pe-mock--sm.pe-mock--grid { gap: 3px; }
.pe-mock--sm .pe-card, .pe-mock--sm .pe-banner { border-radius: 2px; }
.pe-mock--sm.pe-mock--hero { gap: 3px; }
.pe-mock--sm .pe-row { gap: 3px; }

/* ---------- Bülten (newsletter) signup ---------- */
.yarisoto-newsletter { max-width: 640px; margin-top: 24px; }
.yarisoto-newsletter-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.yarisoto-newsletter-row { display: flex; gap: 10px; }
.yarisoto-newsletter-input {
  flex: 1; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font-size: 16px; font-family: inherit;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.yarisoto-newsletter-input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(206,18,38,.15); }
.yarisoto-newsletter-submit {
  background: var(--accent); color: #fff; border: none; border-radius: var(--r-pill);
  min-height: 44px; padding: 0 22px; font-weight: 400; font-size: 16px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.yarisoto-newsletter-submit:hover { background: var(--accent-deep); }
.yarisoto-newsletter-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.yarisoto-newsletter-consent > span, .yarisoto-newsletter-consent > label { flex: 1 1 auto; min-width: 0; text-wrap: balance; }
.yarisoto-newsletter-consent input { margin-top: 3px; flex-shrink: 0; }
.yarisoto-newsletter-notice { padding: 10px 14px; border-radius: 4px; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.yarisoto-newsletter-notice--ok { background: #eaf3de; color: #3b6d11; }
.yarisoto-newsletter-notice--err { background: #fcebeb; color: #a32d2d; }
@media (max-width: 480px) {
  .yarisoto-newsletter-row { flex-direction: column; }
}

/* ---------- Üye Ol / Giriş: two-column auth layout ---------- */
.yarisoto-auth-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; margin: 0 calc(50% - 50vw); }
.yarisoto-auth-visual {
  background: var(--ink); color: #fff; display: flex; align-items: center;
  padding: 60px; position: relative; overflow: hidden;
}
.yarisoto-auth-visual::before {
  content: ''; position: absolute; inset: 0;
  background: none;
}
.yarisoto-auth-visual-inner { position: relative; max-width: 420px; }
.yarisoto-auth-visual .logo { font-size: 38px; color: #fff; display: inline-flex; margin-bottom: 28px; }
.yarisoto-auth-visual .logo .accent { color: var(--accent); }
.yarisoto-auth-visual h2 { font-size: 28px; line-height: 1.14; letter-spacing: -.022em; margin: 0 0 24px; font-weight: 600; text-wrap: balance; }
.yarisoto-auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.yarisoto-auth-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.yarisoto-auth-points li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent); margin-top: 1px; }
.yarisoto-auth-panel { display: flex; align-items: center; justify-content: center; padding: 60px 40px; }
.yarisoto-auth-panel-inner { width: 100%; max-width: 380px; }
.yarisoto-auth-panel-inner h1 { font-size: 32px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 8px; }
.yarisoto-auth-panel-inner .sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.yarisoto-auth-form { margin-top: 0; }
.yarisoto-auth-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.yarisoto-auth-input {
  display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface);
  color: var(--ink); font-size: 16px; font-family: inherit; box-sizing: border-box;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.yarisoto-auth-input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(206,18,38,.15); }
.yarisoto-auth-submit {
  background: var(--accent); color: #fff; border: none; border-radius: var(--r-pill);
  min-height: 48px; padding: 0 22px; font-family: inherit; font-weight: 400; font-size: 17px; cursor: pointer; width: 100%;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.yarisoto-auth-submit:hover { background: var(--accent-deep); }
.yarisoto-auth-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; font-weight: 400; color: var(--muted); line-height: 1.55; margin: 2px 0 16px; cursor: pointer; }
.yarisoto-auth-consent input { margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.yarisoto-auth-consent a { color: var(--accent); font-weight: 600; }
.yarisoto-auth-consent a:hover { text-decoration: underline; }
.yarisoto-social-legal-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.55; }
.yarisoto-social-legal-note a { color: inherit; text-decoration: underline; }
.yarisoto-social-legal-note a:hover { color: var(--accent); }
.yarisoto-auth-switch { margin-top: 20px; font-size: 13.5px; color: var(--muted); text-align: center; }
.yarisoto-auth-switch a { color: var(--accent); font-weight: 600; }

.yarisoto-auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: 12.5px; }
.yarisoto-auth-divider::before, .yarisoto-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.yarisoto-social-btns { display: flex; flex-direction: column; gap: 10px; }
.yarisoto-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--r-pill); min-height: 48px; padding: 0 16px; font-weight: 400; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 1px solid var(--line-strong);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.yarisoto-social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.yarisoto-social-btn--google { background: #fff; color: #1f1f1f; }
.yarisoto-social-btn--google:hover { background: #f7f7f7; }
.yarisoto-social-btn--apple { background: #000; color: #fff; border-color: #000; opacity: .5; cursor: not-allowed; }

@media (max-width: 820px) {
  .yarisoto-auth-page { grid-template-columns: 1fr; }
  .yarisoto-auth-visual { display: none; }
  .yarisoto-auth-panel { padding: 40px 20px; }
}

/* ===============================================================
   ÜYE HESAP ALANI  (/hesabim/ ve /manage/)
   İki sütun: solda kalıcı gezinme, sağda içerik. Üye artık
   WordPress yönetici ekranını hiç görmüyor; bu kabuk onun yerine
   geçen pazaryeri hesap alanıdır.
   =============================================================== */
.yarisoto-hesap-shell {
	display: grid;
	grid-template-columns: 244px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin: 20px 0 30px;
}

/* --- sol sütun --- */
.yarisoto-hesap-yan {
	background: #fff;
	border: 1px solid #e3e3e8;
	border-radius: var(--r-md);
	overflow: hidden;
	position: sticky;
	top: 16px;
}
.yarisoto-hesap-kim {
	display: flex; align-items: center; gap: 10px;
	padding: 16px 16px;
	background: #1d1d1f; color: #fff;
}
.yarisoto-hesap-avatar {
	width: 34px; height: 34px; flex: 0 0 34px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: #ce1226;
	font-weight: 600; font-size: 15px; line-height: 1;
}
.yarisoto-hesap-kim-ad {
	font-weight: 600; font-size: 14px;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.yarisoto-hesap-nav { padding: 8px 0 12px; }
.yarisoto-hesap-nav-baslik {
	display: block;
	padding: 14px 16px 6px;
	font-size: 11px; font-weight: 600; color: #8a8a93;
}
.yarisoto-hesap-nav ul { list-style: none; margin: 0; padding: 0; }
.yarisoto-hesap-nav li { margin: 0; }
.yarisoto-hesap-nav a {
	display: block; padding: 9px 16px;
	font-size: 14.5px; color: #26262c; text-decoration: none;
	border-left: 3px solid transparent;
}
.yarisoto-hesap-nav a:hover { background: #f5f5f7; }
.yarisoto-hesap-nav a.is-active {
	background: #fdf0f1; color: #ce1226;
	font-weight: 600; border-left-color: #ce1226;
}
.yarisoto-hesap-cikis {
	display: block; margin: 12px 16px 4px; padding-top: 12px;
	border-top: 1px solid #ececf0;
	font-size: 14px; color: #6a6a73; text-decoration: none;
}
.yarisoto-hesap-cikis:hover { color: #ce1226; }

/* --- sağ sütun --- */
.yarisoto-hesap-baslik { font-size: 25px; margin: 0 0 18px; }
.yarisoto-hesap-kartlar {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 14px; margin: 0 0 22px;
}
.yarisoto-hesap-kart {
	background: #fff; border: 1px solid #e3e3e8; border-radius: var(--r-md);
	padding: 16px 18px;
	display: flex; flex-direction: column; gap: 6px;
}
.yarisoto-hesap-kart .k { font-size: 13px; color: #6a6a73; line-height: 1.35; }
.yarisoto-hesap-kart .v { font-size: 27px; font-weight: 600; color: #15161a; line-height: 1; }

.yarisoto-hesap-kutu {
	background: #fff; border: 1px solid #e3e3e8; border-radius: var(--r-md);
	padding: 22px 24px; margin: 0 0 20px;
}
.yarisoto-hesap-kutu--sade { background: #fafafb; }
.yarisoto-hesap-h2 { font-size: 18px; margin: 0 0 8px; }
.yarisoto-hesap-note {
	font-size: 13.5px; line-height: 1.6; color: #55555f; margin: 0 0 18px;
}
.yarisoto-hesap-form { max-width: 460px; }
.yarisoto-hesap-form .req { color: #ce1226; }
.yarisoto-hesap-form select.yarisoto-auth-input {
	appearance: none; background-color: #fff;
}
.yarisoto-hesap-dl {
	display: grid; grid-template-columns: 150px 1fr;
	gap: 6px 14px; margin: 0 0 14px; font-size: 14px;
}
.yarisoto-hesap-dl dt { color: #6a6a73; }
.yarisoto-hesap-dl dd { margin: 0; color: #26262c; }

/* satıcı profili: yan yana alan çifti, adım etiketi, görünen ad seçimi */
.yarisoto-form-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.yarisoto-hesap-etiket {
	display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
	background: #f3f3f5; color: #55555f; font-size: 12px; font-weight: 600; vertical-align: middle;
}
.yarisoto-radio { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; cursor: pointer; }
.yarisoto-radio input { margin: 0; }
.yarisoto-radio small { color: #6a6a73; }
.yarisoto-gorunen-form { margin-top: 6px; }
.yarisoto-auth-submit--ikincil { width: auto; min-height: 40px; padding: 0 20px; font-size: 15px; margin-top: 4px; }
.yarisoto-auth-input[readonly] { background: #f6f6f8; color: #55555f; cursor: not-allowed; }
@media (max-width: 560px) { .yarisoto-form-ikili { grid-template-columns: 1fr; } }

/* --- mobil: menü üstte yatay şerit --- */
@media (max-width: 860px) {
	.yarisoto-hesap-shell { grid-template-columns: 1fr; gap: 18px; }
	.yarisoto-hesap-yan { position: static; }
	.yarisoto-hesap-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; }
	.yarisoto-hesap-nav-baslik { display: none; }
	.yarisoto-hesap-nav ul { display: contents; }
	.yarisoto-hesap-nav a {
		border-left: 0; border-radius: 6px; padding: 8px 12px;
		background: #f3f3f5; font-size: 14px;
	}
	.yarisoto-hesap-nav a.is-active { border-left: 0; }
	.yarisoto-hesap-cikis { margin: 4px 0 0 6px; border-top: 0; padding-top: 0; }
	.yarisoto-hesap-kartlar { grid-template-columns: 1fr; gap: 10px; }
	.yarisoto-hesap-kart { flex-direction: row; align-items: baseline; justify-content: space-between; }
	.yarisoto-hesap-kutu { padding: 18px 16px; }
	.yarisoto-hesap-dl { grid-template-columns: 1fr; gap: 2px 0; }
	.yarisoto-hesap-dl dd { margin-bottom: 8px; }
}

/* ---------- /parca-sat/ — parça reklamı iniş sayfası (08.10.2026) ---------- */
main.site-main.ps { padding-top: 0; }
.ps .wrap { max-width: 1080px; }
.ps-hero { background: #1d1d1f; color: #f5f5f7; }
.ps-hero-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.ps-eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; color: #a1a1a6; }
.ps-h1 { font-weight: 600; font-size: 56px; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; margin: 0 0 16px; color: #f5f5f7; }
.ps-red { color: var(--accent); white-space: nowrap; }
.ps-lead { font-size: 17px; line-height: 1.55; color: #d6d6d2; margin: 0 0 22px; max-width: 34em; text-wrap: pretty; }
.ps-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; font-weight: 400; font-size: 17px; min-height: 50px; padding: 0 28px; border-radius: var(--r-pill); text-decoration: none; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ps-cta:hover { background: var(--accent-deep); }
.ps-cta--center { display: flex; justify-content: center; width: max-content; margin: 26px auto 0; }
.ps-login { margin: 12px 0 0; font-size: 14px; color: #a1a1a6; }
.ps-login a { color: #f5f5f7; font-weight: 600; }
.ps-pills { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ps-pills li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #f5f5f7; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 13px 7px 10px; white-space: nowrap; }
.ps-pills svg { width: 15px; height: 15px; color: var(--accent); }
.ps-hero-img img { display: block; width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--shadow-3); }
.ps-h2 { font-weight: 600; font-size: 34px; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 20px; text-align: center; }
.ps-steps .wrap { padding-top: 40px; padding-bottom: 40px; }
.ps-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ps-step { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px 18px 16px; box-shadow: var(--shadow-1); }
.ps-step-no { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.ps-step > div > strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.ps-step p strong { font-weight: 600; color: var(--ink); }
.ps-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.ps-why { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ps-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.ps-why-card strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.ps-why-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.ps-foot .wrap { padding-top: 22px; padding-bottom: 26px; }
.ps-foot-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; text-wrap: balance; }
.ps-foot-note a { color: var(--accent); font-weight: 600; }
@media (max-width: 760px) {
  .ps-hero-wrap { grid-template-columns: 1fr; gap: 22px; padding-top: 26px; padding-bottom: 28px; }
  .ps-hero-img { order: -1; }
  .ps-hero-img img { aspect-ratio: 1 / 1; object-fit: cover; max-height: 260px; }
  .ps-h1 { font-size: 38px; }
  .ps-lead { font-size: 16px; }
  .ps-cta { width: 100%; justify-content: center; }
  .ps-cta--center { width: 100%; }
  .ps-h2 { font-size: 28px; }
  .ps-step-list, .ps-why-grid { grid-template-columns: 1fr; }
}

/* Kategori sayfası kart ızgarası (19.10.2026) */
.kat-ilanlar { margin-top: 18px; }
.kat-ilan-sayi { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.ilan-grid { margin-bottom: 24px; }

/* /classifieds/ (İlanlar + arama) — WPAdverts liste bloğu kart ızgarası (19.10.2026) */
.wpadverts-block-list .wpa-block-list-results { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; margin: 0 0 24px !important; padding: 0 !important; border: 0 !important; }
.wpadverts-block-list .wpa-block-list-results > .wpa-kart { flex: none; width: auto; }
.wpadverts-block-list .wpa-block-list-results > .wpa-kart .card-body { gap: 5px; }
@media (max-width: 1100px) { .wpadverts-block-list .wpa-block-list-results { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px)  { .wpadverts-block-list .wpa-block-list-results { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }  }

/* 19.10.2026 taze göz denetimi düzeltmeleri */
@media (max-width: 900px) {
  /* Kategoriler: alt kategoriler dokunmatikte hover'sız görünsün */
  .kat-card-media { height: auto; }
  .kat-card-media img { height: 170px; }
  .kat-card-sublist { position: static; opacity: 1; pointer-events: auto; background: #1d1d1f; padding: 14px 16px; }
  .kat-card-sublist ul { columns: 2; }
}
.price-toggle-hint { display: block; font-size: 11.5px; font-weight: 600; opacity: .75; margin-top: 2px; }
.yarisoto-ilan-adimlar ol { margin: 8px 0 8px 18px; padding: 0; }
.yarisoto-ilan-adimlar li { margin: 4px 0; line-height: 1.45; }
.yarisoto-ilan-adimlar-ucret { display: block; margin-top: 6px; }
.yarisoto-giris-uyari { margin-top: 10px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 13.5px; }
.yarisoto-giris-uyari a { color: var(--accent); font-weight: 600; }

/* ---------- İlan Ver: paket KARTLARI (30.10.2026) ----------
   Açılır liste (select[name=yarisoto_package]) DOM'da kalır, gizlenir;
   kartlar onu sürer. Tam genişlik satır: etiket üstte başlık gibi. */
.wpa-field--yarisoto_package.has-kartlar { display: block !important; }
.wpa-field--yarisoto_package.has-kartlar > .wpa-field-label { display: block !important; margin-bottom: 10px; }
.wpa-field--yarisoto_package.has-kartlar > .wpa-field-label .wpa-field-label-text { font-size: 17px; font-weight: 600; color: var(--ink); }
.wpa-field--yarisoto_package.has-kartlar .wpa-field-input { width: 100% !important; max-width: none !important; }
.wpa-field--yarisoto_package.has-kartlar .wpa-field-desc { margin-top: 10px; }
.yo-paket-select-gizli { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.yo-paket-kartlar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.yo-paket-kart {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-md);
  padding: 16px 14px 14px; cursor: pointer; min-width: 0;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.yo-paket-kart:hover:not(.is-disabled) { border-color: var(--muted); transform: translateY(-1px); }
.yo-paket-kart:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.yo-paket-kart.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.yo-paket-kart.is-disabled { opacity: .45; cursor: not-allowed; }
.yo-paket-ad { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.25; min-height: 2.5em; display: flex; align-items: center; }
.yo-paket-kart.is-selected .yo-paket-ad { color: var(--accent); }
.yo-paket-sema { width: 64px; height: 58px; margin: 10px 0 12px; }
.yo-paket-sema .s-hdr { fill: #d7d7d2; }
.yo-paket-sema .s-box { fill: #e6e6e1; }
.yo-paket-sema .s-hot { fill: var(--accent); }
.yo-paket-ozellik { list-style: none; margin: 0; padding: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); flex: 1 1 auto; }
.yo-paket-ozellik li { margin: 0; padding: 3px 0; list-style: none; border-top: 1px dashed var(--line); }
.yo-paket-ozellik li::before { content: none; }
.yo-paket-ozellik li:first-child { border-top: 0; }
.yo-paket-fiyat { margin-top: 12px; font-size: 26px; font-weight: 600; line-height: 1; color: var(--ink); letter-spacing: -.025em; }
.yo-paket-not { font-size: 11.5px; color: var(--muted); min-height: 1.3em; margin-top: 4px; }
.yo-paket-kart.is-selected .yo-paket-not { color: var(--accent); font-weight: 600; }
.yo-paket-sec {
  margin-top: 10px; display: inline-block; padding: 7px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  transition: background-color var(--dur) var(--ease);
}
.yo-paket-kart.is-selected .yo-paket-sec { background: var(--accent); }
@media (max-width: 900px) { .yo-paket-kartlar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .yo-paket-kartlar { grid-template-columns: 1fr; gap: 10px; }
  .yo-paket-kart { flex-direction: row; flex-wrap: wrap; text-align: left; align-items: flex-start; padding: 12px 14px; gap: 0 12px; }
  .yo-paket-ad { min-height: 0; flex: 1 1 60%; order: 1; }
  .yo-paket-sema { order: 2; width: 44px; height: 40px; margin: 0; }
  .yo-paket-ozellik { order: 4; flex: 1 1 100%; margin-top: 8px; }
  .yo-paket-fiyat { order: 3; flex: 1 1 100%; margin-top: 6px; font-size: 22px; }
  .yo-paket-not { order: 5; flex: 1 1 auto; margin-top: 10px; align-self: center; }
  .yo-paket-sec { order: 6; margin-top: 8px; }
}

/* ---------- İlan sayfası: YouTube (tıkla-oynat) + Instagram ---------- */
.advert-video { margin-top: 44px; }

.advert-video-title svg { display: none; }
.advert-video-box { position: relative; aspect-ratio: 16 / 9; max-width: 720px; background: #111; border-radius: var(--r-md); overflow: hidden; }
.advert-video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.advert-video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #111; cursor: pointer; }
.advert-video-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity var(--dur) var(--ease); }
.advert-video-play:hover img { opacity: 1; }
.advert-video-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform var(--dur) var(--ease); }
.advert-video-btn svg { margin-left: 3px; }
.advert-video-play:hover .advert-video-btn { transform: scale(1.06); }
.advert-video-ext { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--muted); text-decoration: underline; }
/* (0.3.0) .advert-seller-insta artık satıcı bölümündeki metin bağlantısı — kurallar ilan sayfası bloğunda. */

/* ================================================================
   MOBİL SİSTEM (0.2.86, 02.11.2026) — Çağlar: "webde fena değil, mobilde
   çok kötü; boşluklar, satır atlama, font çorbası, ikon renkleri, header/footer".
   Kök neden: her özellik kendi kartı/başlığı/ikon rengiyle eklendi, ortak
   mobil ölçek yoktu. Buradaki kurallar telefonda (≤640 ilan sayfası, ≤900
   header/footer) ÖNCEKİ tüm bileşen kurallarını ezer — yeni mobil kural
   buraya, eski bloklara değil.
     Yazı ölçeği : 12 · 13 · 15 (gövde) · 17 (bölüm başlığı) · 22 (h1);
                   Bebas yalnız logo ve fiyat. Ağırlık 400 / 600 / 700.
     Boşluk      : 8 · 16 · 24. Kenar 16. Kart içinde kart YOK; bölümler
                   ince üst çizgiyle ayrılır; tek kart = satıcı.
     Renk        : ikonlar ink/muted. Kırmızı yalnız fiyat + ana düğme +
                   bölüm başlığı çentiği. Yeşil yalnız doğrulama.
     Tek imza    : bölüm başlıklarında eğik şerit (section-head ile aynı dil).
   ================================================================ */

/* ---------- Kenar boşluğu, şerit, footer (≤900) ---------- */
@media (max-width: 900px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .featured-strip .wrap { padding: 0 16px; }
  .serit { font-size: 13px; padding: 10px 16px; }
  footer.site { margin-top: 64px; }
  .foot-row { padding-top: 28px; padding-bottom: 20px; gap: 24px; }
  .foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .foot-social a { width: 40px; height: 40px; }
  .foot-legal a { margin-right: 18px; }
  .foot-legal::before { left: 16px; right: 16px; }
  .foot-bottom { flex-direction: column; gap: 2px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  /* Slogan footer'ın başında zaten var; alt satırda tekrarı 358px'e sığmayıp kırılıyordu (Çağlar, 02.11). Mobilde yalnız © kalır. */
  .foot-bottom span + span { display: none; }
}

/* ---------- İlan sayfası (≤640) ---------- */
@media (max-width: 640px) {
  .advert-single { padding-top: 12px; }
  .advert-single .advert-breadcrumb { margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Galeri: kenardan kenara */
  .advert-gallery { margin: 0 -16px; }
  .advert-gallery-main { border-radius: 0; aspect-ratio: 4 / 3; }
  .advert-gallery-zoom { left: 12px; bottom: 12px; }
  .advert-gallery-count { right: 12px; bottom: 12px; }
  .advert-gallery-thumbs { display: flex; overflow-x: auto; gap: 8px; padding: 4px 16px; margin: 8px 0 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .advert-gallery-thumbs::-webkit-scrollbar { display: none; }
  .advert-gallery-thumb { flex: 0 0 78px; width: 78px; }

  .advert-ozet { padding-top: 20px; }
  .advert-single .advert-title { font-size: 28px; }
  .advert-pricebox { margin-top: 12px; }
  .advert-price { font-size: 24px; }
  /* Sistem paylaşımı varsa (telefon) tek Paylaş düğmesi yeter. */
  .advert-share.has-native .advert-share-btn:not(.is-native) { display: none; }

  .advert-tabs, .advert-specs-strip { margin-top: 44px; }
  .advert-bolum-baslik,
  .advert-single .advert-content .wpadverts-cpt-data-table-text .atw-text-xl,
  .advert-video-title { font-size: 22px !important; margin-bottom: 12px; }
  .advert-specs-grid { grid-template-columns: minmax(0, 1fr); }
  .advert-single .advert-content .yarisoto-eids-kutu, .advert-safety { padding: 20px; }
  .advert-safety { margin-top: 36px; }
  .advert-video { margin-top: 36px; }
  .advert-video-box { border-radius: var(--r-sm); }
  .advert-video-btn { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .advert-single .site-ad-banner { margin-top: 24px; }
}

/* ---------- Mobil sistem, 2. tur (0.2.90): formlar, sayfa başlıkları, ana sayfa ---------- */
@media (max-width: 640px) {
  /* Sayfa başlıkları: ilan başlığıyla aynı ölçek (22/700). */
  main.site-main { padding-top: 20px; padding-bottom: 24px; }
  main.site-main .wrap > h1, .page-title, .yarisoto-auth-title, .notfound h1 { font-size: 28px; font-weight: 600; letter-spacing: -.022em; margin-bottom: 16px; }
  .page-content { font-size: 15px; line-height: 1.55; }
  .page-content p { margin-bottom: 14px; }

  /* WPAdverts formu (İlan Ver / Yönet / Ara): bölüm başlığı = ilan sayfasındaki
     bölüm başlığı (17/700 + çentik); etiket 14/600; açıklama 13 gri. */
  .wpa-form-header { margin: 24px 0 8px !important; padding: 0 !important; }
  .wpa-form-header-label { display: flex !important; align-items: center; gap: 10px; font-size: 17px !important; font-weight: 600 !important; line-height: 1.25; color: var(--ink) !important; }

  .wpa-form-header-text { display: block; margin-top: 6px; font-size: 13px !important; line-height: 1.45; color: var(--muted) !important; }
  .wpa-field-wrap { margin-top: 16px !important; margin-bottom: 0 !important; }
  .wpa-field-label, .wpa-field-label-text { font-size: 14px !important; font-weight: 600 !important; color: var(--ink) !important; line-height: 1.3; }
  .wpa-field-label { margin-bottom: 6px !important; }
  .wpa-field-desc, .wpa-field-desc-text { font-size: 13px !important; line-height: 1.45 !important; color: var(--muted) !important; margin-top: 6px !important; }
  .wpa-field-input input[type="text"], .wpa-field-input input[type="email"], .wpa-field-input input[type="tel"],
  .wpa-field-input input[type="number"], .wpa-field-input input[type="password"], .wpa-field-input select { min-height: 48px; font-size: 16px !important; }
  .wpa-field-input textarea { font-size: 16px !important; }
  .wpa-form-buttons { padding: 20px 0 0 !important; margin: 0 !important; }
  .wpa-form-buttons .wpa-btn-primary, .wpa-form-buttons .wpa-btn-secondary { display: flex !important; width: 100% !important; justify-content: center; min-height: 48px; font-size: 15px !important; font-weight: 600 !important; margin: 0 0 10px !important; }
  /* "Satıcı: … — iletişim bilgileriniz profilinizden alınır" satırı: not gibi, küçük. */
  .wpa-field--_contact_information { margin-top: 20px !important; }
  .wpa-field--_contact_information .wpa-field-label-text { display: flex !important; align-items: center; gap: 10px; font-size: 17px !important; font-weight: 600 !important; }

  .wpa-field--_contact_information .adverts-flash { display: block; margin: 0; padding: 0; border: 0; background: none; font-size: 13px; line-height: 1.5; color: var(--muted); }

  /* Ana sayfa: boş vitrin kutusu mobilde gizli (satış metni masaüstünde kalır);
     kategori çipleri kesilmek yerine ikinci satıra sarar. */
  .feature-empty { display: none; }
  .son-chips { flex-wrap: wrap; overflow: visible; }
}

/* ---------- 0.3.0 ekleri: başlık ölçeği (telefon) ---------- */
@media (max-width: 640px) {
  main.site-main .wrap > .kat-page-title, .kat-page-title { font-size: 28px; margin-bottom: 16px; }
  .kat-archive-title { font-size: 26px; margin-bottom: 16px; }
  .price-hero h1 { font-size: 32px; }
  .yarisoto-auth-panel-inner h1 { font-size: 28px; }
}
/* Çok dar telefon (≤360): büyütülen logo üst çubuğa sığsın. */
@media (max-width: 360px) { .logo { font-size: 22px; } .header-actions { gap: 18px; } }
/* 0.3.2: telefonda açılış şeridi iki satıra kırılıyordu ("…51 kaldı" ile sığmıyor) → kısa metin, tek satır. */
@media (max-width: 600px) {
  .serit-uzun { display: none; }
  .serit-kisa { display: inline; }
  .serit { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
