/*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;  }*/

.alert-warning {
    display: none
}

.alert {
    display: none
}

/* Product detail purchase block */
.catalog_detail .right_info .legacy-top-info {
    display: none;
}

.catalog_detail .info_item .middle_info .product-purchase-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100% !important;
    align-items: flex-start;
    font-size: 13px;
}

.catalog_detail .product-purchase-main {
    display: contents;
}

.catalog_detail .product-purchase-main>.prices_block {
    grid-column: 1;
    grid-row: 1;
    box-sizing: border-box;
    padding-right: 18px;
}

.catalog_detail .product-purchase-main>.buy_block {
    display: block !important;
    grid-column: 1;
    grid-row: 2;
    box-sizing: border-box;
    padding-right: 18px;
}

.catalog_detail .product-purchase-main>.purchase-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    margin-bottom: 10px;
}

.catalog_detail .product-delivery {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: stretch;
    box-sizing: border-box;
}

.catalog_detail .product-purchase-main> :not(.prices_block):not(.buy_block):not(.purchase-actions) {
    grid-column: 1 / -1;
    grid-row: 4;
}

.catalog_detail .product-price-title {
    margin: 0 0 7px;
    color: #333;
    font-size: 13px;
    line-height: 18px;
}

.catalog_detail .product-payment {
    display: block !important;
    margin-top: 8px;
    color: #333;
    font-size: 12px;
    line-height: 16px;
}

.catalog_detail .product-payment__title {
    margin-bottom: 3px;
}

.catalog_detail .product-payment__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog_detail .product-payment__list li {
    position: relative;
    padding-left: 8px;
}

.catalog_detail .product-payment__list li:before {
    content: "-";
    position: absolute;
    left: 0;
}

.catalog_detail .purchase-actions {
    display: grid !important;
    grid-template-columns: max-content max-content;
    justify-content: start;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 18px;
    padding: 4px 15px;
    background: #f5f5f5;
    box-shadow: 0 5px 6px rgba(0, 0, 0, .16);
    font-size: 0;
    line-height: 0;
}

.catalog_detail .purchase-actions .counter_wrapp {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    min-width: 0;
    padding: 0 12px;
    padding-bottom: 22px;
    padding-top: 12px;
    white-space: nowrap;
    gap: 10px;
    justify-content: space-between;
}

@media screen and (min-width: 991px) {

    .catalog_detail .purchase-actions .counter_wrapp {
        padding-left: 0 !important;
    }
}

.catalog_detail .purchase-actions .counter_wrapp>div:not(.wrapp_one_click) {
    margin-bottom: 0 !important;
}

.catalog_detail .purchase-actions .wrapp_one_click {
    display: block;
    align-self: center;
    padding: 0 !important;
    width: 100%;
}

.catalog_detail .purchase-actions .wrapp_one_click span {
    width: 100%;
}

.catalog_detail .purchase-actions .offer_buy_block,
.catalog_detail .purchase-actions .buys_wrapp {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 100%;
    display: flex;
    padding: 14px 0px !important;
}

body .catalog_detail .main_item_wrapper div.total_summ {
    margin: 0 !important;
}

.catalog_detail .product-delivery {
    padding-left: 18px;
    border-left: 1px solid #e5e5e5;
}

.catalog_detail .product-delivery__title {
    margin: 0 0 14px;
    color: #333;
    font-size: 13px;
    line-height: 18px;
}

.catalog_detail .product-delivery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
}

.catalog_detail .product-delivery__item {
    min-width: 0;
    color: #333;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
}

