/*plugin doprelated*/
.doprelated-1 .related h3{
    float: none;
}

.doprelated .item_name .title {
    text-overflow: ellipsis;
    text-align: left;
}

.doprelated .item_name .title__text {
    white-space: normal;
}

.doprelated .block-product-item .item_name a {
    position: relative;
}

.doprelated__sku {
    position: relative;
    color: #828282;
    font-size: 12px;
}

.doprelated .block-product-item .item_name {
    height: auto;
}

.doprelated__price {
    display: flex;
    justify-content: space-between;
}

.doprelated-btn {
    padding: 5px;
    line-height: unset;
    margin-right: 15px;
}

.doprelated .block-product-item:hover a{
    background: unset;
}

.related .block .pricing .current-price {
    margin-top: 7px;
}

.main .content h3 {
    margin: 15px 0 10px;
    float: none;
}

/* add from https://echocompany.bitrix24.ru/company/personal/user/21/tasks/task/view/5252/ */
.b-cityselect__list {
    height: 118px;
    overflow: hidden;
    overflow-y: hidden;
}

.b-cityselect__change {
    width: 90%;
}

.b-mobile-filter__close {
    display: block;
    position: absolute;
    padding: 15px;
    right: 15px;
    top: 2px;
}

.b-mobile-filter__close .nav-icon.open {
    position: static;
}

.main .content .content-pop-products .block .controls .btn{
    font-size: 18px;
    font-weight: 200;
    font-family: Arial;
    border-radius: 6px;
    padding-bottom: 3px;
}

.product-content .product-details .cart-block .btn{
    /* font-size: 23px; */
    font-weight: 200; 
    border-radius: 10px;
    font-size: 22px;
    /* padding-bottom: 6px; */
}

.main .content .home .btn{
    /*font-size: 23px;
    font-weight: 200;*/
    border-radius: 10px;
}

.cv_total .cvt_submit{
    font-size: 21px;
    border-radius: 10px;
    padding-bottom: 20px;
}

.checkout-step-content #checkout-btn{
    font-size: 21px;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .menu-wrapper > .side-filter > .filters > form > div > .crossing > .proj_inf > li > input {
        display: none;
    }

    .menu-wrapper > .side-filter > .filters > form > div > .crossing > .proj_inf > li > input[type=checkbox] + label:before {
        content: '';
        top: 3px;
        position: absolute;
        left: -25px;
        width: 22px;
        height: 22px;
        border: 1px solid #818181;
    }

    .menu-wrapper > .side-filter > .filters > form > div > .crossing > .proj_inf > li > input[type=checkbox]:checked + label:after {
        content: '';
        top: 0;
        bottom: 0;
        margin-top: auto;
        margin-bottom: auto;
        position: absolute;
        left: -22px;
        width: 17px;
        height: 14px;
        background: url("/wa-data/public/shop/themes/caroptics/img/check.png") center no-repeat;
        background-size: contain;
    }

    .menu-wrapper > .side-filter > .filters > form > div > .crossing > .proj_inf_more {
        font-size: 20px;
    }

    .menu-wrapper > .side-filter > .filters > form > div > .crossing > .proj_inf > li > input[type=checkbox] + label {
        font-size: 19px;
        padding-left: 5px;
    }

    .menu-wrapper > .side-filter > .filters > form > div > .crossing > .proj_inf > li {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .menu-wrapper > .side-filter > .filters > form > div > .crossing > .proj_inf {
        padding-left: 44px;
    }

    .menu-wrapper > .side-filter > .filters > form > div > .crossing > .proj_inf > li > input[type=checkbox]:checked + label:before {
        background: #80c500;
    }

    .main .content .content-pop-products.mod-wrapper .block {
        min-height: 160px !important;
        margin: 5px 0px !important;
    }

    .main .content .content-pop-products.mod-wrapper .block .controls {
        padding-top: 14px !important;
    }

    .main .content .content-pop-products .block .img img {
        overflow: hidden !important;
    }

    .main .content .content-pop-products.mod-wrapper .block .img {
        min-width: 90px;
    }
}
/* end of add from https://echocompany.bitrix24.ru/company/personal/user/21/tasks/task/view/5252/ */


