:root {
    --bt-bg: #f4f5fb;
    --bt-surface: #ffffff;
    --bt-border: #e6e8f2;
    --bt-text: #1f2333;
    --bt-muted: #6b7189;
    --bt-purple: #7c3aed;
    --bt-pink: #ec4899;
    --bt-gradient: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --bt-radius: 16px;
    --bt-shadow: 0 10px 30px rgba(124, 58, 237, 0.10);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bt-bg);
    color: var(--bt-text);
    font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
}

a { color: var(--bt-purple); text-decoration: none; }
a:hover { color: var(--bt-pink); }

/* ---------- Header (Brichzone tarzı iki satırlı, açık tema) ---------- */
.bt-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--bt-border);
    box-shadow: 0 6px 24px rgba(31, 35, 51, 0.06);
}

.bt-navbar-row {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bt-navbar-top { padding-top: 12px; padding-bottom: 12px; }

.bt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--bt-text);
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
.bt-brand img { flex-shrink: 0; display: block; }

/* Arama kutusu — Brichzone'daki gibi ortada genişler */
.bt-search-box {
    position: relative;
    flex: 1 1 auto;
    max-width: 560px;
    min-width: 120px;
}
.bt-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f0fb;
    border: 1px solid #e0dbf5;
    border-radius: 999px;
    padding: 0 14px;
    height: 42px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.bt-search-box:focus-within .bt-search-input-wrap {
    border-color: var(--bt-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
    background: #fff;
}
.bt-search-icon { color: var(--bt-purple); flex-shrink: 0; }
.bt-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--bt-text);
    font-size: 0.9rem;
    height: 100%;
    padding: 0;
}
.bt-search-input::placeholder { color: #9aa0b8; }

.bt-nav-icons { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.bt-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--bt-border);
    border-radius: 999px;
    padding: 5px 12px 5px 5px;
    cursor: pointer;
    color: var(--bt-text);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all .2s ease;
}
.bt-profile-trigger:hover { border-color: var(--bt-purple); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10); }
.bt-profile-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bt-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    object-fit: cover;
    flex-shrink: 0;
    overflow: hidden;
}
.bt-profile-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Profil tetikleyicisi + açılır menü */
.bt-profile-wrap { position: relative; }
.bt-profile-caret {
    flex-shrink: 0;
    color: var(--bt-muted);
    transition: transform .2s ease;
}
.bt-profile-caret.open { transform: rotate(180deg); }
.bt-menu-overlay { position: fixed; inset: 0; z-index: 49; background: transparent; }
.bt-profile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--bt-border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(31, 35, 51, 0.14);
    padding: 8px;
    display: flex;
    flex-direction: column;
}
.bt-profile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--bt-text);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.bt-profile-menu a:hover { background: #f6f0ff; color: var(--bt-purple); }
.bt-profile-menu-divider { height: 1px; background: var(--bt-border); margin: 6px 4px; }
.bt-profile-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #e11d48;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}
.bt-profile-logout:hover { background: #fdeef2; }

/* 2. satır: kategori menüsü */
.bt-navbar-bottom {
    border-top: 1px solid var(--bt-border);
    padding-top: 8px;
    padding-bottom: 8px;
}
.bt-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    scrollbar-width: none;
}
.bt-nav::-webkit-scrollbar { display: none; }
.bt-nav li { flex-shrink: 0; }
.bt-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--bt-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    white-space: nowrap;
    transition: all .15s ease;
}
.bt-nav a:hover { background: #f1e9ff; color: var(--bt-purple); }
.bt-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
    color: var(--bt-purple);
}

