/* =====================
   RESET & BASE
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #ff6b35;
    --primary-dark: #e55a25;
    --primary-light: #fff3ee;
    --secondary: #2d6a4f;
    --secondary-light: #e8f5ef;
    --accent: #ffd166;
    --dark: #1a1a2e;
    --dark2: #2d2d44;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --gray-border: #e5e7eb;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-md: 0 4px 24px rgba(0,0,0,.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.16);
    --transition: .2s ease;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --container: 1280px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: #f8f9fb; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* =====================
   LAYOUT
===================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.page-wrap { display: flex; gap: 28px; padding: 28px 0; }
.main-col { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; }
@media(max-width:900px){ .page-wrap { flex-direction: column; } .sidebar { width: 100%; } }

/* =====================
   HEADER
===================== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 0;
}
.site-logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 1.5rem; font-weight: 700; color: var(--primary);
    white-space: nowrap;
}
.logo-icon { font-size: 1.8rem; }
.logo-text { color: var(--dark); }
.logo-text strong { color: var(--primary); }

/* Arama */
.header-search {
    flex: 1; display: flex; border: 2px solid var(--gray-border);
    border-radius: 50px; overflow: hidden; transition: border-color var(--transition);
    max-width: 520px;
}
.header-search:focus-within { border-color: var(--primary); }
.header-search .search-cat {
    border: none; outline: none; padding: 0 14px;
    background: var(--gray-light); color: var(--dark);
    font-size: .85rem; cursor: pointer;
    border-right: 1px solid var(--gray-border);
}
.header-search input {
    flex: 1; border: none; outline: none; padding: 10px 14px;
    font-size: .95rem; background: transparent;
}
.header-search button {
    border: none; background: var(--primary); color: white;
    padding: 10px 18px; font-size: 1.1rem; transition: background var(--transition);
}
.header-search button:hover { background: var(--primary-dark); }

/* Nav */
.header-nav { display: flex; align-items: center; gap: 10px; }

/* Kategori bar */
.category-bar {
    display: flex; gap: 4px; padding: 8px 0;
    overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid var(--gray-border);
}
.category-bar::-webkit-scrollbar { display: none; }
.cat-link {
    white-space: nowrap; padding: 6px 14px;
    border-radius: 50px; font-size: .85rem; font-weight: 500;
    color: var(--gray); transition: all var(--transition);
}
.cat-link:hover, .cat-link.active {
    background: var(--primary-light); color: var(--primary);
}

/* User menu */
.user-menu { position: relative; }
.user-btn {
    background: var(--gray-light); border: none; padding: 8px 14px;
    border-radius: 50px; font-size: .9rem; font-weight: 500;
    color: var(--dark); transition: background var(--transition);
}
.user-btn:hover { background: var(--gray-border); }
.user-dropdown {
    display: none; position: absolute; right: 0; top: calc(100% + 8px);
    background: white; border-radius: var(--radius); box-shadow: var(--shadow-md);
    min-width: 180px; z-index: 200; overflow: hidden;
    border: 1px solid var(--gray-border);
}
.user-menu:hover .user-dropdown { display: block; }
.user-dropdown a {
    display: block; padding: 10px 16px; font-size: .9rem;
    transition: background var(--transition); color: var(--dark);
}
.user-dropdown a:hover { background: var(--gray-light); }
.user-dropdown hr { border: none; border-top: 1px solid var(--gray-border); }
.logout-link { color: var(--error) !important; }

/* Mobile menu btn */
.mobile-menu-btn {
    display: none; background: none; border: none;
    font-size: 1.5rem; color: var(--dark);
}

/* =====================
   BUTTONS
===================== */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; border-radius: 50px;
    font-size: .9rem; font-weight: 600;
    border: 2px solid transparent; transition: all var(--transition);
    white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,53,.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-secondary { background: var(--secondary); color: white; border-color: var(--secondary); }
