/* ===================================================
   YedekParca.com — Ana Stil Dosyası
   =================================================== */

:root {
    --primary:       #0066cc;
    --primary-dark:  #0052a3;
    --primary-light: #e8f2ff;
    --secondary:     #ff6b00;
    --success:       #1a9a4a;
    --danger:        #dc3545;
    --warning:       #ffc107;
    --dark:          #1a1a2e;
    --text:          #2d2d3a;
    --text-muted:    #6b7280;
    --border:        #e5e7eb;
    --bg-light:      #f8fafc;
    --white:         #ffffff;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
    --shadow:        0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:     0 8px 32px rgba(0,0,0,.14);
    --radius:        10px;
    --radius-lg:     16px;
    --transition:    .2s ease;
}

/* ─── RESET & BASE ─────────────────────────────────── */
* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: #f1f5f9;
    font-size: 15px;
    line-height: 1.6;
    padding-top: 0 !important; /* sticky header kendi sticky-top kullanıyor */
}
a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════════
   HEADER — Yeni Tasarım
   ═══════════════════════════════════════════════════════ */

/* ─── SITE HEADER ──────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* ─── TOP BAR ──────────────────────────────────────── */
.topbar {
    background: var(--dark);
    padding: 6px 0;
    font-size: 12.5px;
    border-bottom: none;
}
.topbar-link {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color var(--transition);
}
.topbar-link:hover { color: #fff; }
.topbar-link--accent {
    color: #60a5fa;
    font-weight: 600;
}
.topbar-link--accent:hover { color: #93c5fd; }
.topbar-sep { color: rgba(255,255,255,.2); }

/* ─── ANA BAR ──────────────────────────────────────── */
.header-main {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.header-main-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 68px;
}

/* ─── LOGO ─────────────────────────────────────────── */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
    box-shadow: 0 3px 8px rgba(0,102,204,.35);
}
.logo-text { line-height: 1; }
.logo-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    display: block;
    letter-spacing: -.3px;
}
.logo-name strong { color: var(--primary); }
.logo-tld {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── ARAMA ─────────────────────────────────────────── */
.header-search {
    flex: 1 1 0;
    min-width: 0;
    max-width: 600px;
}
.header-search-inner {
    display: flex;
    align-items: stretch;
    background: #f8fafc;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search-inner:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,.12);
    background: #fff;
}
.header-search-icon {
    display: flex;
    align-items: center;
    padding: 0 10px 0 14px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}
.header-search-input {
    flex: 1 1 0;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 10px 8px;
    font-size: 14px;
    color: var(--text);
    outline: none;
}
.header-search-input::placeholder { color: #9ca3af; }
.header-search-cat {
    border: none;
    border-left: 1px solid var(--border);
    background: transparent;
    padding: 0 10px;
    font-size: 13px;
    color: var(--text-muted);
    outline: none;
    cursor: pointer;
    max-width: 150px;
    flex-shrink: 0;
}
.header-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background var(--transition);
    white-space: nowrap;
}
.header-search-btn:hover { background: var(--primary-dark); }

/* ─── SAĞ AKSİYONLAR ───────────────────────────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}
.hdr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--text);
    border: none;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}
.hdr-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.hdr-btn--outline {
    width: auto;
    padding: 0 14px;
    font-size: 14px;
    border: 1.5px solid var(--border);
    background: #fff;
}
.hdr-btn--outline:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}
.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
}

/* İlan Ver butonu */
.hdr-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all var(--transition);
    box-shadow: 0 3px 8px rgba(0,102,204,.3);
}
.hdr-add-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), #003d80);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,102,204,.4);
    transform: translateY(-1px);
}

/* Hamburger */
.hdr-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    padding: 0 10px;
}
.hdr-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .25s;
}

