/**
 * ═══════════════════════════════════════════════════════════════════════════
 * PAZARIX CATEGORY PAGE REDESIGN
 * BİREBİR ANASAYFA ÜRÜN KARTLARI İLE AYNI
 * ═══════════════════════════════════════════════════════════════════════════
 * Reference: pazarix-theme.css .pzx-product styles
 * Date: 2026-01-18
 */


/* ═══════════════════════════════════════════════════════════════════════════
   CATEGORY PAGE - PRODUCT GRID (Anasayfadaki ile BİREBİR AYNI)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Ürün listeleme container - GRID */
.pzx-category-page .cat-detail-products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PZX-PRODUCT CARD - Anasayfadaki ile BİREBİR AYNI (pazarix-theme.css'den)
   ═══════════════════════════════════════════════════════════════════════════ */

.pzx-category-page .pzx-product {
    background: #fff;
    position: relative;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 20px;
}

/* 1. Görsel Alanı - 2:3 Oranı (Dikey Dikdörtgen) */
.pzx-category-page .pzx-product-image {
    position: relative;
    background: #f0f0f0;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    margin-bottom: 0;
}

.pzx-category-page .pzx-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pzx-category-page .pzx-product:hover .pzx-product-image img {
    transform: scale(1.05);
}

/* Badge - Sağ üst siyah kutu */
.pzx-category-page .pzx-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 2px;
    z-index: 2;
}

