.toggle-category {
    cursor: pointer;
}

.sub-category {
    font-size: 90%;
    list-style-type: none;
    padding-top: 10px;
    padding-left: 20px;
    cursor: pointer;
}
  
.sub-category li {
    margin-bottom: 8px;
    transition: color 0.3s ease;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.sub-category li:hover {
    color: #abd373;
}

.product-img-slide {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Сохраняет пропорции изображения */
    flex-shrink: 0;
}

.product-slider {
    display: flex;
    width: 100%;
    aspect-ratio: 3 / 4; /* Устанавливаем соотношение сторон 3:4 */
    overflow: hidden;
    position: relative;
}

.short {
    width: 100%;
}

.sort-select {
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #e8e8e8;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 42px;
    line-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    white-space: nowrap;
    width: 100%;
}

.price-input-field {
    border: 1px solid #dee2e6;
    background-color: #f6f7fb;
    border-radius: 10px;
    width: 90%;
    height: 45px;
    line-height: 45px;
    padding-left: 15px;
    color: #969696;
  }

.have {
    font-size: 90%;
    /* height: 35px; */
}


.scopes {
    justify-content: center;
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}
.scope {
    display: flex;
    flex-direction: column; /* Вертикальное расположение элементов */
    align-items: center; /* Выравнивание по центру по вертикали */
    justify-content: center; /* Выравнивание по центру по горизонтали */
    margin-right: 1vw; /* Отступ между прямоугольниками */
    width: 100%;
    /* background-color: #f6f7fb; */
    cursor: pointer;
    position: relative;
    border-radius: 10px;
}

.scope img {
    width: 100%; /* Ширина изображения 100% от родительского контейнера */
    height: 100%; /* Высота изображения 100% от родительского контейнера */
    aspect-ratio: 4 / 2;
    object-fit: cover; /* Изображение заполняет контейнер, сохраняя пропорции */
    border-radius: 10px;
    filter: brightness(75%);
}
.scope img:hover{
    filter: brightness(85%); 
}

.scope span {
    position: absolute;
    /* bottom: 0;
    left: 50%;
    z-index: -1; */
    font-size: clamp(0.8rem, 1.2vw, 1.5rem); /* Размер шрифта адаптивный */
    text-align: center; /* Центрируем текст */
    color: rgba(255, 255, 255, 0.911); /* Белый цвет текста */
    padding: 0.5vw; /* Адаптивные отступы */
    border-radius: 15px;
    white-space: nowrap;
    width: 100%; /* Задаем ширину на всю ширину родительского элемента */
    pointer-events: none;
}

.active-rec img{
    border: 3px solid #abd373;
} 

.tab-content {
    margin-top: 20px;
}


@media (max-width: 991px) {
    .product-grid-view {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .col-md-4 {
        width: 100%;
    }
    .tab-content {
        margin-top: 35px;
    }
    .add-card {
        width: auto;
    }
}

.main-container {
    display: block;
}

.mobile-filter-btn {
    border: 1px solid #dee2e6;
    background-color: rgba(255, 255, 255, 0);
    color: #757586;
    padding: 5px;
    font-size: 18px;
}

.hidden {
    display: none
}

.mobile-class {
    overflow-y: auto;
    position: fixed;
    background-color: white;
    border: 1px solid black;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.button-wrap {
    display: grid;
    justify-content: center;
}

#filters-button-close {
    font-size: 16px;
    position: relative;
    margin-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
    color: #757586;
    border: 1px solid #dee2e6;
    background-color: #ffffff00;
}

.choised {
    color: #abd373 !important;
}

.add-card {
    position: absolute;
    bottom: 2;
    left: 25%;
    right: 0;
    border: 2px solid #dee2e6;
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    width: 75%;
    opacity: 0.5;
    cursor: pointer;
    background-color: #6c6c6c;
    color: white;
}

.added {
    background-color: #abd373;
    color: black;
    font-weight: 500;
}


.add-card:hover {
    background-color: #abd373;
    transform: scale(1.05);
    font-weight: 500;
}

#filters-block {
    display: flex;
    flex-wrap: wrap;
    font-size: 80%;
}

.filter-block {
    border: 1px solid #9fd468;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 5px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #9fd468;
}

.filter-block span{
    margin-right: 5px;
    font-size: 80%;
    cursor: pointer;
}

.filter-block label{
    cursor: pointer;
}

.title-scope p{
    color: #abd373;
    font-size: 20px;
}


.col-sm-6 {
    margin-top: 0px;
    padding: 5px;
}