/*!
Theme Name: Universal by hcode
Theme URI: https://hcode.space
Author: Yehor Hromov
Author URI: https://hcode.space
Description: Universal theme by hcode
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: uni
*/
.page-template-tpl-cart .cart-block {
    height: calc(100vh - 13rem);
    max-height: 360px;
}


@media (min-height: 485px) {
    .page-template-tpl-cart .cart-block {
        max-height: 360px;
    }
}
@media (min-height: 585px) {
    .page-template-tpl-cart .cart-block {
        max-height: 500px;
    }
}
@media (min-height: 685px) {
    .page-template-tpl-cart .cart-block {
        max-height: 600px;
    }
}
@media (min-height: 730px) {
    .page-template-tpl-cart .cart-block {
        max-height: 650px;
    }
}
@media (min-height: 780px) {
    .page-template-tpl-cart .cart-block {
        max-height: 700px;
    }
}
.catalog .catalog-quantity-total{
    order: 2;
}
.cart .catalog-quantity-total{
    order: 2;
}
.prd{display: flex;} .prd .product-name{margin-right: 10px;}
html{
    scroll-behavior: smooth;
}
.cart-checkout {
    position: relative;
    max-width: 100%;
    margin-top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
}
@media (max-width: 400px){

.slides .modal-content {
    padding-top: 50px !important;
}
}
.page-template-tpl-checkout .cart-checkout[disabled="disabled"]{
    opacity: .5;
}
.page-template-tpl-checkout .checkout-input i{
    color: #8001EF;
}
@media (max-width: 350px){
    .slides .modal-content {
        padding-top: 50px;
    }
}
.checkout-comment {
    margin-bottom: 0;
    padding-bottom: 20px;
}

.no-padd{
    position: absolute;
    top: -55px;
    left: 0;
    width: 0px;
    height: 0px;
}
.header-fixed{
    padding: 13px 16px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    max-width: 567px;
    width: 100%;
    z-index: 9999999;
    -webkit-box-shadow: 0px 5px 20px -10px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 20px -10px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 20px -10px rgba(34, 60, 80, 0.2);
}
.catalog-top{
    cursor: pointer;
}
.cart-block{
    overflow-y: scroll;
    overflow-x: hidden;   
    border-bottom: 15px solid #fff;
    border-top: 15px solid #fff;
}
.page-template-tpl-checkout .cart-checkout{
    width: 311px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.send-order {
    position: fixed;
    bottom: 16px;
    /* max-width: calc( 100% - 32px ); */
    width: 311px;
    left: 0;
    right: 0;
    margin: 0 auto;
    box-sizing: border-box;
    /* width: 100%; */
    /* max-width: 507px; */
}
.catalog-quantity.active .catalog-quantity-minus {
    height: 16px;
    display: flex;
    align-items: center;
}
.catalog-quantity-total{
    display: flex;
}
.qty{
    display: none;
    margin-left: 5px;

}
.catalog-quantity.active .qty{
    display: block;
}
/* .check-block{
    position: absolute;
    bottom: 66px;
} */
.checkout-form{
    height: auto;
    position: relative;
}


/* .page-template-tpl-cart .cart-checkout {
    position: absolute;
    max-width: 100%;
    bottom: 16px;
    margin: 0 auto;
} */
.modal {
    height: 100vh;
    top: 55%;
}
.checkbox {
	/* position: absolute;
	z-index: -1; */
	opacity: 0;
	/* margin: 0 8px 0 0; */
}
.cart-block {
    height: calc(100vh - 150px);
}
label[for="check"]{
    font-weight: 500;
    font-size: 12px;
    line-height: 133%;
    letter-spacing: 0.01em;
    color: #808191;
}
label[for="check"] a{
    display: block;
    color: #8001EF;
}
.checkbox + label {
	position: relative;
	padding: 0 0 0 24px;
	cursor: pointer;
    margin-left: -28px;
    left: 24px;
}
.checkbox + label:before {
	content: '';
	position: absolute;
	top: 0px;
	left: 0;
	width: 16px;
	height: 16px;
    
    background: #FFFFFF;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.7 0.3C7.3 -0.1 6.7 -0.1 6.3 0.3L3 3.6L1.7 2.3C1.3 1.9 0.7 1.9 0.3 2.3C-0.1 2.7 -0.1 3.3 0.3 3.7L2.3 5.7C2.5 5.9 2.7 6 3 6C3.3 6 3.5 5.9 3.7 5.7L7.7 1.7C8.1 1.3 8.1 0.7 7.7 0.3Z' fill='white'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #C9CAD1;
    box-sizing: border-box;
    border-radius: 4px;
	transition: .2s;
}

.checkbox:checked + label:before {
	background: #8001EF;
    border: 1px solid #8001EF;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.7 0.3C7.3 -0.1 6.7 -0.1 6.3 0.3L3 3.6L1.7 2.3C1.3 1.9 0.7 1.9 0.3 2.3C-0.1 2.7 -0.1 3.3 0.3 3.7L2.3 5.7C2.5 5.9 2.7 6 3 6C3.3 6 3.5 5.9 3.7 5.7L7.7 1.7C8.1 1.3 8.1 0.7 7.7 0.3Z' fill='white'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
}

.catalog-cat-item {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    /* margin: 0; */
}
li.catalog-cat-item  a{
    display: block;
    color: #2A2A2F;
    background-color: #F2F2F2;
    padding: 6px 12px;
    border-radius: 8px;
    /* margin-right: 10px;
    margin-bottom: 10px; */
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}
li.catalog-cat-item  a.active{
    color: #fff;
    background-color: #8001EF;
}
/* .catalog-block{
    position: relative;
}
.catalog-cat{
    position: fixed;
    z-index: 9999;
    background-color: #fff;
    width: 100%;
} */

.added_to_cart.wc-forward{
    display: none !important;
}
.catalog-quantity-plus .woocommerce-Price-amount{
    display: none !important;
}
.add_to_cart_inline{
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute !important;
}
/* , .woocommerce button.button, .woocommerce input.button */
.cart .woocommerce a.button {
    margin: 0 !important;
    line-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    height: 16px !important;
    width: 16px !important;
    display: flex !important;
}
.cart-block .woocommerce{
    width: 100%;
}
.woocommerce a.remove:hover {
    background: transparent !important;
}
.woocommerce-notices-wrapper, .woocommerce-message, .cart-empty.woocommerce-info{
    display: none !important; 
}

.wpcf7-response-output{
    display: none !important; 
}
.cart-block .catalog-quantity-total .woocommerce-Price-amount{
    margin-right: 5px;
}
.cart .catalog-item:not(:nth-last-child(-n+4)){
    margin-bottom: 16px;
}
.cart .catalog-item:nth-last-child(-n+4){
    margin-bottom: 0;
    /* padding-bottom: 16px; */
}

.sum{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #EDEDED;
    width: 100%;
}
.sum p{
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0.01em;
    color: #ABACAF;
}
.sum span{
    font-weight: 600;
font-size: 14px;
line-height: 130%;
letter-spacing: 0.01em;
color: #2A2A2F;
}
.pl a{
    font-weight: 500;
font-size: 12px;
line-height: 133%;
letter-spacing: 0.01em;
text-decoration-line: underline;
color: #ABACAF;
}
.pl{
margin-top: 16px;
}

.menu-item a{
    display: block;
    color: #2A2A2F;

    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    text-decoration: none;
    transition-duration: .25s;
}

.menu-item:not(:last-child) a{
    margin-bottom: 25px;
}