.catalog_detail .product-delivery__icon {
    display: flex;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.catalog_detail .product-delivery__icon img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 42px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .catalog_detail .info_item .middle_info .product-purchase-layout {
        display: block !important;
    }

    .catalog_detail .product-purchase-main {
        display: block;
    }

    .catalog_detail .product-purchase-main>.prices_block,
    .catalog_detail .product-purchase-main>.buy_block,
    .catalog_detail .product-delivery {
        width: 100%;
    }

    .catalog_detail .product-purchase-main>.prices_block,
    .catalog_detail .product-purchase-main>.buy_block {
        padding-right: 0;
    }

    .catalog_detail .purchase-actions {
        display: flex !important;
        width: 100%;
        overflow: hidden;
        padding: 10px 0;
    }

    .catalog_detail .purchase-actions .offer_buy_block {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) max-content;
        grid-template-rows: auto auto;
        column-gap: 0px;
        row-gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .catalog_detail .purchase-actions .offer_buy_block>.counter_wrapp {
        display: grid !important;
        grid-column: 1;
        grid-row: 1;
        grid-template-columns: max-content max-content;
        align-items: center;
        padding-right: 0;

        display: flex !important;
        justify-content: space-between;
        width: 100%;
    }

    .catalog_detail .purchase-actions .offer_buy_block>.wrapp_one_click {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin-top: 0;
    }

    .catalog_detail .purchase-actions .offer_buy_block>.counter_wrapp .counter_block,
    .catalog_detail .purchase-actions .offer_buy_block>.counter_wrapp .button_block {
        grid-row: 1;
        width: 100%;
    }

    .button_block {
        flex: 1 !important;
        width: 100% !important;
    }

    .button_block .btn {
        width: 100% !important;
    }

    .catalog_detail .purchase-actions .counter_block.big_basket {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        /* width: 99px !important;
        min-width: 99px; */
        width: 100%;
        flex: 1;
    }

    .catalog_detail .purchase-actions .counter_block.big_basket>span {
        display: block;
        flex: 0 0 28px;
    }

    .catalog_detail .purchase-actions .counter_block.big_basket input[type="text"] {
        /* flex: 0 0 55px;
        width: 55px; */
        width: 100%;
    }

    .catalog_detail .purchase-actions .offer_buy_block>.counter_wrapp .button_block .to-cart {
        /* width: 152px !important; */
        width: 100%;
    }

    .catalog_detail .purchase-actions .offer_buy_block>.wrapp_one_click>.one_click {
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box;
        justify-content: center;
    }

    .catalog_detail .product-delivery {
        margin-top: 20px;
        padding: 20px 0 0;
        border-top: 1px solid #e5e5e5;
        border-left: 0;
    }

    .catalog_detail .product-delivery__icon img {
        max-height: 33px;
        max-width: 100px;
    }

    .catalog_detail .product-delivery__grid {
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 768px) {
    .catalog_detail .info_item .middle_info .product-purchase-layout {
        grid-template-columns: 38% 62%;
    }

    .catalog_detail .product-price-title,
    .catalog_detail .product-delivery__title {
        font-size: 15px;
        line-height: 20px;
    }

    .catalog_detail .product-delivery {
        padding-left: 22px;
    }

    .catalog_detail .product-delivery__grid {
        column-gap: 18px;
        row-gap: 16px;
    }

    .catalog_detail .product-delivery__icon {
        height: 56px;
        margin-bottom: 5px;
    }

    .catalog_detail .product-delivery__icon img {
        /* max-height: 56px; */
    }

    .catalog_detail .product-delivery__icon img {
        max-height: 33px;
        max-width: 100px;
    }

    .catalog_detail .product-payment {
        line-height: 14px;
    }

    .catalog_detail .product-payment__list li {
        line-height: 9px;
    }

    .catalog_detail .quantity_block_wrapper {
        display: none;
    }

    .catalog_detail .offers_price {
        font-size: 22px !important;
        line-height: 20px !important;
    }

    .catalog_detail .product-delivery__name {
        color: #222;
        font-size: 12px;
    }

    .catalog_detail .product-purchase-main>.purchase-actions {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .catalog_detail .purchase-actions .offer_buy_block,
    .catalog_detail .purchase-actions .buys_wrapp {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
}

.max-logo-inline {
    display: inline-block !important;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    padding: 2px;
    border: 2px solid #fff;
    border-radius: 50%;
    vertical-align: middle;
    margin-bottom: 4px;
}

.max-logo-inline svg {
    display: block;
    width: 100%;
    height: 100%;
}

.white_middle_text_contacts {
    margin: 0 !important;
    margin-right: 10px !important;
}

@media screen and (min-width: 991px) {
    .social-icons {
        display: flex;
        align-items: center;
    }

    .header__socials {
        height: 104px;
        margin-right: 20px;
    }

    .social-icons_header .max-logo-inline {
        border-color: #B00000 !important;
    }

    .white_middle_text_contacts_header {
        color: #222 !important;
        margin-right: 0 !important;
    }

    .social-icons_header {
        height: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: flex-start;
        margin-top: 15px;
    }

    .social-icons_header .max-logo-inline {
        width: 30px !important;
        height: 30px !important;
    }

    .social-icons_header .social-icons {
        gap: 6px;
    }

    .header__right {
        display: flex;
        align-items: center;
    }

    .header__phones {
        display: flex;
        align-items: flex-end;
        flex-direction: column;
        margin-right: 50px;
    }

    .header__phone span {
        color: #222;
        font-size: .867em;
        line-height: 18px;
    }

    .header__phone a {
        color: #222;
        font-size: .867em;
        line-height: 18px;
    }
}

@media only screen and (max-width: 1024px) {
    #mobileheader {
        overflow: visible;
    }

    #mobileheader .wrap_cabinet {
        display: none !important;
    }

    #mobileheader .mobileheader-v1 .logo {
        max-width: 140px;
    }

    #mobileheader .mobileheader-v1 .pull-left {
        padding-left: 12px;
    }

    #mobileheader .mobileheader-v1 .max-logo-inline {
        display: inline-block;
        width: 22px;
        height: 22px;
        box-sizing: border-box;
        padding: 3px;
        border: 2px solid #222;
        border-radius: 50%;
        background: #fff;
        vertical-align: middle;
        margin-bottom: 4px;
    }

    #mobileheader .mobileheader-v1 .max-logo-inline svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    #mobileheader .mobile-bottom-menu {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 3001;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding-bottom: 15px;
        height: 70px;
        background: #2b2b2b;
    }

    #mobileheader .mobile-bottom-menu__item {
        display: flex;
        /* flex: 1 1 25%; */
        min-width: 0;
        height: 70px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border: 0;
        padding: 8px 2px 7px;
        background: transparent;
        color: #fff;
        font: inherit;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
    }

    #mobileheader .mobile-bottom-menu__item>svg,
    #mobileheader .mobile-bottom-menu__item>.svg,
    #mobileheader .mobile-bottom-menu__item .svg-inline-basket {
        display: block;
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        margin: 0 0 0;
    }

    #mobileheader .mobile-bottom-menu__item>span {
        display: block;
        color: #fff;
        font-size: 11px;
        line-height: 17px;
        white-space: nowrap;
    }

    #mobileheader .mobile-bottom-menu__catalog .svg-burger,
    #mobileheader .mobile-bottom-menu__catalog .svg-inline-burger,
    #mobileheader .mobile-bottom-menu__catalog .svg-close,
    #mobileheader .mobile-bottom-menu__catalog .svg-inline-close {
        position: static;
        width: 42px;
        height: 36px;
        margin: 0 0 5px;
    }

    #mobileheader .mobile-bottom-menu__catalog .svg-close,
    #mobileheader .mobile-bottom-menu__catalog .svg-inline-close {
        display: none;
    }

    #mobileheader .mobile-bottom-menu__basket .basket-link {
        display: block;
        position: relative;
        width: 48px;
        height: 48px;
        margin: 0 0 0;
        padding: 0;
    }

    #mobileheader .mobile-bottom-menu__basket .basket-link.delay {
        display: none !important;
    }

    #mobileheader .mobile-bottom-menu__basket .basket-link.compare,
    #mobileheader .mobile-bottom-menu__basket .compare_item {
        display: none !important;
    }

    #mobileheader .mobile-bottom-menu__basket .basket-link .title,
    #mobileheader .mobile-bottom-menu__basket .basket-link .prices {
        display: none;
    }

    #mobileheader .mobile-bottom-menu__basket .basket-link.basket .title .count {
        display: none;
    }

    #mobileheader .mobile-bottom-menu__basket .basket-link .svg-basket,
    #mobileheader .mobile-bottom-menu__basket .basket-link .svg-inline-basket {
        position: static;
        width: 42px;
        height: 36px;
        min-width: 42px;
        min-height: 36px;
        background-size: contain;
        display: flex;
        align-items: flex-end;
    }

    #mobileheader .mobile-bottom-menu__basket .basket-link .svg-inline-basket,
    #mobileheader .mobile-bottom-menu__basket .basket-link .svg-inline-basket * {
        color: #D7192A !important;
        fill: #D7192A !important;
        justify-content: flex-start;
        width: 43px;
        height: 25px;
        margin-top: 11px;
    }

    #mobileheader .mobile-bottom-menu__basket .basket-link .count {
        top: 10px;
        right: -1px;
        left: auto;
        width: 22px;
        height: 22px;
        border: 1px solid #B00000;
        border-radius: 50%;
        background: #fff;
        color: #B00000;
        font-size: 14px;
        line-height: 18px;
        box-shadow: unset !important;
    }

    .basket-link:not(.basket-count) .svg {
        opacity: 1 !important;
    }

    body {
        padding-bottom: 70px;
    }

    .contact-block {
        margin-top: 25px;
    }

    .white_middle_text_contacts {
        margin-bottom: 10px !important;
    }

    .counter_wrapp2 {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
    }

    #mobilemenu .contacts .blocks:before {
        content: "";
        display: block;
        width: 16px;
        height: 18px;
        position: absolute;
        top: 15px;
        left: 20px;
        background: url('/bitrix/templates/aspro_next/images/svg/address_menu.svg') no-repeat;
    }


}

