:root {
    --primary: #1a73e8;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f8fafc;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); }

.piyasa-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.piyasa-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.piyasa-logo { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.piyasa-nav { display: flex; gap: 8px; flex: 1; }
.piyasa-nav a {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}
.piyasa-nav a.is-active, .piyasa-nav a:hover { background: #e8f0fe; color: var(--primary); }
.piyasa-admin-link { font-size: 13px; color: var(--muted); text-decoration: none; }

.piyasa-main { max-width: 1280px; margin: 0 auto; padding: 24px; }

.stats-hero { margin-bottom: 24px; }
.stats-hero h1 { margin: 0 0 8px; font-size: 28px; }
.stats-hero p { margin: 0; color: var(--muted); }

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.stat-box__label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.stat-box__value { font-size: 22px; font-weight: 700; color: var(--primary); margin-top: 6px; }
.stat-box__sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

.piyasa-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    min-height: 520px;
}

@media (max-width: 900px) {
    .piyasa-layout { grid-template-columns: 1fr; }
}

.piyasa-map { height: 100%; min-height: 520px; border-radius: 12px; border: 1px solid var(--border); }
.piyasa-map-wrap { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }

.piyasa-list {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    max-height: 600px;
    overflow-y: auto;
}

.piyasa-list h2 { margin: 0 0 16px; font-size: 16px; }
.piyasa-list .count { color: var(--muted); font-weight: 400; }
.piyasa-list .empty { color: var(--muted); text-align: center; padding: 40px 0; }

.bc-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, box-shadow .15s;
}

.bc-card:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(26,115,232,.12); }
.bc-card__img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.bc-card__body h3 { margin: 0 0 4px; font-size: 14px; }
.bc-card__loc { margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.bc-card__stats { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; color: var(--primary); font-weight: 600; }

/* Detay sayfası */
.bc-detail__hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 200px;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
}

.bc-detail__cover {
    width: 100%;
    height: 280px;
    object-fit: cover;
    opacity: .85;
}

.bc-detail__hero-text {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 28px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
}

.bc-detail__hero-text h1 { margin: 0 0 6px; font-size: 28px; }
.bc-detail__hero-text p { margin: 0; opacity: .9; }
.bc-detail__addr { font-size: 13px; margin-top: 6px !important; }

.bc-detail__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

@media (max-width: 900px) { .bc-detail__grid { grid-template-columns: 1fr; } }

.bc-detail__section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.bc-detail__section h2 { margin: 0 0 12px; font-size: 18px; }
.bc-detail__desc { font-size: 14px; line-height: 1.7; }

.bc-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.bc-info-card h3 { margin: 0 0 12px; font-size: 15px; }
.bc-info-card p { margin: 6px 0; font-size: 14px; }
.bc-detail-map { height: 200px; border-radius: 10px; margin-bottom: 16px; }

.bc-dl dt { font-size: 11px; color: var(--muted); margin-top: 8px; }
.bc-dl dd { margin: 2px 0 0; font-weight: 600; }

.bc-listings-mini { display: flex; flex-direction: column; gap: 10px; }
.bc-listing-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.bc-listing-item img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; }
.bc-listing-item strong { display: block; font-size: 13px; }
.bc-listing-item span { font-size: 13px; color: var(--primary); font-weight: 700; }

.piyasa-footer {
    text-align: center;
    padding: 24px;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}