.btn-secondary:hover { background: #235a40; }
.btn-gray { background: var(--gray-light); color: var(--dark); border-color: var(--gray-border); }
.btn-gray:hover { background: var(--gray-border); }
.btn-sm { padding: 6px 14px; font-size: .82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* =====================
   HERO
===================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #ff9a56 50%, var(--accent) 100%);
    padding: 60px 0; text-align: center; color: white;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '🐾'; position: absolute; font-size: 200px;
    opacity: .06; right: -20px; bottom: -40px; transform: rotate(20deg);
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.hero p { font-size: 1.1rem; opacity: .9; margin-bottom: 28px; }
.hero-search {
    max-width: 600px; margin: 0 auto;
    display: flex; gap: 0; border-radius: 50px; overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.hero-search input {
    flex: 1; padding: 16px 24px; border: none; outline: none;
    font-size: 1rem;
}
.hero-search button {
    padding: 16px 28px; background: var(--dark); color: white;
    border: none; font-size: 1rem; font-weight: 600; cursor: pointer;
    transition: background var(--transition);
}
.hero-search button:hover { background: var(--dark2); }
.hero-stats { display: flex; justify-content: center; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; }
.hero-stat span { font-size: .85rem; opacity: .85; }

/* =====================
   SECTION
===================== */
.section { padding: 48px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-title { font-size: 1.4rem; font-weight: 700; color: var(--dark); }
.section-title span { color: var(--primary); }
.section-link { color: var(--primary); font-size: .9rem; font-weight: 500; }
.section-link:hover { text-decoration: underline; }

/* =====================
   KATEGORİ KARTLARI
===================== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}
.cat-card {
    background: white; border-radius: var(--radius);
    padding: 24px 16px; text-align: center;
    box-shadow: var(--shadow); transition: all var(--transition);
    border: 2px solid transparent;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.cat-card-icon { font-size: 2.5rem; margin-bottom: 10px; }
.cat-card-name { font-size: .9rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.cat-card-count { font-size: .8rem; color: var(--gray); }

/* =====================
   İLAN KARTLARI
===================== */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.listing-card {
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: all var(--transition); position: relative;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.listing-card.featured { border: 2px solid var(--accent); }
.listing-card.featured::after {
    content: '⭐ Öne Çıkan'; position: absolute; top: 12px; left: 12px;
    background: var(--accent); color: var(--dark); padding: 3px 10px;
    border-radius: 50px; font-size: .75rem; font-weight: 700;
}
.listing-img {
    width: 100%; height: 200px; object-fit: cover;
    background: var(--gray-light);
}
.listing-img-placeholder {
    width: 100%; height: 200px; background: var(--gray-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--gray);
}
.listing-body { padding: 14px; }
.listing-cat {
    display: inline-block; font-size: .75rem; font-weight: 600;
    color: var(--primary); background: var(--primary-light);
    padding: 3px 10px; border-radius: 50px; margin-bottom: 8px;
}
.listing-title {
    font-size: 1rem; font-weight: 600; color: var(--dark);
    margin-bottom: 6px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.listing-title:hover { color: var(--primary); }
.listing-meta { display: flex; gap: 10px; font-size: .8rem; color: var(--gray); margin-bottom: 10px; flex-wrap: wrap; }
.listing-meta span { display: flex; align-items: center; gap: 3px; }
.listing-footer { display: flex; align-items: center; justify-content: space-between; }
.listing-price { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.listing-price.free { color: var(--success); }
.fav-btn {
    background: none; border: none; font-size: 1.3rem;
    cursor: pointer; transition: transform var(--transition);
    color: var(--gray);
}
.fav-btn:hover, .fav-btn.active { color: var(--error); transform: scale(1.2); }

/* =====================
   İLAN DETAY
===================== */
.listing-detail { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.listing-gallery { position: relative; margin-bottom: 24px; }
.gallery-main { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumb {
    width: 80px; height: 60px; object-fit: cover;
    border-radius: var(--radius-sm); cursor: pointer;
    border: 2px solid transparent; transition: border-color var(--transition); flex-shrink: 0;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }

.listing-detail-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.listing-detail-price { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.listing-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 12px; border-radius: 50px; font-size: .82rem; font-weight: 500;
}
.tag-green { background: var(--secondary-light); color: var(--secondary); }
.tag-blue { background: #eff6ff; color: #2563eb; }
.tag-gray { background: var(--gray-light); color: var(--gray); }
.tag-orange { background: var(--primary-light); color: var(--primary); }

.listing-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.info-item { background: var(--gray-light); padding: 12px; border-radius: var(--radius-sm); }
.info-label { font-size: .78rem; color: var(--gray); margin-bottom: 3px; }
.info-value { font-size: .95rem; font-weight: 600; color: var(--dark); }

.listing-desc h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.listing-desc p { color: var(--gray); line-height: 1.8; white-space: pre-line; }

/* Satıcı kutusu */
.seller-card { background: var(--gray-light); border-radius: var(--radius); padding: 20px; }
.seller-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.seller-info { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.seller-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--gray-border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.seller-name { font-weight: 600; font-size: 1rem; }
.seller-city { font-size: .85rem; color: var(--gray); }
.seller-since { font-size: .8rem; color: var(--gray); }

/* =====================
   FORMLAR
===================== */
.form-card { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 520px; margin: 0 auto; }
.form-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.form-subtitle { color: var(--gray); font-size: .9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-label .req { color: var(--error); margin-left: 2px; }
.form-control {
    width: 100%; padding: 11px 14px;
    border: 2px solid var(--gray-border); border-radius: var(--radius-sm);
    font-size: .95rem; color: var(--dark); background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(255,107,53,.1); }
.form-control.error { border-color: var(--error); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: .8rem; color: var(--gray); margin-top: 4px; }
.form-error { font-size: .82rem; color: var(--error); margin-top: 4px; }
.form-divider { text-align: center; color: var(--gray); font-size: .88rem; margin: 16px 0; position: relative; }
.form-divider::before, .form-divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--gray-border); }
.form-divider::before { left: 0; } .form-divider::after { right: 0; }

/* Checkbox & Radio */
.check-group { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.check-group input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.check-group label { font-size: .9rem; cursor: pointer; }

/* File upload */
.file-upload-area {
    border: 2px dashed var(--gray-border); border-radius: var(--radius);
    padding: 32px; text-align: center; cursor: pointer;
    transition: all var(--transition); background: var(--gray-light);
}
.file-upload-area:hover, .file-upload-area.drag-over { border-color: var(--primary); background: var(--primary-light); }
.file-upload-area .upload-icon { font-size: 2.5rem; margin-bottom: 8px; }
.file-upload-area p { font-size: .9rem; color: var(--gray); }
.file-preview { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.preview-item { position: relative; width: 90px; height: 90px; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.preview-remove { position: absolute; top: -6px; right: -6px; background: var(--error); color: white; border: none; border-radius: 50%; width: 22px; height: 22px; font-size: .8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* =====================
   ALERTS
===================== */
.alert {
    padding: 12px 16px; border-radius: var(--radius-sm);
    font-size: .9rem; display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 12px; position: relative;
}
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--success); }
.alert-error { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--error); }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--warning); }
.alert-info { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--info); }
.alert-close { position: absolute; right: 10px; top: 10px; background: none; border: none; font-size: 1.1rem; cursor: pointer; opacity: .6; }
.flash-container { position: fixed; top: 80px; right: 20px; z-index: 1000; max-width: 360px; }

/* =====================
   SIDEBAR WİDGET
===================== */
.widget { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.widget-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--dark); padding-bottom: 10px; border-bottom: 2px solid var(--primary-light); }

/* Filtre widget */
.filter-form .form-group { margin-bottom: 14px; }
.filter-form .form-label { font-size: .82rem; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 100%; }
.price-range span { color: var(--gray); font-size: .9rem; flex-shrink: 0; }

/* =====================
   SAYFALAMA
===================== */
.pagination-nav { margin: 32px 0; display: flex; justify-content: center; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 10px;
    border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500;
    background: white; color: var(--dark); box-shadow: var(--shadow);
    transition: all var(--transition); border: 1px solid var(--gray-border);
}
.page-link:hover, .page-link.active { background: var(--primary); color: white; border-color: var(--primary); }
.page-dots { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; color: var(--gray); }

/* =====================
   BREADCRUMB
===================== */
.breadcrumb { padding: 14px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: .85rem; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--gray); }

/* =====================
   FOOTER
===================== */
.site-footer { background: var(--dark); color: #ccc; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0 32px; }
.footer-logo { font-size: 1.4rem; color: white; font-weight: 700; margin-bottom: 12px; }
.footer-col p { font-size: .9rem; line-height: 1.7; }
.footer-col h3 { color: white; font-size: 1rem; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: .88rem; color: #aaa; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--primary); }
.footer-social { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.footer-social a { font-size: .88rem; color: #aaa; transition: color var(--transition); }
.footer-social a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; display: flex; justify-content: space-between; font-size: .82rem; color: #888; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #888; } .footer-bottom a:hover { color: var(--primary); }

/* =====================
   MOBİL MENU
===================== */
.mobile-menu {
    position: fixed; top: 0; left: -100%; width: 280px; height: 100vh;
    background: white; z-index: 500; transition: left .3s ease;
    overflow-y: auto; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { left: 0; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 499; }
.mobile-overlay.show { display: block; }
.mobile-menu-inner { padding: 20px; }
.mobile-menu-close { background: none; border: none; font-size: 1.4rem; margin-bottom: 20px; color: var(--dark); }
.mobile-menu nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--gray-border); font-size: 1rem; color: var(--dark); }
.mobile-menu nav hr { border: none; border-top: 2px solid var(--gray-border); margin: 8px 0; }

/* =====================
   IRKLAR
===================== */
.breeds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.breed-card { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: all var(--transition); text-align: center; }
.breed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.breed-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; background: var(--gray-light); }
.breed-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.breed-origin { font-size: .82rem; color: var(--gray); margin-bottom: 10px; }
.breed-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

/* =====================
   PROFIL
===================== */
.profile-header { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.profile-avatar-wrap { position: relative; }
.profile-avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.profile-info h1 { font-size: 1.4rem; font-weight: 700; }
.profile-info p { color: var(--gray); font-size: .9rem; }
.profile-tabs { display: flex; gap: 4px; background: white; border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow); margin-bottom: 24px; overflow-x: auto; }
.profile-tab { padding: 8px 18px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: var(--gray); cursor: pointer; white-space: nowrap; transition: all var(--transition); text-decoration: none; display: block; }
.profile-tab.active { background: var(--primary); color: white; }

/* =====================
   TABLO (ADMIN)
===================== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--gray-border); font-size: .9rem; }
th { background: var(--gray-light); font-weight: 600; color: var(--dark); }
tr:hover td { background: #fafafa; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-gray { background: var(--gray-light); color: var(--gray); }

/* =====================
   ADMIN LAYOUT
===================== */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--dark); flex-shrink: 0; }
.admin-sidebar .admin-logo { padding: 20px; font-size: 1.2rem; font-weight: 700; color: white; border-bottom: 1px solid #333; }
.admin-sidebar nav a { display: block; padding: 12px 20px; color: #aaa; font-size: .9rem; transition: all var(--transition); }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,107,53,.15); color: var(--primary); border-left: 3px solid var(--primary); }
.admin-main { flex: 1; padding: 28px; background: #f8f9fb; overflow-x: hidden; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-title { font-size: 1.5rem; font-weight: 700; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat-card-value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-card-label { font-size: .88rem; color: var(--gray); margin-top: 4px; }

/* =====================
   RESPONSIVE
===================== */
@media(max-width:1024px){
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px){
    .header-search { display: none; }
    .header-nav .btn-outline { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 40px 0; }
    .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 20px; }
    .listing-info-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .gallery-main { height: 260px; }
    .admin-wrap { flex-direction: column; }
    .admin-sidebar { width: 100%; }
}
@media(max-width:480px){
    .listings-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 1.6rem; }
    .hero-search { flex-direction: column; border-radius: var(--radius); }
    .hero-search input, .hero-search button { border-radius: 0; }
    .profile-header { flex-direction: column; text-align: center; }
}

/* =====================
   YÜKLENME & YARDIMCILAR
===================== */
.loading { display: flex; justify-content: center; padding: 40px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--gray-border); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-state .empty-icon { font-size: 3.5rem; margin-bottom: 12px; }
.empty-state h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.text-center { text-align: center; }
.text-gray { color: var(--gray); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.mt-4 { margin-top: 16px; } .mt-8 { margin-top: 32px; } .mb-4 { margin-bottom: 16px; }
.hidden { display: none; }
.flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; } .gap-4 { gap: 16px; }
.w-full { width: 100%; }
