/* Kategori Detay Sayfası Stilleri */

/* Başlık Alanı */
.category-header {
    padding: 5rem 0 2rem;
    background-color: white;
    position: relative;
    margin-top: 5rem !important;
    padding-bottom: 0 !important;
}

.product-list-section {
    padding-top: 0 !important;
}

.category-title {
    font-family: var(--alt-font);
    font-size: 3.5rem;
    color: var(--base-color);
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-subtitle {
    font-family: var(--alt-font);
    font-size: 1.5rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.category-divider {
    height: 2px;
    width: 8rem;
    background-color: var(--base-color);
    margin: 0 auto 2rem;
    position: relative;
}

.category-divider::before,
.category-divider::after {
    content: "";
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--base-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.category-divider::before {
    left: -1rem;
}

.category-divider::after {
    right: -1rem;
}

/* Kompakt Ürün Listesi Stilleri */
.compact-product-list {
    position: relative;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}

.compact-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.compact-product-link:hover {
    text-decoration: none;
    color: inherit;
}

.compact-product-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(24, 55, 40, 0.1);
    transition: all 0.2s ease;
    position: relative;
}

.compact-product-item:last-child {
    border-bottom: none;
}

.compact-product-item:hover {
    background-color: rgba(24, 55, 40, 0.02);
}

.compact-product-image {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.75rem;
    flex-shrink: 0;
    border: 2px solid var(--base-color);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

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

.compact-product-item:hover .compact-product-image img {
    transform: scale(1.1);
}

.compact-product-info {
    flex: 1;
    min-width: 0;
    margin-right: 1.5rem;
}

.compact-product-title {
    font-family: var(--alt-font);
    font-size: 1.65rem;
    color: var(--base-color);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-product-description {
    font-family: var(--main-font);
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.compact-product-price {
    font-family: var(--alt-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    background-color: rgba(24, 55, 40, 0.1);
    padding: 0.6rem 1.25rem;
    border-radius: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.08);
}

/* Geri Dön Butonu */
.back-button {
    display: inline-flex;
    align-items: center;
    font-family: var(--alt-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--base-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--base-color);
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

.back-button:hover {
    background-color: var(--base-color);
    color: white;
    text-decoration: none;
}

.back-button-icon {
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}

/* Responsive Ayarlar */
@media (max-width: 767.98px) {
    .category-title {
        font-size: 2.5rem;
    }
    
    .category-subtitle {
        font-size: 1.25rem;
    }
    
    .compact-product-item {
        padding: 1.25rem 1.5rem;
        flex-wrap: wrap;
    }
    
    .compact-product-image {
        width: 5rem;
        height: 5rem;
        margin-right: 1.25rem;
    }
    
    .compact-product-info {
        flex: 1;
        margin-right: 0;
        min-width: 60%;
    }
    
    .compact-product-title {
        font-size: 1.4rem;
        margin-bottom: 0.35rem;
    }
    
    .compact-product-description {
        font-size: 1rem;
    }
    
    .compact-product-price {
        font-size: 1.3rem;
        margin-left: auto;
        margin-top: 0.75rem;
        padding: 0.5rem 1rem;
    }
}