.bt-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.bt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--bt-gradient);
    color: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.25);
}
.bt-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(236, 72, 153, 0.35); }
.bt-btn-ghost {
    background: #fff;
    color: var(--bt-purple);
    border: 1px solid var(--bt-border);
    box-shadow: none;
}
.bt-btn-ghost:hover { background: #f6f0ff; box-shadow: none; transform: none; }
.bt-btn-sm { padding: 6px 14px; font-size: 0.78rem; box-shadow: none; }
.bt-btn-danger { background: #e11d48; box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25); }
.bt-btn-danger:hover { box-shadow: 0 8px 18px rgba(225, 29, 72, 0.35); }
.bt-btn-warn { background: #f59e0b; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25); }
.bt-btn-warn:hover { box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35); }
.bt-btn-sold { background: #2563eb; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); }
.bt-btn-sold:hover { box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35); }
.bt-btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.bt-card-actions { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 14px; }
.bt-image-picker { display: flex; flex-direction: column; gap: 6px; }
.bt-image-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.bt-image-thumb { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 1px solid var(--bt-border); }
.bt-image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bt-thumb-remove { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border: none; border-radius: 50%; background: rgba(225,29,72,0.9); color: #fff; font-size: 0.7rem; cursor: pointer; }
.bt-modal-backdrop { position: fixed; inset: 0; background: rgba(15,15,30,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.bt-modal { background: #fff; border-radius: 16px; padding: 22px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }

.bt-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--bt-border);
    background: #fff;
    color: var(--bt-text);
    cursor: pointer;
    font-size: 1.1rem;
}
.bt-icon-btn:hover { border-color: var(--bt-purple); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10); }
.bt-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--bt-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Layout ---------- */
.bt-container { max-width: 1240px; margin: 0 auto; padding: 24px 16px; }

.bt-page-title { font-size: 1.7rem; font-weight: 800; margin: 0 0 4px; }
.bt-page-sub { color: var(--bt-muted); font-size: 0.95rem; margin: 0 0 20px; }

/* ---------- Cards / grid ---------- */
.bt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.bt-card {
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    overflow: hidden;
    box-shadow: var(--bt-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
    cursor: pointer;
}
.bt-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(124, 58, 237, 0.16); }
.bt-card-media { position: relative; }
.bt-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #eef0f8;
}

/* Favori (Kalp) Butonu — ilan görselinin üzerinde (sol üst) */
.bt-fav-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.bt-fav-btn:hover {
    transform: scale(1.12);
    background: rgba(255, 61, 113, 0.25);
    border-color: #ff3d71;
}
.bt-fav-btn .bt-fav-icon {
    width: 20px;
    height: 20px;
}
.bt-fav-btn.active {
    color: #ff3d71;
    background: rgba(255, 61, 113, 0.18);
    border-color: #ff3d71;
    box-shadow: 0 0 12px rgba(255, 61, 113, 0.7);
}
.bt-fav-btn.active:hover {
    background: rgba(255, 61, 113, 0.35);
}
.bt-card-body { padding: 14px; }
.bt-card-title { font-weight: 700; font-size: 1rem; margin: 0; color: var(--bt-text); }
.bt-card-meta { font-size: 0.78rem; color: var(--bt-muted); margin: 4px 0 10px; }
.bt-price { font-weight: 800; font-size: 1.1rem; color: var(--bt-purple); }

/* ---------- Buttons ---------- */
.bt-buy { width: 100%; margin-top: 10px; }

/* ---------- Empty ---------- */
.bt-empty { text-align: center; color: var(--bt-muted); padding: 60px 20px; }
.bt-empty img { width: 120px; opacity: .7; }

/* ---------- Forms ---------- */
.bt-field { margin-bottom: 14px; }
.bt-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--bt-muted); margin-bottom: 6px; }
.bt-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--bt-border);
    background: #fff;
    color: var(--bt-text);
    font-size: 0.95rem;
}
.bt-input:focus { outline: none; border-color: var(--bt-purple); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12); }

/* ---------- Kategori seçici (ikonlu) ---------- */
.bt-cat-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bt-cat-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 92px;
    padding: 12px 10px;
    border-radius: 14px;
    border: 2px solid var(--bt-border);
    background: #fff;
    cursor: pointer;
    color: var(--bt-muted);
    font-size: 0.8rem;
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.bt-cat-option img {
    width: 26px;
    height: 26px;
}
.bt-cat-option:hover {
    border-color: var(--bt-purple);
    color: var(--bt-text);
}
.bt-cat-option.selected {
    border-color: var(--bt-purple);
    background: #f3e8ff;
    color: var(--bt-purple);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

/* ---------- Tabs ---------- */
.bt-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.bt-tab {
    border: none;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--bt-border);
    color: var(--bt-muted);
    font-weight: 700;
    font-size: 0.9rem;
}
.bt-tab.active { background: var(--bt-gradient); color: #fff; border-color: transparent; }

/* ---------- Panel / notice ---------- */
.bt-panel {
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    box-shadow: var(--bt-shadow);
    padding: 20px;
    margin-bottom: 18px;
}
.bt-notice {
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(236,72,153,0.08));
    border: 1px dashed var(--bt-purple);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--bt-purple);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.bt-notice--err {
    background: rgba(225, 29, 72, 0.08);
    border-color: #e11d48;
    color: #be123c;
}

