/* ── arabavev.com — Ana Stil Dosyası ──────────────────────────────── */
:root {
  --primary:    #e84c1e;
  --primary-dk: #c73d14;
  --bg:         #f4f5f7;
  --card:       #ffffff;
  --border:     #e2e4e8;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --sidebar-w:  260px;
  --radius:     10px;
  --shadow:     0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Kampanya Banneri ─────────────────────────────────────────────── */
.campaign-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.campaign-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,.03) 20px,
    rgba(255,255,255,.03) 40px
  );
}
.campaign-banner .inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.campaign-banner .badge {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.campaign-banner .msg {
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .2px;
}
.campaign-banner .msg span { color: #ffd700; }
.campaign-banner .cta {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.campaign-banner .cta:hover { background: var(--primary-dk); }

/* ── Header ───────────────────────────────────────────────────────── */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(232,76,30,.3);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  height: 56px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
  white-space: nowrap;
  justify-self: start;
}
.logo span { color: #ffd700; }

/* Search tam ortada */
.header-search { justify-self: center; width: 100%; max-width: 520px; }

/* Actions sağa hizalı */
.header-actions { justify-self: end; }

/* Header Search Bar */
.header-search {
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 24px;
  overflow: hidden;
  transition: background .2s, border-color .2s;
  margin: 0 16px;
}
.header-search:focus-within {
  background: #fff;
  border-color: #fff;
}
.header-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #fff;
  min-width: 0;
}
.header-search:focus-within input { color: var(--text); }
.header-search input::placeholder { color: rgba(255,255,255,.7); }
.header-search:focus-within input::placeholder { color: var(--muted); }
/* Değer varken (arama sonucu sayfasında) arka planı beyaz yap */
.header-search.has-value {
  background: #fff;
  border-color: #fff;
}
.header-search.has-value input { color: var(--text); }
.header-search.has-value input::placeholder { color: var(--muted); }
.header-search.has-value button { background: var(--primary); color: #fff; }
.header-search button {
  background: rgba(255,255,255,.2);
  border: none;
  padding: 9px 14px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  transition: background .15s;
  flex-shrink: 0;
}
.header-search:focus-within button { background: var(--primary); color: #fff; }
.header-search button:hover { background: rgba(255,255,255,.3); }
.header-search:focus-within button:hover { background: var(--primary-dk); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-ilan {
  background: #ffd700;
  color: #1a1a2e;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}
.btn-ilan:hover { opacity: .88; }

.btn-admin {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.btn-admin:hover { background: rgba(255,255,255,.25); }

/* ── Header İkon Butonları ─────────────────────────── */
.hdr-icon-btn {
  position: relative;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.hdr-icon-btn:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.5); }
.hdr-icon-btn svg  { width: 17px; height: 17px; fill: currentColor; display: block; }

.hdr-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 16px; height: 16px;
  background: #ffd700; color: #1a1a2e;
  font-size: 10px; font-weight: 900;
  border-radius: 10px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--primary);
  line-height: 1;
}

/* ── Kullanıcı Avatarı ─────────────────────────────── */
.hdr-user {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; flex-shrink: 0;
}
.hdr-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff;
  transition: background .15s;
  flex-shrink: 0;
}
.hdr-user:hover .hdr-avatar { background: rgba(255,255,255,.38); }
.hdr-username {
  font-size: 12px; font-weight: 700; color: #fff;
  white-space: nowrap; max-width: 80px;
  overflow: hidden; text-overflow: ellipsis;
}
.hdr-user-arr { font-size: 9px; color: rgba(255,255,255,.7); transition: transform .2s; }
.hdr-user.open .hdr-user-arr { transform: rotate(180deg); }

/* ── Kullanıcı Dropdown ────────────────────────────── */
.hdr-dropdown {
  display: none; position: absolute;
  top: calc(100% + 10px); right: 0;
  min-width: 200px; background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  border: 1px solid var(--border);
  overflow: hidden; z-index: 200;
}
.hdr-user.open .hdr-dropdown { display: block; }
.hdr-drop-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.hdr-drop-name { font-size: 13px; font-weight: 800; color: var(--text); }
.hdr-drop-email { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.hdr-drop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 13px; color: var(--text);
  transition: background .12s; cursor: pointer;
  text-decoration: none;
}
.hdr-drop-item:hover { background: #fef2ed; color: var(--primary); }
.hdr-drop-item .ddi { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.hdr-drop-item .ddi-badge {
  margin-left: auto; background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 800; padding: 1px 6px;
  border-radius: 8px;
}
.hdr-drop-sep { height: 1px; background: var(--border); margin: 2px 0; }
.hdr-drop-item.danger { color: #c0392b; }
.hdr-drop-item.danger:hover { background: #fff5f5; color: #c0392b; }

/* Bildirim paneli */
.hdr-notif-panel {
  display: none; position: absolute;
  top: calc(100% + 10px); right: 0;
  width: 300px; background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  border: 1px solid var(--border);
  overflow: hidden; z-index: 200;
}
.hdr-icon-wrap { position: relative; }
.hdr-icon-wrap.notif-open .hdr-notif-panel { display: block; }
.hdr-notif-head {
  padding: 12px 16px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.hdr-notif-title { font-size: 13px; font-weight: 800; color: var(--text); }
.hdr-notif-all { font-size: 11.5px; color: var(--primary); font-weight: 600; cursor: pointer; }
.hdr-notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid #f5f5f5;
  cursor: pointer; transition: background .12s;
}
.hdr-notif-item:hover { background: #fef2ed; }
.hdr-notif-item.unread { background: #fef8f5; }
.hdr-notif-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.hdr-notif-body { flex: 1; min-width: 0; }
.hdr-notif-text { font-size: 12.5px; color: var(--text); line-height: 1.4; }
.hdr-notif-time { font-size: 11px; color: var(--muted); margin-top: 3px; }
.hdr-notif-dot { width: 7px; height: 7px; background: var(--primary); border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.hdr-notif-empty { padding: 24px 16px; text-align: center; font-size: 13px; color: var(--muted); }

/* Mesaj paneli */
.hdr-msg-panel {
  display: none; position: absolute;
  top: calc(100% + 10px); right: 0;
  width: 300px; background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  border: 1px solid var(--border);
  overflow: hidden; z-index: 200;
}
.hdr-icon-wrap.msg-open .hdr-msg-panel { display: block; }
.hdr-msg-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid #f5f5f5;
  cursor: pointer; transition: background .12s;
}
.hdr-msg-item:hover { background: #fef2ed; }
.hdr-msg-item.unread { background: #fef8f5; }
.hdr-msg-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; flex-shrink: 0;
}
.hdr-msg-body { flex: 1; min-width: 0; }
.hdr-msg-name { font-size: 12.5px; font-weight: 700; color: var(--text); }
.hdr-msg-preview { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.hdr-msg-time { font-size: 10.5px; color: var(--muted); flex-shrink: 0; }
.hdr-msg-footer { padding: 10px 16px; text-align: center; border-top: 1px solid var(--border); }
.hdr-msg-footer a { font-size: 12.5px; color: var(--primary); font-weight: 700; }

/* Responsive — küçük ekranda kullanıcı adını gizle */
@media(max-width:700px){
  .hdr-username, .hdr-user-arr { display: none; }
  .hdr-icon-btn, .hdr-user .hdr-avatar { width: 32px; height: 32px; }
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ── Layout ───────────────────────────────────────────────────────── */
.page-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 20px;
  align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 76px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar-section { border-bottom: 1px solid var(--border); }
.sidebar-section:last-child { border-bottom: none; }
.sidebar-title {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
  background: #f9fafb;
}
.cat-list { padding: 4px 0; }
.cat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background .15s, border-color .15s;
}
.cat-link:hover { background: #fef2ed; }
.cat-link.active { background: #fef2ed; border-left-color: var(--primary); color: var(--primary); font-weight: 600; }
.cat-link .cat-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.cat-link .cat-name { flex: 1; }
.cat-link .cat-count { font-size: 11px; color: var(--muted); background: var(--bg); padding: 1px 6px; border-radius: 10px; }

/* Brand list */
.brand-list { padding: 4px 0; display: none; }
.brand-list.open { display: block; }
.brand-link {
  display: flex;
  align-items: center;
  padding: 7px 14px 7px 22px;
  font-size: 12.5px;
  cursor: pointer;
  transition: background .15s;
  gap: 6px;
}
.brand-link:hover { background: #fef2ed; }
.brand-link.active { color: var(--primary); font-weight: 600; }
.brand-link > .brand-name { flex: 1; }
.brand-link .brand-count { font-size: 11px; color: var(--muted); }
.brand-link .arrow { font-size: 10px; color: var(--muted); transition: transform .2s; }
.brand-link.open .arrow { transform: rotate(90deg); }

/* Model list (3rd level) */
.model-list { display: none; padding: 2px 0; background: #fafafa; }
.model-list.open { display: block; }
.model-link {
  display: flex;
  align-items: center;
  padding: 6px 14px 6px 34px;
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
  gap: 6px;
  transition: background .15s;
}
.model-link:hover { background: #fef2ed; color: var(--primary); }
.model-link.active { color: var(--primary); font-weight: 600; }
.model-link > .model-name { flex: 1; }
.model-link .arrow { font-size: 10px; color: var(--muted); transition: transform .2s; }
.model-link.open .arrow { transform: rotate(90deg); }

/* Trim list (4th level) */
.trim-list { display: none; padding: 2px 0; background: #f4f5f7; }
.trim-list.open { display: block; }
.trim-link {
  display: block;
  padding: 5px 14px 5px 46px;
  font-size: 11.5px;
  cursor: pointer;
  color: #888;
  transition: background .15s;
}
.trim-link:hover { background: #fef2ed; color: var(--primary); }
.trim-link.active { color: var(--primary); font-weight: 600; }

/* City filter */
.city-filter { padding: 8px 14px; }
.city-filter select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  color: var(--text);
}

/* Price filter */
.price-filter { padding: 8px 14px; display: flex; gap: 6px; align-items: center; }
.price-filter input {
  flex: 1;
  padding: 7px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  width: 0;
}
.price-filter span { color: var(--muted); font-size: 12px; flex-shrink: 0; }
.price-filter button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── Main Content ─────────────────────────────────────────────────── */
.main-content { min-width: 0; }

/* ── Vitrin Ilanları ──────────────────────────────────────────────── */
.vitrin-section { margin-bottom: 24px; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
  display: inline-block;
}
.section-link { font-size: 12px; color: var(--primary); }

/* 6-kolonlu vitrin grid */
.vitrin-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* ── Listing Cards ────────────────────────────────────────────────── */
.listing-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .2s, transform .15s;
  cursor: pointer;
}
.listing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.listing-card.vitrin-card { border-top: 3px solid var(--primary); }
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #eee;
}
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.card-body { padding: 10px; }
.card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-price {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.card-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fef3eb;
  color: var(--primary);
  margin-bottom: 4px;
}

/* ── Listings Grid (search results) ──────────────────────────────── */
.listings-section { }
.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}
.listings-count { font-size: 13px; color: var(--muted); }
.listings-sort select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

/* ── Konut Projeleri ──────────────────────────────────────────────── */
.konut-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}
.konut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.konut-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .15s;
  cursor: pointer;
}
.konut-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.konut-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #ddd;
}
.konut-body { padding: 14px; }
.konut-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.konut-desc { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.konut-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.konut-price { font-size: 16px; font-weight: 700; color: var(--primary); margin-top: 8px; }
.konut-delivery {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 600;
  margin-top: 4px;
}

/* ── Mağazalar ───────────────────────────────────────────────────── */
.stores-section { margin-top: 24px; }
.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.store-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  transition: box-shadow .2s;
  cursor: pointer;
}
.store-card:hover { box-shadow: var(--shadow-md); }
.store-card.premium { border-top: 3px solid var(--primary); }
.store-icon { font-size: 32px; margin-bottom: 8px; }
.store-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.store-city { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.store-count { font-size: 12px; color: var(--primary); font-weight: 600; }
.verified-badge { display: inline-block; font-size: 10px; padding: 2px 6px; background: #e3f2fd; color: #1565c0; border-radius: 10px; font-weight: 600; margin-top: 4px; }

/* ── İlan Detay — Sahibinden Düzeni ────────────────────────────────── */
.ilan-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px 40px;
}
.ilan-title-bar {
  margin-bottom: 14px;
}
.ilan-title-bar h1 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
}
.ilan-title-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.ilan-share {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.ilan-share a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  transition: background .15s;
}
.ilan-share a:hover { background: #e0e0e0; }

/* Two-column layout */
.ilan-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.ilan-left  { flex: 1 1 0; min-width: 0; }
.ilan-right { width: 320px; flex-shrink: 0; position: sticky; top: 76px; }

/* Gallery */
.detail-gallery {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 12px;
}
.gallery-main-wrap {
  position: relative;
}
.detail-main-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  background: #eee;
}
.gallery-count {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}
.gallery-actions {
  position: absolute;
  bottom: 10px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
}
.gallery-action-btn {
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  transition: background .15s;
}
.gallery-action-btn:hover { background: #fff; }
.detail-thumbs {
  display: flex;
  gap: 4px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  background: #f9fafb;
}
.detail-thumb {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s;
  opacity: .8;
}
.detail-thumb:hover { opacity: 1; }
.detail-thumb.active { border-color: var(--primary); opacity: 1; }

/* Specs table */
.spec-table-wrap {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  overflow: hidden;
}
.spec-table-head {
  padding: 10px 14px;
  background: #f9fafb;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.spec-table tr { border-bottom: 1px solid #f0f0f0; }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 8px 14px;
  vertical-align: top;
  width: 50%;
}
.spec-table td:first-child {
  color: var(--muted);
  font-size: 12px;
  border-right: 1px solid #f5f5f5;
}
.spec-table td:last-child { font-weight: 600; color: var(--text); }
.spec-table td.editable-cell {
  cursor: pointer;
  transition: color .15s;
}
.spec-table td.editable-cell:hover { color: var(--primary); }

/* İlan tabs */
.ilan-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 14px;
  background: var(--card);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.ilan-tab-btn {
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .15s;
  white-space: nowrap;
}
.ilan-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Sections inside left */
.ilan-section {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  overflow: hidden;
}
.ilan-section-head {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  background: #f9fafb;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ilan-section-body { padding: 14px 16px; }
.ilan-desc { font-size: 13px; color: #333; line-height: 1.75; white-space: pre-wrap; }

/* Features (Özellikler) */
.feat-cols {
  columns: 3;
  column-gap: 10px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 3px 0;
  break-inside: avoid;
  color: var(--text);
}
.feat-item.has { color: var(--text); }
.feat-item.no  { color: #ccc; }
.feat-check { font-size: 14px; flex-shrink: 0; }

/* Contact Box (Right) */
.ilan-right { align-self: flex-start; }
.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 120px;
}
.contact-price-row {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.contact-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.contact-price-note { font-size: 11px; color: var(--muted); }
.contact-store {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.store-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
  letter-spacing: -1px;
}
.store-info-name { font-size: 13px; font-weight: 700; }
.store-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  background: #e3f2fd;
  color: #1565c0;
  margin-top: 2px;
}
.store-info-city { font-size: 11px; color: var(--muted); margin-top: 2px; }
.contact-btns { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.phone-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
}
.phone-row .ph-num { flex: 1; }
.btn-reveal {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.btn-call-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background .2s;
}
.btn-call-full:hover { background: var(--primary-dk); }
.btn-wa-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background .2s;
}
.btn-wa-full:hover { background: #1da851; }
.contact-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.contact-footer a { color: var(--primary); }

/* Admin edit bar */
.admin-edit-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 16px;
  background: #fff3cd;
  border-radius: 8px;
  border: 1px solid #ffc107;
}
.btn-save-edit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-del-listing {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

/* Inline edit in spec table */
.spec-table td input, .spec-table td select {
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  outline: none;
}

/* Legacy aliases — kept for backward compat */
.detail-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.detail-desc {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  margin-top: 16px;
}
.detail-desc h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.detail-desc p { font-size: 13px; color: #444; line-height: 1.7; }
.detail-info {
  position: sticky;
  top: 76px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
}
.detail-title { font-size: 20px; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.detail-price { font-size: 28px; font-weight: 900; color: var(--primary); margin-bottom: 16px; }
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--muted); }
.spec-value { font-weight: 600; }
.spec-value.editable { cursor: pointer; border-bottom: 1px dashed var(--border); }
.spec-value.editable:hover { color: var(--primary); }
.spec-value input, .spec-value select {
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  outline: none;
}
.detail-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; color: #fff; border: none; padding: 12px;
  border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer;
  width: 100%; margin-top: 14px; transition: background .2s;
}
.detail-wa:hover { background: #1da851; }
.detail-location {
  font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.detail-cat-badge {
  font-size: 11px; padding: 3px 10px; background: #fef3eb; color: var(--primary);
  border-radius: 10px; font-weight: 600; display: inline-block; margin-bottom: 10px;
}
.detail-specs { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px; }
.detail-main-img-old {
  width: 100%; border-radius: var(--radius); max-height: 480px;
  object-fit: cover; background: #eee;
}

/* ── Arama Sayfası ────────────────────────────────────────────────── */
.search-header {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  margin-bottom: 16px;
}
.search-bar {
  display: flex;
  gap: 8px;
}
.search-bar input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.search-bar input:focus { border-color: var(--primary); }
.search-bar button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Modal ────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.modal-title { font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  background: #fff;
  transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--primary);
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row-cols3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

/* Image upload */
.img-upload-zone {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  min-height: 80px;
}
.img-upload-zone:hover, .img-upload-zone.drag-over {
  border-color: var(--primary);
  background: #fef2ed;
}
.img-placeholder {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 12px 0;
}
.img-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.img-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  position: relative;
}
.img-thumb-wrap {
  position: relative;
}
.img-thumb-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.rm-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.first-lbl {
  position: absolute;
  bottom: 2px;
  left: 2px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background .2s;
}
.btn-submit:hover { background: var(--primary-dk); }

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,.7);
  margin-top: 48px;
  padding: 40px 16px 20px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  margin-bottom: 6px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-logo { font-size: 18px; font-weight: 900; color: #fff; }
.footer-logo span { color: #ffd700; }

/* ── Genel yardımcılar ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
}
.empty-state .emoji { font-size: 48px; margin-bottom: 12px; }
.badge-vitrin {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.card-img-wrap { position: relative; }

/* ── Breadcrumb ───────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ── Results Tabs ──────────────────────────────────────────────────── */
.results-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 14px;
}
.tab-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover { color: var(--text); }

/* ── View Toggle ───────────────────────────────────────────────────── */
.view-toggle {
  display: flex;
  gap: 4px;
}
.view-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.view-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── List View ─────────────────────────────────────────────────────── */
.listing-list { display: flex; flex-direction: column; gap: 6px; }
.list-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s;
}
.list-row:hover { box-shadow: var(--shadow-md); }
.list-row-img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  background: #eee;
  flex-shrink: 0;
  display: block;
}
.list-row-img-placeholder {
  width: 160px;
  height: 110px;
  background: linear-gradient(135deg,#f0f0f0,#e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.list-row-body {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.list-row-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-row-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.list-row-specs span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.list-row-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 10px;
}
.list-row-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fef3eb;
  color: var(--primary);
  margin-bottom: 4px;
  align-self: flex-start;
}
.list-row-price-col {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  border-left: 1px solid var(--border);
  min-width: 130px;
  flex-shrink: 0;
}
.list-row-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.list-row-store {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
}
.list-row-date {
  font-size: 10px;
  color: var(--muted);
}

/* ── Compact Vitrin (Homepage) ─────────────────────────────────────── */
.vitrin-compact {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.vitrin-compact .listing-card .card-body { padding: 7px 8px; }
.vitrin-compact .listing-card .card-title { font-size: 11px; -webkit-line-clamp: 1; }
.vitrin-compact .listing-card .card-price { font-size: 12px; margin-bottom: 2px; }
.vitrin-compact .listing-card .card-meta  { font-size: 10px; gap: 4px; }
.vitrin-compact .listing-card .card-badge { font-size: 9px; padding: 1px 5px; margin-bottom: 3px; }

/* ── Homepage Hero Banner ──────────────────────────────────────────── */
.home-banner {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #e84c1e 100%);
  margin-bottom: 16px;
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  color: #fff;
}
.home-banner::after {
  content: '🚗';
  position: absolute;
  right: 32px;
  bottom: 0;
  font-size: 120px;
  opacity: .3;
  line-height: 1;
}
.home-banner-text h1 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
}
.home-banner-text p { font-size: 13px; opacity: .85; margin-bottom: 14px; }
.home-banner-text .btn-banner {
  background: #ffd700;
  color: #1a1a2e;
  border: none;
  padding: 9px 22px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
}
.home-banner-text .btn-banner:hover { opacity: .9; }

/* ── Boya/Hasar Diyagramı ──────────────────────────────────────────── */
.boya-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
}
.boya-legend-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.bl-item { display: flex; align-items: center; gap: 5px; }
.bl-swatch { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.boya-body {
  display: flex;
  gap: 16px;
  padding: 12px;
  align-items: flex-start;
}
.boya-svg-wrap { flex-shrink: 0; }
.boya-panel-legend {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
  padding-top: 4px;
}
.boya-panel-legend strong { font-weight: 700; }
.boya-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* Read-only display version */
.boya-display { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.boya-display .boya-body { padding: 8px 12px; }

/* ── Kampanya Flyer ────────────────────────────────────────────────── */
.kampanya-flyer {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  background: linear-gradient(120deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 130px;
  box-shadow: 0 8px 32px rgba(15,52,96,.35);
}
.kampanya-flyer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg, transparent, transparent 18px,
    rgba(255,255,255,.025) 18px, rgba(255,255,255,.025) 36px
  );
  pointer-events: none;
}
/* Dekoratif daire arka plan */
.kampanya-flyer::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,76,30,.25) 0%, transparent 70%);
  pointer-events: none;
}
.flyer-left {
  position: relative;
  z-index: 1;
  padding: 22px 28px;
}
.flyer-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.flyer-heading {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -.3px;
}
.flyer-heading em {
  font-style: normal;
  color: #ffd700;
}
.flyer-sub {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
  line-height: 1.5;
}
.flyer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.flyer-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}
.flyer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 14px rgba(232,76,30,.4);
}
.flyer-cta:hover { background: var(--primary-dk); transform: translateY(-1px); }
.flyer-cta-sec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px 12px;
  transition: color .15s;
}
.flyer-cta-sec:hover { color: #fff; }
.flyer-right {
  position: relative;
  z-index: 1;
  padding: 0 32px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.flyer-counter {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}
.flyer-counter span { color: var(--primary); }
.flyer-counter-label { font-size: 11px; color: rgba(255,255,255,.6); font-weight: 600; text-align: center; }
.flyer-progress {
  width: 80px;
  height: 5px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  margin-top: 6px;
  overflow: hidden;
}
.flyer-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #ff7043);
  border-radius: 10px;
  width: 23%;
  transition: width 1s;
}

@media (max-width: 640px) {
  .kampanya-flyer { grid-template-columns: 1fr; }
  .flyer-right    { display: none; }
  .flyer-left     { padding: 18px 20px; }
  .flyer-heading  { font-size: 18px; }
}

/* ── "Bunları Gördünüz Mü?" Banner ────────────────────────────────── */
.maybe-section { margin-top: 28px; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .vitrin-compact { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
  .vitrin-grid    { grid-template-columns: repeat(3, 1fr); }
  .vitrin-compact { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .page-wrap {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    max-height: none;
  }
  .sidebar.collapsed { display: none; }
  .detail-wrap {
    grid-template-columns: 1fr;
  }
  .detail-info { position: static; }
  .ilan-body { flex-direction: column; }
  /* Mobilde iletişim kutusunu galeri+tabların ÖNÜNE al */
  .ilan-right { width: 100%; position: static; order: -1; }
  .ilan-left  { width: 100%; order: 0; }
  .feat-cols { columns: 2; }
  .list-row { grid-template-columns: 120px 1fr; }
  .list-row-price-col { display: none; }
  .list-row-body { padding: 8px 10px; }
}

@media (max-width: 768px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-search { max-width: none; margin: 0; justify-self: stretch; }
  .hamburger { display: flex; }
  .vitrin-grid    { grid-template-columns: repeat(2, 1fr); }
  .vitrin-compact { grid-template-columns: repeat(2, 1fr); }
  .konut-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-cols, .form-row-cols3 { grid-template-columns: 1fr; }
  .home-banner { height: 140px; padding: 0 20px; }
  .home-banner-text h1 { font-size: 17px; }
  .home-banner::after { font-size: 80px; right: 16px; }
}

@media (max-width: 480px) {
  .vitrin-grid    { grid-template-columns: repeat(2, 1fr); }
  .vitrin-compact { grid-template-columns: repeat(2, 1fr); }
  .konut-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-box { padding: 16px; }
  .header-inner { gap: 6px; }
  .logo { font-size: 17px; }
  .btn-ilan { padding: 6px 10px; font-size: 12px; }
  .btn-admin { display: none; }   /* mobilde giriş butonunu gizle, alt nav'da var */
  .list-row { grid-template-columns: 100px 1fr; }
  .list-row-img, .list-row-img-placeholder { width: 100px; height: 80px; }
  .list-row-title { font-size: 12px; }
  .tab-btn { padding: 8px 12px; font-size: 12px; }
  .feat-cols { columns: 1; }
  .ilan-title-bar h1 { font-size: 15px; }
  .contact-price { font-size: 22px; }
  .spec-table td { padding: 7px 10px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════════
   Yorumlar Bölümü
══════════════════════════════════════════════════════════════════ */
.yorum-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
}
.yorum-header { margin-bottom: 16px; }
.yorum-title  { font-size: 16px; font-weight: 700; color: var(--text); }
.yorum-count  { font-size: 13px; font-weight: 400; color: var(--muted); }

/* Yorum item */
.yorum-list   { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.yorum-item   { display: flex; gap: 12px; }
.yorum-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.yorum-body   { flex: 1; min-width: 0; }
.yorum-meta   { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.yorum-ad     { font-size: 13px; font-weight: 700; color: var(--text); }
.yorum-tarih  { font-size: 11px; color: var(--muted); }
.yorum-metin  { font-size: 13px; color: #333; line-height: 1.6; margin-bottom: 6px; }
.yorum-begeni-btn {
  background: none; border: 1px solid var(--border); border-radius: 20px;
  padding: 3px 10px; font-size: 12px; cursor: pointer; color: var(--muted);
  transition: all .15s;
}
.yorum-begeni-btn:hover { background: #fff3e0; border-color: #ff9800; color: #e65100; }
.yorum-begeni-btn.liked { background: #fff3e0; border-color: #ff9800; color: #e65100; }
.yorum-bos    { color: var(--muted); font-size: 13px; padding: 12px 0; }

/* Yeni yorum animasyon */
.new-yorum { animation: yorumFadeIn .4s ease; }
@keyframes yorumFadeIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

/* Form */
.yorum-form-wrap { border-top: 1px solid var(--border); padding-top: 18px; }
.yorum-form-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.yorum-form { display: flex; flex-direction: column; gap: 10px; }
.yorum-form input[type="text"] {
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px;
  font-size: 13px; outline: none; width: 100%;
  transition: border-color .15s;
}
.yorum-form input[type="text"]:focus { border-color: var(--primary); }
.yorum-form textarea {
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px;
  font-size: 13px; outline: none; resize: vertical; min-height: 90px; width: 100%;
  font-family: inherit; transition: border-color .15s;
}
.yorum-form textarea:focus { border-color: var(--primary); }
.yorum-form-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.yorum-char-count { font-size: 11px; color: var(--muted); }
.yorum-submit-btn {
  background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 9px 20px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .15s;
}
.yorum-submit-btn:hover:not(:disabled) { background: var(--primary-dk); }
.yorum-submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.yorum-success {
  background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 8px;
  padding: 10px 14px; color: #2e7d32; font-size: 13px; margin-top: 10px;
}
.yorum-kapali {
  padding: 14px 0; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--border); margin-top: 12px;
}

/* Favori aktif */
.gallery-action-btn.active-fav { background: #fce4ec; color: #c62828; border-color: #ef9a9a; }

/* ══════════════════════════════════════════════════════════════════
   Yorum Toggle (İlan Ver Formu)
══════════════════════════════════════════════════════════════════ */
.yorum-toggle-row { background: #f8f9fb; border-radius: 8px; padding: 12px 14px; }
.toggle-label {
  display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none;
}
.toggle-label input[type="checkbox"] { display: none; }
.toggle-track {
  width: 40px; height: 22px; background: #ccc; border-radius: 11px; flex-shrink: 0;
  position: relative; transition: background .2s;
}
.toggle-label input:checked + .toggle-track { background: var(--primary); }
.toggle-thumb {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; transition: left .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle-label input:checked + .toggle-track .toggle-thumb { left: 20px; }
.toggle-text { font-size: 13px; font-weight: 500; color: var(--text); }
.toggle-hint  { font-size: 11px; color: var(--muted); margin-top: 5px; padding-left: 50px; }

/* ══════════════════════════════════════════════════════════════════
   Admin Panel Stilleri (admin.php)
══════════════════════════════════════════════════════════════════ */
.adm-wrap {
  min-height: 100vh; background: #f0f2f5;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.adm-sidebar {
  position: fixed; top: 0; left: 0; width: 220px; height: 100vh;
  background: #1a1a2e; color: #fff; display: flex; flex-direction: column;
  z-index: 200; transition: transform .25s;
}
.adm-logo {
  padding: 22px 20px 14px; font-size: 20px; font-weight: 900; letter-spacing: -.5px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.adm-logo span { color: var(--primary); }
.adm-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.adm-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 20px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75);
  cursor: pointer; transition: all .15s; border-left: 3px solid transparent;
  text-decoration: none; box-sizing: border-box;
}
.adm-nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.adm-nav-item.active { background: rgba(232,76,30,.15); color: #ff7043; border-left-color: var(--primary); }
.adm-nav-icon { font-size: 16px; width: 20px; text-align: center; }
.adm-nav-sep { height: 1px; background: rgba(255,255,255,.08); margin: 8px 16px; }
.adm-main {
  margin-left: 220px; padding: 28px 28px;
  min-height: 100vh;
}
.adm-topbar {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
}
.adm-page-title { font-size: 22px; font-weight: 800; color: var(--text); }
.adm-topbar-right { display: flex; align-items: center; gap: 10px; }
.adm-user-chip {
  display: flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--border); border-radius: 20px; padding: 5px 12px 5px 6px;
  font-size: 13px; font-weight: 600;
}
.adm-user-av {
  width: 28px; height: 28px; border-radius: 50%; background: var(--primary);
  color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
/* Stat kartları */
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.adm-stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 6px;
}
.adm-stat-icon { font-size: 28px; }
.adm-stat-val  { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1; }
.adm-stat-lbl  { font-size: 12px; color: var(--muted); font-weight: 500; }
.adm-stat-delta { font-size: 11px; color: #2e7d32; font-weight: 600; }

/* Tablo */
.adm-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px;
}
.adm-card-head {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.adm-card-title { font-size: 15px; font-weight: 700; }
.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th {
  text-align: left; padding: 10px 14px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: var(--muted);
  background: #fafafa; border-bottom: 1px solid var(--border);
}
.adm-table td {
  padding: 10px 14px; font-size: 13px; border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td    { background: #fafafa; }
.adm-table .img-cell img {
  width: 52px; height: 40px; object-fit: cover; border-radius: 6px; display: block;
}
.adm-table .img-ph {
  width: 52px; height: 40px; background: #f0f0f0; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
/* Badge */
.adm-badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 600;
}
.adm-badge.green  { background: #e8f5e9; color: #2e7d32; }
.adm-badge.orange { background: #fff3e0; color: #e65100; }
.adm-badge.blue   { background: #e3f2fd; color: #1565c0; }
.adm-badge.red    { background: #fce4ec; color: #c62828; }
/* Aksiyon butonları */
.adm-btn-sm {
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
  cursor: pointer; border: 1px solid var(--border); background: #fff;
  transition: all .15s; margin-left: 4px;
}
.adm-btn-sm:hover { background: #f5f5f5; }
.adm-btn-sm.danger { color: #c62828; border-color: #ef9a9a; }
.adm-btn-sm.danger:hover { background: #fce4ec; }
.adm-btn-sm.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.adm-btn-sm.primary:hover { background: var(--primary-dk); }
/* Bölüm sekmeler */
.adm-section { display: none; }
.adm-section.active { display: block; }
/* Search bar */
.adm-search {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  border-bottom: 1px solid var(--border); background: #fafafa;
}
.adm-search input {
  flex: 1; border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px;
  font-size: 13px; outline: none;
}
.adm-search input:focus { border-color: var(--primary); }
.adm-search select {
  border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px;
  font-size: 13px; outline: none; background: #fff;
}

@media (max-width: 900px) {
  .adm-sidebar { transform: translateX(-220px); }
  .adm-sidebar.open { transform: none; }
  .adm-main { margin-left: 0; padding: 16px; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .adm-stats { grid-template-columns: 1fr 1fr; }
  .adm-table th:nth-child(3), .adm-table td:nth-child(3),
  .adm-table th:nth-child(4), .adm-table td:nth-child(4) { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   Lightbox
══════════════════════════════════════════════════════════════════ */
.photo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
}
.photo-lightbox.open { display: flex; }
.photo-lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 48px rgba(0,0,0,.5);
}
.lb-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 36px;
  color: rgba(255,255,255,.8);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.lb-close:hover { color: #fff; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
  color: rgba(255,255,255,.6);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 12px;
  line-height: 1;
  transition: color .15s;
}
.lb-nav:hover { color: #fff; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-counter {
  position: absolute;
  bottom: 16px;
  color: rgba(255,255,255,.6);
  font-size: 13px;
}

/* ══════════════════════════════════════════════════════════════════
   Karşılaştır Barı
══════════════════════════════════════════════════════════════════ */
.compare-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a237e;
  color: #fff;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  transform: translateY(100%);
  transition: transform .3s;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  flex-wrap: wrap;
}
.compare-bar.visible { transform: translateY(0); }
@media (max-width: 900px) { .compare-bar { bottom: 60px; } }
