/* Modern Kategori Sayfası Stilleri */
.modern-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 30px 0;
}

@media (max-width: 768px) {
    .modern-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .modern-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.product-item-wrapper {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.product-item-wrapper[data-index="0"] { animation-delay: 0.1s; }
.product-item-wrapper[data-index="1"] { animation-delay: 0.2s; }
.product-item-wrapper[data-index="2"] { animation-delay: 0.3s; }
.product-item-wrapper[data-index="3"] { animation-delay: 0.4s; }
.product-item-wrapper[data-index="4"] { animation-delay: 0.5s; }
.product-item-wrapper[data-index="5"] { animation-delay: 0.6s; }
.product-item-wrapper[data-index="6"] { animation-delay: 0.7s; }
.product-item-wrapper[data-index="7"] { animation-delay: 0.8s; }
.product-item-wrapper[data-index="8"] { animation-delay: 0.9s; }
.product-item-wrapper[data-index="9"] { animation-delay: 1s; }
.product-item-wrapper[data-index="10"] { animation-delay: 1.1s; }
.product-item-wrapper[data-index="11"] { animation-delay: 1.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.modern-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #e0e0e0;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.product-image.loaded {
    opacity: 1;
}

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

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.4;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.modern-product-card:hover .product-name {
    color: #4a90e2;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #4a90e2;
    margin-top: auto;
}

.no-products-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 40px 0;
}

.no-products-message p {
    font-size: 18px;
    color: #6c757d;
    margin: 0;
}

/* Page Header Stilleri */
.page-header {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 50%, #2e5f8f 100%);
    padding: 40px 0;
    margin-bottom: 30px;
    color: white;
}

.page-header .title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .page-header {
        padding: 30px 0;
    }
    
    .page-header .title {
        font-size: 24px;
    }
}

/* Breadcrumb Stilleri - Sadece Kategori Sayfası İçin */
.breadcrumb-box.kategori-breadcrumb,
.breadcrumb-box {
    background: #01a6d5 !important;
    overflow: hidden !important;
}

.breadcrumb-box.kategori-breadcrumb .breadcrumb,
.breadcrumb-box .breadcrumb,
.breadcrumb {
    margin: 0 !important;
    padding: 11px 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    font-size: 11px !important;
    background: #01a6d5 !important;
    color: #fff !important;
    line-height: 18px !important;
}

.breadcrumb-box.kategori-breadcrumb .breadcrumb li {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 18px !important;
    text-shadow: none !important;
}

.breadcrumb-box.kategori-breadcrumb .breadcrumb li:not(:last-child)::after {
    display: none !important;
}

.breadcrumb-box.kategori-breadcrumb .breadcrumb li + li:before {
    padding: 0 6px !important;
    color: #7f7f7f !important;
    content: '/' !important;
    display: inline-block !important;
}

.breadcrumb-box.kategori-breadcrumb .breadcrumb li a {
    color: #fff !important;
    text-decoration: none !important;
    transition: opacity 0.2s linear !important;
    font-weight: normal !important;
    opacity: 1 !important;
}

.breadcrumb-box.kategori-breadcrumb .breadcrumb li a:hover {
    opacity: 0.8 !important;
    filter: alpha(opacity=80) !important;
    transition: opacity 0.2s linear !important;
}

.breadcrumb-box.kategori-breadcrumb .breadcrumb li.active {
    color: #fff !important;
}

.breadcrumb-box.kategori-breadcrumb .breadcrumb li.active a {
    color: #fff !important;
    font-weight: normal !important;
    cursor: default !important;
    pointer-events: none !important;
}