.bt-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.bt-footer {
    text-align: center;
    padding: 26px 16px;
    color: var(--bt-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--bt-border);
    margin-top: 30px;
}

/* ---------- Bildirim zili (Brichzone tarzı) ---------- */
.bt-notif-wrap { position: relative; }
.bt-notif-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 360px;
    max-width: 90vw;
    background: #fff;
    border: 1px solid var(--bt-border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(31, 35, 51, 0.18);
    z-index: 60;
    overflow: hidden;
}
.bt-notif-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--bt-border);
    font-size: 0.9rem;
}
.bt-notif-panel-head a { font-size: 0.8rem; font-weight: 700; }
.bt-notif-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid var(--bt-border);
    color: var(--bt-text);
    transition: background .15s ease;
}
.bt-notif-item:hover { background: #f6f0ff; }
.bt-notif-item.unread { background: rgba(124, 58, 237, 0.05); border-left: 3px solid var(--bt-purple); }
.bt-notif-title { font-weight: 700; font-size: 0.88rem; }
.bt-notif-body { font-size: 0.8rem; color: var(--bt-muted); margin-top: 2px; white-space: pre-wrap; }
.bt-notif-time { font-size: 0.72rem; color: var(--bt-muted); margin-top: 4px; }
.bt-notif-empty { padding: 24px; text-align: center; color: var(--bt-muted); font-size: 0.85rem; }
.bt-notif-list { display: flex; flex-direction: column; }
.bt-notif-item--block { border: 1px solid var(--bt-border); border-radius: 12px; margin-bottom: 10px; }

/* ---------- Sipariş listesi / detay ---------- */
.bt-qty { display: flex; align-items: center; gap: 8px; }
.bt-qty button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--bt-border);
    background: #fff;
    color: var(--bt-purple);
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}
.bt-qty button:hover { background: #f6f0ff; }
.bt-qty span { min-width: 24px; text-align: center; font-weight: 700; }

.bt-badge-role {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    white-space: nowrap;
}
.bt-badge-role.buyer { background: rgba(124, 58, 237, 0.12); color: var(--bt-purple); }
.bt-badge-role.seller { background: rgba(236, 72, 153, 0.12); color: var(--bt-pink); }

.bt-state {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--bt-purple);
    white-space: nowrap;
}

.bt-order-list { display: flex; flex-direction: column; gap: 12px; }
.bt-order-card {
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    box-shadow: var(--bt-shadow);
    padding: 16px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.bt-order-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(124, 58, 237, 0.14); }
.bt-order-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bt-order-id { font-weight: 800; color: var(--bt-text); }
.bt-order-title { font-weight: 700; font-size: 1rem; }
.bt-order-meta { font-size: 0.8rem; color: var(--bt-muted); margin-top: 4px; }
.bt-order-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.bt-order-detail-row { margin-top: 12px; }

/* ---------- Durum zaman çizelgesi ---------- */
.bt-timeline { display: flex; flex-direction: column; gap: 0; }
.bt-timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 8px 26px;
}
.bt-timeline-item::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bt-border);
}
.bt-timeline-item:first-child::before { top: 50%; }
.bt-timeline-item:last-child::before { bottom: 50%; }
.bt-timeline-dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bt-gradient);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.bt-timeline-label { font-weight: 700; font-size: 0.9rem; }
.bt-timeline-date { margin-left: auto; font-size: 0.78rem; color: var(--bt-muted); white-space: nowrap; }

