/* Category Page - Base Styles */
.category-page {
    background: #fff;
    padding: 40px 0;
}

/* Hero Section */
.category-hero {
    background: linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 100%);
    padding: 50px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.hero-header {
    text-align: center;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 16px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.filter-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.filter-btn span {
    display: block;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.filter-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Category Description */
.category-description {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.page-numbers:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.page-numbers.current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.page-numbers.prev,
.page-numbers.next {
    font-size: 20px;
    line-height: 1;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .products-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-description {
        margin: 40px auto 0;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 15px;
    }
    
    .filter-btn {
        width: calc(50% - 5px);
        text-align: center;
    }
    
    .products-grid {
        gap: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .category-hero {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 22px;
        padding: 0 15px;
    }
    
    .hero-description {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .category-description {
        margin: 30px 15px 0;
        padding: 15px;
        font-size: 14px;
    }
}