.sort-buttons,
.category-buttons {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.sort-buttons button,
.category-buttons button {
    border-radius: 12px;
    padding: 16px 20px;
    margin-right: 12px;
    border: 1px solid #ccc;
    background: #E9E9E9;
    cursor: pointer;
    height: 49px;
    font-size: 14px;
    color:#1C1C1C;
    transition: all 0.3s;
}
.sort-buttons button:hover,
.category-buttons button:hover {
    background: #ccc;
}
.sort-buttons button.active,
.category-buttons button.active {
    background: #1C1C1C;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.pagination-wrapper a {
    width: 50px;
    height: 50px;
    cursor: pointer;
    color: rgba(28, 28, 28, 1);
    font-size: 14px;
    font-weight: 400;
    align-items: center;
    display: inline-flex;
    border: 1px solid rgba(34, 60, 106, 0.24);
    background: none;
    text-align: center;
    border-radius: 12px;
    outline: none;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}
.pagination-wrapper a:hover,
.pagination-wrapper a.active {
    background: rgba(34, 60, 106, 1);
    color: white;
}
.loader-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    position: absolute;
    width: 100%;
}

.spinner {
    width: 50px;
    height:50px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