/* ─── BİLDİRİM DROPDOWN ─────────────────────────────── */
.notif-dropdown {
    width: 360px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 8px;
}
.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    font-size: 14px;
}
.notif-footer {
    border-top: 1px solid #f1f5f9;
    background: #fff;
}
.notif-footer a {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.notif-footer a:hover { background: var(--primary-light); }

/* ─── NAVİGASYON ŞERİDİ ─────────────────────────────── */
.header-nav {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid var(--border);
}
.header-nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    height: 46px;
}
.nav-cat-toggle {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
    border-radius: 0;
}
.nav-cat-toggle:hover { background: var(--primary-dark); }
.nav-cat-toggle::after { display: none; } /* Bootstrap dropdown arrow kaldır */
.cat-mega-menu {
    min-width: 240px;
    border-radius: 10px;
    margin-top: 4px;
    font-size: 14px;
}
.cat-mega-menu .dropdown-item {
    padding: 8px 16px;
    color: var(--text);
}
.cat-mega-menu .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.nav-quick-links {
    display: flex;
    align-items: center;
    gap: 0;
    padding-left: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-quick-links::-webkit-scrollbar { display: none; }
.nav-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 46px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
    border-radius: 0;
}
.nav-quick-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}
.nav-promo-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* ─── MOBİL MENÜ ─────────────────────────────────────── */
.mobile-menu {
    background: #fff;
    border-top: 1px solid var(--border);
    padding-bottom: 8px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
}
.mobile-search {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 12px 16px;
    background: #f8fafc;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.mobile-search-icon {
    padding: 0 10px 0 12px;
    color: var(--text-muted);
    font-size: 15px;
}
.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 8px;
    font-size: 14px;
    outline: none;
    color: var(--text);
}
.mobile-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 16px;
    height: 44px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.mobile-nav { padding: 0 8px 8px; }
.mobile-nav-section {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--text-muted);
    padding: 10px 8px 4px;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all var(--transition);
}
.mobile-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Eski class uyumluluğu (bazı sayfalarda kullanılıyor olabilir) */
.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}
.cat-dropdown { min-width: 220px; border-radius: var(--radius); }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230066cc' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}
.hero-title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.hero-title span { color: var(--secondary); }
.hero-sub {
    color: rgba(255,255,255,.75);
    font-size: 17px;
}
.hero-search-card {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.hero-search-card .form-control,
.hero-search-card .form-select {
    height: 48px;
    border-radius: 8px !important;
    border: 1.5px solid var(--border);
    font-size: 15px;
}
.hero-search-card .form-control:focus,
.hero-search-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,.15);
}
.hero-search-card .btn-primary {
    height: 48px;
    font-size: 16px;
    border-radius: 8px !important;
}

/* ─── STAT BADGES ──────────────────────────────────── */
.hero-stats .stat-item {
    text-align: center;
    color: rgba(255,255,255,.9);
}
.hero-stats .stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stats .stat-lbl {
    font-size: 12px;
    color: rgba(255,255,255,.6);
}

/* ─── KATEGORI KARTLARI ────────────────────────────── */
.cat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    border: 1.5px solid var(--border);
    transition: all var(--transition);
    display: block;
    height: 100%;
}
.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--primary);
}
.cat-card .cat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all var(--transition);
}
.cat-card:hover .cat-icon {
    background: var(--primary);
    color: #fff;
}
.cat-card .cat-name {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
}
.cat-card .cat-count {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ─── İLAN KARTI ───────────────────────────────────── */
.listing-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.listing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.listing-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
}
.listing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.listing-card:hover .listing-card-img img {
    transform: scale(1.05);
}
.listing-card-img .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 48px;
}
/* Öne Çıkan ilan kartı */
.listing-featured {
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245,158,11,.12) !important;
}
.listing-badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    background: linear-gradient(135deg,#f59e0b,#d97706);
    color: #fff;
    z-index: 2;
}
.listing-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}
.badge-used  { background: #fff3cd; color: #856404; }
.badge-new   { background: #d1fae5; color: #065f46; }
.listing-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all var(--transition);
}
.listing-fav:hover { background: #fff; color: var(--danger); }
.listing-fav.active { color: var(--danger); }

.listing-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.listing-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.listing-card-title:hover { color: var(--primary); }
.listing-card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-top: auto;
    padding-top: 8px;
}
.listing-card-price .currency { font-size: 13px; font-weight: 600; }
.listing-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 8px;
}
.listing-oem {
    font-size: 11px;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 4px;
    padding: 2px 6px;
    display: inline-block;
    margin-top: 4px;
    font-family: monospace;
}

