
/*корректировка вывода всплывающих mbox из ajax

#mBox_request_goods,
#mBox_request_consult,
#mBox_request_backcall {max-width:90% !important }
#mBox_request_goods .jBox-content,
#mBox_request_consult .jBox-content,
#mBox_request_backcall .jBox-content{max-width:100%!important }
*/


/*наложение маски на изображение */

.image-holder {
    display:inline-block;
    position: relative;
}
.image-holder:after {
    content:'';
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: #9999c0;
    opacity: 0.1;
}
.media__item__foot {background: #f5f5f9 !important}

.card__price {font-size: 2.5rem}
.other-price {color: #808080a8; font-size: 0.9rem; text-decoration: line-through}

.card__carousel__pagination.count_0 .swiper-pagination-bullet {width: 100%; }
.card__carousel__pagination.count_1 .swiper-pagination-bullet {width: 100%; }
.card__carousel__pagination.count_2 .swiper-pagination-bullet {width: 50%; }
.card__carousel__pagination.count_3 .swiper-pagination-bullet {width: 33%; }
.card__carousel__pagination.count_4 .swiper-pagination-bullet {width: 25%; }
.card__carousel__pagination.count_5 .swiper-pagination-bullet {width: 20%; }
.card__carousel__pagination.count_6 .swiper-pagination-bullet {width: 16%; }
.card__carousel__pagination.count_7 .swiper-pagination-bullet {width: 14%; }
.card__carousel__pagination.count_8 .swiper-pagination-bullet {width: 12%; }
.card__carousel__pagination.count_9 .swiper-pagination-bullet {width: 11%; }
.card__carousel__pagination.count_10 .swiper-pagination-bullet {width: 10%; }


/*.block__pluses > div + div:before {bottom: unset; top:68px;left:-17px}*/
/*.block__pluses > div + div:before {bottom: unset; top:50%;}*/
/*.block__pluses > div + div:after {bottom: unset; top:57px;left:-5px; }*/
/*.block__pluses > div + div:after {bottom: unset; top:38px; }*/
.check__complect:hover { border-color: #80b941 !important;}
.check__complect.active{ background: rgb(213 225 199 / 56%);;}
.check__complect.disabled{opacity: .3;cursor: auto; background: none}
.check__complect.disabled:hover{opacity: .3;cursor: auto; background: none; border: 1px solid #dee2e6!important;}
.check__complect .media-body{position: relative}
.check__complect .media-body .stock{position: absolute; bottom: 0px; right:40px; margin-bottom: 0}
.check__complect .link{position: absolute; bottom: 0px; right:4px;width: 24px; height: 24px; display: block}
.check__complect .out_link:hover path{stroke: red!important;}

.check__complect figure{    display:inline-block; position: relative;width: 65px;height: 65px}
.check__complect.active figure:after {
    content:'';
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background:#1e3900;
    opacity: 0.1;
}

/*корректировка вывода результатов фильтров*/

.btn-choise { margin: 2px;}
.green {color:green;}
.red {color:red;}

#send_form_filter {display: none}


@media (max-width: 990px){
    .block__pluses > div + div:before {bottom: unset; top:45px;left:-8px;width:16px}
    .block__pluses > div + div:after {bottom: unset; top:38px;height:16px }

    .container .home__carousel__button_next,.container .home__carousel__button_prev  {
       top: 50%;
    }

    #informer_cart_mobile {padding: 0.5rem !important;}
    #informer_cart_mobile .count {
        position: absolute;
        top: 2px;
        right: 30px;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        background: red;
        color: white;
        font-size: 10px;
        text-align: center;
        line-height: 20px;
    }
}

@media (max-width: 780px){
    .block__pluses > div + div:before {bottom: unset;top: -13px;left: 273px;width:19px}
    .block__pluses > div + div:after {bottom: unset; top:-21px;left:281px ;height:19px}
}

@media (max-width: 500px){
    /*корректировка вывода хлебных крошек*/
    ol.breadcrumb {    white-space: nowrap;overflow-x: scroll;flex-wrap: nowrap;}
    ol.breadcrumb::-webkit-scrollbar {width: 0;}
    /*корректировка вывода фильтра на мобильной*/
    .filtr-box { padding: 8px 0;}

}

.btn-filtr { padding: 0 49px 0 0;}

#informer_cart {position: relative}
#informer_cart .count {position:absolute; top: -7px; right:-7px; width: 20px; height: 20px; border-radius: 10px;background:red; color: white ; font-size:10px; text-align: center; line-height: 20px}

 /*страница окорзины / оформление заказа*/
.card-header .btn { font-size: 26px;}
span.btn-link:hover {   text-decoration: none; }
span.btn:not(:disabled):not(.disabled) {
    cursor: default;
}

.btn-info {
    color: #fff;
    background-color: #2e904f!important;
    border-color: #2e904f!important;
}

.form-control {
    height: calc(1.5em + 0.75rem + 11px) !important;
}
/* Адаптивная сетка 2x2 на мобильных */
@media (max-width: 576px) {
    .nav-tabs_ {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0; /* убираем gap, так как границы будут внутри */
        border: 1px solid white; /* общая рамка вокруг всей сетки */
        border-radius: 6px;
        overflow: hidden; /* убираем выступающие линии */
    }

    .nav-tabs_ .nav-item {
        width: 100%;
        border-right: 1px solid white;
        border-bottom: 1px solid white;
    }

    /* Убираем правую границу у каждой второй колонки */
    .nav-tabs_ .nav-item:nth-child(2n) {
        border-right: none;
    }

    /* Убираем нижнюю границу у последней строки */
    .nav-tabs_ .nav-item:nth-last-child(1),
    .nav-tabs_ .nav-item:nth-last-child(2) {
        border-bottom: none;
    }

    .nav-tabs_ .nav-link {
        width: 100%;
        padding: 12px;
        text-align: center;
        border: none;
        border-radius: 0;
        color: #fff;
    }

    .nav-tabs_ .nav-link.active {
        background-color: rgba(255, 255, 255, 0.15);
        color: #a5bff2;
    }
}
/*слайдер миниатюр - карточка товара/серии*/
.card__carousel-thumbs .swiper-slide {
    opacity: 0.3;
    cursor: pointer;
}
.card__carousel-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    /*border-bottom: 3px solid #3b95e0;*/
}

/*скрываем панель dop_price для мобилок*/
@media (max-width: 767px) {
    #panel_dop_price {
        display: none !important;
    }
    .card__carousel-thumbs .swiper-slide {
        min-width: 104px!important;
    }
}