/* 2. Sepete Ekle Butonu */
.pzx-category-page .pzx-add-to-cart-btn {
    display: block;
    width: 100%;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pzx-category-page .pzx-add-to-cart-btn:hover {
    background: #000;
    color: #fff;
}

.pzx-category-page .pzx-add-to-cart-btn.is-disabled {
    background: #f5f5f5;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

/* Form içindeki buton için */
.pzx-category-page .pzx-cart-form {
    margin: 0;
    padding: 0;
}

.pzx-category-page .pzx-cart-form .pzx-add-to-cart-btn {
    border-radius: 0;
}

/* 3. Ürün Bilgileri */
.pzx-category-page .pzx-product-info {
    padding: 15px 5px 0;
    text-align: center;
}

/* Marka */
.pzx-category-page .pzx-product-brand {
    font-size: 14px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

/* Başlık */
.pzx-category-page .pzx-product-title {
    font-size: 12px;
    font-weight: 400;
    color: #232323;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pzx-category-page .pzx-product-title a {
    color: inherit;
    text-decoration: none;
}

/* Fiyat Alanı */
.pzx-category-page .pzx-product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* İndirim Rozeti */
.pzx-category-page .pzx-product-discount-badge {
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 2px;
}

/* Fiyatlar */
.pzx-category-page .pzx-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.pzx-category-page .pzx-product-price-old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.pzx-category-page .pzx-product-price-current {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

/* Stok yok */
.pzx-category-page .pzx-out-of-stock {
    color: #e53935;
    font-size: 13px;
    font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE - Anasayfadaki ile AYNI
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1199px) {
    .pzx-category-page .cat-detail-products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 991px) {
    .pzx-category-page .cat-detail-products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 767px) {
    .pzx-category-page .cat-detail-products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .pzx-category-page .pzx-product-brand {
        font-size: 11px;
    }
    
    .pzx-category-page .pzx-product-title {
        font-size: 11px;
    }
    
    .pzx-category-page .pzx-add-to-cart-btn {
        padding: 10px 0;
        font-size: 11px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CATEGORY PAGE LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.pzx-category-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.pzx-category-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

/* Breadcrumb Override */
.pzx-category-page .breadcrumb {
    background: transparent;
    padding: 15px 0 25px 0;
    margin: 0;
    font-size: 13px;
}

.pzx-category-page .breadcrumb a {
    color: #888;
    text-decoration: none;
}

.pzx-category-page .breadcrumb a:hover {
    color: #000;
}

.pzx-category-page .breadcrumb .active {
    color: #000;
    font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PZX FİLTRE SIDEBAR - SIFIRDAN YENİ TASARIM
   Ultra Minimal, Benzersiz, Modern
   ═══════════════════════════════════════════════════════════════════════════ */

/* Ana Sidebar Container */
.pzx-filter-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 20px;
    
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.pzx-filter-sidebar::-webkit-scrollbar {
    width: 4px;
}

.pzx-filter-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.pzx-filter-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.pzx-filter-sidebar::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FİLTRE SEKSİYONU
   ───────────────────────────────────────────────────────────────────────────── */

.pzx-filter-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
}

.pzx-filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Başlık Toggle Butonu */
.pzx-filter-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-bottom: 16px;
}

.pzx-filter-section-toggle:hover .pzx-filter-section-title {
    color: #000;
}

/* Başlık */
.pzx-filter-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #333;
    transition: color 0.2s ease;
}

/* Toggle başlık olmadan da kullanılabilir */
.pzx-filter-section > .pzx-filter-section-title {
    display: block;
    margin-bottom: 16px;
}

/* Toggle Icon */
.pzx-toggle-icon {
    transition: transform 0.3s ease;
    color: #999;
}

.pzx-filter-section.is-collapsed .pzx-toggle-icon {
    transform: rotate(-90deg);
}

.pzx-filter-section.is-collapsed .pzx-filter-section-content {
    display: none;
}

/* İçerik Alanı */
.pzx-filter-section-content {
    padding-top: 5px;
}

/* Scrollable içerik (çok fazla marka/özellik varsa) */
.pzx-filter-scrollable {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 8px;
    
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

.pzx-filter-scrollable::-webkit-scrollbar {
    width: 3px;
}

.pzx-filter-scrollable::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CHECKBOX STİLİ - Ultra Minimal
   ───────────────────────────────────────────────────────────────────────────── */

.pzx-filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.pzx-filter-checkbox-item:hover {
    padding-left: 4px;
}

.pzx-filter-checkbox-item:hover .pzx-checkbox-label {
    color: #000;
}

/* Gizli Checkbox Input */
.pzx-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom Checkbox Görünümü */
.pzx-checkbox-mark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
    background: #fff;
}

/* Hover */
.pzx-filter-checkbox-item:hover .pzx-checkbox-mark {
    border-color: #000;
}

/* Checked State */
.pzx-checkbox:checked + .pzx-checkbox-mark {
    background: #000;
    border-color: #000;
}

.pzx-checkbox:checked + .pzx-checkbox-mark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* Label */
.pzx-checkbox-label {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    transition: color 0.15s ease;
    line-height: 1.3;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FİYAT SLIDER - Modern Dual Range
   ───────────────────────────────────────────────────────────────────────────── */

.pzx-price-slider {
    padding: 8px 0;
}

/* Range Container */
.pzx-range-slider {
    position: relative;
    height: 6px;
    margin: 24px 0 20px;
}

/* Track (Arka Plan) */
.pzx-range-track {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
    top: 50%;
    transform: translateY(-50%);
}

/* Progress (Seçili Aralık) */
.pzx-range-progress {
    position: absolute;
    height: 4px;
    background: #000;
    border-radius: 2px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
}

/* Range Inputs */
.pzx-range-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

.pzx-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pzx-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.pzx-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Fiyat Gösterim Kutuları */
.pzx-price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pzx-price-input-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    transition: border-color 0.2s ease;
}

.pzx-price-input-box:hover {
    border-color: #ddd;
}

.pzx-currency {
    color: #888;
    font-weight: 400;
}

.pzx-price-separator {
    color: #ccc;
    font-size: 12px;
}

/* Uygula Butonu */
.pzx-price-apply-btn {
    width: 100%;
    padding: 14px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pzx-price-apply-btn:hover {
    background: #222;
    transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   ALT KATEGORİLER
   ───────────────────────────────────────────────────────────────────────────── */

.pzx-subcat-item {
    margin-bottom: 2px;
}

.pzx-subcat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.15s ease;
    border-bottom: 1px solid transparent;
}

.pzx-subcat-link:hover {
    color: #000;
    padding-left: 6px;
}

.pzx-subcat-link i {
    font-size: 12px;
    color: #888;
}

.pzx-subcat-link span {
    flex: 1;
}

.pzx-subcat-arrow {
    color: #ccc;
    transition: transform 0.2s ease;
}

.pzx-subcat-item:hover .pzx-subcat-arrow {
    color: #000;
    transform: translateX(3px);
}

/* Alt Kategori Çocukları */
.pzx-subcat-children {
    display: none;
    padding: 8px 0 8px 20px;
    border-left: 2px solid #f0f0f0;
    margin-left: 6px;
}

.pzx-subcat-item.has-children:hover .pzx-subcat-children {
    display: block;
}

.pzx-subcat-child-link {
    display: block;
    padding: 6px 0;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease;
}

.pzx-subcat-child-link:hover {
    color: #000;
}


/* ─────────────────────────────────────────────────────────────────────────────
   MOBİL FİLTRE PANELİ
   ───────────────────────────────────────────────────────────────────────────── */

/* Desktop'ta mobil filter gizle */
.pzx-mobile-filter {
    display: none;
}

/* Mobil Butonlar */
.pzx-mobile-filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.pzx-mobile-filter-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pzx-mobile-filter-btn:hover {
    border-color: #000;
}

.pzx-mobile-filter-btn--primary {
    background: #000;
    color: #fff;
    border-color: #000;
}

.pzx-mobile-filter-btn--primary:hover {
    background: #222;
}

.pzx-mobile-filter-btn svg {
    flex-shrink: 0;
}

/* Mobil Panel */
.pzx-mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}

.pzx-mobile-panel.is-open {
    right: 0;
}

/* Panel Header */
.pzx-mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.pzx-mobile-panel-header span {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pzx-mobile-panel-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pzx-mobile-panel-close:hover {
    background: #000;
    color: #fff;
}

/* Panel Body */
.pzx-mobile-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Mobil Alt Kategori Linki */
.pzx-mobile-subcat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.15s ease;
}

.pzx-mobile-subcat-link:last-child {
    border-bottom: none;
}

.pzx-mobile-subcat-link:hover {
    padding-left: 8px;
    color: #000;
}

.pzx-mobile-subcat-link i {
    color: #888;
}

.pzx-mobile-subcat-link svg {
    margin-left: auto;
    color: #ccc;
}

/* Mobil Overlay */
.pzx-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pzx-mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}


/* ═══════════════════════════════════════════════════════════════════════════
   KATEGORİ TOOLBAR - Sıralama, Stok Filtresi, Görünüm
   ═══════════════════════════════════════════════════════════════════════════ */

.pzx-category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.pzx-toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pzx-toolbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Toolbar Checkbox */
.pzx-toolbar-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.pzx-toolbar-checkbox .pzx-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pzx-toolbar-checkbox .pzx-checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.pzx-toolbar-checkbox .pzx-checkbox-mark::after {
    content: '';
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.15s ease;
}

.pzx-toolbar-checkbox .pzx-checkbox:checked + .pzx-checkbox-mark {
    background: #000;
    border-color: #000;
}

.pzx-toolbar-checkbox .pzx-checkbox:checked + .pzx-checkbox-mark::after {
    opacity: 1;
    transform: scale(1);
}

.pzx-toolbar-checkbox-label {
    font-size: 13px;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
}

/* Sıralama Select */
.pzx-toolbar-sort {
    position: relative;
}

.pzx-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 40px 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    min-width: 180px;
    transition: all 0.15s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.pzx-select:hover {
    border-color: #ccc;
    background-color: #fff;
}

.pzx-select:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
}

/* Görünüm Butonları */
.pzx-toolbar-views {
    display: flex;
    gap: 4px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 8px;
}

.pzx-view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pzx-view-btn:hover {
    color: #333;
    background: rgba(0,0,0,0.05);
}

.pzx-view-btn.is-active {
    background: #000;
    color: #fff;
}

/* Eski toolbar gizle */
.pzx-category-page .cat-right-elements-out {
    display: none !important;
}

/* Toolbar Responsive */
@media (max-width: 767px) {
    .pzx-category-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 16px;
    }
    
    .pzx-toolbar-left {
        order: 2;
    }
    
    .pzx-toolbar-right {
        order: 1;
        justify-content: space-between;
    }
    
    .pzx-select {
        min-width: 140px;
        padding: 8px 32px 8px 12px;
        font-size: 12px;
    }
    
    .pzx-view-btn {
        width: 32px;
        height: 32px;
    }
    
    .pzx-view-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .pzx-toolbar-checkbox-label {
        font-size: 12px;
    }
}


/* ─────────────────────────────────────────────────────────────────────────────
   ESKİ YAPIYI GİZLE - Yeni pzx-filter-sidebar kullanılıyor
   ───────────────────────────────────────────────────────────────────────────── */

/* Eski detail-none wrapper'ı gizle - artık pzx-filter-sidebar kullanılıyor */
.pzx-category-page .detail-none {
    display: none !important;
}

/* Ana sayfa layout'u - sidebar + ürünler yan yana */
.pzx-category-page .cat-detail-main-div-in {
    display: flex;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Sağ taraf - ürünler */
.pzx-category-page .cat-right-main {
    flex: 1;
    min-width: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT GRID - MATCHING HOME PAGE EXACTLY
   ═══════════════════════════════════════════════════════════════════════════ */

.pzx-category-products {
    background: transparent;
}

/* Top Bar - Sort, View Options */
.pzx-products-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.pzx-products-count {
    font-size: 14px;
    color: #444;
}

.pzx-products-count span {
    font-weight: 600;
    color: #000;
}

.pzx-products-sort {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pzx-sort-select {
    padding: 10px 35px 10px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 14px;
    color: #000;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.pzx-sort-select:focus {
    outline: none;
    border-color: #000;
}

/* View Toggle Buttons */
.pzx-view-toggle {
    display: flex;
    gap: 5px;
}

.pzx-view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fff;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pzx-view-btn:hover,
.pzx-view-btn.active {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* Product Grid - 4 Columns */
.pzx-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT CARD - EXACT MATCH WITH HOME PAGE (pzx-product-card.php)
   ═══════════════════════════════════════════════════════════════════════════ */

.pzx-product {
    background: #fff;
    position: relative;
    padding-bottom: 15px;
    transition: transform 0.3s ease;
}

.pzx-product:hover {
    transform: translateY(-4px);
}

/* Product Image Container */
.pzx-product-image {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 0;
}

.pzx-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pzx-product:hover .pzx-product-image img {
    transform: scale(1.05);
}

/* Product Badge - YENİ (Top Right, Black) */
.pzx-product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}

.pzx-product-badge.is-sale {
    background: #e74c3c;
}

/* Add to Cart Button - Full Width Below Image */
.pzx-add-to-cart-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pzx-add-to-cart-btn:hover {
    background: #000;
    color: #fff;
}

/* Product Info Area */
.pzx-product-info {
    padding: 12px 0 0 0;
    text-align: center;
}

/* Brand */
.pzx-product-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    margin-bottom: 4px;
}

/* Title */
.pzx-product-title {
    font-size: 13px;
    font-weight: 400;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pzx-product-title a {
    color: inherit;
    text-decoration: none;
}

.pzx-product-title a:hover {
    color: #000;
}

/* Price Area */
.pzx-product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Discount Badge (Percentage) */
.pzx-product-discount-badge {
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
}

.pzx-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pzx-product-price-old {
    font-size: 12px;
    color: #888;
    text-decoration: line-through;
}

.pzx-product-price-current {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

/* Color Swatches / Meta */
.pzx-product-meta {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.pzx-swatch-link {
    display: block;
}

.pzx-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s ease;
}

.pzx-swatch:hover {
    transform: scale(1.15);
    border-color: #000;
}


/* ═══════════════════════════════════════════════════════════════════════════
   OVERRIDE EXISTING cat_detail.php STYLES
   Override ptable-box to match pzx-product style (Home page VİTRİN)
   
   NEW HTML Structure:
   .ptable-box
     └── .ptable-box-img (only image and badges)
     └── .ptable-button-div (button)
     └── .ptable-info (brand, title, price)
   
   Visual Order: Image → Button → Brand → Title → Price ✓
   ═══════════════════════════════════════════════════════════════════════════ */

/* Reset/Override ptable-box */
.pzx-category-page .ptable-box {
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 15px 0 !important;
    position: relative;
    transition: transform 0.3s ease;
}

.pzx-category-page .ptable-box:hover {
    transform: translateY(-4px);
}

/* Image Area Override - Only contains image and badges */
.pzx-category-page .ptable-box-img {
    background: #f5f5f5 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    display: block !important;
}

.pzx-category-page .ptable-box-img > a {
    display: block !important;
    width: 100%;
    height: 100%;
}

.pzx-category-page .ptable-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pzx-category-page .ptable-box:hover .ptable-box-img img {
    transform: scale(1.05);
}

/* Badge Override - Position absolute within image */
.pzx-category-page .ptable-tavsiye-main {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 5;
}

.pzx-category-page .ptable-header-tavsiye {
    background: #000 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    letter-spacing: 0.5px;
    border-radius: 0 !important;
}

/* Discount Badge */
.pzx-category-page .ptable-badge-discount {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: #e74c3c !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    border-radius: 2px !important;
    z-index: 5;
}

/* Button Override */
.pzx-category-page .ptable-button-div {
    padding: 0 !important;
    margin: 0 !important;
}

.pzx-category-page .ptable-button-div button,
.pzx-category-page .ptable-button-div form button {
    display: block !important;
    width: 100% !important;
    padding: 12px 0 !important;
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease !important;
}

.pzx-category-page .ptable-button-div button:hover,
.pzx-category-page .ptable-button-div form button:hover {
    background: #000 !important;
    color: #fff !important;
}

.pzx-category-page .ptable-button-div button:disabled {
    background: #f5f5f5 !important;
    color: #888 !important;
    border-color: #e8e8e8 !important;
    cursor: not-allowed !important;
}

/* NEW: Product Info Area (Brand, Title, Price) */
.pzx-category-page .ptable-info {
    text-align: center;
    padding: 12px 0 0 0;
}

/* Brand Override */
.pzx-category-page .ptable-header-spot {
    background: transparent !important;
    color: #000 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0 !important;
    margin: 0 0 4px 0 !important;
}

/* Title Override */
.pzx-category-page .ptable-header {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #444 !important;
    text-align: center;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4;
}

.pzx-category-page .ptable-header a {
    color: inherit !important;
    text-decoration: none !important;
}

.pzx-category-page .ptable-header a:hover {
    color: #000 !important;
}

/* Price Override */
.pzx-category-page .ptable-box-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
}

.pzx-category-page .ptable-box-price-old {
    font-size: 12px !important;
    color: #888 !important;
    text-decoration: line-through !important;
    display: block;
    margin-bottom: 2px;
}

.pzx-category-page .ptable-stok-yok {
    font-size: 14px !important;
    color: #e74c3c !important;
    font-weight: 500;
}

.pzx-category-page .ptable-button-div button,
.pzx-category-page .ptable-button-div form button {
    display: block !important;
    width: 100% !important;
    padding: 12px 0 !important;
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease !important;
}

.pzx-category-page .ptable-button-div button:hover,
.pzx-category-page .ptable-button-div form button:hover {
    background: #000 !important;
    color: #fff !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   LEFT-BAR.PHP FILTER OVERRIDES
   Minimal design for existing filter structure
   Class names from left-bar.php: .cat-left-main, .cat-left-box-main, 
   .cat-left-box-h, .cat-left-box-out, .cat-left-box-t
   ═══════════════════════════════════════════════════════════════════════════ */

/* Main sidebar container */
.pzx-category-page .cat-left-main {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Filter group container */
.pzx-category-page .cat-left-box-main {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
    padding: 0 0 20px 0 !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.pzx-category-page .cat-left-box-main:last-child {
    border-bottom: none !important;
}

/* Filter title header */
.pzx-category-page .cat-left-box-h {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #000 !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    border: none !important;
    background: transparent !important;
    display: block !important;
}

/* Hide the default colored divider line */
.pzx-category-page .cat-left-box-h > div {
    display: none !important;
}

/* Add minimal underline to title */
.pzx-category-page .cat-left-box-h::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #000;
    margin-top: 8px;
}

/* Filter content area */
.pzx-category-page .cat-left-box-out,
.pzx-category-page .cat-left-box-out-first {
    background: transparent !important;
    padding: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Individual filter item */
.pzx-category-page .cat-left-box-t {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

/* Custom checkbox styling - Bootstrap custom-control */
.pzx-category-page .custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.pzx-category-page .custom-control-label {
    font-size: 14px !important;
    color: #444 !important;
    cursor: pointer !important;
    padding-left: 28px !important;
    position: relative;
    display: block !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.pzx-category-page .custom-control-label:hover {
    color: #000 !important;
}

/* Custom checkbox box */
.pzx-category-page .custom-control-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px !important;
    height: 16px !important;
    border: 1.5px solid #000 !important;
    border-radius: 3px !important;
    background: #fff !important;
    transition: all 0.2s ease;
}

/* Checked state */
.pzx-category-page .custom-control-input:checked ~ .custom-control-label::before {
    background: #000 !important;
    border-color: #000 !important;
}

/* Checkmark */
.pzx-category-page .custom-control-label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 5px !important;
    height: 9px !important;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pzx-category-page .custom-control-input:checked ~ .custom-control-label::after {
    opacity: 1;
}

/* Price filter range styling */
.pzx-category-page .filter-price {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pzx-category-page .price-field {
    position: relative;
    margin-bottom: 15px;
}

.pzx-category-page .price-field input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
    outline: none;
}

.pzx-category-page .price-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pzx-category-page .price-wrap {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.pzx-category-page .price-wrap-outputbox {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 14px;
    color: #000;
    background: #fff;
    text-align: center;
}

.pzx-category-page .price-filter-range-button button {
    width: 100% !important;
    padding: 12px !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.pzx-category-page .price-filter-range-button button:hover {
    background: #333 !important;
}

/* Category subcategory design */
.pzx-category-page .category-sub-design-box {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pzx-category-page .category-sub-design-box li {
    list-style: none;
    margin-bottom: 8px;
}

.pzx-category-page .category-sub-design-box a {
    font-size: 14px;
    color: #444;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.pzx-category-page .category-sub-design-box a:hover {
    color: #000;
}

.pzx-category-page .category-sub-design-box-arrow {
    color: #888;
}

/* Mobile filter accordion */
.pzx-category-page .category-detail-mobile-acc {
    background: #fff !important;
    border: none !important;
    margin-bottom: 20px;
}

.pzx-category-page .category-detail-mobile-acc-in {
    display: flex;
    gap: 10px;
}

.pzx-category-page .category-detail-mobile-acc-filter,
.pzx-category-page .category-detail-mobile-acc-subcat {
    flex: 1;
    padding: 12px 15px !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

.pzx-category-page .category-detail-mobile-acc-filter:hover,
.pzx-category-page .category-detail-mobile-acc-subcat:hover {
    background: #333 !important;
    color: #fff !important;
}

/* Detail none wrapper (desktop) */
.pzx-category-page .detail-none {
    display: block;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CAT-DETAIL PRODUCTS CONTAINER OVERRIDE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Main container for product list styles */
.pzx-category-page .cat-detail-products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
}

/* Banner area (if exists) */
.pzx-category-page .cat-banner-area {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CAT-RIGHT HEADER & ELEMENTS - Sıralama, Stok, Görünüm Butonları
   ═══════════════════════════════════════════════════════════════════════════ */

/* Sağ Ana Container */
.pzx-category-page .cat-right-main {
    flex: 1;
    min-width: 0;
}

/* Kategori Başlığı Üst Alanı */
.pzx-category-page .cat-right-header-out {
    margin-bottom: 25px;
}

.pzx-category-page .cat-right-header {
    padding: 0 !important;
    background: transparent !important;
}

.pzx-category-page .cat-right-head-text {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-bottom: 8px;
}

.pzx-category-page .cat-right-desc {
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.5;
}

.pzx-category-page .cat-right-links {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.pzx-category-page .cat-right-links a {
    color: #666;
    text-decoration: none;
}

.pzx-category-page .cat-right-links a:hover {
    color: #000;
}

.pzx-category-page .cat-right-links i {
    margin: 0 6px;
    font-size: 10px;
    color: #ccc;
}

/* Elementler Satırı - Sıralama + Stok + Görünüm */
.pzx-category-page .cat-right-elements-out {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.pzx-category-page .cat-right-elements {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Sol Taraf - Stok Checkbox */
.pzx-category-page .cat-right-elements-left {
    display: flex;
    align-items: center;
}

.pzx-category-page .cat-right-elements-left .cat-left-box-t {
    margin: 0 !important;
    padding: 0 !important;
}

/* Sağ Taraf - Sıralama + Görünüm */
.pzx-category-page .cat-right-elements-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Sıralama Selectbox */
.pzx-category-page .cat-right-elements-right-siralama {
    position: relative;
}

.pzx-category-page .cat-right-elements-right-siralama select,
.pzx-category-page .nice-select-cat-detail {
    padding: 10px 40px 10px 15px !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    color: #000 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    min-width: 180px;
}

.pzx-category-page .cat-right-elements-right-siralama select:focus,
.pzx-category-page .nice-select-cat-detail:focus {
    outline: none !important;
    border-color: #000 !important;
}

/* Görünüm Butonları (Grid/List) */
.pzx-category-page .cat-right-elements-right-liste {
    display: flex;
    gap: 5px;
}

.pzx-category-page .cat-right-elements-right-liste a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 0 !important;
    transition: all 0.2s ease;
}

.pzx-category-page .cat-right-elements-right-liste a:hover {
    border-color: #000 !important;
}

.pzx-category-page .cat-right-elements-right-liste a[style*="border: 1px solid #000"],
.pzx-category-page .cat-right-elements-right-liste a.active {
    background: #000 !important;
    border-color: #000 !important;
}

.pzx-category-page .cat-right-elements-right-liste a[style*="border: 1px solid #000"] img,
.pzx-category-page .cat-right-elements-right-liste a.active img {
    filter: invert(1);
}

.pzx-category-page .cat-right-elements-right-liste img {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.7;
}

/* Seçili Filtreler Kutusu */
.pzx-category-page .cat-left-box-out-filterbox-out {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pzx-category-page .cat-left-box-out-filterbox-out a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    color: #444;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pzx-category-page .cat-left-box-out-filterbox-out a:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.pzx-category-page .cat-left-box-out-filterbox-out a i {
    font-size: 14px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION - MINIMAL STYLE
   ═══════════════════════════════════════════════════════════════════════════ */

.pzx-category-page .pagination,
.pzx-category-page .cat-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
}

.pzx-category-page .pagination a,
.pzx-category-page .pagination span,
.pzx-category-page .cat-pagination a,
.pzx-category-page .cat-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
}

.pzx-category-page .pagination a:hover,
.pzx-category-page .cat-pagination a:hover {
    border-color: #000;
    color: #000;
}

.pzx-category-page .pagination .active,
.pzx-category-page .pagination span.current,
.pzx-category-page .cat-pagination .active {
    background: #000;
    border-color: #000;
    color: #fff;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - %100 UYUMLU
   ═══════════════════════════════════════════════════════════════════════════ */

/* Large Desktop - 4 columns (default) */
@media (min-width: 1200px) {
    .pzx-category-page .cat-detail-products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Laptop - 3 columns */
@media (max-width: 1199px) {
    .pzx-category-page .cat-left-main {
        width: 220px !important;
    }
    
    .pzx-category-page .cat-detail-products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    
    .pzx-category-page .pzx-product-brand {
        font-size: 10px;
    }
    
    .pzx-category-page .pzx-product-title {
        font-size: 12px;
    }
}

/* Tablet - Sidebar gizlenir, 3 sütun */
@media (max-width: 991px) {
    /* Yeni pzx-filter-sidebar gizle */
    .pzx-filter-sidebar {
        display: none !important;
    }
    
    /* Mobil filtre butonları göster */
    .pzx-mobile-filter {
        display: block !important;
    }
    
    /* Layout düzelt - tek sütun */
    .pzx-category-page .cat-detail-main-div-in {
        flex-direction: column;
        gap: 0;
        padding: 15px;
    }
    
    /* Eski yapıları da gizle */
    .pzx-category-page .detail-none {
        display: none !important;
    }
    
    .pzx-category-page .category-detail-mobile-acc {
        display: none !important;
    }
    
    .pzx-category-page .cat-detail-products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    .pzx-category-page .cat-right-elements {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .pzx-category-page .cat-right-elements-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .pzx-category-page .cat-right-head-text {
        font-size: 20px !important;
    }
}

/* Mobile - 2 columns */
@media (max-width: 767px) {
    .pzx-category-page .cat-detail-products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .pzx-category-page .cat-right-elements-out {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .pzx-category-page .cat-right-elements-right-siralama select,
    .pzx-category-page .nice-select-cat-detail {
        min-width: 140px !important;
        padding: 8px 35px 8px 12px !important;
        font-size: 13px !important;
    }
    
    .pzx-category-page .cat-right-elements-right-liste a {
        width: 34px !important;
        height: 34px !important;
    }
    
    /* Ürün Kartı Mobile */
    .pzx-category-page .pzx-product-info {
        padding: 10px 5px 0 !important;
    }
    
    .pzx-category-page .pzx-product-brand {
        font-size: 9px !important;
        margin-bottom: 2px !important;
    }
    
    .pzx-category-page .pzx-product-title {
        font-size: 11px !important;
        margin-bottom: 5px !important;
    }
    
    .pzx-category-page .pzx-product-price-current {
        font-size: 13px !important;
    }
    
    .pzx-category-page .pzx-product-price-old {
        font-size: 10px !important;
    }
    
    .pzx-category-page .pzx-add-to-cart-btn {
        padding: 10px 0 !important;
        font-size: 10px !important;
    }
    
    .pzx-category-page .pzx-product-badge {
        font-size: 8px !important;
        padding: 3px 6px !important;
        top: 8px !important;
        right: 8px !important;
    }
    
    .pzx-category-page .pzx-product-discount-badge {
        font-size: 9px !important;
        padding: 2px 5px !important;
    }
    
    /* Kategori Başlığı Mobile */
    .pzx-category-page .cat-right-head-text {
        font-size: 18px !important;
    }
    
    /* Mobil Filtre Butonları */
    .pzx-category-page .category-detail-mobile-acc-in {
        gap: 8px;
    }
    
    .pzx-category-page .category-detail-mobile-acc-filter,
    .pzx-category-page .category-detail-mobile-acc-subcat {
        padding: 10px 12px !important;
        font-size: 11px !important;
    }
    
    /* Pagination Mobile */
    .pzx-category-page .pagination a,
    .pzx-category-page .pagination span {
        min-width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
        padding: 0 8px !important;
    }
}

/* Small Mobile - 2 columns daha sıkı */
@media (max-width: 479px) {
    .pzx-category-page .cat-detail-products {
        gap: 8px !important;
    }
    
    .pzx-category-page .pzx-product-image {
        aspect-ratio: 3 / 4 !important;
    }
    
    .pzx-category-page .pzx-product-info {
        padding: 8px 3px 0 !important;
    }
    
    .pzx-category-page .pzx-product-brand {
        font-size: 8px !important;
    }
    
    .pzx-category-page .pzx-product-title {
        font-size: 10px !important;
    }
    
    .pzx-category-page .pzx-add-to-cart-btn {
        padding: 8px 0 !important;
        font-size: 9px !important;
    }
    
    .pzx-category-page .cat-right-elements-right {
        flex-wrap: wrap;
    }
    
    .pzx-category-page .cat-right-elements-right-siralama {
        width: 100%;
    }
    
    .pzx-category-page .cat-right-elements-right-siralama select {
        width: 100% !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBİL FİLTRE TOGGLE & OVERLAY
   ═══════════════════════════════════════════════════════════════════════════ */

/* Mobil Filtre Overlay */
.pzx-category-page .filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.pzx-category-page .filter-overlay.show {
    display: block;
}

/* Mobil Accordion İçi Stiller */
.pzx-category-page #filterAccordion .subpage-mobile-nav {
    background: #fff !important;
    padding: 20px !important;
}

.pzx-category-page #filterAccordion .cat-left-box-main {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.pzx-category-page #subcatAccordion .subpage-mobile-nav {
    background: #fff !important;
    padding: 15px !important;
}

/* Mobil Alt Kategori Listesi */
.pzx-category-page #subcatAccordion .category-sub-design-box {
    margin-bottom: 0;
}

.pzx-category-page #subcatAccordion .category-sub-design-box li a {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EXTRA UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Ürün yok mesajı */
.pzx-category-page .no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* Loading skeleton */
.pzx-category-page .pzx-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Stok yok badge */
.pzx-category-page .pzx-out-of-stock {
    color: #c00;
    font-size: 12px;
    font-weight: 500;
}

/* Kilit ikonu (fiyat gizli) */
.pzx-category-page .pzx-product-price .fa-lock {
    color: #999;
    font-size: 14px;
}