/* ---------- Blazor error UI (yalnızca gerçek hata anında görünür) ---------- */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.7rem 1.25rem;
    background: #fde8e8;
    color: #7f1d1d;
    font-size: 0.9rem;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}
#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ---------- Profile (Brichzone tarzı, açık tema) ---------- */
.bt-profile-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) { .bt-profile-content { grid-template-columns: 1fr; } }

.bt-profile-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: 20px;
    box-shadow: var(--bt-shadow);
    padding: 24px 20px;
    position: sticky;
    top: 140px;
}
@media (max-width: 900px) { .bt-profile-side { position: static; } }

.bt-profile-avatar-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}
.bt-profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--bt-purple), 0 14px 34px rgba(124, 58, 237, 0.28);
    background: #eef0f8;
}
.bt-profile-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(31, 35, 51, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bt-profile-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bt-spin 0.8s linear infinite;
}
@keyframes bt-spin { to { transform: rotate(360deg); } }

.bt-profile-photo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--bt-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.bt-profile-photo-btn:hover { transform: translateY(-1px); }
.bt-profile-photo-hint {
    display: block;
    font-size: 0.68rem;
    color: var(--bt-muted);
    text-align: center;
    line-height: 1.5;
}

.bt-default-photos { display: flex; flex-direction: column; gap: 10px; }
.bt-default-photos-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--bt-purple);
    text-align: center;
}
.bt-default-photos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bt-default-photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #eef0f8;
    transition: border-color .15s ease, transform .15s ease;
}
.bt-default-photo-item:hover { transform: translateY(-2px); }
.bt-default-photo-item.selected { border-color: var(--bt-purple); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15); }
.bt-default-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-default-photo-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(31, 35, 51, 0.75);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 6px;
}
.bt-default-photo-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 35, 51, 0.45);
    font-size: 1rem;
}

.bt-profile-main { display: flex; flex-direction: column; gap: 18px; }
.bt-profile-section {
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: 18px;
    box-shadow: var(--bt-shadow);
    padding: 20px;
}
.bt-profile-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--bt-text);
    margin: 0 0 16px;
}
.bt-profile-section-title::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: var(--bt-gradient);
    flex-shrink: 0;
}
.bt-profile-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 560px) { .bt-profile-form-grid { grid-template-columns: 1fr; } }
.bt-profile-input-group { display: flex; flex-direction: column; gap: 6px; }
.bt-profile-full-width { grid-column: 1 / -1; }
.bt-profile-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bt-muted);
    text-transform: uppercase;
}
.bt-profile-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--bt-border);
    background: #fbfbfe;
    color: var(--bt-text);
    font-size: 0.9rem;
}
.bt-profile-input:focus {
    outline: none;
    border-color: var(--bt-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
    background: #fff;
}
.bt-profile-input:disabled { background: #f1f2f8; color: var(--bt-muted); }
.bt-profile-textarea { resize: vertical; min-height: 70px; }
.bt-profile-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.bt-profile-status {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
}
.bt-profile-status.ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.bt-profile-status.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* İlan durum rozetleri */
.bt-listing-status {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.bt-listing-status--active { background: #ecfdf5; color: #047857; }
.bt-listing-status--draft { background: #f1f5f9; color: #475569; }
.bt-listing-status--sold { background: #eff6ff; color: #1d4ed8; }
.bt-listing-status--removed { background: #fef2f2; color: #b91c1c; }
.bt-listing-status--suspended { background: #fffbeb; color: #b45309; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .bt-navbar-top { flex-wrap: wrap; gap: 10px; }
    .bt-search-box { order: 3; width: 100%; max-width: none; min-width: 0; }
    .bt-nav { overflow-x: auto; }
    .bt-profile-name { display: none; }
    .bt-profile-trigger { padding-right: 8px; }
}

/* ---------- Yukarı Çık Butonu (Scroll to Top) ---------- */
.bt-scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1000;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--bt-gradient);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease;
}
.bt-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.bt-scroll-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 34px rgba(124, 58, 237, 0.45);
}
.bt-scroll-top svg { width: 26px; height: 26px; }

@media (max-width: 768px) {
    .bt-scroll-top { display: none; }
}
