.configurator-catalog .filters-wrapper {
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 4px;
    background-color: var(--gray6-color);
}

.configurator-catalog .filters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.configurator-catalog .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.configurator-catalog .filter-group .label-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.configurator-catalog .filter-group .label-group .label-text {
    font-size: 12px;
    font-weight: 600;
}

.configurator-catalog .filter-group select.js-select2 {
    width: 100%;
}

.configurator-catalog .filter-group .select2-selection__clear {
    display: none;
}

.configurator-catalog .filter-group .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    left: unset;
    right: 0;
    top: 2px;
    color: #fff;
    border-right: unset;
}

.configurator-catalog .filter-group .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: unset;
}

.configurator-catalog .filter-group .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    line-height: 20px;
    padding: 0;
}

.configurator-catalog .filter-group .select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: 0 10px;
    background: var(--red-color);
    color: #fff;
    padding-right: 20px;
    border: unset;
}

.configurator-catalog .filters-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.configurator-products__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.configurator-products__card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.configurator-products__card-img {
    position: relative;
}

.configurator-products__card-zoom {
    position: absolute;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    background: #fff;
    box-shadow: 0 1px 9px rgba(17, 17, 17, 0.15);
    border-radius: 4px;
}

.option-zoom-icon {
    width: 20px;
    height: 20px;
    background: url('/test/redesign/img/zoom-icon.png') no-repeat center;
    background-size: contain;
}

.configurator-products__card-img-container {
    display: block;
}

.mini-slider__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.configurator-products__card-name {
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
}

.configurator-products__card-name a {
    color: #333;
    text-decoration: none;
}

.configurator-products__card-name a:hover {
    text-decoration: underline;
}

.configurator-products__card-sizes {
    padding: 0 12px 12px;
    font-size: 14px;
    color: #666;
}

.configurator-products__card-sizes-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.configurator-products__card-buttons {
    padding: 12px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.configurator-products__card-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.configurator-products__card-price-title {
    font-size: 14px;
    color: #666;
}

.configurator-products__card-price .text-content {
    font-size: 16px;
    font-weight: bold;
}

.constructor-product_list_color__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5f6268;
    text-decoration: none;
    font-size: 14px;
}

.constructor-product_list_color__btn:hover {
    text-decoration: underline;
}

.pagination-wrapper {
    margin-top: 24px;
    text-align: center;
}

.configurator-catalog .filter-color-item input[type=checkbox] {
    display:none;
}

.configurator-catalog .filter-color-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-bottom: 5px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.configurator-catalog .filter-color-item input[type=checkbox]:checked + label {
    border-color: #000;
    border-width: 2px;
}

.configurator-catalog .filter-color-item input[type=checkbox]:checked + label:after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3E%3Cpath d='M223.9 329.7c-2.4 2.4-5.8 4.4-8.8 4.4s-6.4-2.1-8.9-4.5l-56-56 17.8-17.8 47.2 47.2L340 177.3l17.5 18.1-133.6 134.3z'/%3E%3C/svg%3E");
    width: 40px;
    height: 40px;
    background-size: cover;
}

.configurator-catalog .filter-color-item.black input[type=checkbox]:checked + label:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512' fill='%23fff'%3E%3Cpath d='M223.9 329.7c-2.4 2.4-5.8 4.4-8.8 4.4s-6.4-2.1-8.9-4.5l-56-56 17.8-17.8 47.2 47.2L340 177.3l17.5 18.1-133.6 134.3z'/%3E%3C/svg%3E");
}

.configurator-catalog .filter-color-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.configurator-catalog-text {
    margin-top: 40px;
}

.configurator-products__list .preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
    position: absolute;
}

.configurator-products__list .preloader::before {
    content: '';
    display: block;
    margin: 0 auto;
    position: relative;
    top: 45%;
    text-align: center;
    box-sizing: border-box;
    border: solid;
    border-width: 7px;
    border-radius: 50%;
    border-top-color: var(--red-color);
    border-bottom-color: #e4e4e4;
    border-right-color: #e4e4e4;
    border-left-color: #e4e4e4;
    height: 50px;
    width: 50px;
    animation: spin .9s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.configurator-products__list.preloader-active {
    opacity: 0.5;
    pointer-events: none;
}

.configurator-products__list.preloader-active .preloader {
    display: block !important;
}

@media (max-width: 768px) {
    .configurator-catalog .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .configurator-catalog .filters-grid {
        grid-template-columns: 1fr;
    }
}