/* ─── SECTION BAŞLIKLARI ───────────────────────────── */
.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}
.section-sub { color: var(--text-muted); font-size: 14px; }
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

/* ─── MAĞAZA KARTI ─────────────────────────────────── */
.store-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
    text-decoration: none;
    color: var(--text);
    display: block;
    height: 100%;
}
.store-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    color: var(--text);
}
.store-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 4px;
    border: 2px solid var(--border);
    margin: 0 auto 12px;
    display: block;
}
.store-logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.store-verified { color: var(--primary); font-size: 13px; }

/* ─── FİLTRE SİDEBAR ───────────────────────────────── */
.filter-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 20px;
    position: sticky;
    top: 152px;
}
.filter-card h6 {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.filter-sep { border-color: var(--border); margin: 16px 0; }

/* ─── FORM ELEMANLAR ───────────────────────────────── */
.form-label { font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    padding: 10px 14px;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,.12);
}
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { font-size: 12px; }

/* ─── BUTONLAR ─────────────────────────────────────── */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-outline-primary { border-color: var(--primary); color: var(--primary); font-weight: 600; }
.btn-outline-primary:hover { background: var(--primary); }

/* ─── ALERT ────────────────────────────────────────── */
.alert { border-radius: var(--radius); border: none; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger   { background: #fee2e2; color: #991b1b; }
.alert-warning  { background: #fef9c3; color: #713f12; }
.alert-info     { background: #dbeafe; color: #1e40af; }

/* ─── BREADCRUMB ───────────────────────────────────── */
.breadcrumb { font-size: 13px; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }
.breadcrumb-item a { text-decoration: none; }
.breadcrumb-item.active { color: var(--text-muted); }

/* ─── PANEL / HESAP ────────────────────────────────── */
.panel-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
}
.panel-sidebar .nav-link {
    color: var(--text);
    padding: 12px 18px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
    transition: all var(--transition);
}
.panel-sidebar .nav-link:hover { background: var(--primary-light); color: var(--primary); }
.panel-sidebar .nav-link.active { background: var(--primary); color: #fff; font-weight: 600; }
.panel-sidebar .nav-link i { font-size: 16px; }
.panel-content {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 24px;
}

/* ─── DETAY SAYFASI ────────────────────────────────── */
.listing-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
    background: #f8fafc;
    aspect-ratio: 4/3;
}
.listing-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.listing-gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.listing-gallery-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color var(--transition);
}
.listing-gallery-thumbs img:hover,
.listing-gallery-thumbs img.active { border-color: var(--primary); }

.listing-detail-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 24px;
}
.listing-price-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    padding: 20px;
    color: #fff;
    text-align: center;
    margin-bottom: 16px;
}
.listing-price-box .price { font-size: 32px; font-weight: 900; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr:nth-child(even) { background: var(--bg-light); }
.spec-table td {
    padding: 10px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.spec-table td:first-child { font-weight: 600; color: var(--text-muted); width: 40%; }

/* ─── UPLOAD ALAN ──────────────────────────────────── */
.upload-zone {
    border: 2.5px dashed var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-light);
}
.upload-zone:hover, .upload-zone.drag-over {
    border-color: var(--primary);
    background: var(--primary-light);
}
.upload-zone i { font-size: 36px; color: var(--primary); }
.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.upload-preview-item {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
}
.upload-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.upload-preview-item .remove-img {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(220,53,69,.9);
    color: #fff;
    border: none;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ─── FOOTER ───────────────────────────────────────── */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
}
.footer-top { border-top: 3px solid var(--primary); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom { background: rgba(0,0,0,.2); }
.text-primary-light { color: #6db3ff; }

/* ─── BADGE & DURUM ────────────────────────────────── */
.badge-status-active   { background: #d1fae5; color: #065f46; }
.badge-status-pending  { background: #fef9c3; color: #713f12; }
.badge-status-rejected { background: #fee2e2; color: #991b1b; }
.badge-status-sold     { background: #e5e7eb; color: #374151; }

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 991px) {
    /* Tablet: header-nav yok, filter-card daha yakın */
    .filter-card { top: 106px; } /* topbar + header-main */
}
@media (max-width: 767px) {
    .hero { padding: 36px 0; }
    .listing-price-box .price { font-size: 24px; }
    .panel-content { padding: 16px; }
    .filter-card { position: static; top: auto; }
    .header-main-inner { gap: 10px; }
    .logo-name { font-size: 17px; }
    .logo-icon { width: 36px; height: 36px; font-size: 18px; }
}
@media (max-width: 480px) {
    .hdr-add-btn { padding: 0 12px; }
    .logo-tld { display: none; }
}

/* ─── SCROLL BAR ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ─── QUILL EDITÖR ────────────────────────────────── */
.quill-wrapper {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.quill-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,.12);
}
.quill-wrapper .ql-toolbar {
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    background: #f8fafc;
    padding: 8px 12px;
    flex-wrap: wrap;
}
.quill-wrapper .ql-toolbar .ql-formats {
    margin-right: 10px;
}
.quill-wrapper .ql-container {
    border: none !important;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 14.5px;
    color: var(--text);
}
.quill-wrapper .ql-editor {
    min-height: 180px;
    max-height: 420px;
    overflow-y: auto;
    padding: 14px 16px;
    line-height: 1.7;
}
.quill-wrapper .ql-editor.ql-blank::before {
    color: #9ca3af;
    font-style: normal;
    font-size: 14px;
}
.quill-wrapper .ql-editor:focus { outline: none; }

/* Quill toolbar buton renkleri */
.quill-wrapper .ql-toolbar button:hover,
.quill-wrapper .ql-toolbar button.ql-active { color: var(--primary) !important; }
.quill-wrapper .ql-toolbar button:hover .ql-stroke,
.quill-wrapper .ql-toolbar button.ql-active .ql-stroke { stroke: var(--primary) !important; }
.quill-wrapper .ql-toolbar button:hover .ql-fill,
.quill-wrapper .ql-toolbar button.ql-active .ql-fill  { fill: var(--primary) !important; }

/* ─── QUILL GÖRÜNTÜLEME (ilan detay) ──────────────── */
.ql-view {
    color: var(--text);
    line-height: 1.75;
    font-size: 15px;
}
.ql-view h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.2rem 0 .5rem;
    color: var(--dark);
}
.ql-view h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1rem 0 .4rem;
    color: var(--dark);
}
.ql-view h4 {
    font-size: .95rem;
    font-weight: 700;
    margin: .8rem 0 .3rem;
}
.ql-view p { margin-bottom: .6rem; }
.ql-view p:last-child { margin-bottom: 0; }
.ql-view ul, .ql-view ol {
    padding-left: 1.6rem;
    margin: .5rem 0 .8rem;
}
.ql-view li { margin-bottom: .25rem; }
.ql-view blockquote {
    border-left: 3px solid var(--primary);
    padding: 8px 16px;
    margin: .8rem 0;
    color: var(--text-muted);
    background: var(--primary-light);
    border-radius: 0 6px 6px 0;
    font-style: italic;
}
.ql-view hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1rem 0;
}
.ql-view strong, .ql-view b { font-weight: 700; }
.ql-view em, .ql-view i { font-style: italic; }
.ql-view u { text-decoration: underline; }
.ql-view s { text-decoration: line-through; color: var(--text-muted); }

/* ─── LOADING ──────────────────────────────────────── */
.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
