/* ===================================
   ÜRÜN KARTLARI VE DETAY SAYFALARI
   Modern Oyuncak Teması
   =================================== */

/* ===================================
   ÜRÜN ARŞİV SAYFASI - MODERN KARTLAR
   =================================== */

.products-archive {
    background: var(--off-white);
}

.products-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
    color: var(--white);
    margin-top: 5px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.products-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.products-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Modern Ürün Grid */
.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Modern Ürün Kartı */
.product-card-modern {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    cursor: pointer;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
    border-color: var(--primary-red);
}

.product-card-modern:hover .product-info-wrapper {
    background: var(--off-white);
}

.product-card-modern:hover .product-title a {
    color: var(--primary-red);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ürün Görseli - Tam Kaplama */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1 / 1;
    width: 100%;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

/* Kategori Badge */
.product-category-badge {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    align-self: center;
}

.product-card-modern:hover .product-category-badge {
    transform: translateY(-2px);
    background: var(--dark-red);
}

/* Ürün Bilgileri */
.product-info-wrapper {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: var(--white);
    transition: all 0.3s ease;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.4;
    text-align: center;
    font-weight: 700;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-title a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary-red);
}

.product-description {
    display: none;
}

/* Ürün Özellikleri */
.product-features {
    display: none;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-gray);
    background: var(--light-gray);
    padding: 5px 10px;
    border-radius: 15px;
}

.product-feature svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary-red);
}

/* Detay Butonu */
.product-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.product-detail-btn:hover {
    background: var(--dark-red);
    transform: translateX(5px);
    color: var(--white);
}

.product-detail-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.product-detail-btn:hover svg {
    transform: translateX(3px);
}

/* Ürün Yok Mesajı */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-products-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.no-products h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.no-products p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ===================================
   ÜRÜN DETAY SAYFASI - MODERN TASARIM
   =================================== */

.product-single-page {
    background: var(--white);
}

/* Breadcrumb */
.product-breadcrumb {
    background: var(--light-gray);
    padding: 15px 0;
    font-size: 0.9rem;
}

.product-breadcrumb a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.product-breadcrumb a:hover {
    color: var(--primary-red);
}

.product-breadcrumb .separator {
    margin: 0 10px;
    color: var(--text-light);
}

.product-breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

/* Ürün Detay Section */
.product-detail-section {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Ürün Galerisi */
.product-gallery-modern {
    position: sticky;
    top: 100px;
}

.product-main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: var(--light-gray);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Güvenlik Rozetleri */
.product-badges {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-safe {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-quality {
    background: #FFF3E0;
    color: #E65100;
}

.badge-certified {
    background: #E3F2FD;
    color: #1565C0;
}

.badge svg {
    width: 20px;
    height: 20px;
}

/* Ürün Bilgileri */
.product-info-modern {
    padding: 20px 0;
}

.product-category-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.category-tag {
    background: var(--light-gray);
    color: var(--primary-red);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: var(--primary-red);
    color: var(--white);
}

.product-title-modern {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.product-excerpt {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

/* Hızlı Özellikler */
.product-quick-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.quick-spec-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quick-spec-item:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

.spec-icon {
    flex-shrink: 0;
}

.spec-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-red);
}

.quick-spec-item:hover .spec-icon svg {
    stroke: var(--white);
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.spec-value {
    font-size: 1rem;
    font-weight: 600;
}

/* CTA Buton */
.product-cta {
    margin-bottom: 30px;
}

.btn-product-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-red);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.3);
}

.btn-product-contact:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 20, 60, 0.4);
    color: var(--white);
}

.btn-product-contact svg {
    width: 20px;
    height: 20px;
}

/* Sertifikalar */
.product-certifications-modern {
    padding: 25px;
    background: var(--off-white);
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
}

.product-certifications-modern h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cert-item {
    font-size: 0.9rem;
    color: var(--text-gray);
    padding: 6px 12px;
    background: var(--white);
    border-radius: 20px;
}

/* ===================================
   DETAYLI AÇIKLAMA BÖLÜMÜ
   =================================== */

.product-description-section {
    padding: 60px 0;
    background: var(--off-white);
}

.product-description-content {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-wrapper h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
}

.content-wrapper p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* Özellikler Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.spec-box {
    padding: 25px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}

.spec-box:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

.spec-box .spec-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.spec-box .spec-value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Güvenlik Özellikleri */
.safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.safety-item {
    padding: 30px;
    background: var(--light-gray);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.safety-item:hover {
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.safety-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.safety-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.safety-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===================================
   BENZERÜRÜNLERİ
   =================================== */

.related-products-section {
    padding: 10px 0;
    background: var(--white);
}

.section-title-modern {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 700;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.15);
}

.related-product-image {
    display: block;
    overflow: hidden;
    background: var(--light-gray);
    height: 220px;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.1);
}

.related-product-card h4 {
    padding: 20px 20px 10px;
    font-size: 1.1rem;
}