@media screen and (max-width: 1350px) {
    .catalog_detail .purchase-actions .counter_wrapp {
        flex-wrap: wrap;
    }
}

.catalog_detail .purchase-actions .counter_wrapp2 {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}

.button_block {
    flex: 1 !important;
    width: 100% !important;
}

.button_block .btn {
    width: 100% !important;
}

.catalog_detail .purchase-actions .counter_block.big_basket {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    flex: 1;
}


.sale-banner__image {
    width: 100%;
}

@media screen and (max-width: 380px) {
    .catalog_detail .purchase-actions .offer_buy_block>.counter_wrapp .button_block .to-cart {
        width: 104px !important;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .catalog_detail .purchase-actions .counter_block.big_basket {
        /* width: 104px !important;
        min-width: 104px !important; */

        min-width: unset !important;
        width: 100% !important;
        margin: 0;
    }

    .catalog_detail .purchase-actions .counter_block.big_basket input[type="text"] {
        flex: 0 0 24px !important;
    }
}

.catalog_detail .purchase-actions .offer_buy_block .counter_wrapp {
    display: flex;
    width: 100%;
    padding-right: 0 !important;
    padding-bottom: 12px !important;
    justify-content: flex-start;
    width: fit-content;
    padding-bottom: 12px;
}

@media screen and (min-width: 1352px) {
    .catalog_detail .purchase-actions .offer_buy_block .counter_wrapp {
        flex-wrap: nowrap !important;
    }

    .catalog_detail .purchase-actions .offer_buy_block {
        flex-wrap: nowrap !important;
    }
}

/* .offer_buy_block .button_block {
    flex: 1;
    width: 100%;
}

.offer_buy_block .button_block .btn {
    width: 100%;
} */

.offer_buy_block .counter_block.big_basket {
    width: unset !important;
    margin: 0;
}

.catalog_detail .purchase-actions .offer_buy_block .wrapp_one_click {
    width: unset !important;
}

@media screen and (max-width: 991px) {
    .catalog_detail .purchase-actions .offer_buy_block .counter_wrapp {
        width: 100% !important;
        padding-left: 0 !important;
    }

    .catalog_detail .purchase-actions .offer_buy_block {
        padding: 0px 12px 12px 12px !important;
    }
}


@media screen and (min-width: 991px) and (max-width: 1350px) {

    .catalog_detail .purchase-actions .offer_buy_block {
        padding: 0px 12px 12px !important;
    }
}

.footer__map iframe {
    position: relative !important;
    border: none !important;
}

.footer__map {
    min-height: 300px;
    background: #f2f2f2;
}

.wrap_plaxy img{
    width: auto;
    height: auto;
}

footer .copy, footer .address.blocks{
    color: #efecec;
}

.footer-grey .bottom-menu a{
    color: #fff;
}

.logo_and_menu-row .basket-link .wrap .prices{
    color: #222;
}

.top_block a{
    color: #5e0202;
    text-decoration: underline;
}

.visually-hidden{
    display: none !important;
}

.logo-row .logo img{
    width: auto;
    height: auto;
}

.tizers_block img{
    width: auto;
    height: auto;
}

/* По умолчанию (на десктопе) скрываем мобильную картинку */
.banner-img-mobile {
    display: none !important;
}
.banner-img-desktop {
    display: block !important;
    width: 100%;
    height: auto;
}

/* На мобильных (до 767px) скрываем десктопную и показываем мобильную */
@media (max-width: 767px) {
    .banner-img-mobile {
        display: block !important;
        width: 100%;
        height: auto;
    }
    .banner-img-desktop {
        display: none !important;
    }
}