/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

.nomargintop {margin-top:0 !important}

@media all and (max-width: 600px) {

    .compact-catalog .item .stickers {
        display: unset !important;
    }
}


header .social-icons ul li a {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    opacity: 0.5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: url(../images/svg/social.svg) 0 0 no-repeat;
    transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
}

header .social-icons ul li.vk a:not(:hover) {
    background-position: -9px -573px;
}

header .social-icons ul li.facebook a:not(:hover) {
    background-position: -103.5px -573px;
}

header .social-icons ul li.instagram a:not(:hover) {
    background-position: -151px -714px;
}

header .social-icons ul li.ytb a:not(:hover) {
    background-position: -103.5px -714px;
}

header .social-icons ul li.odn a:not(:hover) {
    background-position: -57px -573px;
    margin-right: 0;
}

header .social-icons ul li.telegram a:not(:hover) {
    background-position: -339px -714px;
}

header .social-icons ul li.zen a:not(:hover) {
    background-position: -480px -715px;
}

header .social-icons ul li.tiktok a:not(:hover) {
    background-position: -527px -714px;
}

header .social-icons ul li a {
    /*border: 1px solid rgba(255,255,255,.2);*/
    border-color: rgba(51, 51, 51, .2);
    -webkit-transition: opacity .3s ease;
}

header .social-icons:before {
    background: #ececec;
    background: var(--stroke_black);
}

header .social-icons ul li a:hover {
    opacity: 1;
    border: none;
}

header .social-icons ul li.vk a:hover {
    background-position: -8px -196px;
}

header .social-icons ul li.facebook a:hover {
    background-position: -103px -196px;
}

header .social-icons ul li.instagram a:hover {
    background-position: -149.5px -337px;
}

header .social-icons ul li.ytb a:hover {
    background-position: -102.5px -337px;
}

header .social-icons ul li.viber a:hover {
    background-position: -338px -198px;
}

header .social-icons ul li.whats a:hover {
    background-position: -338px -245px;
}

header .social-icons ul li.odn a:hover {
    background-position: -56px -196px;
    margin-right: 0;
}

header .social-icons ul li.telegram a:hover {
    background-position: -339px -337px;
}

header .social-icons ul li.zen a:hover {
    background-position: -479px -338px;
}

header .social-icons ul li.tiktok a:hover {
    background-position: -526px -338px;
}

.top_info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

footer .pays i.erip {
    background: url(../images/erip-bl.png) 0 0 no-repeat;
    background-size: contain;
    width: 55px;
    height: 20px;
}

footer .pays i.erip:hover {
    background: url(../images/erip.png) 0 0 no-repeat;
    background-size: contain;
}

footer .pays i.bepaid {
    background-image: url(../images/bepaid-bl.png);
    background-position: center;
    background-size: cover;
    width: 55px;
    height: 20px;
    opacity: 100%;
}

footer .pays i.bepaid:hover {
    background-image: url(../images/bepaid.png);
    background-position: center;
    background-size: cover;
    opacity: 100% !important;
}

footer .pays i.unipay {
    background-image: url(../images/unipay-bl.png);
    background-position: center;
    background-size: cover;
    width: 55px;
    height: 20px;
}

footer .pays i.unipay:hover {
    background-image: url(../images/unipay.png);
    background-position: center;
    background-size: cover;
}

.address__link {
    color: black;
}

.address__link:hover {
    color: #ff3399;
}

.address:hover {
    fill: #ff3399;
}

.logo {
    margin-bottom: 15px;
}

.installment {
    display: flex;
    align-items: center;
    padding: 20px 0 10px 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .installment {
        padding: 20px 0 0 0;
    }
}

.installment-detail img {
    margin: 0 5px 0 0;
}

.installment__icon-list {
    width: 35px;
    margin: 0 10px 0 0;
}

.installment__icon-block, .installment__icon-table {
    width: 30px;
    margin: 0 10px 0 0;
}

.installment__icon-detail {
    width: 18px;
    margin: 0 10px 0 0;
}

