/**
 * Products By Category Section Styling
 */

.products-by-category-section {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.category-row {
    margin-bottom: 80px;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.category-row:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.category-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin: 0;
}

.product-count {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Clear filter button */
.clear-filter {
    padding: 8px 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.clear-filter:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

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

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .category-row {
        margin-bottom: 60px;
    }

    .category-header h3 {
        font-size: 1.4rem;
    }

    .product-count {
        font-size: 0.8rem;
    }

    .clear-filter {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
}