/* ============================================
   KATEGORI SAYFASI - MODULAR CSS
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
    padding: 1.5rem 0;
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #666;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: #f35b23;
}

.breadcrumb-nav span {
    color: #999;
}

/* Kategori Sayfası Layout */
.kat-page {
    padding: 2rem 0;
    background: #fafafa;
}

.kat-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1400px) {
    .kat-container {
        max-width: 1400px;
    }
}

.kat-flex {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Sidebar */
.kat-sidebar {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1025px) {
    .kat-sidebar {
        position: sticky;
        top: 200px;
        max-height: calc(100vh - 220px);
        overflow-y: auto;
    }
}

.kat-sidebar::-webkit-scrollbar {
    width: 6px;
}

.kat-sidebar::-webkit-scrollbar-thumb {
    background: #f35b23;
    border-radius: 10px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f35b23;
    margin-bottom: 1.5rem;
    position: relative;
    gap: 0.75rem;
}

.filter-header h3 {
    flex: 1;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    pointer-events: none;
    letter-spacing: -0.01em;
}

.filter-clear {
    font-size: 0.85rem;
    color: #f35b23;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.filter-clear:hover {
    opacity: 0.7;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0;
    padding: 0.8rem 0;
    cursor: pointer;
    transition: color 0.2s;
}

.filter-title:hover {
    color: #f35b23;
}

.filter-title i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.filter-group.active .filter-title i {
    transform: rotate(180deg);
}

.filter-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filter-group.active .filter-body {
    max-height: 600px;
    padding-top: 0.8rem;
}

.filter-body input[type="number"],
.filter-body input[type="text"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    outline: none;
    transition: border-color 0.2s;
}

.filter-body input[type="number"]:focus,
.filter-body input[type="text"]:focus {
    border-color: #f35b23;
}

.price-range-slider {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 5px;
    outline: none;
    margin: 0.8rem 0;
    -webkit-appearance: none;
}

.price-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f35b23;
    cursor: pointer;
    transition: transform 0.2s;
}

.price-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.price-range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f35b23;
    cursor: pointer;
    border: none;
}

.filter-body label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.2s;
}

.filter-body label:hover {
    color: #f35b23;
}

.filter-body input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f35b23;
    cursor: pointer;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.color-option input {
    display: none;
}

.color-box {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    position: relative;
    transition: transform 0.2s;
}

.color-option:hover .color-box {
    transform: scale(1.1);
}

.color-option input:checked+.color-box {
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary-color);
}

.color-option input:checked+.color-box::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.color-name {
    font-size: 0.9rem;
    color: #333;
}

.btn-filter {
    width: 100%;
    padding: 0.7rem;
    background: #f35b23;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.btn-filter:hover {
    background: #d84d1b;
    transform: translateY(-2px);
}

/* Content Area */
.kat-content {
    flex: 1;
    min-width: 0;
    width: 100%;
    /* overflow: hidden; - Scroll sorununu çözmek için kaldırıldı */
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-header-info h1 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.category-header-info p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-count-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(243, 91, 35, 0.1);
    color: #f35b23;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}


.subcategories-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(243, 91, 35, 0.1);
    color: #f35b23;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 10px;
}