.installment p {
    margin-bottom: 0;
    display: inline-block;
}

.installment__text:hover {
    color: #ff52a8;
}

@media (max-width: 768px) {
    .installment__text {
        font-size: 13px;
        line-height: 15px;
    }
}

.installment_overlay {
    position: fixed;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(5px);
    z-index: 2999;
}

.installment_overlay-hidden {
    display: none;
}

.installment_container {
    position: fixed;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2999;
}

.installment_popup {
    opacity: 0;
    max-height: 100vh;
    width: 720px;
    background: #fff;
    border-radius: 3px;
    z-index: 3000;
    position: absolute;
    padding: 54px 60px 54px 60px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    transition: 0.2s;
}

.installment_popup-visible {
    opacity: 1;
}

.installment_popup__content {
    color: var(--white_text_black);
}

@media (max-width: 768px) {
    .installment_popup {
        position: fixed;
        max-height: 100vh;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100vw;
        padding: 30px;
    }
}

.installment_popup__image {
    margin: 0 20px 0 0;
    width: 50px;
}

@media (max-width: 768px) {
    .installment_popup__image {
        width: 40px;
    }
}

.installment__close {
    position: absolute;
    right: 3%;
    top: 4%;
    cursor: pointer;
}

.installment__close svg {
    width: 14px;
}

.installment_popup__elem:nth-child(even) {
    margin-top: -1px;
}

.close_path {
    fill: #b8b8b8 !important;
}

.close_path:hover {
    fill: var(--fill_dark_light_hover) !important;
}

.installment_popup__elem {
    padding: 19px 19px 19px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border: 1px solid #ececec;
    transition: transform ease .2s, box-shadow ease .2s;
}

@keyframes dropdown {
    from {
        height: 0px;
    }
    to {
        height: auto;
    }
}

.installment_popup__elem:hover {
    cursor: pointer;
    border-color: var(--stroke_black_hover);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .1);
    background: var(--card_bg_hover_black);
}

.installment_popup__head {
    padding: 15px 0 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.installment_popup__title {
    font-size: 1.6em;
    font-weight: 500;
    color: var(--white_text_black);
}

.installment_popup__elem_opener {
    width: 28px;
    height: 28px;
    border-radius: 3px;
    border: 1px solid #eaeaea;
    position: relative;
}

.installment_popup__elem_opener:hover {
    background-color: #ff4da0;
    border-color: #ff4da0;
}

.opener_wrapper:hover .installment_popup__elem_opener-open::after {
    background-position: -149px -31px;
    opacity: 1;
}

.opener_wrapper:hover .installment_popup__elem_opener-close::after {
    background-position: -149px -39px;
    opacity: 1;
}

.installment_popup__elem-close .installment_popup__elem_opener::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -3px 0 0 -5px;
    width: 10px;
    height: 6px;
    background: url(/bitrix/templates/aspro_max/images/svg/content_icons.svg) -149px -23px no-repeat;
    background-position: var(--light, -149px -23px) var(--dark, -149px -39px);
    opacity: .35;
}

.installment_popup__elem-open .installment_popup__elem_opener::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -3px 0 0 -5px;
    width: 10px;
    height: 6px;
    background: url(/bitrix/templates/aspro_max/images/svg/content_icons.svg) -149px -15px no-repeat;
    background-position: var(--light, -149px -15px) var(--dark, -149px -15px);
    opacity: .35;
}

.installment_popup__more-hidden {
    display: none;
}

/*.installment_popup__more-visible {*/
/*    opacity: 1;*/
/*}*/
.installment_popup__more {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s;
}

.installment_popup__description {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .installment_popup__more {
        overflow-x: auto;
    }
}

.installment_popup__description_elem {
    margin-bottom: 1rem;
    width: 30%;
}

.installment_popup__description_elem img {
    width: 100%;
}

.installment_description__text {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .installment_description__image {
        width: 100px;
    }
}

