/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#popup-box-content-wrapper-cross-sells,
#popup-box-content-wrapper-product_actions {
    background-color: rgba(0,0,0,.6);
    display: flex;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#popup-box-content-inner-cross-sells,
#popup-box-content-inner-product_actions {
    background-color: #fff;
    box-sizing: border-box;
    margin: 0px auto 0;
    padding: 25px;
    position: relative;
    width: 100%;
    max-width: 600px;
}

#popup-box-content-wrapper-cross-sells .popup-box-title-cross-sells {
    display: inline-block;
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}
#popup-box-content-wrapper-cross-sells a.checkout-button.alt.wc-forward.txt-shop {
    margin-left: 10px;
}
#popup-box-content-wrapper-product_actions .popup-box-title-product_actions {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
}
#popup-box-content-wrapper-product_actions .popup-box-title-product_actions {
    text-align: center;
    text-transform: unset;
}
#popup-box-cross-cross-sells,
#popup-box-cross-product_actions {
    cursor: pointer;
    font-size: 24px;
    height: 24px;
    position: absolute;
    z-index: 2;
    right: 10px;
    top: 10px;
    width: 24px;
    text-align: center;
    border-radius: 50%;
    background-image: url("icon_popap.png");
    background-size: 100%;
}

#popup-box-content-wrapper-cross-sells  .product-excerpt,
#popup-box-content-wrapper-product_actions  .product-excerpt {
    display: none;
}

#popup-box-content-wrapper-cross-sells  a.checkout-button.alt.wc-forward,
#popup-box-content-wrapper-product_actions  a.checkout-button.alt.wc-forward {
    width: 50%;
}
#popup-box-content-wrapper-cross-sells  a.checkout-button.alt.wc-forward.txt-shop,
#popup-box-content-wrapper-product_actions  a.checkout-button.alt.wc-forward.txt-shop {
    text-decoration: underline!important;
    font-size: 18px !important;
}
.txt-of-cross-sells {
    padding-left: 10px;
}


#popup-box-cross-cross-sells.dashicons-dismiss:before,
#popup-box-cross-product_actions.dashicons-dismiss:before {
    content: "";
}

#popup-box-cross-cross-sells .star-rating {
    display: none;
}




@media (max-width: 767px) {

#popup-box-content-wrapper-cross-sells,
#popup-box-content-wrapper-product_actions {
    display: inline-flex;
    position: absolute;
    top: -75px;
    align-items: baseline;
    padding-bottom: 75px;
}
#popup-box-content-inner-cross-sells,
#popup-box-content-inner-product_actions {
    margin: 80px 10px 0;
}
#popup-box-content-wrapper-cross-sells .popup-box-title-cross-sells,
#popup-box-content-wrapper-product_actions .popup-box-title-product_actions {
    font-size: 1.2em;
}
#popup-box-content-wrapper-cross-sells a.checkout-button.alt.wc-forward,
#popup-box-content-wrapper-product_actions a.checkout-button.alt.wc-forward {
    width: 100%;
    text-align: center;
}

a.checkout-button.button.alt.wc-forward {
    margin-bottom: 20px;
}

}

/*Scroll*/
#popup-box-content-inner-cross-sells {
    max-height: 85vh;
    overflow-y: auto;
}
/*
#scroll-item{
    position: relative;
    overflow-y: auto;
    flex: 1;
}
#item_popap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
*/
#popup-box-content-wrapper-product_actions{
    display: none;
}
#popup-box-content-wrapper-product_actions.shov_popap {
    display: flex;
}