/*plugin doprelated*/
@media (max-width: 768px) {
    .main .content .content-pop-products.mod-wrapper .block{
	    margin: 7px 0px !important;
    }

.main .content .content-pop-products.mod-wrapper .block .img{
	    min-width: 90px;
    }
	
.main .content .content-pop-products .products .block {
        height: auto;
        padding-bottom: 20px;
    }

    .main .content .content-pop-products.mod-wrapper .block .controls {
        padding-top: 0 !important;
    }
    
    .main .content .content-pop-products.mod-wrapper .block .controls .price {
        padding-bottom: 5px;
    }
    .doprelated__price{
        height: 90px;
        display: block;
    }
    .doprelated__price > .pricing .current-price{
        margin-top: 1px !important;
    }
    .doprelated__price > .controls .doprelated-btn{
        position: relative;
        top: 1px;
        padding: 5px 25px 6px 25px;
        font-size: 14px;
    }
    .doprelated__sku{
        display: none;
    }
    .main .content .content-pop-products .block .controls .addtocart .btn{
    font-size: 16px;
    font-family: Arial;
    padding: unset;
    /* font-weight: 100; */
    border-radius: 6px;
    padding-top: 4px;
    padding-bottom: 6px;
    line-height: unset;
    }
}

@media (max-width: 570px){
    .doprelated-1 .owl-carousel.owl-drag .owl-item {
        width: 4% !important;
    }
}

@media (max-width: 400px) {
    .doprelated-1 .owl-carousel.owl-drag .owl-item {
        width: unset !important;
    }
}

/*end of plugin doprelated*/

.b-filters {
    position: relative;
}

.b-loader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 33;
    background: url('../bem/theme/loading32.gif') no-repeat center center rgba(255, 255, 255, 0.8);
}

.b-cityselect__list {
    height: 118px !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
}
.b-cityselect__change {
    padding: 15px;
    font-size: 14px;
    overflow: hidden !important;
    overflow-y: hidden !important;
    height: 420px;
    overflow-x: hidden !important;
}
.suggestions-wrapper .suggestions-suggestions li {
    white-space: pre-line;
}

@media only screen and (min-width: 991px) {
    .footer-hrefs > .social{
        width: 280px;
    }
    
    .wrapper > .footer-contacts{
        padding-top: 120px !important;
        padding-bottom: 200px !important;
    }
    
    .wrapper > .footer-hrefs > .social{
        display: block !important;
    }
}

@media (max-width: 991px){
    #vk_caroptics {
        margin: auto;
    }

    .footer-hrefs > .social {
        margin: 15px 0px;
    }
}

.chooseRegion {
    position: relative;
    padding-left: 20px;
}

.chooseRegion::before {
    background: url(../img/map-pin-silhouette.png);
    width: 11px;
    height: 16px;
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    left: 0;
}

.h2 {
    line-height: 1.1;
    color: inherit;
    font-size: 21px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 5px;
    display: inline-block;
    font-family: sans-serif;
}

.main .sidebar.mini .h3 {
    font-size: 20px;
}

.main .sidebar .side-add .h3 {
    margin: 0 0 10px;
}

.h3 {
    font-family: sans-serif;
}

.b {
    font-weight: bold;
}

.product-list .plugin_arrived-button a {
    display: inline-block;
    color: #888888;
    margin: 0 20px;
    padding: 5px 0;
    background-color: transparent;
    border: 1px solid #888888!important;
    border-radius: 6px;
}

.product-list .plugin_arrived-button a:focus,
.product-list .plugin_arrived-button a:hover {
    color: #ffffff;
    background-color: #424242;
}

@media (max-width: 768px) {
    .product-list .plugin_arrived-button a {
        font-size: 14px;
        margin: 0;
    }
}