:root{
  --ground:#F4F7FA;--surface:#fff;--surface-2:#EDF1F7;--ink:#0E1A2B;--muted:#5B6B7F;
  --line:#DBE2EC;--brand:#15487A;--brand-2:#1E6FC4;--accent:#12996A;--accent-ink:#0C7A54;
  --hero-ink:#0B1522;--hero-fg:#E7EDF5;--hero-line:#22384F;--danger:#C0392B;
  /* Koyu zeminlerin (hero, footer, panel başlığı) ikincil metin rengi. TANIMSIZ
     olduğunda `color:var(--hero-muted)` geçersiz sayılıp miras alınan koyu --ink'e
     düşüyordu → footer metni koyu üstünde koyu, pratikte görünmez (kontrast ~1.05:1).
     Tema fark etmeksizin zemin daima --hero-ink olduğu için tek değer yeterli. */
  --hero-muted:#A9BACD;
  --sale:#12996A;--rent:#1E6FC4;--hot:#E08A1E;
  --radius:14px;--radius-sm:10px;
  /* Emoji aileleri sonda: içerikte emoji kullanılırsa (blog yazısı, ilan başlığı,
     yasal metin) her platformda renkli ve hizalı çıksın — aksi hâlde Linux/Windows
     sunucu fontlarında kutu veya tek renk sembol görünüyor. */
  --f-emoji:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Segoe UI Symbol";
  --f-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,"Helvetica Neue",Arial,sans-serif,var(--f-emoji);
  --f-mono:ui-monospace,"SF Mono","Menlo","Consolas",monospace,var(--f-emoji);
}
@media (prefers-color-scheme:dark){:root{
  --ground:#0A1420;--surface:#111F30;--surface-2:#16273C;--ink:#E7EDF5;--muted:#90A4BA;
  --line:#233A52;--brand:#4C93E0;--brand-2:#6BA9EC;--accent:#25B681;--accent-ink:#37C592;--danger:#E5766A;
  --sale:#25B681;--rent:#4C93E0;--hot:#EEA23F;
}}
/* Manuel seçim (theme.js data-theme yazar) — media query'yi ezer (attribute > :root özgüllüğü) */
:root[data-theme="light"]{
  --ground:#F4F7FA;--surface:#fff;--surface-2:#EDF1F7;--ink:#0E1A2B;--muted:#5B6B7F;
  --line:#DBE2EC;--brand:#15487A;--brand-2:#1E6FC4;--accent:#12996A;--accent-ink:#0C7A54;--danger:#C0392B;
  --sale:#12996A;--rent:#1E6FC4;--hot:#E08A1E;
}
:root[data-theme="dark"]{
  --ground:#0A1420;--surface:#111F30;--surface-2:#16273C;--ink:#E7EDF5;--muted:#90A4BA;
  --line:#233A52;--brand:#4C93E0;--brand-2:#6BA9EC;--accent:#25B681;--accent-ink:#37C592;--danger:#E5766A;
  --sale:#25B681;--rent:#4C93E0;--hot:#EEA23F;
}
/* tema seçici — rounded-square (brandmark yankısı), hairline border, Linear disiplin, emoji yok */
.theme-toggle{position:fixed;left:20px;bottom:20px;z-index:900;width:42px;height:42px;border-radius:var(--radius-sm);
  border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;
  display:grid;place-items:center;box-shadow:0 2px 10px rgba(14,26,43,.10);
  transition:border-color .15s,color .15s,transform .15s}
.theme-toggle:hover{border-color:var(--brand);color:var(--brand);transform:translateY(-1px)}
.theme-toggle:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.theme-toggle svg{display:block}
*{box-sizing:border-box}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--f-sans);line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:var(--brand-2);text-decoration:none}
.wrap{max-width:720px;margin:0 auto;padding:0 20px}
.brandbar{background:var(--hero-ink);color:var(--hero-fg);padding:22px 0;
  background-image:linear-gradient(var(--hero-line) 1px,transparent 1px),linear-gradient(90deg,var(--hero-line) 1px,transparent 1px);
  background-size:56px 56px;background-position:center}
.brandbar .row{display:flex;align-items:center;gap:13px}
.wordmark{font-weight:800;font-size:22px;letter-spacing:-.03em;color:#fff}
.wordmark b{color:#37C592}
.sub{color:#9fb2c9;font-size:13px;margin-top:2px}
main{padding:34px 0 70px}
h1{font-size:26px;font-weight:780;letter-spacing:-.02em;margin:0 0 6px}
.lead{color:var(--muted);margin:0 0 24px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:18px}
.card h2{font-size:16px;margin:0 0 14px;font-weight:700}
.eyebrow{font-family:var(--f-mono);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:12px}
/* requirements */
.req{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.req li{display:flex;align-items:center;gap:11px;font-size:14px;padding:9px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2)}
.req .dot{width:20px;height:20px;border-radius:50%;flex:none;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:800}
.req .ok{background:var(--accent)} .req .no{background:var(--danger)}
.req .val{margin-left:auto;font-family:var(--f-mono);font-size:12px;color:var(--muted)}
/* form */
.field{margin-bottom:15px}
.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.field input,.field select{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:var(--radius-sm);
  background:var(--surface);color:var(--ink);font-family:inherit;font-size:14px}
.field input:focus,.field select:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:520px){.grid2{grid-template-columns:1fr}}
.hint{font-size:12px;color:var(--muted);margin-top:5px}
/* Zorunlu alan yıldızı. DİKKAT: `.req` adı kurulum sihirbazının gereksinim
   listesine (ul.req, display:grid) ait — o adı kullanmayın, liste bozulur. */
.zorunlu{display:inline;color:var(--danger);font-weight:700}
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--brand);color:#fff;border:none;
  border-radius:var(--radius-sm);padding:13px 26px;font-family:inherit;font-weight:700;font-size:15px;cursor:pointer}