.installment_popup__more table {
    margin-bottom: 1rem;
}

.installment_popup__more td {
    padding-right: 1rem;
}

body .product-side.left_block .text-form {
    margin-top: 0;
}

.bonus-custom-block::after {
    content: "";
    width: 11px;
    background: url(/bitrix/templates/aspro_max/images/bonus_icon.svg) center no-repeat;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 0;
}

.bonus-custom-block {
    position: relative;
    padding-left: 15px;
    font-size: .8rem;
    line-height: 1rem;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .information .prices {
        display: flex;
        flex-direction: column;
    }
}

.popup {
    width: auto !important;
    background: white !important;
    position: initial !important;
}

@media (max-width: 768px) {
    .popup {
        position: initial !important;
    }
}

@media (max-width: 650px) {
    #mobileheader .right-icons .wrap_basket .basket-link.compare {
        display: inline-block;
    }
}

body.jqm-initied #panel, body.jqm-initied .basket_bottom_block > div, body.jqm-initied .basket_fly_forms > div, body.jqm-initied .basket_wrapp .opener, body.jqm-initied .scroll-to-top, body.jqm-initied .style-switcher, body.jqm-initied .ui-panel-top-devices-inner, body.jqm-initied .wrapper11, body.jqm-initied .wrapper1 > div > div, body.jqm-initied .wrapper1 > div > header > div, body.jqm-initied footer, body.jqm-initied.wf .wrapper1 > div {
    -webkit-filter: blur(0) !important;
    filter: blur(0) !important;
}

#popup_iframe_wrapper {
    background: rgba(0, 0, 0, .5) !important;
    backdrop-filter: blur(5px) !important;
}


.logo_and_menu-row .wrap_icon.person {
    padding-right: 0;
    padding-left: 50px;
}

@media (min-width: 992px) {
    .right_block.wide_, .right_block.wide_N {
        width: calc(100% - 262px) !important;
		float:right;
    }
}

@media not print {
    .inline-search-block.fixed.big {
        background: #fff !important;
        background: var(--black_bg_black) !important;
        top: -200px;
        z-index: 3000;
        transition-duration: .5s;
    }

    .inline-search-block.fixed {
        position: fixed;
        z-index: 997;
        background: #fff !important;
        background: var(--black_bg_black) !important;
    }
}

.inline-search-block.show {
    top: 0 !important;
    background: #fff;
}

.catalog-compare__prop-line.boolean .property_value {
    position: relative;
    font-size: 0;
    display: block;
    width: 100%;
    min-height: 21px;
}

.catalog-compare__prop-line.boolean .property_value::before,
.catalog-compare__prop-line.boolean .property_value::after {
    content: '';
    position: absolute;
    display: block;
    width: 2px;
    height: 20px;
    background-color: #999;
    top: 0px;
    left: 50%;
    border-radius: 2px;
}


.catalog-compare__prop-line.boolean .property_value.boolean-view::before,
.catalog-compare__prop-line.boolean .property_value.boolean-view::after {
    background-color: green;
}

.catalog-compare__prop-line.boolean .property_value.boolean-view::before{
    transform: rotate(45deg);
}

.catalog-compare__prop-line.boolean .property_value.boolean-view::after {
    height: 10px;
    transform: rotate(-45deg);
    top: 9px;
    left: calc(50% - 10px);
}

.catalog-compare__prop-line.boolean .property_value.boolean-close::before{
    transform: rotate(-45deg);
}
.catalog-compare__prop-line.boolean .property_value.boolean-close::after {
    transform: rotate(45deg);
}

@media (max-width: 600px) {
    .item-views.sales2.lg .mobile-compact .item-wrapper > .item .image span {
        padding-top: 100%;
    }
}

@media (max-width: 400px) {
    #mobileheader .logo, #mobileheader .logo svg {
        max-width: 100px;
    }
}

#mobileheader .logo-block {padding: 0}

.sku_props.js_offers__40308_detail {
    display: none;
}