.buttom_popap_product {
    background-repeat: no-repeat;
    /*background-position-x: 23px;
    background-position-y: 22px;*/
    background-image: url("gift-80-80.png");

    font-family: woocommerce-boost-sales;
    font-size: 40px;
    color: #454545;
    display: block;
    text-align: left;
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 100% 0 0 0;
    box-shadow: 0 0 13px #999;
    transform: rotate(0);
    bottom: 73px;
    right: 0px;
    left: auto;
    line-height: 106px;
    position: fixed;
    text-indent: 87px;
    cursor: pointer;
    z-index: 999;
}
.buttom_popap_product:hover {
    background-image: url("gift-57-50.png");
    background-position-x: 20px;
    background-position-y: 20px;
}
/*Actions*/


    .actions_popap_all_product ul.products li.product {
        width: 33.3%!important;
    }

    .actions_product_this ul.products li.product {
        max-width: 33.3%;
        margin: 0 auto!important;
        width: 100%!important;
        float: unset;
    }

    div.act_add_txt {
        text-align: center;
        font-size: 52px;
        color: #c63f00;
    }

    /**/
    #popup-box-content-inner-product_actions {
        max-height: 85vh;
        overflow-y: auto;
    }
    #popup-box-content-wrapper-cross-sells .owl-stage {
        width: auto!important;
    }
    #popup-box-content-wrapper-cross-sells .owl-item {
        width: 25%!important;
        float: left;
    }
    #popup-box-content-wrapper-cross-sells h3.product-title {
        height: 20px;
        overflow: hidden;
    }

    #popup-box-content-wrapper-cross-sells .woodmart-hover-standard .add-to-cart-loop span {
        font-size: 10px;
    }
    div#block_clone {
        position: relative;
        display: inline-block;
    }
    #popup-box-content-wrapper-cross-sells .labels-rectangular .product-label {
        padding: 5px 10px;
        font-size: 11px;
    }
@media only screen and (max-width: 768px) {
    #popup-box-content-inner-product_actions {
        max-height: 89vh;
        /*padding: 15px 10px 0 10px;*/
        margin: 60px 10px 0;
        top: 20%;
    }
    .buttom_popap_product {
        z-index: 999;
        left: 0;
        bottom: 37px;
        border-radius: 0 100% 0 0;
        background-image: url(gift-80-80-right.png);
    }
    .actions_popap_all_product ul.products li.product {
        width: 47%!important;
    }

    .actions_product_this ul.products li.product {
        max-width: 100%;
    }
    .actions_product_this img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        max-width: 33.3%;
    }
    #popup-box-content-wrapper-product_actions {
        top: -230px;
        margin-left: -15px;
        padding-left: 15px;
        padding-right: 15px;


        top: 0;
        position: fixed;
    }
    #block_clone ul.products.columns-4 {
        display: flex;
        margin-bottom: 0;
    }
    #block_clone ul.products li.product a h2 {
        font-size: 1em;
    }
    div.act_add_txt {
        font-size: 28px;
    }
    #block_clone .star-rating {
        clear: both;
        width: 100%;
        text-align: center;
    }
    #block_clone a > div.star-rating {
        margin-right: 0px !important;
    }


    #block_clone ul.products li.product a h2 {
        font-size: 0.9em;
    }

    .actions_product_this ul.products li.product a h2,  .actions_product_this ul.products li.product a h3 {
        text-align: center;
    }
    .actions_product_this ul.products li.product a span.price {
        text-align: center;
        display: inline-block;
        width: 100%;
        margin: 4px 0px 4px 0;
    }
    #block_clone .actions_product_this .star-rating {
        width: 60%;
    }

    div#block_clik_scroll {
        background-image: url(strelka.png);
        width: 30px;
        height: 30px;
        background-size: auto;
        display: inline-block;
        display: block;
        /* margin-left: 43%; */
        margin-bottom: 15px;
        /*border: 1px solid #ffab23;*/
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        border-top: none;

    }
    div#popup-box-content-inner-cross-sells #block_clone {
        margin-bottom: 5px;
        padding: 0 5px;
    }
    #popup-box-content-inner-cross-sells a.checkout-button {
        line-height: 25px;
    }
}
#popup-box-content-wrapper-cross-sells {
    left: 100%;
}