/* takasvetakas.com - kompakt, yogun (sahibinden tarzi) arayuz. Temel yazi 13px. */
:root {
    --brand: #0e7c66;
    --brand-dark: #0a5d4d;
    --brand-soft: #e5f5ef;
    --accent: #f2a33c;
    --accent-dark: #d9891f;
    --ink: #1f2933;
    --ink-soft: #5b6770;
    --line: #dfe4e8;
    --bg: #f0f2f4;
    --card: #ffffff;
    --radius: 6px;
    --shadow: 0 1px 2px rgba(16, 32, 38, .06);
    --shadow-hover: 0 3px 10px rgba(16, 32, 38, .12);
    --w: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 13px; }
body {
    font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink); background: var(--bg); font-size: 13px; line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; }

/* ---------- Ust bar ---------- */
.topbar { background: #14232b; color: #c6d0d6; font-size: 11.5px; }
.topbar .in { max-width: var(--w); margin: 0 auto; padding: 4px 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #c6d0d6; } .topbar a:hover { color: #fff; }
.topbar .links { display: flex; gap: 14px; }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line);
}
.nav .in { max-width: var(--w); margin: 0 auto; padding: 8px 12px; display: flex; align-items: center; gap: 14px; }
.brand { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; white-space: nowrap; }
.brand span { color: var(--brand); }
.brand:hover { text-decoration: none; }
.nav-search { flex: 1; display: flex; border: 1px solid #c8d0d6; border-radius: 4px; overflow: hidden; background: #fff; max-width: 640px; }
.nav-search input, .nav-search select { border: none; padding: 7px 10px; font-size: 13px; font-family: inherit; color: var(--ink); background: #fff; outline: none; }
.nav-search input[name=q] { flex: 1; min-width: 120px; }
.nav-search select { width: 150px; border-left: 1px solid var(--line); background: #f7f8f9; }
.nav-search select[name=city] { width: 135px; }
.nav-search button { border: none; background: var(--brand); color: #fff; font-weight: 700; padding: 0 16px; cursor: pointer; font-family: inherit; font-size: 13px; }
.nav-search button:hover { background: var(--brand-dark); }
.nav-links { display: flex; align-items: center; gap: 12px; font-weight: 500; white-space: nowrap; margin-left: auto; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-links .ico { font-size: 15px; }
.inline { display: inline; }
.linklike { background: none; border: none; color: var(--brand); cursor: pointer; font-size: 13px; font-family: inherit; font-weight: 500; padding: 0; }
.linklike:hover { text-decoration: underline; }

.announce { background: #fff7e6; border-bottom: 1px solid #f5dfb8; color: #7a5410; font-size: 12px; text-align: center; padding: 5px 12px; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-block; padding: 7px 14px; border-radius: 4px; border: none; cursor: pointer;
    font-size: 12.5px; font-weight: 700; font-family: inherit; line-height: 1.3; transition: filter .12s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn-primary { background: var(--accent); color: #21160a; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-ghost { background: #eef1f0; color: var(--ink); }
.btn-lg { font-size: 14px; padding: 10px 20px; }

/* ---------- Yerlesim ---------- */
.container { max-width: var(--w); margin: 0 auto; padding: 14px 12px; }
.home-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
@media (max-width: 1100px) { .home-grid { grid-template-columns: 180px minmax(0, 1fr); } .home-grid .rail { display: none; } }
@media (max-width: 760px) { .home-grid { grid-template-columns: 1fr; } .home-grid .catmenu { display: none; } }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 8px; gap: 8px; flex-wrap: wrap; }
.section-head h2 { font-size: 15px; font-weight: 800; letter-spacing: -.2px; }
.section-head .muted { color: var(--ink-soft); font-size: 12px; }
.section-head .more { font-size: 12px; }

/* ---------- Kategori sol menu ---------- */
.catmenu { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.catmenu h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.catmenu details { border-bottom: 1px solid #eef1f3; }
.catmenu details:last-child { border-bottom: none; }
.catmenu summary { list-style: none; cursor: pointer; padding: 7px 10px; display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 12.5px; }
.catmenu summary::-webkit-details-marker { display: none; }
.catmenu summary:hover { background: #f4f7f6; color: var(--brand); }
.catmenu details[open] summary { color: var(--brand-dark); background: var(--brand-soft); }
.catmenu summary .ico { width: 18px; text-align: center; }
.catmenu summary .n { margin-left: auto; color: var(--ink-soft); font-weight: 500; font-size: 11px; }
.catmenu .subs { padding: 4px 0 6px; }
.catmenu .subs a { display: block; padding: 3px 12px 3px 36px; color: var(--ink); font-size: 12px; }
.catmenu .subs a:hover { color: var(--brand); text-decoration: none; background: #f7f9f8; }
.catmenu .subs a.all { font-weight: 600; color: var(--brand-dark); }
.catmenu .allcat { display: block; padding: 8px 12px; font-weight: 700; font-size: 12.5px; color: var(--brand-dark); background: #fafbfc; border-bottom: 1px solid var(--line); }

/* ---------- Reklam alanlari ---------- */
.ad { display: block; margin: 0 0 12px; text-align: center; position: relative; }
.ad a { display: block; }
.ad img { display: block; max-width: 100%; margin: 0 auto; border-radius: 4px; border: 1px solid var(--line); }
.ad .tag { position: absolute; top: 4px; right: 6px; font-size: 9px; letter-spacing: .5px; color: #fff; background: rgba(0,0,0,.45); padding: 1px 5px; border-radius: 3px; text-transform: uppercase; }
.ad-html { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.rail .ad { margin-bottom: 12px; }

/* ---------- Vitrin & ilan kartlari ---------- */
.showcase { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1100px) { .showcase { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; position: relative; }
.scard:hover { text-decoration: none; box-shadow: var(--shadow-hover); border-color: #c8d3ce; }
.scard .thumb { aspect-ratio: 4 / 3; background: #e8ecef; display: flex; align-items: center; justify-content: center; color: #9aa7af; font-size: 22px; overflow: hidden; }
.scard .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scard .body { padding: 6px 8px 8px; display: flex; flex-direction: column; gap: 2px; }
.scard h3 { font-size: 12px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 31px; }
.scard .meta { color: var(--ink-soft); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard .value { color: var(--brand); font-weight: 800; font-size: 13px; }
.scard .star { position: absolute; top: 6px; left: 6px; background: var(--accent); color: #21160a; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 3px; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.card:hover { box-shadow: var(--shadow-hover); text-decoration: none; border-color: #c8d3ce; }
.card .thumb { aspect-ratio: 4 / 3; width: 100%; background: #e8ecef; display: flex; align-items: center; justify-content: center; color: #9aa7af; font-size: 26px; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .body { padding: 8px 10px 10px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.card h3 { font-size: 12.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }
.card .meta { color: var(--ink-soft); font-size: 11.5px; }
.card .value { color: var(--brand); font-weight: 800; font-size: 14px; margin-top: auto; padding-top: 4px; }
.card .swap-tag { font-size: 10.5px; color: var(--accent-dark); background: #fdf3e3; border-radius: 3px; padding: 1px 6px; display: inline-block; width: fit-content; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.card .date { font-size: 10.5px; color: #8a97a0; }

/* Liste gorunumu (arama sonucu satirlari) */
.rowlist { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rowlist .row { display: grid; grid-template-columns: 110px 1fr 140px 110px; gap: 12px; align-items: center; padding: 8px 10px; border-bottom: 1px solid #eef1f3; color: var(--ink); }
.rowlist .row:last-child { border-bottom: none; }
.rowlist .row:hover { background: #fafcfb; text-decoration: none; }
.rowlist .row .thumb { width: 110px; height: 78px; border-radius: 4px; overflow: hidden; background: #e8ecef; display: flex; align-items: center; justify-content: center; color: #9aa7af; }
.rowlist .row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.rowlist .row h3 { font-size: 13px; font-weight: 600; }
.rowlist .row .meta { color: var(--ink-soft); font-size: 11.5px; margin-top: 3px; }
.rowlist .row .value { color: var(--brand); font-weight: 800; font-size: 14px; text-align: right; }
.rowlist .row .loc { color: var(--ink-soft); font-size: 11.5px; text-align: right; }
.viewtoggle { display: flex; gap: 4px; }
.viewtoggle a { padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-soft); font-size: 11.5px; background: #fff; }
.viewtoggle a.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Sag kolon ---------- */
.rail .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; }
.rail .box h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); margin-bottom: 8px; }
.rail .box ul { list-style: none; }
.rail .box li { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12.5px; border-bottom: 1px dashed #eef1f3; }
.rail .box li:last-child { border-bottom: none; }
.rail .box li span { color: var(--ink-soft); font-size: 11.5px; }
.rail .steps li { display: block; padding: 4px 0; color: var(--ink); }
.rail .steps b { color: var(--brand); margin-right: 4px; }

/* ---------- Panel & formlar ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-top: 12px; box-shadow: var(--shadow); }
.panel h2 { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.form-grid { display: grid; gap: 10px; max-width: 560px; }
.form-grid label { font-weight: 600; font-size: 11px; color: var(--ink-soft); display: block; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .4px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; font-family: inherit; background: #fbfcfc; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.form-grid textarea { min-height: 110px; }

/* ---------- Flash ---------- */
.flash { max-width: var(--w); margin: 10px auto 0; padding: 8px 14px; border-radius: 4px; font-weight: 500; font-size: 12.5px; }
.flash-success { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #bfe5d8; }
.flash-error { background: #fdeceb; color: #922b21; border: 1px solid #f5c6c2; }

/* ---------- Tablolar & rozetler ---------- */
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
table.list th { color: var(--ink-soft); font-size: 10.5px; text-transform: uppercase; letter-spacing: .4px; }
table.list tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 10.5px; font-weight: 700; background: #eef1f0; color: var(--ink-soft); letter-spacing: .2px; }
.badge.PENDING, .badge.AWAITING_SIGNATURES, .badge.PENDING_REVIEW { background: #fdf3e3; color: #a45d00; }
.badge.ACCEPTED, .badge.SIGNED, .badge.COMPLETED, .badge.ACTIVE { background: var(--brand-soft); color: var(--brand-dark); }
.badge.REJECTED, .badge.CANCELLED, .badge.EXPIRED, .badge.DELETED { background: #fdeceb; color: #922b21; }

/* ---------- Sozlesme & mesajlar ---------- */
pre.contract { background: #fbfaf6; border: 1px solid #e9e5d8; border-radius: 4px; padding: 14px; white-space: pre-wrap; font-size: 12px; line-height: 1.6; font-family: "Consolas", "Menlo", monospace; }
.msg { padding: 7px 11px; border-radius: 8px; margin-bottom: 6px; max-width: 75%; font-size: 12.5px; }
.msg.mine { background: #d9efe7; margin-left: auto; border-bottom-right-radius: 2px; }
.msg.theirs { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 2px; }
.msg .who { font-size: 10.5px; color: var(--ink-soft); margin-bottom: 2px; font-weight: 600; }
.pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin: 16px 0; }
.pager .info { color: var(--ink-soft); font-size: 12px; }
.hint { background: #fdf3e3; border: 1px solid #f5dfb8; color: #7a5410; border-radius: 4px; padding: 8px 12px; font-size: 12px; margin-top: 10px; }

/* ---------- Ilan detay ---------- */
.breadcrumb { font-size: 12px; color: var(--ink-soft); margin: 2px 0 8px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.breadcrumb .crumb-title { max-width: 360px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 600; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) 320px; gap: 14px; align-items: start; }
@media (max-width: 920px) { .detail-grid { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 60px; display: flex; flex-direction: column; }
@media (max-width: 920px) { .sidebar { position: static; } }
.gallery-panel { padding: 10px; margin-top: 0; }
.gallery-main { border-radius: 4px; overflow: hidden; background: #e8ecef; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #111; display: block; }
.gallery-empty { font-size: 48px; color: #9aa7af; }
.gallery-credit { margin: 6px 2px; font-size: 11px; color: var(--ink-soft); min-height: 1em; }
.gallery-thumbs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.gallery-thumbs img { width: 76px; height: 56px; object-fit: cover; border-radius: 3px; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; opacity: .85; }
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; }
.gallery-thumbs img.active { border-color: var(--brand); }
.ai-card { background: linear-gradient(160deg, #f6f2ff 0%, #eef7f4 100%); border: 1px solid #ded4f2; }
.ai-card h2 { display: flex; align-items: center; gap: 6px; }
.ai-spark { color: #7c5cd6; font-size: 16px; }
.ai-text { white-space: pre-line; line-height: 1.6; font-size: 12.5px; }
.ai-note { margin-top: 8px; font-size: 11px; color: var(--ink-soft); }
.attr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 20px; }
.attr { display: flex; justify-content: space-between; gap: 10px; padding: 6px 2px; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.attr-name { color: var(--ink-soft); }
.attr-value { font-weight: 600; text-align: right; }
.price-card { margin-top: 0; }
.detail-title { font-size: 17px; font-weight: 800; letter-spacing: -.2px; margin: 6px 0 4px; line-height: 1.3; }
.detail-loc { color: var(--ink-soft); font-size: 12px; margin-bottom: 8px; }
.price-big { color: var(--brand); font-weight: 800; font-size: 24px; letter-spacing: -.4px; }
.price-sub { color: var(--ink-soft); font-size: 11px; margin-bottom: 8px; }
.detail-meta { font-size: 11.5px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 8px; }
.seller-card { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.seller-name { font-weight: 700; }
.seller-sub { color: var(--ink-soft); font-size: 11.5px; }
.trust-chip { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: middle; }
.trust-chip.hi { background: #e4f5ea; color: #1c8a49; }
.trust-chip.mid { background: #fdf0dd; color: #b45309; }
.trust-chip.lo { background: #fdebea; color: #b3261e; }
.badge.trust-badge { background: #1c8a49; color: #fff; }
.badge.exp-badge { background: #6d3fc0; color: #fff; }
.safe-card { font-size: 12px; color: var(--ink-soft); background: #fbfdfc; }
.safe-card strong { color: var(--ink); display: block; margin-bottom: 4px; }
.map-box { height: 260px; border-radius: 4px; border: 1px solid var(--line); overflow: hidden; z-index: 0; }

/* ---------- Hesabim ---------- */
.account-grid { display: grid; grid-template-columns: 220px 1fr; gap: 14px; align-items: start; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
.account-nav { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 60px; display: flex; flex-direction: column; }
.account-nav-user { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); background: #fbfdfc; }
.account-nav-user .seller-sub { word-break: break-all; }
.account-nav a { padding: 9px 12px; color: var(--ink); font-weight: 500; font-size: 12.5px; border-left: 3px solid transparent; }
.account-nav a:hover { background: #f4f7f6; text-decoration: none; }
.account-nav a.active { background: var(--brand-soft); border-left-color: var(--brand); color: var(--brand-dark); font-weight: 700; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.stat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 10px; text-align: center; color: var(--ink); }
.stat-tile:hover { text-decoration: none; border-color: var(--brand); }
.stat-tile b { display: block; font-size: 20px; color: var(--brand); letter-spacing: -.4px; }
.stat-tile span { font-size: 11.5px; color: var(--ink-soft); }
.convo { display: flex; gap: 10px; align-items: flex-start; padding: 10px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.convo:hover { text-decoration: none; background: #fafcfb; }
.convo:last-child { border-bottom: none; }
.convo-body { flex: 1; min-width: 0; }
.convo-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.convo-listing { font-size: 12px; color: var(--brand-dark); margin: 2px 0; }
.convo-last { font-size: 12px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-btn { width: 100%; padding: 8px; border-radius: 4px; cursor: pointer; border: 1.5px solid #e3556b; background: #fff; color: #e3556b; font-weight: 700; font-size: 12.5px; font-family: inherit; }
.fav-btn:hover { background: #fdf0f2; }
.fav-btn.on { background: #e3556b; color: #fff; }

/* ---------- Ilan verme ---------- */
.form-hero { margin: 4px 0 2px; }
.form-hero h1 { font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.form-hero p { color: var(--ink-soft); font-size: 12.5px; }
.step-no { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; align-items: center; justify-content: center; margin-right: 6px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .two-col, .three-col { grid-template-columns: 1fr; } }
.dropzone { border: 2px dashed #bcc7c3; border-radius: 6px; padding: 22px 14px; text-align: center; cursor: pointer; background: #fbfdfc; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.dz-inner { display: flex; flex-direction: column; gap: 3px; color: var(--ink-soft); font-size: 12.5px; }
.dz-icon { font-size: 26px; }
.dz-inner strong { color: var(--ink); font-size: 13px; }
.dz-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.dz-thumb { position: relative; width: 96px; height: 72px; border-radius: 4px; overflow: hidden; border: 2px solid var(--line); }
.dz-thumb.cover { border-color: var(--accent); }
.dz-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dz-del { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.dz-cover-tag { position: absolute; bottom: 3px; left: 3px; background: var(--accent); color: #21160a; font-size: 9px; font-weight: 800; padding: 1px 6px; border-radius: 3px; }
.dz-hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 8px; }
.publish-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 12px 0 8px; flex-wrap: wrap; font-size: 12px; color: var(--ink-soft); }

/* ---------- Alt bilgi ---------- */
.footer { margin-top: 28px; border-top: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-size: 12px; }
.footer .cols { max-width: var(--w); margin: 0 auto; padding: 22px 12px 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--ink); margin-bottom: 8px; }
.footer .cols a { display: block; color: var(--ink-soft); padding: 2px 0; }
.footer .cols a:hover { color: var(--brand); }
.footer .legal { max-width: var(--w); margin: 0 auto; padding: 10px 12px 18px; border-top: 1px solid #eef1f3; font-size: 11px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer .adwrap { max-width: var(--w); margin: 0 auto; padding: 10px 12px 0; }

/* ---- Faz 2: emanet (escrow) ---- */
.escrow-card { border: 1px solid #cfe8e4; background: #f3fbf9; border-radius: 6px; padding: 12px 14px; }
.escrow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }
.fee-amount { display: flex; flex-direction: column; margin: 12px 0; padding: 14px; border-radius: 6px; background: #0f766e; color: #fff; }
.fee-amount span { font-size: 26px; font-weight: 800; letter-spacing: -0.4px; }
.fee-amount small { opacity: .85; margin-top: 3px; }
.sandbox-card { border: 1px dashed #c7d2fe; background: #f5f7ff; border-radius: 6px; padding: 12px; }
.sandbox-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #4338ca; }
.sandbox-head span { background: #4338ca; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.badge.ESC_AWAITING_DEPOSIT { background: #fff7ed; color: #b45309; }
.badge.ESC_HELD { background: #ecfdf5; color: #047857; }
.badge.ESC_RELEASED { background: #eff6ff; color: #1d4ed8; }
.badge.ESC_REFUNDED { background: #f3f4f6; color: #374151; }
.badge.ESC_FAILED { background: #fef2f2; color: #b91c1c; }
.muted { color: #6b7280; }

/* ---- Faz 2: ucretli ilan ---- */
.fee-box { border-radius: 6px; padding: 10px 12px; margin: 8px 0 12px; line-height: 1.5; font-size: 12.5px; }
.fee-box.free { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.fee-box.paid { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.fee-box small { display: block; margin-top: 4px; }
.badge.PENDING_PAYMENT, .badge.FEE_PENDING, .badge.FEE_FAILED { background: #fff7ed; color: #b45309; }
.badge.FEE_PAID { background: #ecfdf5; color: #047857; }
.badge.FEE_EXPIRED, .badge.FEE_REFUNDED { background: #f3f4f6; color: #374151; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 12px; }
.price-tile { border: 1px solid var(--line); border-radius: 6px; padding: 14px; background: #fff; }
.price-tile.hero { background: #0f766e; color: #fff; border-color: #0f766e; }
.price-tile .amt { font-size: 22px; font-weight: 800; letter-spacing: -.4px; margin: 4px 0; }
.price-tile .who { font-size: 12px; opacity: .85; }

/* ---- Harita bolge durumu ---- */
.map-status { margin-top: 6px; font-size: 12px; color: #52606d; padding: 6px 9px; border-radius: 4px; background: #f3f4f6; }
.map-status.loading { background: #eff6ff; color: #1d4ed8; }
.map-status.ok { background: #ecfdf5; color: #047857; }
.map-status.warn { background: #fff7ed; color: #b45309; }

/* ---- Icerik sayfasi ---- */
.page-body { font-size: 13px; line-height: 1.65; }
.page-body p, .page-body ol, .page-body ul { margin-bottom: 10px; }
.page-body ol, .page-body ul { padding-left: 20px; }

/* ---------- Filtre kutusu ---------- */
.filterbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.filterbox h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); margin-bottom: 2px; }
.filterbox label { font-size: 11px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .3px; margin-top: 4px; }
.filterbox input[type=text], .filterbox input[type=number], .filterbox select { width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; font-size: 12.5px; font-family: inherit; background: #fbfcfc; }
.filterbox select:disabled { color: var(--ink-soft); background: #f1f3f4; }
.filterbox .two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.filterbox .chk { display: flex; align-items: center; gap: 6px; text-transform: none; font-weight: 500; font-size: 12px; color: var(--ink); margin-top: 8px; }
.filterbox .chk input { width: auto; }
.filterbox button { margin-top: 8px; }
.filterbox .clear { font-size: 11.5px; text-align: center; color: var(--ink-soft); }
.catmenu .subs a.on { color: var(--brand-dark); font-weight: 700; }

/* ---------- Sonuc araci ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 10px; margin: 10px 0 8px; }
.toolbar .tb-left { font-size: 13px; }
.toolbar .tb-left b { font-size: 15px; color: var(--brand-dark); }
.toolbar .tb-right { display: flex; align-items: center; gap: 8px; }
.toolbar select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; font-size: 12.5px; font-family: inherit; background: #fbfcfc; }

/* ---------- Kart rozetleri ---------- */
.chip { position: absolute; top: 5px; font-size: 9.5px; font-weight: 800; padding: 1px 6px; border-radius: 3px; letter-spacing: .3px; }
.chip.new { left: 5px; background: #dc2626; color: #fff; }
.chip.vit { right: 5px; background: var(--accent); color: #21160a; }
.card .thumb, .scard .thumb, .rowlist .row .thumb { position: relative; }
.rowlist .row .meta .chip { position: static; display: inline-block; margin-left: 4px; }
.rowlist .row .loc .small { color: #8a97a0; }

/* ---------- Son gezilenler ---------- */
a.recent { display: flex; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px dashed #eef1f3; color: var(--ink); }
a.recent:last-child { border-bottom: none; }
a.recent:hover { text-decoration: none; background: #fafcfb; }
a.recent .rt { width: 46px; height: 34px; border-radius: 3px; overflow: hidden; background: #e8ecef; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #9aa7af; }
a.recent .rt img { width: 100%; height: 100%; object-fit: cover; }
a.recent .rb { min-width: 0; display: block; }
a.recent .rb b { display: block; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.recent .rb i { font-style: normal; font-size: 11px; color: var(--brand); font-weight: 700; }

/* ---------- Ilan detay ek bloklari ---------- */
.detail-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.detail-actions button, .detail-actions a { font-size: 11.5px; padding: 5px 10px; border-radius: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer; font-family: inherit; }
.detail-actions button:hover, .detail-actions a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.infotable { width: 100%; border-collapse: collapse; }
.infotable th, .infotable td { padding: 5px 2px; border-bottom: 1px dashed var(--line); font-size: 12.5px; text-align: left; }
.infotable th { color: var(--ink-soft); font-weight: 500; width: 44%; }
.infotable td { font-weight: 600; }
.simrow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
@media (max-width: 700px) { .simrow { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- Mobil menu ---------- */
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 4px;
  font-size: 16px; padding: 4px 9px; cursor: pointer; color: var(--ink); line-height: 1; }
.nav-scrim { display: none; position: fixed; inset: 0; background: rgba(15,23,32,.45); z-index: 60; }
body.nav-open .nav-scrim { display: block; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav .in { flex-wrap: wrap; }
  .nav-search { order: 3; width: 100%; max-width: none; }
  .nav-search select { display: none; }
  .home-grid > aside:first-child { position: fixed; top: 0; left: 0; bottom: 0; width: 84%; max-width: 320px;
    background: var(--bg); z-index: 61; overflow-y: auto; padding: 12px; transform: translateX(-105%);
    transition: transform .2s ease; display: block; }
  body.nav-open .home-grid > aside:first-child { transform: translateX(0); }
  .home-grid .catmenu { display: block; }
  .toolbar { font-size: 12px; }
  .toolbar .tb-right { width: 100%; justify-content: space-between; }
  .rowlist .row { grid-template-columns: 88px 1fr; grid-template-areas: "t b" "v v"; gap: 8px; }
  .rowlist .row .thumb { width: 88px; height: 66px; }
  .rowlist .row .loc { display: none; }
}

/* ---------- Ust menu rozeti ---------- */
.nav-badge { display: inline-block; min-width: 15px; height: 15px; line-height: 15px; padding: 0 4px;
  border-radius: 999px; background: #dc2626; color: #fff; font-size: 9.5px; font-weight: 800;
  text-align: center; vertical-align: super; margin-left: -3px; }

/* ---------- Yildiz / degerlendirme ---------- */
.stars { color: var(--accent); letter-spacing: 1px; }
.badge.EXPIRED { background: #f3f4f6; color: #374151; }

/* ---------- Ust reklam seridi (arama cubugunun altinda) ---------- */
.headerad { background: #fff; border-bottom: 1px solid var(--line); }
.headerad .in { max-width: var(--w); margin: 0 auto; padding: 6px 12px; position: relative;
  display: flex; justify-content: center; }
.headerad img { display: block; max-width: 100%; height: auto; border-radius: 3px; }
.headerad .tag { position: absolute; top: 8px; right: 14px; font-size: 9px; letter-spacing: .5px;
  color: #fff; background: rgba(0,0,0,.4); padding: 1px 5px; border-radius: 3px; text-transform: uppercase; }
@media (max-width: 760px) { .headerad .in { padding: 5px 8px; } }

/* Kademeli kategori secici (ilan formu) ve derinlemesine kategori menusu */
.catpick { display: flex; flex-direction: column; gap: 6px; }
.catpick-level { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-family: inherit; background: #fff; width: 100%; }
.catpick-level:focus { outline: none; border-color: var(--brand); }
.catpick-hint { font-size: 11.5px; margin-top: 4px; }
.catmenu.drill .catpath { padding: 6px 10px; background: var(--brand-soft); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.catmenu.drill .catpath a { font-size: 12px; color: var(--brand-dark); font-weight: 600; }
.catmenu.drill .catpath a.on { color: var(--ink); }
.catmenu.drill .subs.level a { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid #f2f5f4; font-size: 12.5px; }
.catmenu.drill .subs.level a:last-child { border-bottom: none; }
.catmenu.drill .subs.level a .ico { width: 18px; text-align: center; }
.catmenu.drill .subs.level a .n { margin-left: auto; color: var(--ink-soft); font-size: 11px; }
.catmenu.drill .subs.level a .more { margin-left: auto; color: var(--ink-soft); }
.catmenu.drill .hint { padding: 8px 10px; font-size: 11.5px; }

/* Yalnizca yoneticiye gosterilen ornek veri uyarisi */
.demoflag { margin: 8px 0; padding: 7px 12px; border-radius: 8px; background: #fdf3e3; border: 1px solid #f0d9ac; color: #7a5200; font-size: 12px; }
.demoflag a { color: #7a5200; text-decoration: underline; }
.badge-demo { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: #fdf3e3; border: 1px solid #f0d9ac; color: #7a5200; font-size: 10px; font-weight: 700; vertical-align: middle; }

/* C1: kategorisinin deger bandina uyan ilan isareti (kartlarda) */
.okval { display:inline-block; margin-top:2px; font-size:11px; font-weight:700; color:#1c8a49;
         background:#e2f3e8; border-radius:999px; padding:1px 8px; }

/* ---- Zil (site ici bildirim) ---- */
.zil-kutu { position: relative; display: inline-block; }
.zil { background: none; border: 0; cursor: pointer; font-size: 15px; position: relative; padding: 0 4px; vertical-align: middle; }
.zil-badge { position: absolute; top: -7px; right: -6px; background: #e0245e; color: #fff; border-radius: 999px; font-size: 9.5px; font-weight: 800; padding: 1px 5px; line-height: 1.3; font-style: normal; }
.zil.sallan { animation: zil-salla .9s ease; }
@keyframes zil-salla { 0%,100%{transform:rotate(0)} 15%{transform:rotate(18deg)} 30%{transform:rotate(-14deg)} 45%{transform:rotate(10deg)} 60%{transform:rotate(-7deg)} 75%{transform:rotate(4deg)} }
.zil-panel { position: absolute; right: -8px; top: 26px; width: 320px; max-height: 380px; overflow-y: auto; background: #fff; color: #1d2733; border: 1px solid #e4e7eb; border-radius: 10px; box-shadow: 0 12px 30px rgba(15,23,42,.18); z-index: 300; text-align: left; }
.zil-baslik { font-weight: 800; font-size: 12.5px; padding: 10px 12px; border-bottom: 1px solid #eef1f4; }
.zil-satir { display: block; padding: 9px 12px; border-bottom: 1px solid #f2f4f7; text-decoration: none; color: inherit; }
.zil-satir:hover { background: #f6f8fa; }
.zil-satir.yeni { background: #eefaf3; }
.zil-satir b { display: block; font-size: 12px; }
.zil-satir span { display: block; font-size: 11.5px; color: #52606d; margin-top: 2px; }
.zil-satir i { display: block; font-size: 10.5px; color: #8a94a1; font-style: normal; margin-top: 3px; }
.zil-bos { padding: 16px 12px; color: #8a94a1; font-size: 12px; }