.related-product-card h4 a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.related-product-card h4 a:hover {
    color: var(--primary-red);
}

.related-product-link {
    display: block;
    padding: 0 20px 20px;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.related-product-link:hover {
    color: var(--dark-red);
    padding-left: 25px;
}

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

@media (max-width: 1024px) {
    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .product-detail-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .products-header h1 {
        font-size: 2rem;
    }

    .products-header p {
        font-size: 1rem;
    }

    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-modern {
        border-radius: 10px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }

    .product-info-wrapper {
        padding: 12px 10px;
    }

    .product-title {
        font-size: 0.85rem;
        min-height: 35px;
        line-height: 1.3;
    }

    .product-category-badge {
        top: 8px;
        left: 8px;
        padding: 5px 10px;
        font-size: 0.65rem;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery-modern {
        position: static;
    }

    .product-title-modern {
        font-size: 2rem;
    }

    .product-quick-specs {
        grid-template-columns: 1fr;
    }

    .tab-header {
        flex-direction: column;
    }

    .tab-btn {
        text-align: left;
    }

    .tab-content {
        padding: 25px;
    }

    .specs-grid,
    .safety-features {
        grid-template-columns: 1fr;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-header {
        padding: 30px 0;
    }

    .products-header h1 {
        font-size: 1.6rem;
    }

    .products-header p {
        font-size: 0.9rem;
    }

    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

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

    .product-info-wrapper {
        padding: 10px 8px;
    }

    .product-title {
        font-size: 0.8rem;
        min-height: 32px;
        line-height: 1.2;
    }

    .product-category-badge {
        top: 6px;
        left: 6px;
        padding: 4px 8px;
        font-size: 0.6rem;
    }

    .product-title-modern {
        font-size: 1.6rem;
    }

    .btn-product-contact {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 1rem;
    }

    .product-badges {
        flex-direction: column;
    }
}

/* ===================================
   CONTENT WITH SIDEBAR LAYOUT
   =================================== */

.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-red);
}

/* Product Category List */
.product-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-category-list .cat-item {
    margin-bottom: 10px;
}

.product-category-list .cat-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--light-gray);
    border-radius: 10px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-weight: 600;
}

.product-category-list .cat-item a:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateX(5px);
}

.cat-icon {
    font-size: 1.2rem;
}

.cat-count {
    margin-left: auto;
    background: var(--white);
    color: var(--primary-red);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
}

.product-category-list .cat-item a:hover .cat-count {
    background: var(--white);
    color: var(--primary-red);
}

/* Safety Widget */
.safety-widget {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-left: 4px solid var(--primary-red);
    border-radius: 12px;
}

.safety-widget .widget-title {
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.safety-widget .widget-title::before {
    content: '🛡️';
    font-size: 1.3rem;
}

.safety-info p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.safety-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.safety-badge {
    background: var(--white);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.safety-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.15);
}

.safety-badge-icon {
    font-size: 1.8rem;
    margin-bottom: 5px;
    display: block;
}

.safety-badge-text {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.safety-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.safety-list li {
    padding: 8px 12px;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--white);
    margin-bottom: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.safety-list li::before {
    content: '✓';
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1rem;
}

/* BAKBİ Features List */
.bakbi-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bakbi-features-list li {
    padding: 10px 12px;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--white);
    margin-bottom: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.bakbi-features-list li:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(220, 20, 60, 0.15);
}

.feature-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.feature-text {
    flex: 1;
    line-height: 1.3;
}

/* Responsive Sidebar */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        position: static;
    }

    .sidebar-widget {
        margin-bottom: 20px;
    }

    .safety-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .safety-badge {
        padding: 10px 8px;
    }

    .safety-badge-icon {
        font-size: 1.5rem;
    }

    .safety-badge-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .safety-badges {
        grid-template-columns: 1fr;
    }

    .bakbi-features-list li {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .feature-icon {
        font-size: 1.1rem;
        width: 24px;
    }
}


/* ===================================
   ÜRÜN FİLTRELEME - CHECKBOX STİLLERİ
   =================================== */

.product-filter-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.product-category-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--light-gray);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.filter-checkbox-label:hover {
    background: var(--off-white);
    transform: translateX(3px);
}

.filter-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    position: relative;
    width: 22px;
    height: 22px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox-label input[type="checkbox"]:checked~.checkbox-custom {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.filter-checkbox-label input[type="checkbox"]:checked~.checkbox-custom::after {
    display: block;
}

.filter-checkbox-label:hover .checkbox-custom {
    border-color: var(--primary-red);
}

.category-name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    font-weight: 600;
    color: var(--text-dark);
}

.filter-checkbox-label input[type="checkbox"]:checked~.category-name {
    color: var(--primary-red);
}