.js-info-block .stores_block_wrap .stores_block {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.js-info-block .stores_block_wrap .stores_block .stores_text_wrapp {
    width: 139px;
}
.js-info-block .block_wrap .stores_block.wo_image .item-stock {
    width: 90px;
    margin-left: 10px;
}

.item_wrap div.item-title {
    margin-bottom: 5px;
}

.compact-catalog .sa_block .js-info-block,
.compact-catalog .wrapp_stockers .js-info-block {
    display: block;
}

@media (max-width: 600px) {

    .tab_slider_wrapp  .sa_block {
        position: static;
    }

    .tab_slider_wrapp  .js-info-block .stores_block_wrap .block_wrap {
        max-height: none;
    }

    .tab_slider_wrapp  .js-info-block .block_title {
        padding: 10px 10px 5px;
    }

    .tab_slider_wrapp  .js-info-block .block_wrap .block_wrap_inner {
        padding: 0 10px 2px 10px;
        max-height: none;
    }

    .compact-catalog .tab_slider_wrapp .js-info-block {
        width: 96%;
        left: 2%;
        top: 2%;
        height: 96%;
        overflow: auto;
    }

    .tab_slider_wrapp  .js-info-block .stores_block_wrap .block_wrap {
        max-height: none;
    }
}

.bx_scu {
    .missing {
        order: 2;
    }
}

.custom-order {
    display: flex;
    flex-direction: column;

    .BF_FIBER_COLOR {
        order: 2;
    }

    .BF_FIBER_COLOR_head {
        order: 1;
    }
}

/******* 30993 *******/
.popup .captcha-row .captcha_image {
    max-width: 184px;
    position: static;
    display: block;
    height: auto;
    margin-bottom: 15px;
}

.popup .captcha-row .captcha_input {
    height: 37px;
    position: relative;
    width: 217px;
    left: 0;
}

.captcha-row .captcha_input input[name="captcha_word"] {
    bottom: 0;
    position: relative;
}
/******* /30993 *******/



.display_list .item_wrap.item:hover {
    z-index: 60;
}

.display_list .list_item .image_block{
    padding-bottom: 0;
}

.display_list .description_wrapp {
    padding: 0 30px;
}

.bottom-block__wraper {
    padding: 0 26px 35px;
    display: flex;

    .fast-view .fast_view_block {
        position: static;
        margin-right: 8px;
    }

    .like_icons:not(.static) {
        position: static;
    }
}

.with-product.fixed .bx_catalog_item_scu .bx_item_detail_scu .cnt1 {
    width: 27px;
    height: 27px;
    display: block;
    overflow: hidden;

    .cnt_item{
        width: 50px;
        height: 50px;
        border: none;
        transform: translate(-24%, -24%) scale(50%);
    }
}

@media screen and (max-width: 991px){
    .js-prices-in-item .buy_block {
        display: flex;
        flex-direction: column;

        .inner_content {
            order: 1;
        }
        .color-map__wrapper{
            order: 1;
        }
        .buys_wrapp{
            order: 0 ;
        }

    }
}
@media screen and (max-width: 480px){
    .compact-catalog .ajax_load .item .catalog-adaptive {
        height: auto;
    }

    .compact-catalog .item .item_info.catalog-adaptive .counter_wrapp.list {
        padding: 0px 5px 20px;
    }

    .bottom-block__wraper {
        display: none;
        padding: 0 5px 25px;

        .like_icons .wish_item_button,
        .like_icons .compare_item_button {
            width: 100%;
            padding: 10px 0px 0px;
        }
    }
}


.color-map__wrapper > span{
    display: inline-block;
    border: 1px solid hsla(var(--dark_light-wtheme-hue),var(--dark_light-wtheme-saturation),var(--dark_light-wtheme-lightness),.35);
    padding: 7px 19px;
    border-radius: 20px;
    text-align: center;

    margin: 10px auto;
    width: 100%;
    .dotted{
        font-size: 13px;
        color: var(--fill_dark_light_hover);
    }
}
