/***for ajax add prod***/
.loading{
	opacity: 0.4;
}
/***end for ajax add prod***/
/****for whishlist***/
.modal_whislist{
    padding: 20px;
    position: fixed;
    top: 0px;
    background: #fff;
    max-width: 400px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 45px;
    box-sizing: border-box; transition: 0.3s;
}
.active_modal_whislist_right{right: 0px; transition: 0.3s;} /**for active**/
.active_modal_whislist_left{left: 0px; transition: 0.3s;} /**for active**/
.off_modal_whislist_left{left: -420px !important; transition: 0.3s;} /**for active**/
.off_modal_whislist_right{right: -420px !important; transition: 0.3s;} /**for active**/
.post-mini-cart-prod img{
    aspect-ratio: 10 / 11;
    object-fit: cover;
    object-position: top center;	
}
.btn_open_cart {
    cursor: pointer;
    position: relative;
     height: 34px;
    width: 37px;
}
.cart-item-count {
    position: absolute;
    background: #2D2E2C;
    color: #fff;
    font-size: 10px;
    bottom: 0px;
    right: -4px;
    padding: 2px 6px 2px 6px;
    border-radius: 42%;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-left{top: 100px; left: 25px;position: fixed; z-index: 99;}
.top-right{top: 100px; right: 25px;position: fixed; z-index: 99;}
.bottom-left{bottom: 100px; left: 25px;position: fixed; z-index: 99;}
.bottom-right{bottom: 100px; right: 25px;position: fixed; z-index: 99;}

.cart{position: relative;}

.btn_fix_fron_nik{
    position: fixed;
    z-index: 999;
    cursor: pointer;
    transition: 0.3s;
}
.btn_fix_fron_nik:hover{
	opacity: 0.6; transition: 0.3s;
}
.btn_fix_fron_nik img{
width: 32px; height: auto;	
}
.icon_to_copy {
    width: 20px;
    margin-left: 8px;
    cursor: pointer;
}
.row_copy {
    position: relative;
display: flex;
    flex-direction: row;
    flex-wrap: no-wrap;
    justify-content: flex-start;
    align-items: flex-start;
	font-size: 14px; padding-bottom: 30px;
}
.ok_copy{
    position: absolute;
    right: -5px;
    color: green;
    background: #fff;
    font-size: 14px;
    padding: 3px;
    z-index: 3;	
}
.conter_wishlist_nik{
    position: absolute;
    background: #2D2E2C;
    color: #fff;
    font-size: 10px;
    bottom: 0px;
    right: -4px;
    padding: 2px 6px 2px 6px;
    border-radius: 42%;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;	
}
.wishlist-box, .wishlist-box-cart{
	position: absolute; z-index:3;     cursor: pointer;
    transition: 0.3s;
}
.wishlist-box-cart{
	    right: 0px;
    top: 0px;
}
.wishlist-box img, .wishlist-box-cart img{
    width: 28px !important;
    height: auto !important;
    margin: 0px !important;
}
.post-wishlist-product{
    text-decoration: none;
    margin-bottom: 45px;	position: relative; 
}
.wishlist_btn_page{
	position: absolute;     width: 28px !important;
    height: auto !important;
    margin: 0px !important;     cursor: pointer;
    transition: 0.3s;
}
.wishlist-box:hover, .wishlist_btn_page:hover{opacity: 0.6; transition:0.3s;}


.wishlist_box_bottom_left{bottom: 0px; left: 0px;}
.wishlist_box_bottom_right{bottom: 0px; right: 0px;}
.wishlist_box_top_left{top: 0px; right: 0px;}
.wishlist_box_top_right{top: 0px; left: 0px;}


.img_modal_post_whislist{
    width: 120px;
    height: 112px !important;
    object-fit: cover;
    object-position: center;	
}
/****end for whishlist***/

.addToWishlist{
    display: inline-block;
    cursor: pointer;	
}
.addToWishlist path{transition: 0.3s;}
.activeaddToWishlist path, .addToWishlist:hover path, .deActiveaddToWishlist path{
	fill: #000; transition: 0.3s;
}
.wishlist-box svg, .removewishlist svg{
	width: 28px;
}
/***for front**/
#wishlist-items{
	display: grid;
	    grid-template-columns: repeat(4, 1fr); /* Три равные колонки */
    gap: 32px; /* Отступы между элементами */
}
.img-post-wishlist-product{
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 10;
    object-fit: cover; margin-bottom: 16px;
}
.title-post-wishlist-product{
    font-size: 16px;
    line-height: 130%;
    color: rgba(45, 46, 44, 1);
    font-weight: 400;
    text-transform: uppercase;
    padding-bottom: 8px;
}
.price-post-wishlist-product{
color: rgba(45, 46, 44, 1);
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;	
}
.removewishlist{
	width: 30px; cursor: pointer;
}
.deActiveaddToWishlist path{fill: rgba(247, 40, 40, 1);}

