/* Hayvancılık İlan Sitesi - Tutarlı UI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E85D2C;
    --primary-hover: #d14d20;
    --primary-soft: rgba(232, 93, 44, 0.08);
    --accent-green: #2d6a2d;
    --accent-green-hover: #245224;

    --white: #FFFFFF;
    --bg-page: #f0f2f0;
    --bg-card: #ffffff;
    --border: #e2e4e2;
    --border-strong: #d0d2d0;
    --text: #1a1a1a;
    --text-muted: #5c5c5c;
    --text-light: #8c8c8c;
    --text-gray: #5c5c5c;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

body {
    font-family: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--bg-page);
    min-height: 100vh;
}

/* ============================================
   TOP HEADER
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
    color: var(--white);
    padding: 0;
    font-size: 14px;
    box-shadow: var(--shadow-md);
}

.top-bar-content {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.mobile-menu-toggle,
.mobile-search-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}

.top-bar-logo {
    flex-shrink: 0;
}

.top-bar-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Header logosu: metin, beyaz, Outfit */
.top-bar-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: #fff;
    white-space: nowrap;
}

.top-bar-logo-text:hover {
    color: #fff;
    opacity: 0.9;
}

/* Site adı modern yazı tipi (footer vb.) */
.site-name-modern {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.top-bar-search {
    flex: 1;
    max-width: 600px;
    margin: 0 30px;
}

.top-search-box {
    display: flex;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    align-items: center;

}

.top-search-box input {
    flex: 1;
    padding: 10px 120px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    padding: 10px 15px;
    border: none;
    font-size: 13px;
    outline: none;
    color: #333;
}

.top-search-box input::placeholder {
    color: #999;
}

.top-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.top-search-box .search-icon {
    position: absolute;
    left: 14px;
    color: #999;
    font-size: 14px;
}


.top-search-box input {
    flex: 1;
    padding: 10px 120px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.top-search-box .search-btn {
    position: absolute;
    right: 4px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease;
    font-weight: 600;
    font-size: 13px;
}

.top-search-box .search-btn:hover {
    background: var(--primary-hover);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-icon-link {
    position: relative;
    color: white;
    font-size: 18px;
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.top-bar-icon-link:hover {
    color: #FFD700;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #E53935;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.top-bar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
}

.top-bar-link {
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.top-bar-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.top-bar-btn-primary {
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.4);
}

.top-bar-btn-primary:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.top-bar-btn-add {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow);
}

.top-bar-btn-add:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 93, 44, 0.35);
}

.top-bar-user-menu {
    position: relative;
}

.user-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar i {
    font-size: 14px;
}

.user-name {
    font-size: 13px;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-btn i.fa-chevron-down {
    font-size: 10px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.user-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

.user-dropdown a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.user-dropdown a i {
    width: 18px;
    text-align: center;
    color: var(--text-light);
}

.user-dropdown a:hover i {
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* Mesaj ve Bildirim Dropdown'ları */
.top-bar-dropdown-wrapper {
    position: relative;
}

.top-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 360px;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.top-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid #E8E8E8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.dropdown-header a {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.dropdown-header a:hover {
    text-decoration: underline;
}

.dropdown-items {
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1px solid #F5F5F5;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-item:hover {
    background: #F9F9F9;
}

.dropdown-item.unread {
    background: #FFF8F5;
}

.dropdown-item.unread:hover {
    background: #FFF0E8;
}

.item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E8E8E8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-avatar i {
    font-size: 20px;
    color: #999;
}

.item-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon i {
    font-size: 16px;
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.item-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-time {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* ============================================
   MAIN HEADER
   ============================================ */
.main-header {
    background-color: var(--white);
    border-bottom: 3px solid var(--primary);
    padding: 15px 0;
}

.header-content {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.header-search {
    flex: 1;
    max-width: 600px;
}

.search-box {
    display: flex;
    border: 2px solid var(--border-strong);
    background: var(--white);
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-box button {
    padding: 10px 25px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.search-box button:hover {
    background-color: var(--primary-hover);
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.page-container {
    max-width: 1380px;
    margin: 0 auto 32px;
    padding: 20px 20px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    min-height: 200px;
}

.content-layout {
    display: flex;
    gap: 24px;
}

/* Sağ sütun: reklam + widget */
.sidebar-right {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget-quick-links {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.widget-quick-links-title {
    background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
    color: white;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.widget-quick-links-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.widget-quick-links-list li {
    border-bottom: 1px solid var(--border);
}

.widget-quick-links-list li:last-child {
    border-bottom: none;
}

.widget-quick-links-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.widget-quick-links-list a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.widget-quick-links-list a i {
    width: 20px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    transition: color 0.2s;
}

.widget-quick-links-list a:hover i {
    color: var(--primary);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    width: 250px;
    flex-shrink: 0;
}

/* Sidebar: Ücretsiz İlan Ver kutusu */
.sidebar-cta-box {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.sidebar-cta-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 14px;
    text-decoration: none;
    color: white;
    transition: opacity 0.2s, transform 0.2s;
}

.sidebar-cta-link:hover {
    color: white;
    opacity: 0.95;
    transform: translateY(-1px);
}

.sidebar-cta-icon {
    font-size: 24px;
    margin-bottom: 6px;
    opacity: 0.95;
}

.sidebar-cta-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.sidebar-cta-desc {
    font-size: 12px;
    opacity: 0.9;
}

.sidebar-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
}

.sidebar-title {
    background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
    padding: 11px 14px;
    font-weight: 700;
    font-size: 12px;
    border-bottom: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.sidebar-content {
    padding: 8px 0;
}

.category-list {
    list-style: none;
}

.category-item {
    border-bottom: 1px solid var(--border);
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.category-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.category-link i {
    width: 20px;
    margin-right: 10px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    transition: color 0.2s;
}

.category-link:hover i {
    color: var(--primary);
}

/* ============================================
   FILTERS
   ============================================ */
.filters-section {
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 15px;
    margin-bottom: 15px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 12px;
    color: var(--text-gray);
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border-strong);
    font-size: 13px;
    background-color: var(--white);
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-button {
    width: 100%;
    padding: 10px;
    background-color: var(--accent-green);
    color: var(--white);
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
}

.filter-button:hover {
    background-color: var(--accent-green-hover);
}

/* ============================================
   AD PLACEHOLDERS (Reklam Alanları) - Site ile uyumlu
   ============================================ */
.ad-placeholder {
    background-color: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    text-align: center;
    position: relative;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.ad-placeholder-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 120px;
    transition: background-color 0.2s;
}
.ad-placeholder-inner,
.ad-placeholder .ad-placeholder-img {
    flex: 1;
}
.ad-placeholder-link:hover {
    background-color: var(--bg-page);
}
.ad-placeholder-link:hover .ad-placeholder-cta {
    color: var(--accent-green-hover);
}
.ad-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    min-height: 140px;
    gap: 8px;
}
.ad-placeholder-icon {
    font-size: 26px;
    color: var(--primary);
}
.ad-placeholder-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}
.ad-placeholder-cta {
    font-size: 12px;
    color: var(--accent-green);
    font-weight: 600;
    transition: color 0.2s;
}
.ad-placeholder-label {
    display: block;
    background-color: var(--bg-page);
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid var(--border);
}
.ad-placeholder-img {
    width: 100%;
    height: auto;
    display: block;
}
.ad-placeholder-left .ad-placeholder-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.ad-placeholder-left {
    width: 100%;
    min-height: 250px;
    margin-bottom: 20px;
}
.ad-placeholder-right {
    width: 160px;
    flex-shrink: 0;
    min-height: 400px;
    align-self: flex-start;
}
/* Ana sayfa: öne çıkan ilanların altındaki bölüm (reklam + ilan listesi) */
.home-below-featured {
    padding-bottom: 0;
}
.ad-placeholder-billboard {
    max-width: 1140px;
    margin: 0 auto 10px;
    min-height: 0;
    padding: 0 15px;
}
.ad-placeholder-billboard .ad-placeholder-link {
    min-height: 0;
}
.ad-placeholder-billboard .ad-placeholder-inner {
    min-height: 72px;
    padding: 10px 20px;
    gap: 4px;
}
.ad-placeholder-billboard .ad-placeholder-label {
    padding: 5px 10px;
    font-size: 10px;
}
.ad-placeholder-billboard .ad-placeholder-text {
    font-size: 17px;
}
@media (max-width: 1024px) {
    .ad-placeholder-right,
    .sidebar-right {
        display: none;
    }
}
/* Kenar reklam şeritleri (işaretlenen sol/sağ alanlar) – sadece geniş ekranda */
.ad-strip {
    display: none;
    position: fixed;
    top: 88px;
    bottom: 0;
    width: 130px;
    z-index: 200;
    overflow: auto;
    background: #f0f2f0;
    border-right: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 0 20px rgba(0,0,0,0.04);
    pointer-events: auto;
}
.ad-strip-right {
    right: 0;
    border-right: none;
    border-left: 1px solid rgba(0,0,0,0.06);
}
.ad-strip-left {
    left: 0;
}
.ad-strip-inner {
    padding: 16px 10px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    pointer-events: auto;
}
.ad-strip-inner a {
    display: block;
    width: 100%;
    pointer-events: auto;
    cursor: pointer;
}
.ad-strip-inner img {
    max-width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}
/* Geniş ekranda şeritleri göster ve ana içerik (1380px) ile hizala */
@media (min-width: 1280px) {
    .ad-strip {
        display: block;
    }
}
@media (min-width: 1640px) {
    .ad-strip-left {
        left: calc(50% - 830px); /* içeriğin sol kenarının hemen solunda */
    }
    .ad-strip-right {
        right: calc(50% - 830px);
    }
}
.ad-strip .ad-placeholder {
    min-height: 100%;
    border: none;
    border-radius: 0;
}
.ad-strip .ad-placeholder-link {
    min-height: 400px;
    flex-direction: column;
    padding: 16px 10px;
}
.ad-strip .ad-placeholder-inner {
    flex: 1;
    min-height: 200px;
    padding: 20px 8px;
    flex-direction: column;
    gap: 8px;
}
.ad-strip .ad-placeholder-icon {
    font-size: 22px;
}
.ad-strip .ad-placeholder-text {
    font-size: 12px;
    text-align: center;
    line-height: 1.35;
}
.ad-strip .ad-placeholder-cta {
    font-size: 11px;
}
.ad-strip .ad-placeholder-label {
    margin-top: auto;
    padding: 6px 8px;
    font-size: 10px;
}

/* Kayan reklam yazısı (öne çıkan ilanların üstü) */
.ad-marquee-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.ad-marquee {
    padding: 10px 16px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}
.ad-marquee-text {
    display: inline-block;
    animation: ad-marquee-scroll 30s linear infinite;
}
@keyframes ad-marquee-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
/* Orta yatay banner (öne çıkan ilanların hemen üstü) */
.ad-banner-center {
    margin-bottom: 16px;
}
.ad-banner-center img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
    flex: 1;
    min-width: 0;
}

.page-title-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius);
}

.page-title-bar .page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.page-title-bar .breadcrumb {
    width: 100%;
    order: -1;
}

.result-count {
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

/* ============================================
   LISTING GRID
   ============================================ */
.listings-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.listing-item {
    display: flex;
    text-decoration: none;
    color: inherit;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.listing-item:hover {
    background: var(--primary-soft);
}

.listing-item:last-child {
    border-bottom: none;
}

.listing-image-container {
    width: 140px;
    height: 105px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    position: relative;
}

.listing-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.listing-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-title:hover {
    color: var(--primary);
}

.listing-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.listing-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.listing-meta i {
    color: var(--text-muted);
    font-size: 11px;
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 12px;
    flex-wrap: wrap;
}

.listing-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.listing-location {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-green);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-success {
    background: var(--accent-green);
    color: var(--white);
}

.btn-success:hover {
    background: var(--accent-green-hover);
}

.btn-secondary {
    background-color: #6c757d;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 12px 30px;
    font-size: 15px;
}

/* ============================================
   FORMS
   ============================================ */
.form-container {
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-strong);
    font-size: 13px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid;
}

.alert-success {
    background-color: #E8F5E9;
    border-color: var(--accent-green);
    color: var(--accent-green-hover);
}

.alert-error {
    background-color: #FFEBEE;
    border-color: #D32F2F;
    color: #B71C1C;
}

.alert-info {
    background-color: #FFF3E0;
    border-color: var(--primary);
    color: var(--primary-hover);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

.footer-top {
    padding: 40px 0 30px;
    border-bottom: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-top .footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B35;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.footer-social li {
    margin-bottom: 10px;
}

.footer-social a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #FF6B35;
}

.footer-social i {
    width: 20px;
    font-size: 16px;
}

.footer-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-contact-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.footer-phone,
.footer-email {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-phone i,
.footer-email i {
    color: #FF6B35;
    width: 16px;
}

.footer-bottom {
    padding: 20px 0;
    background: #fff;
}

.footer-copyright {
    font-size: 12px;
    color: #999;
    margin: 0 0 8px 0;
    text-align: center;
}

.footer-note {
    font-size: 11px;
    color: #aaa;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .footer-top .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-top {
        padding: 30px 0 20px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Highlight Badges */
.listing-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.badge-item {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-emergency {
    background: #e74c3c;
}

.badge-featured {
    background: #f1c40f;
}

.badge-price-drop {
    background: #2ecc71;
}

/* Favorite Button */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    border: none;
}

.fav-btn:hover {
    transform: scale(1.1);
    color: #e74c3c;
}

.fav-btn.active {
    color: #e74c3c;
}


.listing-image-container {
    position: relative;
    overflow: hidden;
}


@media (max-width: 992px) {
    .content-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .listing-image-container {
        width: 100%;
        height: 200px;
    }

    .listing-details {
        padding: 10px 0;
    }

    .listing-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-title-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ============================================
   MOBILE BOTTOM NAVIGATION
   ============================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 2000;
    height: 64px;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #eee;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 10px;
    gap: 2px;
    flex: 1;
}

.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item.add-listing {
    position: relative;
    top: -10px;
    background: var(--primary);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(232, 93, 44, 0.35);
    flex: none;
    max-width: 44px;
}

.bottom-nav-item.add-listing i {
    font-size: 20px;
}

.bottom-nav-item.add-listing span {
    display: none;
}

/* ============================================
   MOBILE CATEGORY LIST (Sahibinden Style)
   ============================================ */
.mobile-category-list {
    display: none;
}

/* Mobil stiller assets/css/mobile.css dosyasında (media="(max-width: 992px)" ile yüklenir) */

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

/* Mobile-only elements hidden by default */
.mobile-filter-bar {
    display: none;
}

/* Sort Modal & Overlay */
.sort-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000 !important;
}
.sort-overlay.show { display: block !important; }

.sort-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 100001 !important;
    border-radius: 15px 15px 0 0;
    padding: 20px;
    transition: bottom 0.3s ease-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}
.sort-modal.show { bottom: 0 !important; display: block !important; }


.sort-modal-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sort-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sort-option {
    padding: 12px;
    border: 1px solid #f0f0f0;
    background: #fdfdfd;
    border-radius: 8px;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.sort-option:hover {
    background: #f5f5f5;
    border-color: #ddd;
}

/* Listings Header Bar (Desktop Sorting) */
.listings-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.result-info {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}
.sort-select-desktop {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13.5px;
    outline: none;
    cursor: pointer;
    background: #fafafa;
    font-family: inherit;
}
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.pagination-btn {
    padding: 9px 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.pagination-btn:hover {
    background: #f5f5f5;
}

.pagination-btn.active {
    background: #f28c28;
    color: #fff;
    border-color: #f28c28;
    font-weight: 600;
}

.pagination-dots {
    padding: 9px 4px;
    color: #777;
}
.sort-select-desktop:focus { border-color: var(--primary); }

@media (max-width: 992px) {
    .listings-header-bar { display: none; }
}
/* Vitrin ilan kartını normal ilandan ayır */
.listing-item.featured-listing-card {
    border: 2px solid #f4c542 !important;
    background: #fffdf4 !important;
    box-shadow: 0 6px 18px rgba(244, 197, 66, 0.25) !important;
    border-radius: 14px !important;
    position: relative;
    overflow: hidden;
}

/* Sol tarafta altın çizgi */
.listing-item.featured-listing-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #ffcc00, #d99a00);
}

/* Fiyat alanı */
.listing-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* Fiyat üstündeki vitrin etiketi */
.price-featured-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ffcc00, #e5a900);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 999px;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Vitrin ilanda fiyat */
.listing-item.featured-listing-card .listing-price {
    color: #e85b2a !important;
    font-weight: 900 !important;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .listing-item.featured-listing-card {
        border-left: 4px solid #f4c542 !important;
        border-top: 1px solid #f3df9a !important;
        border-right: 1px solid #f3df9a !important;
        border-bottom: 1px solid #f3df9a !important;
        background: #fffdf6 !important;
        box-shadow: 0 4px 12px rgba(244, 197, 66, 0.18) !important;
    }

    .listing-item.featured-listing-card::before {
        display: none;
    }

    .price-featured-label {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* Önce tüm mobil filtre barlarını gizle - indexte görünmesin */
@media (max-width: 768px) {
    .mobile-filter-bar {
        display: none !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    /* Sadece kategori sayfasında göster */
    .category-list-page .mobile-filter-bar {
        display: flex !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        width: 100% !important;
        height: 58px !important;
        background: #fff !important;
        margin: 0 0 12px 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #ddd !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
    }

    .category-list-page .mobile-filter-bar .filter-item {
        flex: 1 !important;
        height: 58px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: #fff !important;
        border: none !important;
        border-right: 1px solid #e5e5e5 !important;
        color: #444 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        padding: 0 4px !important;
    }

    .category-list-page .mobile-filter-bar .filter-item:last-child {
        border-right: none !important;
    }

    .category-list-page .mobile-filter-bar .filter-item span {
        display: block !important;
        white-space: normal !important;
    }

    /* Önceki fixed kodunun verdiği boşluğu sıfırla */
    .main-content {
        padding-top: 0 !important;
    }
}
/* Kategori sayfası mobil filtre barı - ilanların üstünde kalsın */
@media (max-width: 768px) {
    .category-list-page .mobile-filter-bar {
        display: flex !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 2147483647 !important;
        width: 100% !important;
        height: 58px !important;
        min-height: 58px !important;
        background: #ffffff !important;
        margin: 0 0 12px 0 !important;
        padding: 0 !important;
        border-top: none !important;
        border-bottom: 1px solid #dcdcdc !important;
        box-shadow: 0 5px 14px rgba(0,0,0,0.14) !important;
        overflow: hidden !important;
    }

    .category-list-page .mobile-filter-bar::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #ffffff;
        z-index: -1;
    }

    .category-list-page .mobile-filter-bar .filter-item {
        position: relative !important;
        z-index: 2 !important;
        flex: 1 !important;
        height: 58px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: #ffffff !important;
        border: none !important;
        border-right: 1px solid #e5e5e5 !important;
        color: #444 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        padding: 0 4px !important;
    }

    .category-list-page .mobile-filter-bar .filter-item:last-child {
        border-right: none !important;
    }

    /* İlan kartları filtre barının üstüne çıkmasın */
    .category-list-page .listing-item,
    .category-list-page .featured-listing-card,
    .category-list-page .listing-image-container,
    .category-list-page .fav-btn {
        z-index: 1 !important;
    }
}
/* Kategoriye özel filtre modal */
.category-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2147483647;
    align-items: flex-end;
}

.category-filter-overlay.show {
    display: flex;
}

.category-filter-modal {
    width: 100%;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 18px;
    max-height: 82vh;
    overflow-y: auto;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}

.category-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 20px;
}

.category-filter-header button {
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f1f1;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
}

.category-filter-form label {
    display: block;
    font-weight: 700;
    margin: 12px 0 6px;
    color: #333;
}

.category-filter-form select,
.category-filter-form input {
    width: 100%;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 16px;
    background: #fff;
}

.filter-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.category-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.clear-filter-btn,
.apply-filter-btn {
    flex: 1;
    height: 50px;
    border-radius: 14px;
    border: none;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.clear-filter-btn {
    background: #f1f1f1;
    color: #333;
}

.apply-filter-btn {
    background: #ff5b2e;
    color: #fff;
}
/* Kategori özel filtre: normalde gizli */
.category-filter-overlay {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.45) !important;
    z-index: 2147483647 !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

/* Butona basınca açılır */
.category-filter-overlay.show {
    display: flex !important;
}

/* Alttan açılan filtre kutusu */
.category-filter-modal {
    width: 100% !important;
    max-height: 82vh !important;
    overflow-y: auto !important;
    background: #fff !important;
    border-radius: 22px 22px 0 0 !important;
    padding: 18px !important;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.18) !important;
}

/* Başlık */
.category-filter-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 18px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}

.category-filter-header button {
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: #f1f1f1 !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

/* Form düzeni */
.category-filter-form label {
    display: block !important;
    font-weight: 700 !important;
    margin: 12px 0 6px !important;
    color: #333 !important;
}

.category-filter-form select,
.category-filter-form input {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    padding: 0 12px !important;
    font-size: 16px !important;
    background: #fff !important;
}

.filter-price-row {
    display: flex !important;
    gap: 12px !important;
}

.filter-price-row > div {
    flex: 1 !important;
}
.category-filter-actions {
    display: flex !important;
    gap: 10px !important;
    margin-top: 20px !important;
}

.clear-filter-btn,
.apply-filter-btn {
    flex: 1 !important;
    height: 50px !important;
    border-radius: 14px !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.clear-filter-btn {
    background: #f1f1f1 !important;
    color: #333 !important;
}

.apply-filter-btn {
    background: #ff5b2e !important;
    color: #fff !important;
}
/* Kategori filtre popup görünümü */
.category-filter-overlay {
    backdrop-filter: blur(2px);
}

.category-filter-sheet {
    width: 100%;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.18);
    padding: 18px 18px 24px;
    max-height: 82vh;
    overflow-y: auto;
}

.category-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.category-filter-header strong {
    font-size: 18px;
    font-weight: 800;
    color: #222;
}

.category-filter-close {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f2f2f2;
    color: #333;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-filter-form label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 12px 0 6px;
}

.category-filter-form select,
.category-filter-form input {
    width: 100%;
    height: 48px;
    border: 1px solid #dddddd;
    border-radius: 14px;
    background: #ffffff;
    padding: 0 14px;
    font-size: 16px;
    color: #333;
    outline: none;
    box-sizing: border-box;
}

.category-filter-form select:focus,
.category-filter-form input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}

.filter-price-row {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.filter-price-row > div {
    flex: 1;
}

.category-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.clear-filter-btn,
.apply-filter-btn {
    flex: 1;
    height: 50px;
    border-radius: 14px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-sizing: border-box;
}

.clear-filter-btn {
    background: #f3f3f3;
    color: #333;
}

.apply-filter-btn {
    background: #ff6b35;
    color: #fff;
}

.clear-filter-btn:hover {
    background: #ebebeb;
}

.apply-filter-btn:hover {
    background: #f25a22;
}

@media (max-width: 768px) {
    .category-filter-sheet {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }

    .category-filter-header strong {
        font-size: 17px;
    }

    .category-filter-form select,
    .category-filter-form input {
        height: 46px;
        font-size: 15px;
    }

    .clear-filter-btn,
    .apply-filter-btn {
        height: 48px;
        font-size: 15px;
    }
}
.delete-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    padding: 20px;
}

.delete-modal-overlay.active {
    display: flex;
}

.delete-modal-open {
    overflow: hidden;
}

.delete-modal-box {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 22px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    animation: deleteModalShow 0.2s ease;
}

@keyframes deleteModalShow {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.delete-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #ffe9e9;
    color: #d62828;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.delete-modal-box h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: #222;
}

.delete-modal-box p {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.delete-modal-actions {
    display: flex;
    gap: 10px;
}

.delete-cancel-btn,
.delete-confirm-btn {
    flex: 1;
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.delete-cancel-btn {
    background: #f1f1f1;
    color: #333;
}

.delete-confirm-btn {
    background: #d62828;
    color: #fff;
}

.delete-confirm-btn:hover {
    background: #b91f1f;
}

@media (max-width: 480px) {
    .delete-modal-box {
        max-width: 92%;
    }

    .delete-modal-actions {
        flex-direction: column;
    }
}

/* ============================================
   KAYAN PİYASA FİYATLARI BANDI - KESİNTİSİZ DÖNGÜ
   ============================================ */
.market-ticker-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0 0 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.market-ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    min-height: 48px;
    background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.market-ticker-label i {
    color: #ffd56a;
}

.market-ticker {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.market-ticker::before,
.market-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34px;
    z-index: 2;
    pointer-events: none;
}

.market-ticker::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.market-ticker::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

/*
   Not: Mobilde "turunu tamamlamadan başa atma" olmaması için
   index.php içinde aynı piyasa grubu uzun bir döngü olarak iki eş parçaya bölündü.
   Animasyon sadece ilk eş parçanın sonuna kadar gider; ikinci eş parça aynı olduğu için
   sıfırlanma anı gözle görünmez.
*/
.market-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    flex-shrink: 0;
    animation: marketTickerScroll 95s linear infinite;
    will-change: transform;
}

.market-ticker-wrap:hover .market-ticker-track {
    animation-play-state: paused;
}

.market-ticker-loop {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.market-ticker-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px 0 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.market-ticker-item,
.market-ticker-sponsor,
.market-ticker-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.market-ticker-item i {
    color: var(--primary);
}

.market-ticker-item strong {
    color: #2d5016;
    font-weight: 800;
}

.market-ticker-item small {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.market-ticker-sponsor {
    margin-left: 8px;
    padding: 0 14px;
    border-left: 1px solid var(--border);
    color: var(--primary);
    font-weight: 800;
}

.market-ticker-sponsor i {
    color: var(--primary);
}

.market-ticker-sponsor a {
    color: var(--primary);
    text-decoration: none;
}

.market-ticker-sponsor a:hover {
    text-decoration: underline;
}

.market-ticker-updated {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
}

@keyframes marketTickerScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .market-ticker-wrap {
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .market-ticker-label {
        min-height: 44px;
        padding: 0 10px;
        font-size: 12px;
    }

    .market-ticker-label span {
        display: none;
    }

    .market-ticker::before,
    .market-ticker::after {
        width: 18px;
    }

    .market-ticker-track {
        animation-duration: 75s;
    }

    .market-ticker-group {
        gap: 9px;
        padding-right: 22px;
    }

    .market-ticker-item,
    .market-ticker-sponsor,
    .market-ticker-updated {
        min-height: 44px;
        font-size: 13px;
    }
}
/* Mobil alt menüdeki yeşil boşluk düzeltmesi */
html,
body {
    background: #f5f5f5 !important;
    min-height: 100%;
}

/* Sayfa içeriği alt menünün altında kalmasın */
body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important;
}

/* Alt sabit menü */
.mobile-bottom-nav,
.bottom-nav,
.bottom-navigation,
.app-bottom-nav,
.mobile-tabbar,
.bottom-menu {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    min-height: calc(74px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
}