.category-toolbar {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.view-options {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.view-btn {
    padding: 0.6rem 0.8rem;
    background: white;
    border: none;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.view-btn+.view-btn {
    border-left: 1px solid #e0e0e0;
}

.view-btn.active,
.view-btn:hover {
    background: #f35b23;
    color: white;
}

.sort-select {
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
    appearance: none;
    outline: none;
    transition: border-color 0.2s;
}

.sort-select:focus {
    border-color: #f35b23;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(243, 91, 35, 0.1);
    color: #f35b23;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tag:hover {
    background: #f35b23;
    color: white;
}

.filter-tag i {
    font-size: 0.75rem;
}

/* Products Grid */
.kat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    justify-items: stretch; /* Tüm kartlar eşit genişlikte */
    align-items: stretch; /* Kartlar eşit yükseklikte, butonlar hizalı */
}

/* 3'lü sütun görünüm */
.kat-grid.three-view {
    grid-template-columns: repeat(3, 1fr);
}

/* 2'li sütun görünüm */
.kat-grid.two-view {
    grid-template-columns: repeat(2, 1fr);
}

/* Tek sütun görünüm */
.kat-grid.single-view {
    grid-template-columns: 1fr;
}

/* Liste görünümü (masaüstü) */
.kat-grid.list-view {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.kat-grid.list-view .kat-card {
    flex-direction: row;
    height: 160px;
}

/* Resim alanı — padding-top trick'ini sıfırla, sabit boyut ver */
.kat-grid.list-view .kat-img {
    width: 160px;
    min-width: 160px;
    height: 160px;
    padding-top: 0;
    flex-shrink: 0;
}

.kat-grid.list-view .kat-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
}

.kat-grid.list-view .kat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    min-width: 0;
    overflow: hidden;
}

.kat-grid.list-view .kat-title {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
    margin-bottom: 0.25rem;
}

/* Liste görünümünde yalnızca başlık + fiyat + buton — geri kalanı gizle */
.kat-grid.list-view .kat-rating,
.kat-grid.list-view .kat-colors,
.kat-grid.list-view .kat-promo-badges,
.kat-grid.list-view .kat-product-code,
.kat-grid.list-view .kat-img-dots {
    display: none;
}

.kat-grid.list-view .kat-price {
    margin-bottom: 0.6rem;
}

.kat-grid.list-view .kat-btn {
    align-self: flex-start;
    padding: 0.5rem 1.4rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.kat-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.kat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.kat-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kat-badge {
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kat-badge.new {
    background: #d4edda;
    color: #2d6a4f;
}

.kat-badge.sale {
    background: #fde8e8;
    color: #c0392b;
}

.kat-badge.stock {
    background: #fff0d9;
    color: #b05e00;
}

.kat-badge.out-of-stock {
    background: #ebebeb;
    color: #5a5a5a;
}

.kat-badge.backorder {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Tanıtım rozetleri — ürün bilgisi alanında, bordürlü */
.kat-promo-badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.kat-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1.5px solid;
}

.kat-promo-badge.bestseller {
    background: #fef9e7;
    border-color: #d4a000;
    color: #8a6200;
}

.kat-promo-badge.new {
    background: #e8f5e9;
    border-color: #81c784;
    color: #2e7d32;
}

.kat-promo-badge.featured {
    background: #f5e8ff;
    border-color: #c084fc;
    color: #7e22ce;
}

.kat-promo-badge.popular {
    background: #fce7f0;
    border-color: #f9a8d4;
    color: #be185d;
}

.kat-wishlist {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.kat-wishlist:hover,
.kat-wishlist.active {
    background: #f35b23;
    color: white;
    transform: scale(1.1);
}

.kat-img {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f8f8f8;
    overflow: hidden;
}

.kat-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.kat-card:hover .kat-img img {
    transform: scale(1.08);
}

/* Resim Dots - Trendyol Tarzı */
.kat-img-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kat-card:hover .kat-img-dots {
    opacity: 1;
}

.kat-img-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.kat-img-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.kat-img-dots .dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.kat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.kat-card:hover .kat-overlay {
    transform: translateY(0);
}

.btn-quick-view {
    width: 100%;
    padding: 0.7rem;
    background: white;
    color: #333;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-quick-view:hover {
    background: #f35b23;
    color: white;
}

.kat-info {
    padding: 0.8rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kat-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.kat-title a {
    color: #333;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kat-title a:hover {
    color: #f35b23;
}

.kat-product-code {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #888;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.kat-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.7rem;
    font-size: 0.85rem;
}

.kat-rating i {
    color: #FFD700;
}

.kat-rating span {
    color: #666;
    margin-left: 0.3rem;
}

.kat-colors {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.kat-color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.kat-color-dot:hover {
    transform: scale(1.2);
}

.kat-color-dot.active {
    transform: scale(1.2);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #f35b23;
}

.kat-price {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.kat-price .current {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f35b23;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.kat-price .current small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

.kat-price .price-from {
    display: flex;
    align-items: baseline;
}

.kat-price .price-starting {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
}

.kat-price .old {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.kat-btn {
    width: 100%;
    padding: 0.65rem;
    background: linear-gradient(135deg, #f35b23, #f68d1f);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.3s;
    margin-top: auto;
}

.kat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(243, 91, 35, 0.35);
}

.kat-btn.added {
    background: #4CAF50;
}

/* Pagination */
.kat-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pagination-buttons {
    display: flex;
    gap: 0.5rem;
}

.kat-pagination button {
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.kat-pagination button:hover:not(:disabled) {
    background: #f35b23;
    color: white;
    border-color: #f35b23;
}

.kat-pagination button.active {
    background: #f35b23;
    color: white;
    border-color: #f35b23;
}

.kat-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Filter Button */
.mobile-filter-btn {
    display: none;
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #f35b23;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .kat-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 900px) {
    .kat-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 1024px) {
    .kat-flex {
        flex-direction: column;
    }

    .kat-sidebar {
        width: 100%;
        min-width: 100%;
        position: static;
        max-height: none;
        margin-bottom: 1.5rem;
    }

    .mobile-filter-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        padding: 1rem 1.5rem;
        background: #f35b23;
        color: white;
        border: none;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s;
    }

    .mobile-filter-btn:hover {
        background: #d84d1b;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .kat-sidebar.mobile-active {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        margin: 0;
        border-radius: 0;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .kat-badges {
        top: 0.5rem;
        left: 0.5rem;
        gap: 0.25rem;
    }

    .kat-badge {
        padding: 0.15rem 0.45rem;
        font-size: 0.55rem;
        letter-spacing: 0.3px;
        border-radius: 3px;
    }

    .kat-wishlist {
        top: 0.5rem;
        right: 0.5rem;
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .kat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .kat-info {
        padding: 0.6rem 0.7rem 0.8rem;
    }

    .kat-title {
        font-size: 0.78rem;
    }

    .kat-btn {
        font-size: 0.72rem;
        padding: 0.5rem 0.4rem;
    }

    .category-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .category-header-info h1 {
        font-size: 1.5rem;
    }

    .category-toolbar {
        width: 100%;
        justify-content: space-between;
    }

    .kat-pagination {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .pagination-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .view-options {
        display: flex;
    }

    .view-btn {
        padding: 0.45rem 0.6rem;
        font-size: 0.8rem;
    }

    .desktop-only {
        display: none;
    }

    .kat-page {
        padding: 1.5rem 0;
    }

    .filter-header h3 {
        font-size: 1.2rem;
    }

    .kat-grid {
        gap: 0.5rem;
    }

    .kat-info {
        padding: 0.5rem 0.5rem 0.6rem;
    }

    .kat-title {
        font-size: 0.72rem;
    }

    .kat-price .current {
        font-size: 0.95rem;
    }

    .kat-btn {
        font-size: 0.68rem;
        padding: 0.45rem 0.3rem;
    }
}


/* ============================================
   BİLDİRİM (NOTIFICATION)
   ============================================ */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-success i {
    color: #10b981;
    font-size: 1.2rem;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-error i {
    color: #ef4444;
    font-size: 1.2rem;
}

.notification span {
    color: #333;
    font-weight: 500;
}

/* ============================================
   MOBİL FİLTRE BUTONU
   ============================================ */
.mobile-filter-btn {
    display: none; /* Varsayılanda gizli, mobilde görünecek */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s ease;
    align-items: center;
    gap: 0.5rem;
}

.mobile-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
}

.mobile-filter-btn:active {
    transform: translateY(0);
}

.mobile-filter-btn i {
    font-size: 1.1rem;
}

/* Filtre Overlay */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-overlay.active {
    display: block;
    opacity: 1;
}

/* Filtre Kapat Butonu (Mobil) */
.filter-close-mobile {
    display: none;
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.filter-close-mobile:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.filter-close-mobile i,
.filter-close-mobile svg {
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    color: #6b7280;
    pointer-events: none;
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    /* Floating buton göster */
    .mobile-filter-btn {
        display: flex;
    }

    /* Sidebar'ı gizle ve sol taraftan kaydır */
    .kat-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 85%;
        max-width: 400px;
        min-width: auto;
        height: 100vh;
        max-height: 100vh;
        z-index: 1000;
        background: white;
        overflow-y: auto;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
        border-radius: 0;
        padding: 1.5rem;
        transition: left 0.3s ease;
    }

    #filterSidebar.kat-sidebar.active {
        left: 0;
    }

    /* Kapat butonu mobilde göster */
    .filter-close-mobile {
        display: flex;
    }

    /* Scroll kilitlemek için */
    body.filter-open {
        overflow: hidden;
    }

    /* Filtre header'ı mobilde düzenle */
    .filter-header {
        position: relative;
        top: 0;
        background: white;
        z-index: 10;
        padding: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #e5e7eb;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .kat-sidebar {
        width: 90%;
    }

    .mobile-filter-btn {
        bottom: 15px;
        right: 15px;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}