.category-sidebar {
    background: #fff;
    border: 1px solid #eee;
}

.cat-title {
    background: #c3002f;
    color: #fff;
    padding: 12px;
    font-size: 16px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.cat-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.cat-item:hover,
.cat-item.active {
    background: #f5f5f5;
}

.cat-item:hover a,
.cat-item.active a {
    color: #c3002f!important;
    font-weight: 600;
}


/* Products */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-item {
    background: #fff !important;
    padding: 15px;
    text-align: center;
    border-radius: 6px;
    transition: 0.3s;
}

.product-item a{
    text-decoration: none;
}

.product-item:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
}

.product-item h2 {
    font-size: 16px;
    margin-top: 15px;
    color: #333;
}

.loader {
    text-align: center;
    padding: 20px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}


/* Pagination wrapper */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Page numbers & links */
.pagination a,
.pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Hover */
.pagination a:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Current page */
.pagination .current {
    background: #111;
    color: #fff;
    border-color: #111;
    cursor: default;
}

/* Disabled (prev / next) */
.pagination .dots {
    border: none;
    background: transparent;
    color: #999;
    cursor: default;
}

/* Responsive */
@media (max-width: 576px) {
    .pagination a,
    .pagination span {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

