.filter-dropdown-wrapper {
    margin-bottom: 15px;
}

.filter-dropdown-header {
    padding: 0;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #919191;
    font-family: Source Sans Pro;
    margin-bottom: 0;
}

.filter-dropdown-header:hover {
    color: #000;
}

.filter-dropdown-header.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.filter-dropdown-title {
    flex: 1;
    font-family: 'Source Sans Pro', sans-serif;
}

.filter-dropdown-arrow {
    transition: transform 0.3s ease;
    color: #919191;
    font-size: 12px;
}

.filter-dropdown-header:hover .filter-dropdown-arrow {
    color: #000;
}

.filter-dropdown-header.active .filter-dropdown-arrow {
    transform: rotate(180deg);
}

.filter-dropdown-content {
    display: none;
    padding-left: 0;
    padding-right: 0;
}

.filter-dropdown-header.active + .filter-dropdown-content {
    display: block;
}

/* Modern Banner Tasarımı */
.modern-category-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0;
    height: 280px;
}

.modern-category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.modern-category-banner .banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    padding: 40px 30px 30px;
}

.modern-category-banner h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Modern Breadcrumb */
.modern-breadcrumb {
    background: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: -20px;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.modern-breadcrumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.modern-breadcrumb ol li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
}

.modern-breadcrumb ol li a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.modern-breadcrumb ol li a:hover {
    color: #e72027;
}

.modern-breadcrumb ol li.active {
    color: #1f2937;
    font-weight: 600;
}

.modern-breadcrumb ol li + li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
}

/* Modern Ürün Kartları */
.modern-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.modern-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modern-product-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.modern-product-card .product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.modern-product-card .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.modern-product-card:hover .product-image-wrapper img {
    transform: scale(1.05) translateZ(0);
    transform-origin: center center;
}

.modern-product-card .product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.modern-product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.modern-product-card .product-action-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    color: #6b7280;
}

.modern-product-card .product-action-btn:hover {
    background: #e72027;
    color: #fff;
}

.modern-product-card .product-action-btn.favorited {
    background: #e72027;
    color: #fff;
}

.modern-product-card .discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e72027;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.modern-product-card .product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.modern-product-card .product-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.modern-product-card .product-title:hover {
    color: #e72027;
}

.modern-product-card .product-subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.modern-product-card .product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.modern-product-card .product-price {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.modern-product-card .product-price em {
    font-style: normal;
    font-size: 16px;
}

.modern-product-card .product-old-price {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.modern-product-card .add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    margin-top: 12px;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modern-product-card .add-to-cart-btn:hover {
    background: #e72027;
    color: #fff;
}

.modern-product-card .add-to-cart-btn svg {
    width: 18px;
    height: 18px;
}

.modern-product-card .out-of-stock-btn {
    background: #fef2f2;
    color: #991b1b;
}

.modern-product-card .out-of-stock-btn:hover {
    background: #991b1b;
    color: #fff;
}

/* Filtre Kartı */
.filter-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.filter-card h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Sonuç ve Sıralama Barı */
.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.results-count {
    font-size: 14px;
    color: #6b7280;
}

.results-count strong {
    color: #1f2937;
    font-weight: 600;
}

/* Mobil Responsive */
@media (max-width: 991.98px) {
    .modern-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .modern-category-banner {
        height: 180px;
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px;
    }

    .modern-category-banner img {
        object-position: center top;
    }

    .modern-category-banner .banner-overlay {
        padding: 30px 20px 20px;
    }

    .modern-category-banner h1 {
        font-size: 22px;
    }

    .modern-breadcrumb {
        margin-left: 0;
        margin-right: 0;
        margin-top: 16px;
        padding: 12px 16px;
        border-radius: 10px;
    }

    .modern-product-card .product-info {
        padding: 12px;
    }

    .modern-product-card .product-title {
        font-size: 14px;
    }

    .modern-product-card .product-price {
        font-size: 18px;
    }

    /* Mobilde aksiyon butonları her zaman görünsün */
    .modern-product-card .product-actions {
        opacity: 1;
        transform: translateX(0);
    }

    /* Mobilde sepete ekle butonu gizle */
    .modern-product-card .add-to-cart-btn {
        display: none !important;
    }

    .results-bar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .filter-card {
        border-radius: 12px;
        padding: 16px;
    }
}

@media (max-width: 575.98px) {
    .modern-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .modern-category-banner {
        height: 140px;
    }

    .modern-category-banner h1 {
        font-size: 18px;
    }

    .modern-category-banner .banner-overlay {
        padding: 20px 16px 14px;
    }

    .modern-breadcrumb {
        padding: 10px 12px;
        margin-top: 12px;
    }

    .modern-breadcrumb ol li {
        font-size: 11px;
    }

    .modern-breadcrumb ol li + li::before {
        width: 12px;
        height: 12px;
        margin-right: 6px;
    }

    .modern-product-card {
        border-radius: 10px;
    }

    .modern-product-card .product-image-wrapper {
        border-radius: 10px 10px 0 0;
    }

    .modern-product-card .product-action-btn {
        width: 32px;
        height: 32px;
    }

    .modern-product-card .product-action-btn svg {
        width: 14px;
        height: 14px;
    }

    .modern-product-card .product-actions {
        top: 8px;
        right: 8px;
        gap: 6px;
    }

    .modern-product-card .discount-badge {
        top: 8px;
        left: 8px;
        padding: 3px 6px;
        font-size: 10px;
        border-radius: 5px;
    }

    .modern-product-card .product-info {
        padding: 10px;
    }

    .modern-product-card .product-title {
        font-size: 12px;
        -webkit-line-clamp: 2;
        margin-bottom: 2px;
    }

    .modern-product-card .product-subtitle {
        display: none;
    }

    .modern-product-card .product-price {
        font-size: 15px;
    }

    .modern-product-card .product-price em {
        font-size: 12px;
    }

    .modern-product-card .product-old-price {
        font-size: 11px;
    }

    .modern-product-card .product-price-row {
        gap: 6px;
    }

    .results-bar {
        padding: 12px 14px;
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .results-count {
        font-size: 13px;
    }
}
