@charset "UTF-8";
/* =====================================================================
   MF Gayrimenkul — Kompakt Tasarim Sistemi
   Ilke: sus degil karar hizi. Yogun liste, dort gercek her zaman gorunur,
   her satirda tek dokunusla iletisim.
   Harici kaynak yok; Archivo yerel woff2 olarak sunulur.
   Sinif sozlugu: docs/ui-classes.md
   ---------------------------------------------------------------------
   01 Yazi tipi          02 Tokenlar          03 Sifirlama
   04 Tipografi          05 Duzen             06 Butonlar
   07 Form ogeleri       08 Rozet ve cip      09 Bildirim
   10 Ust cubuk          11 Alt bilgi         12 Sayfa basligi
   13 Arama formu        14 Ilan satiri       15 Ilan karti (izgara)
   16 Filtre cubugu      17 Arac cubugu       18 Sayfalama
   19 Site haritasi      20 Ilan detayi       21 Danisman
   22 Zengin metin       23 Bos durum         24 Iletisim
   25 Karsilastirma      26 Hata sayfalari    27 Yazdirma
   ===================================================================== */

/* ---------------------------------------------------------------------
   01 Yazi tipi — Archivo degisken, yerel
   --------------------------------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------------
   02 Tokenlar — az ve anlamli
   --------------------------------------------------------------------- */
:root {
  /* Metin */
  --ink:      #0F1418;
  --ink-2:    #3B454E;
  --muted:    #6B7680;
  --muted-2:  #9AA4AD;

  /* Yuzey ve cizgi */
  --surface:   #FFFFFF;
  --surface-2: #F5F7F8;
  --surface-3: #EDF1F3;
  --line:      #E4E9ED;
  --line-2:    #EFF2F4;

  /* Marka — tek lacivert */
  --brand:     #0E2E4A;
  --brand-700: #17466E;
  --brand-50:  #E7EEF4;

  /* Anlam tasiyan iki renk: yesil yalniz WhatsApp, turuncu yalniz vurgu */
  --wa:      #1FA855;
  --wa-700:  #178C46;
  --flag:    #C2410C;
  --flag-50: #FEF3E2;
  --flag-70: #A85B12;

  /* Durum */
  --ok:     #15803D;
  --danger: #B4232A;

  /* Olcu */
  --radius:      8px;
  --radius-lg:  10px;
  --radius-sm:   6px;
  --radius-pill: 999px;

  --row-h:     104px;
  --ctrl-h:     36px;
  --ctrl-h-lg:  44px;
  --header-h:   56px;
  --wrap:     1240px;
  --gutter:     24px;

  --shadow-sm: 0 1px 2px rgba(15, 20, 24, .06);
  --shadow:    0 4px 14px rgba(15, 20, 24, .08);
  --shadow-lg: 0 -6px 18px rgba(15, 20, 24, .07);

  --font: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Consolas, monospace;

  color-scheme: light;
}

/* ---------------------------------------------------------------------
   03 Sifirlama ve taban
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; }
img { height: auto; border: 0; }
svg { display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(14, 46, 74, .38);
  outline-offset: 2px;
  border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px;
  border-radius: var(--radius); font-weight: 600; transition: top .12s;
}
.skip-link:focus-visible { top: 12px; color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Rakamlar hizali kalsin */
.n, .num, table.spec td, .prow-metric-v, .pd-price-v { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------------
   04 Tipografi
   --------------------------------------------------------------------- */
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; letter-spacing: -.01em; }
h4 { font-size: 14px; letter-spacing: -.005em; }
p  { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

.lbl {
  font-size: 10px; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted);
}
.small   { font-size: 12.5px; }
.muted   { color: var(--muted); }
.strong  { font-weight: 600; }
.mono    { font-family: var(--mono); font-size: 12px; }
.nowrap  { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------------------------------------------------------------
   05 Duzen
   --------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 780px; }