.filter-reset-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--light-gray);
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset-btn:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Yükleniyor Göstergesi */
.products-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.products-loading p {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Filtreleme aktif olduğunda animasyon */
.products-grid-modern.filtering {
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-checkbox-label {
        padding: 10px 12px;
    }

    .checkbox-custom {
        width: 20px;
        height: 20px;
    }

    .checkbox-custom::after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 10px;
    }

    .category-name {
        font-size: 0.95rem;
    }
}


/* ===================================
   MOBİL FİLTRELEME DROPDOWN
   =================================== */

/* Mobil Filtreleme Butonu - Desktop'ta gizli */
.mobile-filter-toggle {
    display: none;
}

@media (max-width: 768px) {

    /* Mobil Filtreleme Butonu - Yeniden Tasarlandı */
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        background: var(--white);
        color: var(--primary-red);
        border: 2px solid var(--primary-red);
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    .mobile-filter-toggle:active {
        transform: scale(0.98);
    }

    .mobile-filter-toggle.active {
        background: var(--primary-red);
        color: var(--white);
    }

    .mobile-filter-toggle svg {
        flex-shrink: 0;
    }

    .mobile-filter-toggle .filter-text {
        flex: 1;
        text-align: left;
    }

    .mobile-filter-toggle .dropdown-arrow {
        transition: transform 0.3s ease;
    }

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

    /* Sidebar Mobilde Dropdown - Optimize Edildi */
    .content-with-sidebar {
        display: block;
    }

    .sidebar-product {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, margin 0.4s ease;
        margin-bottom: 0;
    }

    .sidebar-product.mobile-open {
        max-height: 2000px;
        margin-bottom: 15px;
    }

    /* Filtreleme Widget - Mobil Optimize */
    .sidebar-product .product-filter-widget {
        padding: 15px;
        margin-bottom: 0;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .sidebar-product .widget-title {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .sidebar-product .product-category-filters {
        gap: 8px;
    }

    .sidebar-product .filter-checkbox-label {
        padding: 10px 12px;
        border-radius: 6px;
        background: var(--off-white);
    }

    .sidebar-product .filter-checkbox-label:hover {
        background: var(--light-gray);
    }

    .sidebar-product .category-name {
        font-size: 0.9rem;
    }

    .sidebar-product .cat-count {
        font-size: 0.75rem;
    }

    .sidebar-product .filter-reset-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        margin-top: 12px;
    }

    /* BAKBİ Widget Gizle - Mobilde */
    .sidebar-product .safety-widget {
        display: none;
    }
}

/* ===================================
   LOADING SPINNER - AJAX FİLTRELEME
   =================================== */

.products-loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 15px;
}

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

.products-loading p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.products-grid-modern.filtering {
    opacity: 0.5;
    pointer-events: none;
}


/* ===================================
   PAGINATION - MODERN TASARIM
   =================================== */

#products-pagination {
    margin: 60px 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Pagination Linkleri */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Hover Efekti */
.page-numbers:hover {
    color: var(--white);
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

/* Aktif Sayfa */
.page-numbers.current {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
    cursor: default;
    pointer-events: none;
}

/* Önceki/Sonraki Butonları */
.page-numbers.prev,
.page-numbers.next {
    font-weight: 700;
    padding: 0 20px;
   /* background: var(--off-white); */
    border-color: var(--gray);
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

/* Dots (...) */
.page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
    pointer-events: none;
    color: var(--text-gray);
    font-weight: 700;
    min-width: 35px;
}

.page-numbers.dots:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

/* Loading State */
.products-container.filtering ~ #products-pagination {
    opacity: 0.5;
    pointer-events: none;
}

/* Animasyon */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#products-pagination {
    animation: fadeInUp 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    #products-pagination {
        margin: 40px 0 30px;
    }
    
    .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
    
    .page-numbers.prev,
    .page-numbers.next {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .page-numbers.prev,
    .page-numbers.next {
        padding: 0 14px;
    }
}

/* Hover Efekti - Dalga Animasyonu */
.page-numbers::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.page-numbers:hover::before {
    width: 100px;
    height: 100px;
}

/* Focus State - Accessibility */
.page-numbers:focus {
    outline: 3px solid rgba(220, 20, 60, 0.3);
    outline-offset: 2px;
}

.page-numbers:focus:not(:focus-visible) {
    outline: none;
}

/* Dark Mode Support (Opsiyonel) */
@media (prefers-color-scheme: dark) {
    .page-numbers {
        background: #2C2C2C;
        color: var(--white);
        border-color: #444;
    }
    
    .page-numbers:hover {
        background: var(--primary-red);
        border-color: var(--primary-red);
    }
}

/* ===================================
   ÜRÜN SAYFASI - DİL MENÜSÜ DÜZELTMESİ
   =================================== */

/* Ürün sayfasında dil menüsü arka planını beyaz yap */
ul.sub-menu li.current-product-page,
ul.sub-menu li.current-product-page a {
    background-color: #ffffff !important;
    color: #333333 !important;
}

ul.sub-menu li.current-product-page:hover,
ul.sub-menu li.current-product-page:hover a {
    background-color: #f5f5f5 !important;
}