.btn.accent{background:var(--accent);color:#04130C}
.errbox{background:color-mix(in srgb,var(--danger) 12%,transparent);border:1px solid var(--danger);
  border-radius:var(--radius-sm);padding:13px 15px;margin-bottom:18px;color:var(--danger)}
.errbox ul{margin:6px 0 0;padding-left:18px} .errbox li{margin:3px 0}
/* .card ile birlikte kullanılır: yan boşluğu SIFIRLAMA (kısayol `20px 0` kartın
   22px yan padding'ini silip gri kv satırlarını kenara yapıştırıyordu). */
.done{text-align:center;padding:32px 22px}
.done .mark{width:64px;height:64px;border-radius:50%;background:var(--accent);color:#04130C;display:grid;place-items:center;
  font-size:30px;font-weight:800;margin:0 auto 16px}
.kv{font-family:var(--f-mono);font-size:13px;background:var(--surface-2);border-radius:8px;padding:10px 13px;margin:8px 0;text-align:left}
.actions{display:flex;gap:12px;justify-content:center;margin-top:20px;flex-wrap:wrap}

/* ============ PUBLIC SITE ============ */
.site-head{position:sticky;top:0;z-index:20;background:var(--surface);border-bottom:1px solid var(--line)}
.site-head .in{max-width:1200px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.site-head .logo{display:flex;align-items:center;gap:10px}
.site-head .logo .wm{font-weight:800;letter-spacing:-.03em;font-size:19px;color:var(--ink)}
.site-head .logo .wm b{color:var(--accent-ink)}
.site-head nav{display:flex;gap:18px;font-size:16px}
.site-head nav a{color:var(--muted)} .site-head nav a:hover{color:var(--ink)}
.site-head .tel{font-weight:700;color:var(--brand)}
/* Mobilde menüyü GİZLEME — yalnız daralt ve yatay kaydırılabilir yap. `display:none`
   olduğunda kullanıcı Satılık/Kiralık/Blog bölümlerine hiçbir yerden erişemiyordu
   (hamburger de yok). Logo kısalır, telefon satır sonunda kalır. */
@media(max-width:600px){
  .site-head .in{flex-wrap:wrap;gap:8px 12px;padding:10px 14px}
  .site-head .logo .wm{font-size:16px;max-width:44vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .site-head .tel{font-size:14px}
  .site-head nav{order:3;width:100%;gap:16px;font-size:13px;overflow-x:auto;scrollbar-width:none;
    -webkit-overflow-scrolling:touch;padding-bottom:2px}
  .site-head nav::-webkit-scrollbar{display:none}
  .site-head nav a{white-space:nowrap;padding:4px 0}
}

/* Uzun metin sayfaları (blog yazısı, yasal metin): okuma sütunu kart içinde.
   Sitenin geri kalanı kart tabanlı; bu sayfalar çıplak zeminde durunca metin
   sınırsız görünüyor ve tasarım dilinden kopuyordu. */
.yazi-kart{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(20px,4vw,40px)}
.yazi-kart > h1{margin-top:0}
.yazi-govde{font-size:16.5px;line-height:1.75;color:var(--ink);margin-top:22px}
.yazi-ust{margin-bottom:14px;font-size:14px}

.phero{background:var(--hero-ink);color:var(--hero-fg);position:relative;overflow:hidden;padding:64px 20px 30px}
.phero .grid-bg{position:absolute;inset:0;opacity:.5;
  background:linear-gradient(var(--hero-line) 1px,transparent 1px) 0 0/60px 60px,linear-gradient(90deg,var(--hero-line) 1px,transparent 1px) 0 0/60px 60px;
  -webkit-mask:radial-gradient(circle at 50% 30%,#000,transparent 80%);mask:radial-gradient(circle at 50% 30%,#000,transparent 80%)}
.phero .in{max-width:1120px;margin:0 auto;position:relative}
.phero h1{font-size:clamp(28px,5vw,46px);font-weight:820;letter-spacing:-.03em;line-height:1.05;max-width:25ch;margin:0}
.phero p{color:var(--hero-muted);font-size:17px;margin:14px 0 0;max-width:81ch}
.phero.has-photo{background-size:cover;background-position:center}
.hero-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.hero-pills .hp{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:10px 16px;backdrop-filter:blur(4px)}
.hero-pills .hp b{display:block;font-family:var(--f-mono);font-size:22px;font-weight:720;font-variant-numeric:tabular-nums;line-height:1}
.hero-pills .hp span{font-size:11px;color:var(--hero-muted);text-transform:uppercase;letter-spacing:.1em}
@media(max-width:600px){.hero-pills .hp{flex:1 1 40%}}
.why{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.why .w{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px 18px}
.why .w svg{color:var(--brand-2)}
.why .w h3{font-size:16px;font-weight:720;margin:12px 0 6px;letter-spacing:-.01em}
.why .w p{font-size:13px;color:var(--muted);line-height:1.55;margin:0}
@media(max-width:860px){.why{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.why{grid-template-columns:1fr}}
.team{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.team .tm{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px 18px;text-align:center}
.team .tm .av{width:76px;height:76px;border-radius:50%;margin:0 auto 12px;background-size:cover;background-position:center;background-color:var(--brand)}
.team .tm .av.ph{display:grid;place-items:center;color:#fff;font-weight:720;font-size:28px;font-family:var(--f-mono)}
.team .tm h3{font-size:16px;font-weight:720;margin:0 0 2px}
.team .tm .unv{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.team .tm-act{display:flex;gap:8px;justify-content:center;margin-top:12px}
.team .tm-act a{font-size:13px;font-weight:600;padding:6px 14px;border-radius:8px;border:1px solid var(--line);color:var(--brand)}
.team .tm-act a:hover{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 8%,transparent)}
@media(max-width:860px){.team{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.team{grid-template-columns:1fr}}
.cta-band{background:linear-gradient(120deg,var(--brand),var(--brand-2));color:#fff;border-radius:18px;padding:34px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.cta-band h2{font-size:22px;font-weight:760;margin:0 0 6px;letter-spacing:-.02em}
.cta-band p{margin:0;color:rgba(255,255,255,.86);font-size:15px}
.cta-band .ct-act{display:flex;flex-wrap:wrap;gap:12px}
.cta-band .cta-wa{background:#fff;color:var(--brand);font-weight:700;padding:13px 24px;border-radius:10px}
.cta-band .cta-tel{border:1px solid rgba(255,255,255,.5);color:#fff;font-weight:700;padding:13px 24px;border-radius:10px;font-family:var(--f-mono)}
.cta-band a:hover{transform:translateY(-1px)}
@media(max-width:600px){.cta-band{padding:26px 22px}.cta-band .ct-act{width:100%}.cta-band .ct-act a{flex:1 1 auto;text-align:center}}
/* gizleme yalnız .reveal-on (JS + IO + reduced-motion değil) iken; no-JS → içerik görünür */
.reveal-on .reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.reveal-on .reveal.in{opacity:1;transform:none}
.searchbar{margin-top:26px;background:var(--surface);border-radius:14px;padding:10px;display:flex;gap:8px;flex-wrap:wrap;box-shadow:0 20px 50px -24px rgba(0,0,0,.5)}
.searchbar select,.searchbar input{flex:1 1 140px;min-width:120px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font-family:inherit;font-size:14px}
.searchbar .go{flex:0 0 auto;background:var(--brand);color:#fff;border:none;border-radius:9px;padding:12px 28px;font-weight:700;cursor:pointer;font-family:inherit}

.pwrap{max-width:1120px;margin:0 auto;padding:0 20px}
.pwrapsayfa{margin:0 auto;padding:0 20px}
.sec{padding:44px 0}
.sec-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:20px;gap:12px}
.sec-h h2{font-size:22px;font-weight:760;letter-spacing:-.02em;margin:0}
.sec-h a{font-size:14px;color:var(--brand-2)}
.stat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:8px}
@media(max-width:600px){.stat-cards{grid-template-columns:repeat(2,1fr)}}
.stat-cards .s{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px}
.stat-cards .s .n{font-family:var(--f-mono);font-size:28px;font-weight:720;font-variant-numeric:tabular-nums}
.stat-cards .s .k{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-family:var(--f-mono)}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:860px){.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cards{grid-template-columns:1fr}}
.lc{display:block;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;color:inherit;transition:transform .16s,box-shadow .16s,border-color .16s}
.lc:hover{transform:translateY(-3px);border-color:var(--brand);box-shadow:0 16px 36px -20px rgba(21,72,122,.5)}
.lc .ph{height:172px;background:linear-gradient(135deg,#1b3a5c,#2b6aa8);position:relative;background-size:cover;background-position:center}
.lc .ph .bd{position:absolute;left:10px;top:10px;display:flex;gap:6px}
.lc .ph .code{position:absolute;right:10px;bottom:10px;font-family:var(--f-mono);font-size:11px;color:#fff;background:rgba(0,0,0,.45);padding:3px 8px;border-radius:6px}
.lc .bd2{padding:14px 15px 16px}
.lc h3{font-size:15.5px;font-weight:680;letter-spacing:-.01em;margin:0 0 5px}
.lc .loc{font-size:12.5px;color:var(--muted)}
.lc .feat{display:flex;gap:12px;margin:10px 0;font-family:var(--f-mono);font-size:12px;color:var(--muted);flex-wrap:wrap}
.lc .price{font-family:var(--f-mono);font-weight:700;font-size:19px;font-variant-numeric:tabular-nums;color:var(--accent-ink)}
.lc .price.rent{color:var(--brand-2)}

.badge2{font-family:var(--f-mono);font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:4px 9px;border-radius:999px;color:#fff}

/* liste: filtre + grid */
.list-lay{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:start;padding:28px 0}
@media(max-width:820px){.list-lay{grid-template-columns:1fr}}
.filters{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;position:sticky;top:76px}
.filters .fg{margin-bottom:13px}
.filters label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:5px}
.filters select,.filters input{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-family:inherit;font-size:13px}
.filters .go{width:100%;background:var(--brand);color:#fff;border:none;border-radius:8px;padding:11px;font-weight:700;cursor:pointer;margin-top:4px;font-family:inherit}
.pager{display:flex;gap:6px;justify-content:center;margin-top:26px;flex-wrap:wrap}
.pager a,.pager span{padding:8px 13px;border:1px solid var(--line);border-radius:8px;font-size:14px;color:var(--ink);font-family:var(--f-mono)}
.pager .cur{background:var(--brand);color:#fff;border-color:var(--brand)}

/* detay */
.detay{padding:26px 0}
.gallery{display:grid;gap:10px;grid-template-columns:2fr 1fr;margin-bottom:22px}
@media(max-width:640px){.gallery{grid-template-columns:1fr}}
.gallery .main{height:380px;border-radius:14px;background:linear-gradient(135deg,#1b3a5c,#2b6aa8);background-size:cover;background-position:center}
.gallery .thumbs{display:grid;grid-template-rows:repeat(3,1fr);gap:10px}
.gallery .thumbs .t{border-radius:12px;background-size:cover;background-position:center;background:#24405e;min-height:80px}
.detay-lay{display:grid;grid-template-columns:1fr 320px;gap:26px;align-items:start}
@media(max-width:820px){.detay-lay{grid-template-columns:1fr}}
.dprice{font-family:var(--f-mono);font-size:30px;font-weight:740;color:var(--accent-ink);font-variant-numeric:tabular-nums}
.spec{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:18px 0}
.spec div{background:var(--surface);padding:12px 14px;font-size:14px;display:flex;justify-content:space-between}
.spec div span:first-child{color:var(--muted)}
.aside{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px;position:sticky;top:76px}
.aside .agent{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.aside .agent .av{width:44px;height:44px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:700}
.wa{display:block;text-align:center;background:#25955a;color:#fff;padding:12px;border-radius:10px;font-weight:700;margin-bottom:10px}
.okbox{background:color-mix(in srgb,var(--accent) 14%,transparent);border:1px solid var(--accent);color:var(--accent-ink);border-radius:10px;padding:12px 14px;margin-bottom:16px;font-size:14px}

.site-foot{background:var(--hero-ink);color:var(--hero-muted);margin-top:40px;}
.site-foot .in{max-width:1120px;margin:0 auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px}
.site-foot .wm{color:#fff;font-weight:800;font-size:17px}
.empty{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:40px;text-align:center;color:var(--muted)}
table.ptable{width:100%;border-collapse:collapse;font-size:14px}
table.ptable th{text-align:left;padding:12px 14px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
table.ptable td{padding:12px 14px;border-top:1px solid var(--line)}
.thumbrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.thumbrow .th{position:relative;width:92px;height:70px;border-radius:8px;background-size:cover;background-position:center;background:#24405e;background-size: cover;}
.thumbrow .th a{position:absolute;top:-7px;right:-7px;background:var(--danger);color:#fff;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:12px;text-decoration:none}

/* foto galeri lightbox (T3) */
.gallery .main,.gallery .thumbs .t{cursor:zoom-in}
.gallery .thumbs .t{position:relative}
.gallery .thumbs .t .more{position:absolute;inset:0;background:rgba(11,26,43,.62);color:#fff;display:grid;place-items:center;font-weight:740;font-size:18px;border-radius:12px}
.lb{position:fixed;inset:0;z-index:1000;background:rgba(9,18,30,.94);display:none;align-items:center;justify-content:center;touch-action:none}
.lb.open{display:flex}
.lb img{max-width:92vw;max-height:86vh;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5);user-select:none}
.lb-btn{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;cursor:pointer;display:grid;place-items:center;border-radius:50%;width:48px;height:48px;font-size:26px;line-height:1;transition:background .15s}
.lb-btn:hover{background:rgba(255,255,255,.25)}
.lb-close{top:18px;right:18px;font-size:30px}
.lb-prev{left:16px;top:50%;transform:translateY(-50%)}
.lb-next{right:16px;top:50%;transform:translateY(-50%)}
.lb-count{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);color:#cdd8e6;font-size:13px;font-variant-numeric:tabular-nums;background:rgba(255,255,255,.08);padding:5px 12px;border-radius:20px}
@media(max-width:640px){.lb-btn{width:42px;height:42px;font-size:22px}.lb-prev{left:8px}.lb-next{right:8px}}

/* ============ PANEL (B4 redesign — sadece ekleme, :root/renk değişmez) ============ */
.panel-head{position:sticky;top:0;z-index:30;background:var(--hero-ink);
  background-image:linear-gradient(var(--hero-line) 1px,transparent 1px),linear-gradient(90deg,var(--hero-line) 1px,transparent 1px);
  background-size:56px 56px;background-position:center;border-bottom:1px solid var(--hero-line)}
.panel-head .in{max-width:1200px;margin:0 auto;padding:11px 22px;display:flex;align-items:center;gap:22px}
.panel-head .brand{display:flex;align-items:center;gap:10px;flex:none}
.panel-head .brand .wm{font-weight:800;letter-spacing:-.03em;font-size:18px;color:#fff}
.panel-head .brand .wm b{color:#37C592}
.panel-head .brand .wm em{font-style:normal;font-weight:600;color:#9fb2c9}
.panel-head .pnav{display:flex;gap:4px;flex:1;overflow-x:auto;scrollbar-width:none}
.panel-head .pnav::-webkit-scrollbar{display:none}
.panel-head .pnav a{color:#9fb2c9;font-size:13.5px;font-weight:600;padding:7px 12px;border-radius:8px;white-space:nowrap;transition:color .14s,background .14s}
.panel-head .pnav a:hover{color:#fff;background:rgba(255,255,255,.06)}
.panel-head .pnav a.aktif{color:#fff;background:rgba(55,197,146,.16);box-shadow:inset 0 0 0 1px rgba(55,197,146,.35)}
.panel-head .puser{display:flex;align-items:center;gap:14px;flex:none}
.panel-head .puser .who{color:#cdd8e6;font-size:13px;font-weight:600}
.panel-head .puser .out{color:#9fb2c9;font-size:13px}
.panel-head .puser .out:hover{color:#fff}
@media(max-width:760px){.panel-head .in{flex-wrap:wrap;gap:12px}.panel-head .puser .who{display:none}}

.panel-wrap{width: 100%;max-width:1200px;margin:0 auto;padding:26px 22px 70px}
.panel-wrap .ph-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;flex-wrap:wrap}
.panel-wrap h1{font-size:23px;font-weight:780;letter-spacing:-.02em;margin:0}
.panel-wrap .sub{color:var(--muted);font-size:14px;margin:2px 0 0}

/* dashboard istatistik kartları */
.pcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:24px}
.pcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;transition:border-color .15s,transform .15s;display:block;color:inherit}
a.pcard:hover{border-color:var(--brand);transform:translateY(-2px)}
.pcard .n{font-family:var(--f-mono);font-size:30px;font-weight:720;font-variant-numeric:tabular-nums;line-height:1}
.pcard .k{font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-family:var(--f-mono);margin-top:8px}
.pcard.accent .n{color:var(--accent-ink)} .pcard.b2 .n{color:var(--brand-2)} .pcard.gold .n{color:var(--hot)}

/* panel bölüm + hızlı aksiyon */
.psec{margin-bottom:26px}
.psec-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px;gap:12px}
.psec-h h2{font-size:16px;font-weight:720;letter-spacing:-.01em;margin:0}
.psec-h a{font-size:13px;color:var(--brand-2)}
.pquick{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.pbtn{display:inline-flex;align-items:center;gap:7px;background:var(--brand);color:#fff;border:none;border-radius:var(--radius-sm);
  padding:10px 18px;font-family:inherit;font-weight:700;font-size:13.5px;cursor:pointer;text-decoration:none}
.pbtn:hover{filter:brightness(1.06)}
.pbtn.accent{background:var(--accent);color:#04130C}
.pbtn.ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}

/* panel tablo cilası (mevcut .ptable üstüne) */
.pcard-table{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:0;overflow-x:auto}
.pcard-table table{width:100%;border-collapse:collapse;font-size:14px}
.pcard-table thead th{text-align:left;padding:12px 15px;color:var(--muted);font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;background:var(--surface-2);white-space:nowrap}
.pcard-table tbody td{padding:12px 15px;border-top:1px solid var(--line);vertical-align:middle}
.pcard-table tbody tr:hover{background:var(--surface-2)}
.pempty{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:40px;text-align:center;color:var(--muted)}

/* ============ HATA SAYFASI (404/500) ============ */
.err-page{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:56px 32px;text-align:center}
.err-code{font-family:var(--f-mono);font-size:64px;font-weight:800;line-height:1;color:var(--brand-2);opacity:.35;letter-spacing:-.03em}
.err-page h1{font-size:24px;font-weight:760;letter-spacing:-.02em;margin:14px 0 8px}
.err-page p{color:var(--muted);max-width:52ch;margin:0 auto;line-height:1.6}
.err-act{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:24px}
.err-act a{display:inline-flex;align-items:center;padding:12px 22px;border-radius:10px;font-weight:700;font-size:14px;text-decoration:none}
.err-act a:first-child{background:var(--brand);color:#fff}
.err-act a:last-child{border:1px solid var(--line);color:var(--ink)}
.err-act a:hover{filter:brightness(1.06)}

/* ============ YAPIŞKAN FOOTER ============
   Kısa sayfalarda (404, taslak liste, boş blog) footer sayfa ortasında asılı
   kalmasın: gövde tam yükseklik flex sütun, footer kalan boşluğu yukarıdan iter.
   Sabit/overlay DEĞİL — içerik uzunsa normal akışta en altta kalır. */
body{display:flex;flex-direction:column;min-height:100vh}
.site-foot{margin-top:auto}

/* ============ ÇEREZ BANDI ============
   JS kapalıysa hidden kalır (no-JS kullanıcı görmez, kırık markup yok).
   Açıkken alt-ortada, slide-up geçişi (reduced-motion saygılı), localStorage tercihi.
   Tema uyumlu (light/dark), responsive (mobilde padding azalt). */
#cerez-bandi{position:fixed;bottom:0;left:50%;transform:translateX(-50%) translateY(100%);
  z-index:850;max-width:680px;width:calc(100% - 40px);
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0;
  box-shadow:0 -4px 20px rgba(14,26,43,.12);padding:18px 22px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
#cerez-bandi p{margin:0;font-size:13.5px;line-height:1.55;color:var(--muted);flex:1 1 280px}
#cerez-bandi a{color:var(--brand-2);text-decoration:underline;text-underline-offset:2px}
#cerez-bandi a:hover{color:var(--brand)}
#cerez-bandi button{background:var(--accent);color:var(--accent-ink);border:none;
  padding:9px 20px;border-radius:var(--radius-sm);font-family:inherit;font-weight:700;font-size:13px;
  cursor:pointer;white-space:nowrap;transition:filter .15s}
#cerez-bandi button:hover{filter:brightness(1.1)}
#cerez-bandi button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* slide-up geçişi (JS .acik sınıfı ekler) — reduced-motion saygılı */
@media (prefers-reduced-motion: no-preference) {
  #cerez-bandi{transition:transform .28s cubic-bezier(.16,.68,.47,.97)}
  #cerez-bandi.acik{transform:translateX(-50%) translateY(0)}
}
@media (prefers-reduced-motion: reduce) {
  #cerez-bandi.acik{transform:translateX(-50%) translateY(0)}
}

/* mobil: padding azalt, tek sütun */
@media (max-width:600px) {
  #cerez-bandi{padding:14px 16px;width:calc(100% - 20px)}
  #cerez-bandi p{font-size:13px}
}

/* ============ H TURU — GÖRÜNÜM DÜZELTMELERİ ============ */

/* Tek fotoğraflı ilanda küçük görsel şeridi yok → boş sütun bırakma, tam genişlik ver */
.gallery.tek{grid-template-columns:1fr}
.gallery.tek .main{height:clamp(280px,42vw,520px)}

/* Danışman kadrosu: sabit 4 sütun 2 kişilik ekipte kartları gereksiz geriyordu.
   auto-fill ile kartlar doğal genişlikte kalır, satır soldan dolar. */
.team{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.team .tm{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.team .tm h3{margin-top:0}              /* içerik yukarıda hizalı kalsın (eksik alanlı kartta boşluk altta) */
.team .tm .unv:empty{display:none}
.team .tm-act{margin-top:12px}

/* Footer yasal bağlantılar: kendi satırında, sarmalı, taşmasız */
.foot-legal{max-width:1120px;margin:18px auto 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.10);
  display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12.5px}
.foot-legal a{color:var(--hero-muted)}
.foot-legal a:hover{color:#fff}
.site-foot .in a{color:var(--hero-muted)}
.site-foot .in a:hover{color:#fff}

/* Yasal metin okunabilirliği: uzun satır yorar, ölçüyü sınırla */
.sayfa-govde{font-size:16.5px;line-height:1.75;color:var(--ink);margin-top:22px;}

/* Çerez bandı düğmesi: accent üstünde accent-ink okunmuyordu (yeşil üstü koyu yeşil) */
#cerez-bandi button{color:#fff}
/* dar ekranda bant, sağ alttaki tema düğmesinin altına girmesin */
@media(max-width:600px){#cerez-bandi{padding-right:64px}}



/* =========================================================
   İLAN DETAY — PREMIUM REDESIGN
   Mevcut HTML yapısıyla uyumlu
   ========================================================= */

/* Sayfa genelinde detay alanına biraz daha nefes */
.detay {
  padding: 22px 0 70px;
}

/* Breadcrumb */
.detay > div:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 12px !important;
  color: var(--muted) !important;
  margin-bottom: 14px !important;
}

.detay > div:first-child a {
  font-weight: 600;
  color: var(--brand-2) !important;
}

.detay > div:first-child a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   GALERİ
   ========================================================= */

.gallery {
  grid-template-columns: minmax(0, 1.75fr) minmax(220px, .8fr);
  gap: 12px;
  margin-bottom: 28px;
}

.gallery .main {
  height: 470px;
  border-radius: 18px;
  background-color: var(--surface-2);
  box-shadow: 0 18px 45px -30px rgba(14,26,43,.45);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery .main:hover {
  box-shadow: 0 24px 55px -28px rgba(14,26,43,.55);
}

.gallery .thumbs {
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.gallery .thumbs .t {
  min-height: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px -24px rgba(14,26,43,.6);
  transition: transform .18s ease, opacity .18s ease;
}

.gallery .thumbs .t:hover {
  transform: scale(1.015);
  opacity: .94;
}

.gallery .thumbs .t .more {
  border-radius: 13px;
  background: linear-gradient(
    rgba(11,21,34,.45),
    rgba(11,21,34,.78)
  );
  backdrop-filter: blur(3px);
  font-size: 17px;
  letter-spacing: -.01em;
}

/* Tek foto */
.gallery.tek .main {
  height: clamp(300px, 46vw, 570px);
  border-radius: 18px;
}


/* =========================================================
   ANA DETAY + SAĞ KART
   ========================================================= */

.detay-lay {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
}

/* Sol kolon */
.detay-lay > div:first-child {
  min-width: 0;
}

/* İlan başlığından önceki badge alanı */
.detay-lay .badge2 {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .06em;
  box-shadow: 0 2px 7px rgba(14,26,43,.08);
}

/* İlan başlığı */
.detay-lay h1 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.035em;
  max-width: 900px;
}

/* Konum */
.detay-lay h1 + div {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--muted) !important;
  font-size: 14px;
  margin-top: 7px;
}

/* =========================================================
   FİYAT
   ========================================================= */

.dprice {
  display: flex;
  align-items: baseline;
  gap: 5px;
  width: fit-content;
  margin-top: 18px !important;
  padding: 14px 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  color: var(--accent-ink);
  font-family: var(--f-mono);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

.dprice span {
  font-family: var(--f-sans);
  font-size: 13px !important;
  font-weight: 600;
  color: var(--muted) !important;
  letter-spacing: 0;
}


/* =========================================================
   ÖZELLİKLER
   ========================================================= */

.spec {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background: transparent;
  border: 0;
  margin: 20px 0 26px;
  overflow: visible;
}

.spec div {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 5px 18px -17px rgba(14,26,43,.5);
  transition:
    border-color .16s ease,
    transform .16s ease,
    box-shadow .16s ease;
}

.spec div:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -18px rgba(21,72,122,.45);
}

.spec div span:first-child {
  color: var(--muted);
  font-size: 12px;
}

.spec div span:last-child {
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}


/* =========================================================
   AÇIKLAMA / KONUM
   ========================================================= */

.detay-lay h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px !important;
  font-weight: 760;
  letter-spacing: -.015em;
  margin-top: 28px !important;
  margin-bottom: 11px !important;
      background: #e7efec;
    padding: 10px;
    border-radius: 20px;
}

.detay-lay h2::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

/* Açıklama */
.detay-lay h2 + div[style*="white-space"] {
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink) !important;
  font-size: 14px;
  line-height: 1.75 !important;
  box-shadow: 0 8px 28px -25px rgba(14,26,43,.5);
}

/* Harita */
#detayMap {
  height: 340px !important;
  border-radius: 16px !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 12px 35px -28px rgba(14,26,43,.55);
}

#detayMap + p {
  font-size: 13px !important;
}

#detayMap + p a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 600;
}

#detayMap + p a:hover {
  border-color: var(--brand-2);
  background: var(--surface-2);
}


/* =========================================================
   SAĞ DANIŞMAN KARTI
   ========================================================= */

.aside {
    margin-top: 26px;
  top: 90px;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 18px 45px -30px rgba(14,26,43,.55);
}

/* Kartın üstüne hafif accent çizgisi */
.aside::before {
  content: "";
  display: block;
  height: 3px;
  width: 42px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 17px;
}

/* Danışman */
.aside .agent {
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.aside .agent .av {
  width: 50px;
  height: 50px;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 5px 18px -10px rgba(14,26,43,.6);
}

.aside .agent > div:last-child > div:first-child {
  font-size: 14px !important;
  font-weight: 750 !important;
}

.aside .hint {
  font-size: 12px;
}

/* Telefon */
.aside > .hint {
  padding: 9px 11px;
  background: var(--surface-2);
  border-radius: 9px;
  font-family: var(--f-mono);
  font-size: 12px;
}

/* WhatsApp */
.wa {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  margin-bottom: 18px;
  font-size: 13.5px;
  letter-spacing: -.01em;
  box-shadow: 0 8px 22px -14px rgba(37,149,90,.8);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.wa:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 26px -14px rgba(37,149,90,.9);
}

/* Form başlığı */
.aside > div[style*="font-weight:680"] {
  padding-top: 3px;
  font-size: 14px !important;
}

/* Form inputları */
.aside form input:not([type="hidden"]),
.aside form textarea {
  width: 100%;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: var(--surface) !important;
  color: var(--ink) !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.aside form input:not([type="hidden"]):focus,
.aside form textarea:focus {
  outline: none !important;
  border-color: var(--brand-2) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 12%, transparent);
}

/* KVKK */
.aside form label[for="kvkk_onay"] {
  color: var(--muted);
  line-height: 1.45;
}

.aside form label[for="kvkk_onay"] a {
  font-weight: 600;
}

/* Bilgi iste butonu */
.aside .btn.accent {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  border-radius: 11px;
  font-size: 14px;
  box-shadow: 0 10px 25px -17px rgba(18,153,106,.9);
  transition: transform .16s ease, filter .16s ease;
}

.aside .btn.accent:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}


/* =========================================================
   BAŞARI MESAJI
   ========================================================= */

.okbox {
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   BENZER İLANLAR
   ========================================================= */

.detay + * {}

.detay .sec {
  padding-top: 46px;
}

.detay .sec-h {
  margin-bottom: 18px;
}

.detay .sec-h h2 {
  font-size: 21px;
}

.detay .sec-h h2::before {
  display: none;
}


/* =========================================================
   MOBİL
   ========================================================= */

@media(max-width:820px) {
  .detay-lay {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .aside {
    position: relative;
    top: auto;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery .main {
    height: clamp(280px, 58vw, 440px);
  }

  .gallery .thumbs {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 100px;
  }
}

@media(max-width:640px) {
  .detay {
    padding-top: 16px;
  }

  .gallery {
    gap: 8px;
    margin-bottom: 22px;
  }

  .gallery .main {
    height: 300px;
    border-radius: 14px;
  }

  .gallery .thumbs {
    gap: 8px;
    grid-template-rows: 82px;
  }

  .gallery .thumbs .t {
    border-radius: 10px;
  }

  .detay-lay h1 {
    font-size: 25px;
  }

  .dprice {
    width: 100%;
    justify-content: space-between;
    font-size: 26px;
    padding: 14px 16px;
  }

  .spec {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .spec div {
    min-height: 55px;
    padding: 10px 11px;
  }

  .spec div span:first-child {
    font-size: 11px;
  }

  .spec div span:last-child {
    font-size: 12px;
  }

  .detay-lay h2 + div[style*="white-space"] {
    padding: 16px;
    font-size: 14px;
  }

  #detayMap {
    height: 280px !important;
  }

  .aside {
    padding: 17px;
    border-radius: 15px;
  }
}

@media(max-width:420px) {
  .spec {
    grid-template-columns: 1fr;
  }

  .gallery .main {
    height: 260px;
  }

  .gallery .thumbs {
    grid-template-rows: 72px;
  }
}


/* =========================================================
   HOVER / MOTION — erişilebilirlik
   ========================================================= */

@media(prefers-reduced-motion: reduce) {
  .gallery .main,
  .gallery .thumbs .t,
  .spec div,
  .wa,
  .aside .btn.accent {
    transition: none;
  }

  .gallery .thumbs .t:hover,
  .spec div:hover,
  .wa:hover,
  .aside .btn.accent:hover {
    transform: none;
  }
}


/* =========================================================
   FOTOĞRAF GALERİSİ
   Büyük kapak + altta kare thumbnail
   ========================================================= */

.gallery-slider {
  display: block;
  margin-bottom: 28px;
}

/* Büyük fotoğraf */
.gallery-slider .main {
  width: 100%;
  height: clamp(320px, 48vw, 560px);
  border-radius: 18px;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border: 1px solid var(--line);
  box-shadow: 0 18px 45px -30px rgba(14,26,43,.55);

  cursor: zoom-in;
  transition:
    background-image .2s ease,
    box-shadow .2s ease;
}

/* Alt thumbnail alanı */
.gallery-slider .thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 2px 2px 6px;

  scrollbar-width: thin;
}

/* Kare thumbnail */
.gallery-slider .thumbs .t {
  position: relative;

  flex: 0 0 88px;
  width: 88px;
  height: 88px;

  min-height: 88px;

  border-radius: 11px;
  border: 2px solid transparent;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  cursor: pointer;

  opacity: .72;

  transition:
    transform .16s ease,
    opacity .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

/* Hover */
.gallery-slider .thumbs .t:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Aktif fotoğraf */
.gallery-slider .thumbs .t.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent),
    0 8px 20px -12px rgba(14,26,43,.7);
}

/* +N etiketi */
.gallery-slider .thumbs .t .more {
  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background: linear-gradient(
    rgba(10,20,32,.35),
    rgba(10,20,32,.78)
  );

  color: #fff;
  font-size: 16px;
  font-weight: 800;

  backdrop-filter: blur(2px);
}

/* Tek foto */
.gallery-slider.tek .main {
  height: clamp(300px, 48vw, 560px);
}

/* =========================================================
   MOBİL
   ========================================================= */

@media(max-width:640px) {

  .gallery-slider {
    margin-bottom: 22px;
  }

  .gallery-slider .main {
    height: 300px;
    border-radius: 14px;
  }

  .gallery-slider .thumbs {
    gap: 8px;
    margin-top: 9px;
  }

  .gallery-slider .thumbs .t {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
    min-height: 72px;
    border-radius: 9px;
  }

  .gallery-slider .thumbs .t .more {
    border-radius: 7px;
    font-size: 14px;
  }
}

@media(max-width:420px) {

  .gallery-slider .main {
    height: 260px;
  }

  .gallery-slider .thumbs .t {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    min-height: 64px;
  }
}

/* =========================================================
   İLAN DETAY - YENİ ÜST TASARIM
   Sol: Galeri
   Sağ: İlan bilgileri + danışman
   ========================================================= */

.detay-top {
  display: grid;
  grid-template-columns: minmax(0, 2.45fr) minmax(340px, .75fr);
  gap: 26px;
  align-items: start;
  
}

/* =========================================================
   GALERİ
   ========================================================= */

.detay-gallery {
  min-width: 0;
}

.detay-gallery .gallery {
  display: block;
  margin: 0;
}

.detay-gallery .gallery .main {
  height: clamp(320px, 38vw, 470px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 45px -30px rgba(14,26,43,.55);
}

/* Kare thumbnail satırı */
.detay-gallery .thumbs {
  display: flex;
  gap: 9px;
  margin-top: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}

.detay-gallery .thumbs .t {
  position: relative;

  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  min-height: 78px;

  border-radius: 10px;
  border: 2px solid transparent;

  background-size: cover;
  background-position: center;

  cursor: pointer;
  opacity: .72;

  transition:
    transform .16s ease,
    opacity .16s ease,
    border-color .16s ease;
}

.detay-gallery .thumbs .t:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.detay-gallery .thumbs .t.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px color-mix(in srgb,var(--accent) 15%,transparent);
}

/* +N */
.detay-gallery .thumbs .more {
  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  border-radius: 8px;

  background: linear-gradient(
    rgba(8,18,30,.35),
    rgba(8,18,30,.78)
  );

  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

/* Tek fotoğraf */
.detay-gallery .gallery.tek .main {
  height: clamp(320px, 38vw, 470px);
}


/* =========================================================
   SAĞ BİLGİ KARTI
   ========================================================= */

.detay-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;

  box-shadow: 0 18px 45px -32px rgba(14,26,43,.55);

  position: sticky;
  height: 470px;
}

/* Üst accent çizgi */
.detay-side::before {
  content: "";
  display: block;

  width: 42px;
  height: 3px;

  border-radius: 999px;
  background: var(--accent);

  margin-bottom: 17px;
}


/* =========================================================
   BADGE
   ========================================================= */

.detay-badges {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.detay-badges .badge2 {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
}

.ilan-no {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 10px;
}


/* =========================================================
   BAŞLIK
   ========================================================= */

.detay-side h1 {
  margin: 0 0 7px;

  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.16;

  font-weight: 800;
  letter-spacing: -.035em;
}


/* Konum */

.detay-location {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   FİYAT
   ========================================================= */

.detay-side .dprice {
  width: 100%;

  display: flex;
  align-items: baseline;
  gap: 5px;

  margin: 17px 0;

  padding: 14px 16px;

  border-radius: 12px;

  background:
    color-mix(
      in srgb,
      var(--accent) 7%,
      var(--surface)
    );

  border: 1px solid
    color-mix(
      in srgb,
      var(--accent) 20%,
      var(--line)
    );

  font-family: var(--f-mono);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.detay-side .dprice span {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}


/* =========================================================
   ÖZELLİKLER
   ========================================================= */

.detay-side .spec {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 7px;

  margin: 0 0 20px;

  background: transparent;
  border: 0;
  overflow: visible;
}

.detay-side .spec div {
  min-height: 55px;
  display: flex;
  

  gap: 4px;

  padding: 10px 12px;

  border: 1px solid var(--line);
  border-radius: 10px;

  background: var(--surface);

  box-shadow: none;
}

.detay-side .spec div span:first-child {
  color: var(--muted);
  font-size: 11px;
}

.detay-side .spec div strong {
  color: var(--ink);

  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 750;
}


/* =========================================================
   DANIŞMAN
   ========================================================= */

.side-agent {
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.side-agent-title {
  margin-bottom: 12px;

  color: var(--muted);

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .07em;
}

.side-agent .agent {
  display: flex;
  align-items: center;
  gap: 11px;

  margin-bottom: 12px;
}

.side-agent .agent .av {
  width: 48px;
  height: 48px;

  flex: none;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--brand);
  color: #fff;

  font-weight: 800;

  box-shadow:
    0 0 0 1px var(--line),
    0 5px 18px -10px rgba(14,26,43,.6);
}

.agent-name {
  font-size: 14px;
  font-weight: 750;
}

.side-agent .hint {
  margin-top: 2px;

  color: var(--muted);
  font-size: 12px;
}

.agent-phone {
  margin-bottom: 10px;

  padding: 9px 11px;

  border-radius: 9px;

  background: var(--surface-2);

  color: var(--muted);

  font-family: var(--f-mono);
  font-size: 12px;
}


/* WhatsApp */

.side-agent .wa {
  width: 100%;
  min-height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;

  border-radius: 10px;

  font-size: 13px;
  font-weight: 700;

  transition:
    transform .16s ease,
    filter .16s ease;
}

.side-agent .wa:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}


/* =========================================================
   ALT İÇERİK
   ========================================================= */

.detay-content {
  max-width: 900px;
}

.detay-content h2 {
  display: flex;
  align-items: center;
  gap: 9px;

  margin: 28px 0 11px;

  font-size: 17px;
  font-weight: 760;
}

.detay-content h2::before {
  content: "";

  width: 4px;
  height: 18px;

  border-radius: 999px;

  background: var(--accent);
}

.detay-content .aciklama {
  padding: 19px 20px;

  border: 1px solid var(--line);
  border-radius: 14px;

  background: var(--surface);

  color: var(--ink);

  white-space: pre-line;
  line-height: 1.75;

  box-shadow: 0 8px 28px -25px rgba(14,26,43,.5);
}

#detayMap {
  height: 320px !important;

  border: 1px solid var(--line) !important;
  border-radius: 15px !important;

  overflow: hidden;

  box-shadow: 0 12px 35px -28px rgba(14,26,43,.55);
}


/* =========================================================
   MOBİL
   ========================================================= */

@media(max-width:900px) {

  .detay-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detay-side {
    position: relative;
    top: auto;
  }

  .detay-gallery .gallery .main {
    height: 400px;
  }
}


@media(max-width:640px) {

  .detay-top {
    gap: 15px;
    margin-bottom: 25px;
  }

  .detay-gallery .gallery .main {
    height: 300px;
    border-radius: 14px;
  }

  .detay-gallery .thumbs {
    gap: 7px;
  }

  .detay-gallery .thumbs .t {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
    min-height: 68px;
  }

  .detay-side {
    padding: 17px;
    border-radius: 15px;
  }

  .detay-side h1 {
    font-size: 24px;
  }

  .detay-side .dprice {
    font-size: 23px;
  }
}


@media(max-width:420px) {

  .detay-gallery .gallery .main {
    height: 260px;
  }

  .detay-side .spec {
    grid-template-columns: 1fr 1fr;
  }

  .ilan-no {
    margin-left: 0;
  }
}

/* =========================================================
   İLAN BAŞLIĞI — PREMIUM
   ========================================================= */

.ilan-hero-info {
  margin-bottom: 18px;
}

/* Üst satır */

.ilan-hero-top {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  gap:10px;
}

.ilan-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* SATILIK */

.ilan-durum {
  display: inline-flex;
  align-items: center;

  padding: 6px 12px;

  border-radius: 7px;

  color: #fff;

  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;

  box-shadow: 0 5px 15px -10px rgba(0,0,0,.7);
}

/* FIRSAT */

.ilan-firsat {
  display: inline-flex;
  align-items: center;

  padding: 6px 11px;

  border-radius: 7px;

  background: color-mix(
    in srgb,
    var(--hot) 12%,
    var(--surface)
  );

  border: 1px solid color-mix(
    in srgb,
    var(--hot) 30%,
    var(--line)
  );

  color: var(--hot);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

/* İlan no */

.ilan-hero-info .ilan-no {
  color: #040e1a;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  opacity: .75;
}


/* =========================================================
   BAŞLIK
   ========================================================= */

.ilan-title-wrap {
  position: relative;

  padding-left: 16px;
}

/* Sol accent çizgi */

.ilan-title-wrap::before {
  content: "";

  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;

  width: 4px;

  border-radius: 999px;

  background: var(--accent);
}


/* Asıl başlık */

.ilan-title-wrap h1 {
  margin: 0;
  max-width: 1000px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 30px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.055em;
}


/* =========================================================
   KONUM
   ========================================================= */

.ilan-location {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 12px;
  padding-left: 16px;

  color: var(--muted);

  font-size: 14px;
  font-weight: 500;
}

.location-icon {
  width: 25px;
  height: 25px;

  display: grid;
  place-items: center;

  flex: none;

  border: 1px solid color-mix(
    in srgb,
    var(--accent) 20%,
    var(--line)
  );

  border-radius: 50%;

  background: color-mix(
    in srgb,
    var(--accent) 7%,
    var(--surface)
  );

  color: var(--accent-ink);

  font-size: 15px;
}


/* =========================================================
   MOBİL
   ========================================================= */

@media(max-width:640px) {

  .ilan-hero-info {
    margin-bottom: 13px;
  }

  .ilan-title-wrap {
    padding-left: 12px;
  }

  .ilan-title-wrap::before {
    width: 3px;
  }

  .ilan-title-wrap h1 {
    font-size: 27px;
    line-height: 1.12;
    letter-spacing: -.045em;
  }

  .ilan-location {
    padding-left: 12px;
    font-size: 12px;
  }
}

@media(max-width:420px) {

  .ilan-hero-top {
    align-items: flex-start;
  }

  .ilan-hero-info .ilan-no {
    font-size: 9px;
  }

  .ilan-title-wrap h1 {
    font-size: 24px;
  }
}

.breadcrumb {
  display:inline-flex;
  align-items:center;
  gap:8px;

  margin-bottom:20px;
  padding:7px 14px;

  background:color-mix(in srgb,var(--brand-2) 9%,var(--surface));
  border:1px solid color-mix(in srgb,var(--brand-2) 18%,var(--line));
  border-radius:999px;

  font-size:12px;
  line-height:1;
  color:var(--muted);

  box-shadow:0 5px 18px -14px rgba(14,26,43,.5);
}

.breadcrumb a {
  display:inline-flex;
  align-items:center;
  gap:5px;

  color:var(--brand-2);
  text-decoration:none;
  font-weight:700;

  transition:.15s ease;
}

.breadcrumb a:hover {
  color:var(--accent-ink);
}

.breadcrumb-home {
  display:grid;
  place-items:center;

  width:22px;
  height:22px;

  border-radius:50%;

  background:var(--brand-2);
  color:#fff;

  font-size:11px;
  line-height:1;
}

.breadcrumb-sep {
  color:color-mix(in srgb,var(--brand-2) 45%,var(--muted));
  font-size:15px;
  font-weight:700;
}

.breadcrumb-current {
  color:var(--ink);
  font-weight:600;

  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}


/* MOBİL */
@media(max-width:640px) {
  .breadcrumb {
    max-width:100%;
    gap:6px;
    margin-bottom:14px;
    padding:6px 10px;
    font-size:11px;
  }

  .breadcrumb-home {
    width:20px;
    height:20px;
    font-size:10px;
  }

  .breadcrumb-current {
    max-width:140px;
  }
}

.youtube-video-btn {
  grid-column:1 / -1;
  margin-top:4px;
}

.youtube-video-btn a {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  box-sizing:border-box;

  padding:11px 13px;

  border-radius:12px;
  border:1px solid #e5e5e5;

  background:#fff;
  color:#222;
  text-decoration:none;

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
}

.youtube-video-btn a:hover {
  transform:translateY(-1px);
  border-color:#ff0000;
  box-shadow:0 8px 20px -14px rgba(0,0,0,.45);
}

.youtube-icon {
  width:38px;
  height:28px;

  flex:none;

  display:grid;
  place-items:center;

  border-radius:8px;

  background:#ff0000;
  color:#fff;

  font-size:13px;
  padding-left:2px;
}

.youtube-video-btn a > span:nth-child(2) {
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.youtube-video-btn strong {
  font-size:12px;
  font-weight:800;
  color:#222;
}

.youtube-video-btn small {
  font-size:10px;
  color:#888;
}

.youtube-arrow {
  margin-left:auto;
  color:#999;
  font-size:24px;
  line-height:1;
}