.checkout-failure .success_info_block .message p {
    margin-bottom: 0;
}
.checkout-failure .success_info_block .message p:first-child {
    margin-bottom: 20px;
}
.checkout-failure .success_info_block .message ul {
    margin: 0px 0 30px 0;
    display: inline-block;
    color: #8F8F8F;
}
.checkout-failure .success_info_block .message ul li {
    color: #8F8F8F;
    margin-top: 0;
}
.checkout-failure .success_info_block .message ul li:before {
    color: #8F8F8F;
}
.product-layout .product .product_top_block .image .labels .label {
    padding: 5px 8px 1px 8px !important;
}
.module_product .galleria .galleria-slider-wrap .labels .label {
    padding: 4px 8px 2px 8px !important;
}
.simplecheckout-block .form-group.has-error .custom-select2 .selection {
    border-color: #FC7B7B;
    box-shadow: none;
}
.simplecheckout-block .custom-select2 .select2-container--open .select2-results ul li:first-child {
    display: block !important;
    margin-bottom: 8px !important;
}

.module_product .buy-buttons button {
    width: calc(50% - 10px);
    background: #fff;
    border: 1px solid #E2E2E2;
    color: #323232;
}
.module_product .buy-buttons button.btn-white {
    border: 0;
    background: #F6B527;
    color: #fff;
}

@media screen and (min-width: 992px) and (max-width: 1279px) {
    .contacts_page .contacts_block .contacts__top_block .socials_col .socials a {
        margin-left: 5px;
        width: 37px;
        height: 37px;
    }
}
@media screen and (max-width: 991px) {
    .mob_categories .content ul > li > ul.active {
        width: 100%;
    }
    .simplecheckout #buttons {
        background-color: transparent;
        padding: 0;
    }
    .simplecheckout .simplecheckout-button-right {
        text-align: center;
    }
}
@media screen and (max-width: 767px) {
    .modal-open header {
        top: unset;
        z-index: 1;
    }
    .info_module .content.collapsed .html_content {
        max-height: 340px;
        position: relative;
    }
    .info_module .content.collapsed .html_content.active {
        max-height: 10500px !important;
        transition: max-height 1s ease-in-out;
    }
    .info_module .content.collapsed .html_content:after {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        bottom: -20px;
        width: 100%;
        height: 50px;
        background: linear-gradient(360deg, #fff 0, rgba(255, 255, 255, 0.8) 35%, rgba(255, 255, 255, 0) 100%);
        z-index: 1;
    }
    .info_module .content.collapsed .html_content.active:after {
        opacity: 0;
    }
    .right_menu {
        height: 100vh;
    }
    .page-content .editor_content table,
    .module_product .tab.active table,
    .module_html .module_content .html_content table {
        overflow: scroll;
        display: block;
        border: none;
    }
    .editor_content table td[style],
    .module_product table td[style],
    .module_html .module_content table td[style] {
        width: 200px;
        min-width: 200px;
    }
    .module_product .buy-buttons button {
        width: 100%;
    }
}
@media screen and (max-width: 380px) {
    #simplecheckout_cart .simplecheckout-cart .item .right_col .right_col__top_block {
        width: calc(100% - 58px);
    }
    #simplecheckout_cart .simplecheckout-cart .item .left_col .image {
        width: 60px;
    }
    #simplecheckout_cart .simplecheckout-cart .item .left_col .image a picture img {
        min-width: 52px;
    }
    #simplecheckout_cart .simplecheckout-cart .item .left_col .product_info {
        margin-left: 8px;
    }
    #modal_addcart .modal-body #cart_popup_product_list ul li.products .product .product__left_col {
        display: block !important;
    }
    #modal_addcart .modal-body #cart_popup_product_list ul li.products .product .product__left_col .product_info {
        margin-left: 0 !important;
        max-width: 100% !important;
        text-align: center;
    }
    #modal_addcart .modal-body #cart_popup_product_list ul li.products .product .product__left_col .image img {
        max-width: 103px !important;
    }
    #modal_addcart .modal-body #cart_popup_product_list ul li.products .product .product__right_col .product__right_col_top_block {
        margin: 0 auto !important;
        width: 100% !important;
    }
    #modal_addcart .modal-body .delivery_info .text {
        font-size: 13px !important;
    }
    #simplecheckout_cart .simplecheckout-cart .item .left_col {
        display: block !important;
        padding-right: 0 !important;
    }
    #simplecheckout_cart .simplecheckout-cart .item .left_col .image {
        width: 103px !important;
        margin: 0 auto !important;
    }
    #simplecheckout_cart .simplecheckout-cart .item .right_col .right_col__top_block {
        width: 100% !important;
        margin-left: 0 !important;
    }
    #simplecheckout_cart .simplecheckout-cart .item .left_col .product_info {
        margin-left: 0 !important;
        text-align: center !important;
        margin-top: 5px !important;
    }
}