.post-wishlist-product a{text-decoration: none;}
.btn_to_catalog_with_whishlist{
    text-decoration: none;
    color: #fff;
    background: rgba(45, 46, 44, 1);
    padding: 20px 32px;
    text-transform: uppercase;
    font-size: 20px;
    display: inline-block;	 transition: 0.3s;
}
.btn_to_catalog_with_whishlist:hover{
    background: rgb(45 46 44 / 60%); transition: 0.3s;
}
.title_zerro_result{
	color: rgba(45, 46, 44, 1);
	font-size: 20px;
	padding-bottom: 32px;
}
.box-add-whislist-post-product{margin-bottom: 16px;}
.box-add-whislist-post-product div{
    border: 1px solid #888;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    text-transform: uppercase;
    color: rgba(45, 46, 44, 1); cursor: pointer;
    box-sizing: border-box; justify-content: center;
}
.box-add-whislist-post-product div > svg{
    height: 23px;
}


/*****custom-minicart****/
.head-minicart{
display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;     padding-bottom: 25px;
}
.title_custom-minicart_cart{font-size: 22px;}
.btn_to_checkoutminicart:hover{ background: #333; color: #fff; transition: all ease 0.3s;}
.btn_to_checkoutminicart{
    display: block;
    border: 1px solid #737373;
    padding: 10px 15px;
    text-align: center;
    margin-bottom: 10px;
    transition: all ease 0.3s;
    text-decoration: none;
    font-size: 16px;
    box-sizing: border-box;     color: #000000;
}
.custom-minicart{
    padding: 20px;
    position: fixed;
    top: 0px;
    right: 0px;
    background: #fff;
    width: 400px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 45px;
    box-sizing: border-box;
}
::-webkit-scrollbar-button {background-image:url('');background-repeat:no-repeat;width:6px;height:0px}::-webkit-scrollbar-track {background-color:#ecedee}::-webkit-scrollbar-thumb {-webkit-border-radius: 0px;border-radius: 2px;background-color:#444;transition: 0.3s;}::-webkit-scrollbar-thumb:hover{background-color:#000;transition: 0.3s;}::-webkit-resizer{background-image:url('');background-repeat:no-repeat;width:6px;height:0px}::-webkit-scrollbar{width: 6px;}
.btn_quantity_custom{
    font-size: 32px;
    line-height: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 40px;
    background: #f1f1f1;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 200;	
}
.btn_quantity_custom:hover{	transition: 0.3s; color: #fff; background: #2D2E2C;}
.custom-quantity{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;	
}
.custom-quantity input{
    width: 59px;
    font-size: 16px;
    padding: 6px; text-align: center;
    box-sizing: border-box;	border: 1px solid #f1f1f1;
}
.custom-quantity input[type=number]::-webkit-inner-spin-button,
.custom-quantity input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.custom-quantity input[type=number] {
  -moz-appearance: textfield;
}
.total-mini-cart span{
	padding-bottom: 6px;
    padding-top: 6px;
}
.total-mini-cart{
    padding-bottom: 18px;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    flex-wrap: wrap;	
}
.post-mini-cart-prod{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;	     padding-bottom: 20px; position: relative; z-index: 1;
}
.post-mini-cart-prod img{
	width: 120px;
}
.dalete_prod_mini_cart, .dalete_prod_mini_cart_style{
    position: absolute;
    width: 24px !important;
    top: -2px;
    right: -12px; cursor: pointer; transition:0.3s; opacity: 1;
}
.dalete_prod_mini_cart:hover, .dalete_prod_mini_cart_style:hover{
	transition:0.3s; opacity: 0.5;
}
.text-post-mini-cart-prod{
    width: calc(100% - 135px);
}
.titlepost-mini-cart-prod{
    text-decoration: none;
    display: block;
    font-size: 16px;
    padding-right: 15px;     color: #040404;	
}
.price-prod-mini-cart{
    padding-bottom: 12px;
    font-size: 14px;
    padding-top: 12px;     padding-right: 7px;
}
.active-ajax-minicart{position: relative;}
.active-ajax-minicart:before{
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    z-index: 99999;
    background: rgb(255 255 255 / 62%);
}
.active-ajax-minicart:after{
	content: '';
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    width: 44px;
    height: 44px;
    z-index: 99999;
    background: url(/wp-content/plugins/nik_wishlist_ajax_mini_cart/img/load.gif);
    background-position: center;
    background-size: contain;
}
.close-minicart{cursor: pointer; transition: 0.3s; transform: rotate(0deg);}
.close-minicart:hover{cursor: pointer; transition: 0.3s; transform: rotate(360deg);}
/*****end custom-minicart****/


/***regulars****/
.head-minicart {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
    padding-bottom: 25px;
}
.title_custom-minicart_cart {
    font-size: 22px;
}
.close-nik-modals {
    cursor: pointer;
    transition: 0.3s;
    transform: rotate(0deg);
}
.close-nik-modals:hover {
    cursor: pointer;
    transition: 0.3s;
    transform: rotate(360deg);
}

.hover-site-nik{
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 99;
    background: rgb(0 0 0 / 57%);
	display:none;
}
.display-block{display: block !important;}