.stack   { display: flex; flex-direction: column; }
.row     { display: flex; align-items: center; }
.row-gap { display: flex; align-items: center; gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow    { flex-grow: 1; min-width: 0; }
.wrapf   { flex-wrap: wrap; }

.g4  { gap: 4px; }  .g6  { gap: 6px; }  .g8  { gap: 8px; }
.g12 { gap: 12px; } .g16 { gap: 16px; } .g24 { gap: 24px; }

.mt4 { margin-top: 4px; }  .mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.mb8 { margin-bottom: 8px; } .mb12 { margin-bottom: 12px; }
.mb16 { margin-bottom: 16px; } .mb24 { margin-bottom: 24px; }

.section { padding: 32px 0; }
.section-tight { padding: 20px 0; }
.divider { height: 1px; background: var(--line); }

.grid       { display: grid; gap: 16px; }
.grid-2     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3     { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4     { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.sticky-side  { position: sticky; top: calc(var(--header-h) + 16px); }

/* Bolum basligi */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.section-head-sub { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.section-head-link { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------------------------------------------------------------------
   06 Butonlar
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: var(--ctrl-h); padding: 0 14px;
  border: 1px solid transparent; border-radius: var(--radius);
  background: var(--surface); color: var(--ink-2);
  font-size: 13px; font-weight: 600; line-height: 1;
  white-space: nowrap; text-decoration: none;
  transition: background .12s, border-color .12s, color .12s;
}
.btn:hover { color: var(--ink); }
.btn .ic, .btn .ic-sm { flex-shrink: 0; }

.btn-primary  { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-wa       { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-700); color: #fff; }
.btn-outline  { border-color: var(--line); background: var(--surface); color: var(--ink-2); }
.btn-outline:hover { border-color: var(--muted-2); background: var(--surface-2); }
.btn-ghost    { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-dark     { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

.btn-lg   { height: var(--ctrl-h-lg); padding: 0 20px; font-size: 14.5px; }
.btn-sm   { height: 30px; padding: 0 10px; font-size: 12px; }
.btn-icon { width: var(--ctrl-h); padding: 0; }
.btn-icon.btn-lg { width: var(--ctrl-h-lg); }
.btn-block { display: flex; width: 100%; }
.btn[aria-pressed="true"], .btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.btn-group { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.btn-group .btn { border-radius: 0; border: 0; border-left: 1px solid var(--line); }
.btn-group .btn:first-child { border-left: 0; }

/* Yuzen WhatsApp */
.fab-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(31, 168, 85, .38);
}
.fab-wa:hover { background: var(--wa-700); color: #fff; }
.fab-wa .ic { width: 24px; height: 24px; }

.to-top {
  position: fixed; right: 16px; bottom: 78px; z-index: 89;
  width: 38px; height: 38px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.to-top.is-visible { display: flex; }

/* Ikon olcusu */
.ic    { width: 16px; height: 16px; }
.ic-sm { width: 13px; height: 13px; }
.ic-lg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------------
   07 Form ogeleri
   --------------------------------------------------------------------- */
.field { margin-bottom: 14px; }
.field-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.field-hint  { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field-error { font-size: 12px; color: var(--danger); margin-top: 5px; font-weight: 500; }
.req { color: var(--danger); }

.input, .select, .textarea {
  width: 100%; height: var(--ctrl-h-lg);
  padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
  font-size: 14px;
  transition: border-color .12s, box-shadow .12s;
}
.textarea { height: auto; min-height: 108px; padding: 10px 12px; line-height: 1.6; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 46, 74, .12);
}
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--danger); }

.select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7680' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 15px;
}

.input-icon { position: relative; }
.input-icon .ic { position: absolute; left: 12px; top: 50%; margin-top: -8px; color: var(--muted-2); pointer-events: none; }
.input-icon .input { padding-left: 36px; }

.check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--brand); flex-shrink: 0; cursor: pointer; }

.range-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.range-sep { color: var(--muted-2); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------------
   08 Rozet ve cip
   --------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 8px; border-radius: var(--radius-sm);
  background: var(--surface-3); color: var(--ink-2);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap;
}
.badge-brand  { background: var(--brand-50); color: var(--brand); }
.badge-flag   { background: var(--flag-50); color: var(--flag-70); }
.badge-ok     { background: #E6F4EC; color: var(--ok); }
.badge-danger { background: #FBEAEA; color: var(--danger); }
.badge-solid  { background: var(--brand); color: #fff; }
.badge-dark   { background: rgba(15, 20, 24, .78); color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: var(--radius-sm);
  background: var(--surface-3); color: var(--ink-2);
  font-size: 11.5px; font-weight: 500; white-space: nowrap;
}
.chip .ic-sm { color: var(--brand); }
.chip-ok { background: #E6F4EC; color: var(--ok); font-weight: 600; }
.chip-ok .ic-sm { color: var(--ok); }

.chip-remove {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 6px 4px 11px; border-radius: var(--radius-pill);
  background: var(--brand-50); color: var(--brand);
  font-size: 12px; font-weight: 600; border: 0;
}
.chip-remove:hover { background: #D8E5EF; }
.chip-remove .ic-sm { opacity: .6; color: currentColor; }

.pill-count { font-variant-numeric: tabular-nums; opacity: .62; font-weight: 500; }

/* ---------------------------------------------------------------------
   09 Bildirim
   --------------------------------------------------------------------- */
.flash-area { position: sticky; top: var(--header-h); z-index: 60; }
.flash {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 14px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  font-size: 13.5px; box-shadow: var(--shadow-sm);
  margin: 12px 0;
}
.flash .ic { flex-shrink: 0; margin-top: 1px; }
.flash-success { border-color: #BFE3CE; background: #F1FAF4; color: #14532D; }
.flash-error   { border-color: #F0C4C4; background: #FDF2F2; color: #7F1D1D; }
.flash-warning { border-color: #F0DCB4; background: var(--flag-50); color: #7A430D; }
.flash-info    { border-color: #C7DAE8; background: var(--brand-50); color: var(--brand); }
.flash-close { margin-left: auto; background: transparent; border: 0; color: inherit; opacity: .55; padding: 0; }
.flash-close:hover { opacity: 1; }

/* ---------------------------------------------------------------------
   10 Ust cubuk — tek satir, 56 px
   --------------------------------------------------------------------- */
.topline {
  background: #0A2439; color: rgba(255, 255, 255, .78);
  font-size: 12px; line-height: 1;
}
.topline-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 32px; }
.topline a { color: rgba(255, 255, 255, .82); }
.topline a:hover { color: #fff; }
.topline-links { display: flex; align-items: center; gap: 16px; }
.topline-social { display: flex; align-items: center; gap: 4px; }

/* Ikon baglantilari: simge 14 px kalir ama tiklama alani 24 px olur. */
.topline-ic {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 4px;
  transition: background .12s;
}
.topline-ic:hover { background: rgba(255, 255, 255, .14); }

/* Emlak portallari: simge degil, okunur ad. Musteri kelimeyi arar. */
.topline-portal {
  display: inline-flex; align-items: center; height: 20px;
  padding: 0 8px; margin-right: 2px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .26);
  font-size: 11px; font-weight: 600; letter-spacing: .01em;
  color: rgba(255, 255, 255, .92); white-space: nowrap;
  transition: background .12s, border-color .12s;
}
.topline-portal:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.topline .ic-sm { width: 14px; height: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 70;
  background: var(--brand); color: #fff;
}
.site-header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; display: block; }
.mobile-nav-top .brand-mark { width: 32px; height: 32px; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
.brand-img { height: 30px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  height: var(--header-h); padding: 0 11px; white-space: nowrap;
  color: rgba(255, 255, 255, .86); font-size: 13.5px; font-weight: 500;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-link.is-active { color: #fff; border-bottom-color: #fff; }

.nav-drop-wrap { position: relative; display: flex; }
.nav-drop {
  position: absolute; left: 0; top: 100%; z-index: 80;
  min-width: 232px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: none;
}
.nav-drop-wrap.is-open .nav-drop { display: block; }
.nav-drop-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-size: 13.5px; font-weight: 500;
}
.nav-drop-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-drop-link.is-active { background: var(--brand-50); color: var(--brand); }
.nav-drop-count { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.nav-drop-sep { height: 1px; background: var(--line); margin: 5px 0; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search-btn {
  width: 34px; height: 34px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .12); border: 0; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.header-search-btn:hover { background: rgba(255, 255, 255, .2); }
.header-tel {
  display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px;
  border-radius: var(--radius); background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.header-tel:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.header-wa {
  display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px;
  border-radius: var(--radius); background: var(--wa); color: #fff;
  font-size: 13px; font-weight: 600;
}
.header-wa:hover { background: var(--wa-700); color: #fff; }

.burger {
  display: none; width: 38px; height: 38px; border: 0; border-radius: var(--radius);
  background: rgba(255, 255, 255, .12); color: #fff;
  align-items: center; justify-content: center;
}

/* Acilir arama seridi */
.header-search {
  display: none; background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.header-search.is-open { display: block; }
.header-search form { display: flex; gap: 8px; }

/* Mobil menu */
.mobile-nav {
  position: fixed; inset: 0; z-index: 100; background: var(--surface);
  display: none; flex-direction: column;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 16px; background: var(--brand); color: #fff; }
.mobile-nav-body { flex-grow: 1; overflow-y: auto; padding: 8px 0 24px; }
.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; font-size: 15.5px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav-link.is-active { color: var(--brand); font-weight: 600; }
.mobile-sub { background: var(--surface-2); }
.mobile-sub .mobile-nav-link { padding-left: 34px; font-size: 14px; color: var(--ink-2); }
.mobile-nav-foot { padding: 14px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; }

/* ---------------------------------------------------------------------
   11 Alt bilgi
   --------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .70); font-size: 13px; margin-top: 32px; }
.site-footer a { color: rgba(255, 255, 255, .80); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 34px 0 28px; }
.footer-title { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: #fff; margin-bottom: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 9px; }
.footer-contact-row .ic { flex-shrink: 0; margin-top: 2px; color: rgba(255, 255, 255, .45); }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: var(--radius); background: rgba(255, 255, 255, .09);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: rgba(255, 255, 255, .17); }

/* Alt bilgide portallar tam cumleyle: "Sahibinden'deki ilanlarimiz" */
.footer-portals { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.footer-portal {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .82);
}
.footer-portal:hover { color: #fff; text-decoration: underline; }
.footer-portal .ic-sm { flex-shrink: 0; opacity: .75; }

/* Mobil menude portal ve sosyal blogu (ust serit orada gizli). */
.mobile-nav-social { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.mobile-nav-icons { display: flex; gap: 8px; padding: 10px 16px 4px; }
.mobile-nav-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  border: 1px solid var(--line); color: var(--ink-2);
}
.mobile-nav-icons a:hover { border-color: var(--muted-2); color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .11); padding: 14px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 12px; color: rgba(255, 255, 255, .5);
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal .n { color: rgba(255, 255, 255, .78); }

/* ---------------------------------------------------------------------
   12 Sayfa basligi — kompakt, hero degil
   --------------------------------------------------------------------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 0 20px; }
.page-head-title { font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.page-head-sub { margin: 6px 0 0; font-size: 14px; color: var(--muted); max-width: 78ch; }
.page-head-meta { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* Ana sayfa kahramani: kompakt, arama one cikar.
   Arka plan gorseli --hero-img ozel ozelliginden gelir (sablon doldurur);
   uzerine okunabilirlik perdesi cizilir. */
.hero {
  position: relative; isolation: isolate;
  background: var(--brand); color: #fff; padding: 34px 0 0;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,46,74,.94) 0%, rgba(14,46,74,.74) 42%, rgba(14,46,74,.42) 100%),
    linear-gradient(180deg, rgba(14,46,74,.35) 0%, rgba(14,46,74,.10) 34%, rgba(14,46,74,.86) 100%);
}
.hero > * { position: relative; }
.hero-title { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; max-width: 20ch; }
.hero-sub { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 56ch; }
.hero-stats { display: flex; gap: 26px; margin-top: 16px; flex-wrap: wrap; }
.hero-stat-v { font-size: 21px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stat-k { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hero-search-wrap { margin-top: 22px; transform: translateY(1px); }

/* Kapak katmanlari — yalnizca birden fazla aktif slayt varken cizilir.
   Katmanlar perdenin (::after) ALTINDA durur; capraz gecis opaklikla yapilir.
   ".hero > *" kuralini ezmek icin secici bilerek daha ozeldir. */
.hero > .hero-layers { position: absolute; inset: 0; z-index: -2; }
.hero-layer {
  position: absolute; inset: 0; opacity: 0;
  background-image: var(--l, none);
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
  transition: opacity .7s ease;
}
.hero-layer.is-on { opacity: 1; }

/* Kapak metinleri. Birden fazla kapakta hepsi ayni gride yiginlanir:
   bolumun yuksekligi en uzun metne gore sabitlenir, gecis sirasinda kaymaz. */
.hero-copy-stack { display: grid; }
.hero-copy-stack > .hero-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.hero-copy-stack > .hero-slide.is-on {
  opacity: 1; visibility: visible;
  transition: opacity .45s ease .12s, visibility 0s;
}
.hero-slide .hero-title { margin: 0; }

.hero-cta-wrap { margin: 14px 0 0; }
.hero-cta {
  display: inline-flex; align-items: center; height: var(--ctrl-h);
  padding: 0 16px; border-radius: var(--radius);
  background: #fff; color: var(--brand);
  font-size: 13.5px; font-weight: 700; letter-spacing: -.01em;
  transition: background .12s;
}
.hero-cta:hover { background: rgba(255, 255, 255, .86); }

.hero-dots { display: flex; gap: 6px; margin-top: 14px; }
.hero-dot {
  width: 22px; height: 4px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, .34); cursor: pointer;
  transition: background .18s, width .18s;
}
.hero-dot.is-on { background: #fff; width: 34px; }
.hero-dot:hover { background: rgba(255, 255, 255, .62); }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------------------------------------------------------------------
   13 Arama formu
   --------------------------------------------------------------------- */
.searchbar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 12px; box-shadow: var(--shadow);
}
.searchbar-tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.searchbar-tab {
  flex-grow: 1; height: 34px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.searchbar-tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.searchbar-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 8px; align-items: end; }
.searchbar .field { margin: 0; }

/* ---------------------------------------------------------------------
   14 ILAN SATIRI — sistemin kalbi (104 px)
   --------------------------------------------------------------------- */
.plist { display: flex; flex-direction: column; gap: 8px; }

.prow {
  display: flex; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .12s, box-shadow .12s;
}
.prow:hover { border-color: var(--muted-2); box-shadow: var(--shadow-sm); }
.prow.is-selected { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.prow.is-sold { opacity: .72; }

.prow-media { position: relative; width: 148px; flex-shrink: 0; background: var(--surface-3); }
.prow-media img { width: 148px; height: var(--row-h); object-fit: cover; display: block; }
.prow-photos {
  position: absolute; left: 6px; bottom: 6px;
  background: rgba(15, 20, 24, .78); color: #fff;
  font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px;
  display: flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums;
}
.prow-flag { position: absolute; left: 6px; top: 6px; }

.prow-main {
  flex-grow: 1; min-width: 0;
  padding: 11px 16px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.prow-title { font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1.28; color: var(--ink); }
.prow-title:hover { color: var(--brand); }
.prow-place { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.prow-place .ic-sm { flex-shrink: 0; }
.prow-dot { color: #C3CCD3; }
.prow-chips { display: flex; gap: 5px; flex-wrap: wrap; }

.prow-metrics { display: flex; align-items: center; border-left: 1px solid var(--line-2); flex-shrink: 0; }
.prow-metric { width: 100px; text-align: center; padding: 0 8px; }
.prow-metric + .prow-metric { width: 82px; border-left: 1px solid var(--line-2); }
.prow-metric-v { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.prow-metric-k { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.prow-side {
  width: 216px; flex-shrink: 0; border-left: 1px solid var(--line-2);
  padding: 11px 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.prow-price { font-size: 17px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.prow-price.is-ask { font-size: 15px; color: var(--muted); }
.prow-unit { font-size: 11.5px; color: var(--muted); margin-top: 1px; font-variant-numeric: tabular-nums; }
.prow-actions { display: flex; gap: 6px; }
.prow-actions .btn { height: 34px; font-size: 12.5px; }
.prow-actions .btn-icon { width: 34px; }

/* ---------------------------------------------------------------------
   15 Ilan karti — izgara gorunumu
   --------------------------------------------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.pcard {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .12s, box-shadow .12s;
}
.pcard:hover { border-color: var(--muted-2); box-shadow: var(--shadow-sm); }
.pcard-media { position: relative; background: var(--surface-3); }
.pcard-media img { width: 100%; height: 168px; object-fit: cover; display: block; }
.pcard-flags { position: absolute; left: 8px; top: 8px; display: flex; gap: 5px; }
.pcard-photos { position: absolute; right: 8px; bottom: 8px; }
.pcard-body { padding: 11px 13px 12px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.pcard-title { font-size: 14.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; color: var(--ink); }
.pcard-title:hover { color: var(--brand); }
.pcard-place { font-size: 12.5px; color: var(--muted); }
.pcard-metrics { display: flex; align-items: baseline; gap: 7px; font-variant-numeric: tabular-nums; }
.pcard-m2 { font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
.pcard-unit { font-size: 11.5px; color: var(--muted); }
.pcard-foot {
  margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.pcard-price { font-size: 15.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pcard-price.is-ask { font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* ---------------------------------------------------------------------
   16 Filtre cubugu — ustte, yapiskan
   --------------------------------------------------------------------- */
.filterbar {
  position: sticky; top: var(--header-h); z-index: 55;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.filterbar-in { display: flex; align-items: center; gap: 8px; padding: 9px 0; flex-wrap: wrap; }
.filterbar-search { width: 236px; flex-shrink: 0; }
.filterbar-search .input { height: var(--ctrl-h); font-size: 13px; }
.filterbar-search .input-icon .ic { margin-top: -8px; }

.fdrop { position: relative; }
.fdrop-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: var(--ctrl-h); padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink-2);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.fdrop-toggle:hover { border-color: var(--muted-2); }
.fdrop-toggle .ic-sm { opacity: .55; }
.fdrop-toggle.is-set { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.fdrop-toggle.is-set .ic-sm { opacity: .8; }
.fdrop-panel {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 80;
  min-width: 264px; max-height: 340px; overflow-y: auto;
  padding: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: none;
}
.fdrop.is-open .fdrop-panel { display: block; }
.fdrop-panel .field:last-child { margin-bottom: 0; }
.fdrop-list { display: flex; flex-direction: column; gap: 2px; }
.fdrop-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 8px; border-radius: var(--radius-sm); font-size: 13.5px; cursor: pointer;
}
.fdrop-item:hover { background: var(--surface-2); }
.fdrop-foot { display: flex; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }

/* Mobil filtre sayfasi */
.filter-sheet-btn { display: none; }
.filter-sheet {
  position: fixed; inset: 0; z-index: 110; background: rgba(15, 20, 24, .45);
  display: none; align-items: flex-end;
}
.filter-sheet.is-open { display: flex; }
.filter-sheet-panel {
  width: 100%; max-height: 88vh; background: var(--surface);
  border-radius: 18px 18px 0 0; display: flex; flex-direction: column;
}
.filter-sheet-grip { width: 38px; height: 4px; border-radius: 999px; background: var(--line); margin: 12px auto 0; }
.filter-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 0; }
.filter-sheet-body { flex-grow: 1; overflow-y: auto; padding: 16px; }
.filter-sheet-foot { padding: 12px 16px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------------
   17 Arac cubugu — sonuc sayisi, aktif filtreler, siralama
   --------------------------------------------------------------------- */
.toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 0; flex-wrap: wrap; }
.toolbar-count { font-size: 14px; }
.toolbar-count strong { font-variant-numeric: tabular-nums; }
.toolbar-sep { width: 1px; height: 14px; background: var(--line); }
.toolbar-actives { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.toolbar-sort { height: var(--ctrl-h); font-size: 13px; width: auto; padding-right: 32px; }
.view-toggle .btn { width: var(--ctrl-h); height: var(--ctrl-h); }

/* ---------------------------------------------------------------------
   18 Sayfalama
   --------------------------------------------------------------------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 22px 0 6px; flex-wrap: wrap; }
.page-link {
  min-width: var(--ctrl-h); height: var(--ctrl-h); padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink-2);
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.page-link:hover { border-color: var(--muted-2); color: var(--ink); }
.page-link.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-gap { color: var(--muted-2); padding: 0 4px; }
.page-summary { text-align: center; font-size: 12.5px; color: var(--muted); padding-bottom: 18px; }

/* ---------------------------------------------------------------------
   19 Site haritasi (breadcrumb)
   --------------------------------------------------------------------- */
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); padding: 10px 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs .ic-sm { color: #C3CCD3; }
.crumbs-current { color: var(--ink-2); font-weight: 500; }

/* ---------------------------------------------------------------------
   20 Ilan detayi
   --------------------------------------------------------------------- */
.pd-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 0 18px; }
.pd-flags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }
.pd-title { font-size: 25px; font-weight: 700; letter-spacing: -.025em; line-height: 1.18; max-width: 46ch; }
.pd-place { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.pd-head-actions { display: flex; gap: 6px; }

.pd-body { padding: 20px 0 8px; }

/* Fiyat + olcu bloklari: katlamanin ustunde */
.pd-facts {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px;
}
.pd-price {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.pd-price-v { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.pd-price-v.is-ask { font-size: 19px; color: var(--muted); }
.pd-price-u { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pd-metrics { display: flex; }
.pd-metric { flex-grow: 1; text-align: center; padding: 13px 6px; border-left: 1px solid var(--line-2); }
.pd-metric:first-child { border-left: 0; }
.pd-metric-v { font-size: 18px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pd-metric-k { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* Galeri */
.gallery { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.gallery-main { position: relative; background: var(--ink); }
.gallery-main img { width: 100%; height: 440px; object-fit: cover; display: block; cursor: zoom-in; }
.gallery-counter { position: absolute; right: 12px; bottom: 12px; }
.gallery-zoom { top: 12px; right: 12px; margin-top: 0; }
.gallery-nav {
  position: absolute; top: 50%; margin-top: -19px; width: 38px; height: 38px;
  border-radius: var(--radius-pill); border: 0; background: rgba(15, 20, 24, .55); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.gallery-nav:hover { background: rgba(15, 20, 24, .78); }
.gallery-prev { left: 12px; } .gallery-next { right: 12px; }
.gallery-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.gallery-thumb {
  width: 84px; height: 60px; flex-shrink: 0; padding: 0; border: 2px solid transparent;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-3);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.is-active { border-color: var(--brand); }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10, 12, 14, .94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: calc(100vw - 132px); max-height: 88vh; object-fit: contain; }
.lightbox-close, .lightbox-nav {
  position: absolute; width: 44px; height: 44px; border-radius: var(--radius-pill); border: 0;
  background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox-close { right: 16px; top: 16px; }
.lightbox-nav { top: 50%; margin-top: -22px; }
.lightbox-prev { left: 16px; } .lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 12.5px; font-weight: 600;
}

/* Bloklar */
.pd-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; margin-bottom: 16px; }
.pd-block-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.pd-block-title .ic { color: var(--muted); }

/* Kunye tablosu */
.spec { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec tr { border-bottom: 1px solid var(--line-2); }
.spec tr:last-child { border-bottom: 0; }
.spec td { padding: 8px 0; vertical-align: top; }
.spec td:nth-child(odd) { color: var(--muted); width: 24%; }
.spec td:nth-child(even) { font-weight: 600; width: 26%; padding-right: 16px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 16px; }
.feature-item { display: flex; align-items: center; gap: 7px; font-size: 13.5px; }
.feature-item .ic-sm { color: var(--ok); flex-shrink: 0; }
.feature-group-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.feature-group-title:first-child { margin-top: 0; }

.pd-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pd-map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* Danisman kutusu */
.agentbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; }
.agentbox-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.agentbox-photo { width: 52px; height: 52px; border-radius: var(--radius-pill); object-fit: cover; background: var(--surface-3); flex-shrink: 0; }
.agentbox-ph { width: 52px; height: 52px; border-radius: var(--radius-pill); background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.agentbox-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.agentbox-role { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.agentbox-actions { display: flex; flex-direction: column; gap: 7px; }
.agentbox-note { font-size: 11.5px; line-height: 1.5; color: var(--muted); text-align: center; margin-top: 12px; }

.pd-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; margin-top: 12px; }

/* Yapiskan mobil aksiyon */
.pd-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 9px 12px; display: none; gap: 8px; box-shadow: var(--shadow-lg);
}
.pd-sticky .btn { flex-grow: 1; height: 46px; font-size: 14.5px; }

/* ---------------------------------------------------------------------
   21 Danisman
   --------------------------------------------------------------------- */
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.acard-top { display: flex; align-items: center; gap: 12px; }
.acard-name { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.acard-role { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.acard-bio { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.acard-rows { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.acard-row { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.acard-row .ic-sm { color: var(--muted-2); flex-shrink: 0; }
.acard-actions { display: flex; gap: 7px; margin-top: auto; padding-top: 4px; }

.aprofile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: start; }
.aprofile-photo { width: 96px; height: 96px; border-radius: var(--radius-lg); object-fit: cover; background: var(--surface-3); }

/* ---------------------------------------------------------------------
   22 Zengin metin
   --------------------------------------------------------------------- */
.prose { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 19px; margin: 24px 0 10px; color: var(--ink); }
.prose h3 { font-size: 16px; margin: 20px 0 8px; color: var(--ink); }
.prose h4 { font-size: 14.5px; margin: 16px 0 6px; color: var(--ink); }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; }
.prose li { margin-bottom: 5px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { margin: 0 0 12px; padding: 2px 0 2px 14px; border-left: 3px solid var(--brand-50); color: var(--muted); }
.prose img { border-radius: var(--radius); margin: 8px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 13.5px; }
.prose th, .prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose hr { margin: 20px 0; }

/* ---------------------------------------------------------------------
   23 Kart, panel, bos durum
   --------------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card-pad { padding: 16px 18px; }
.card-head { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }

.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 40px 24px; text-align: center; }
.empty-icon { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--muted-2); }
.empty-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.empty-text { margin: 6px auto 16px; font-size: 13.5px; color: var(--muted); max-width: 52ch; }

/* Sayilar seridi */
.statbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.statbar-item { padding: 14px 16px; border-left: 1px solid var(--line-2); }
.statbar-item:first-child { border-left: 0; }
.statbar-v { font-size: 21px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.statbar-k { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* Kategori / bolge kutucuklari */
.tilegrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tile {
  display: flex; align-items: center; gap: 9px; padding: 11px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink-2); font-size: 13.5px; font-weight: 500;
}
.tile:hover { border-color: var(--brand); color: var(--brand); }
.tile .ic { color: var(--muted); flex-shrink: 0; }
.tile:hover .ic { color: var(--brand); }
.tile-count { margin-left: auto; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.linkrow { display: flex; flex-wrap: wrap; gap: 6px; }
.linkrow a {
  display: inline-flex; align-items: baseline; gap: 5px;
  padding: 5px 10px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.linkrow a:hover { border-color: var(--brand); color: var(--brand); }

/* Surec adimlari */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; }
.step-n { font-size: 12px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.step-t { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; margin-top: 6px; }
.step-d { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 5px; }

/* SSS */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  padding: 14px 18px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 11px; height: 11px; flex-shrink: 0;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-body { padding: 0 18px 15px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }

/* Cagri seridi */
.cta { background: var(--ink); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; flex-wrap: wrap; }
.cta-title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.cta-sub { margin: 5px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .66); }
.cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   24 Iletisim
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
.contact-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.contact-k { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-v { font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------------------------------------------------------------------
   25 Karsilastirma cubugu
   --------------------------------------------------------------------- */
.comparebar {
  position: sticky; bottom: 12px; z-index: 58;
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg); padding: 11px 14px;
  display: none; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 8px 26px rgba(15, 20, 24, .28);
}
.comparebar.is-open { display: flex; }
.comparebar-items { display: flex; gap: 7px; flex-wrap: wrap; }
.comparebar-item { font-size: 12px; background: rgba(255, 255, 255, .12); border-radius: var(--radius-sm); padding: 4px 9px; font-variant-numeric: tabular-nums; }
.comparebar-actions { display: flex; gap: 8px; }

/* ---------------------------------------------------------------------
   26 Hata sayfalari
   --------------------------------------------------------------------- */
.errorpage { text-align: center; padding: 64px 20px 48px; }
.errorpage-code { font-size: 68px; font-weight: 700; letter-spacing: -.05em; color: var(--brand-50); line-height: 1; }
.errorpage-title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.errorpage-text { margin: 10px auto 22px; font-size: 14.5px; color: var(--muted); max-width: 56ch; }
.errorpage-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Duyarli davranis
   --------------------------------------------------------------------- */
@media (max-width: 1180px) {
  /* Menu ile aksiyonlar sigmiyor: telefon dugmesi duser, WhatsApp kalir */
  .header-tel { display: none; }
  .nav { margin-left: 4px; }
  .nav-link { padding: 0 8px; font-size: 13px; }
  .brand-name { font-size: 15px; }
}

@media (max-width: 1100px) {
  .pgrid, .agrid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tilegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; }
  .footer-grid > :nth-child(3) { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .nav, .header-tel, .topline { display: none; }
  .burger { display: flex; }
  .grid-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sticky-side { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .aprofile { grid-template-columns: 76px 1fr; }
  .aprofile > :last-child { grid-column: 1 / -1; }
  .searchbar-row { grid-template-columns: 1fr 1fr; }
  .searchbar-row > :first-child { grid-column: 1 / -1; }
  .searchbar-row > :last-child { grid-column: 1 / -1; }
  .hero-title { font-size: 28px; }
  .gallery-main img { height: 300px; }
  .pd-title { font-size: 21px; }
  .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statbar-item:nth-child(3) { border-left: 0; }
  .statbar-item:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}

@media (max-width: 760px) {
  :root { --ctrl-h: 40px; --ctrl-h-lg: 48px; --row-h: 116px; }

  /* Satir mobilde dikey duzene gecer */
  .prow { flex-wrap: wrap; }
  .prow-media { width: 116px; }
  .prow-media img { width: 116px; height: var(--row-h); }
  .prow-main { padding: 10px 12px; gap: 4px; }
  .prow-title { font-size: 14px; }
  .prow-chips { display: none; }
  .prow-metrics {
    order: 3; width: 100%; border-left: 0; border-top: 1px solid var(--line-2);
  }
  .prow-metric, .prow-metric + .prow-metric { flex-grow: 1; width: auto; padding: 9px 8px; }
  .prow-metric + .prow-metric { border-left: 1px solid var(--line-2); }
  .prow-side {
    order: 4; width: 100%; border-left: 0; border-top: 1px solid var(--line-2);
    flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 12px;
  }
  .prow-actions { flex-shrink: 0; }

  .pgrid, .agrid, .feature-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .tilegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-grid > :nth-child(3) { display: block; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Filtre: cubuk gizlenir, sayfa acilir */
  .filterbar-in > .fdrop, .filterbar-search { display: none; }
  .filter-sheet-btn { display: inline-flex; }
  .toolbar-right { width: 100%; margin-left: 0; }
  .toolbar-sort { flex-grow: 1; }

  .spec td:nth-child(odd) { width: 42%; }
  .spec td:nth-child(even) { width: 58%; padding-right: 0; }
  .spec tr { display: grid; grid-template-columns: 42% 58%; }
  .spec tr td:nth-child(3), .spec tr td:nth-child(4) { border-top: 1px solid var(--line-2); }

  /* Buyutec: dar ekranda dugmeler alt koselere, fotograf tam genislik */
  .lightbox img { max-width: 100vw; max-height: 80vh; }
  .lightbox-nav { top: auto; bottom: 14px; margin-top: 0; }
  .lightbox-prev { left: 14px; } .lightbox-next { right: 14px; }
  .lightbox-counter { bottom: 24px; }

  .pd-sticky { display: flex; }
  body.has-sticky-bar { padding-bottom: 68px; }
  .fab-wa, .to-top { display: none !important; }

  .hero { padding-top: 24px; }
  .hero::before { background-image: var(--hero-img-sm, var(--hero-img, none)); background-position: center 55%; }
  .hero-layer { background-image: var(--l-sm, var(--l, none)); background-position: center 55%; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(14,46,74,.72) 0%, rgba(14,46,74,.58) 38%, rgba(14,46,74,.92) 100%);
  }
  .hero-title { font-size: 24px; }
  .page-head-title { font-size: 21px; }
  .errorpage-code { font-size: 54px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .prow-media { width: 96px; }
  .prow-media img { width: 96px; }
  .searchbar-row { grid-template-columns: 1fr; }
  .prow-side { flex-wrap: wrap; gap: 8px; }
}

/* ---------------------------------------------------------------------
   27 Yazdirma ve hareket tercihi
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

@media print {
  :root { --wrap: 100%; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .topline, .filterbar, .toolbar, .pagination, .cta, .site-footer,
  .fab-wa, .to-top, .pd-sticky, .comparebar, .gallery-thumbs, .gallery-nav,
  .pd-head-actions, .agentbox-actions, .pd-form, .no-print { display: none !important; }
  .card, .prow, .pcard, .pd-block, .pd-facts, .gallery { border-color: #bbb; box-shadow: none; break-inside: avoid; }
  .gallery-main img { height: auto; max-height: 90mm; }
  a { color: #000; text-decoration: none; }
  .prose a::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}

/* ---------------------------------------------------------------------
   28 Giris ekrani — yonetim paneli, tek kutu, sade
   --------------------------------------------------------------------- */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 16px;
  background: var(--surface-2);
}

.login-box {
  width: 100%; max-width: 400px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.login-brand {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-align: center; margin-bottom: 18px;
}
.login-brand .brand-mark { width: 64px; height: 64px; }
.login-brand .brand-name { color: var(--ink); }

.login-title { font-size: 18px; text-align: center; }
.login-sub   { margin: 5px 0 18px; font-size: 13px; color: var(--muted); text-align: center; }

/* Kilit uyarisi — .flash-warning ile ayni renkler */
.login-locked {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 14px; margin-bottom: 16px;
  border: 1px solid #F0DCB4; border-radius: var(--radius);
  background: var(--flag-50); color: #7A430D;
  font-size: 13px; line-height: 1.5;
}
.login-locked .ic { flex-shrink: 0; margin-top: 1px; }

/* Kilitliyken pasif alanlar */
.login-box .input[disabled],
.login-box .check input[disabled],
.login-box .btn[disabled] { opacity: .55; cursor: not-allowed; }

.login-foot {
  margin: 16px 0 0; padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--muted); text-align: center;
}
.login-foot a { font-weight: 600; }

@media (max-width: 480px) {
  .login-page { align-items: flex-start; padding: 16px 12px; }
  .login-box  { max-width: none; padding: 18px; }
}

/* ---------------------------------------------------------------------
   29 Guvenlik kodu (CAPTCHA)
   Rakam tabanli, kendi uretimimiz. Gorsel + yenile + giris tek satirda.
   --------------------------------------------------------------------- */
.captcha-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.captcha-img {
  width: 168px; height: 52px; flex-shrink: 0; display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-2);
  image-rendering: -webkit-optimize-contrast;
  user-select: none; -webkit-user-select: none;
}

.captcha-refresh { flex-shrink: 0; height: var(--ctrl-h-lg); width: var(--ctrl-h-lg); }
.captcha-refresh .ic { transition: transform .35s; }
.captcha-refresh.is-busy .ic { transform: rotate(180deg); }

.captcha-input {
  flex-grow: 1; min-width: 116px; max-width: 180px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .22em; font-weight: 600; font-size: 17px; text-align: center;
}
.captcha-input::placeholder { letter-spacing: normal; font-weight: 400; font-size: 14px; }

.captcha.has-error .captcha-img { border-color: var(--danger); }

@media (prefers-reduced-motion: reduce) {
  .captcha-refresh .ic { transition: none; }
}

@media (max-width: 420px) {
  .captcha-input { max-width: none; width: 100%; }
}
