/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.40.48d
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/
@import 'css/mobile-menu.css';


.menu-primary-menu-container>ul>li.menu-button>a span{
    background-color: #fff !important;
    color: #192a3d !important;
    border: 0 !important;
}


.woocommerce-pagination {
/*visibility: hidden !important;*/
}

/*Quantity field adjustment*/
.product .woocommerce-card__header .cart .quantity .quantity .input-text {
    width: 50px !important;
    height: 40px !important;
    padding: 0.5rem;
    border: 1px solid #e2e2e2;
    background: 0 0;
    background-color: #fff;
    box-shadow: none;
    font-size: 17px;
    font-weight: 400;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.product .quantity-container{
    position: absolute !important;
    bottom: 0;
    left: 15px;
    margin-bottom: 3.5px;
}

.quantity-container .quantity, .quantity-container .quantity .input-text {
    width:50px !important;
    height: 40px !important;
    border-top: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.woocommerce-page .quantity .quantity-nav .minus, .woocommerce-page .quantity .quantity-nav .plus {
    height: 29px !important;
    border: 0 !important;
    color: #666 !important;
    background: #fff !important;
}

.woocommerce-cart-form__cart-item .product-quantity .quantity .quantity-nav .minus, .woocommerce-cart-form__cart-item .product-quantity .quantity .quantity-nav .plus{
    /*height: 18px !important;*/
}

table.cart .quantity {
    border: 0 !important;
}

.quantity-container .quantity {
    width:50px !important;
    height: 40px;
}

.quantity-container .quantity-nav {
    position: absolute !important;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.quantity-container .quantity-nav .plus {
    height: 29px;
    border-color: #ccc;
    color: #666;
    background: #fff;
    top: 1px;
    border-bottom: 1px solid #e2e2e2;
}

.quantity-container .quantity-nav .quantity-button {
    position: absolute;
    right: 0;
    left: 0;
    height: calc(50% - 2px);
    background: no-repeat 50%;
    background-size: auto 8px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    transition: background-color .1s linear,opacity .1s linear;
}

.quantity-button.quantity-down.minus{
    bottom: 0;
}

.woocommerce-message .message-inner{
    display: flex;
}

.woocommerce-message .message-content{
    width: 70%;
}

.woocommerce-message .message-content a.button.wc-forward{
    display: none;
}

.woocommerce-message .message-content + .buttons-wrapper{
    width: 30%;
}
.woocommerce-message .message-content + .buttons-wrapper .button{
    padding-right: 1em;
}

.woocommerce .product .add_to_cart_button, .woocommerce .product .added_to_cart{
    display: block !important;
    z-index: 1 !important;
    bottom: 3px !important;
    width: calc(100% - 110px) !important;
    height: 40px !important;
    padding: 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    transition: all .1s;
    float: right !important;
    position: absolute !important;
    right: 15px;
}

.woocommerce .product .add_to_cart_without_qty .added_to_cart{
    display: block;
    z-index: 1;
    bottom: 0;
    width: calc(100% - 30px) !important;
    height: 40px;
    padding: 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    transition: all .1s;
    float: right !important;
    position: aboslute !important;
    left: 0;
    margin-bottom: 0.236em !important;
}

.woocommerce .product .add_to_cart_without_qty > .add_to_cart_button{
    display: block;
    z-index: 1;
    bottom: 0;
    width: calc(100% - 30px) !important;
    height: 40px;
    padding: 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    transition: all .1s;
    float: right !important;
    position: aboslute !important;
    left: 0;
}
.add_to_cart_without_qty{
    display: block;
    position: absolute !important;
    width: 100% !important;
    z-index: 1;
    bottom: 0;
    padding: 0;
}

.best-before-text{
    font-size: 14px !important;
    font-weight: bold !important;
    color: #000 !important;
}

.products li:hover{
    color: #000 !important;
}
/*TOP MENU*/
.top-bar .widget_nav_menu ul li .sub-menu {
    margin-top: 0 !important;
}

.sub-menu-wrapper{
    z-index: 10000 !important;
}
.wp-block-kadence-column, .kt-inside-inner-col{
    z-index:0 !important;
}
.wc-block-product-categories button{
    color: #fff !important;
    height: 40px !important;
}
/* SUBMENU */

.sub-menu .menu-item .woocommerce .products .product .woocommerce-image__wrapper a img{
    width: 100px;
}

.sub-menu .menu-item .woocommerce .products .product .woocommerce-card__header .woocommerce-loop-product__title a{
    font-size: 12px;
}

@media only screen and (min-width: 1024px) {
    .menu > li#nav-menu-item-211658 > .sub-menu-wrapper > .container > .sub-menu { 
        justify-content: flex-start !important;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        /*align-items: flex-start;*/
    }
    .menu > li#nav-menu-item-211658 > .sub-menu-wrapper > .container > .sub-menu > li.menu-item { 
        margin:0 !important;
        width: 19% !important;
        padding-top: 5px;
    }
    .menu > li#nav-menu-item-211658 > .sub-menu-wrapper > .container > .sub-menu > li.menu-item:nth-child(odd) { background: #f3f3f3; }
}
.woocommerce-card__header .added_to_cart{
    opacity: 1;
}

#menu-secondary-menu-v2 .menu-item-has-children:after{
    content: '▼';
    top: 50%;
    right: 5px;
    margin-top: 10px;
    font-size: 10px;
    position: absolute;
}

#menu-secondary-menu-v2 .menu-item-has-children .sub-menu{
    background-color: #f2f5f7;

}

#menu-secondary-menu-v2 .menu-item-has-children .sub-menu li:hover{
    background-color: #e1e8ed;

}

#menu-secondary-menu-v2 .menu-item-has-children .sub-menu li a{
    padding: 15px 5px;
}

.menu-primary-menu-container>ul>li.gift-card-button>a span{
    background-color:#E7625F !important;
    color: #fff !important;
}

/*SINGLE PAGE*/
.woocommerce-variation-add-to-cart button{
    height: 52px !important;
}

.wc-block-grid__products .wc-block-grid__product{
    text-align:center;
}

.wwof_add_to_cart_button, .wp-block-button__link, .button-primary, .button-secondary {
    opacity: 1 !important;
    background-color: #2872FA !important;
}
.wwof_add_to_cart_button:hover, .wp-block-button__link:hover, .button-primary:hover, .button-secondary:hover {
    background-color: #1559ED !important;
}

/*FOOTER*/
.call-back-feature{
    z-index: 998 !important;
    bottom: 40px !important;
    right: 100px !important;
}

.woocommerce-demo-store footer:last-child{
    padding-bottom: 32px !important;
}

/*ORDER FORM*/
#wwof_product_listing_filter input, #wwof_product_listing_filter select{
    height: 45.66px !important;
}

#wwof_product_listing_filter select, #wwof_product_listing_filter input[type=text]{
    padding: 0 !important;
}

/*MY ACCOUNT*/
.mwb-zendesk-hitbutton{
    color:#fff !important;
    border-color: #2872FA !important;
    background-color: #2872FA !important;
}
/*CHECKOUT*/
body .woocommerce-checkout .checkout_coupon{
    width: 100% !important;
}

form.checkout{
    margin-bottom: 80px !important;
}

ul#shipping_method li{
    font-size:12px !important;
}

/*MOBILE AND DESKTOP*/
@media only screen and (max-width: 600px) {
  .mobile-banner {
    visibility: visible;
    display:block;
  }
  .desktop-banner {
    visibility: hidden;
    display:none;
  }
  
  .sub-menu .menu-item-product{
      visibility: hidden;
      display: none;
  }
  
  .woocommerce-store-notice .woocommerce-store-notice__dismiss-link{
    background-color: #192a3d !important;
    padding: 5px !important;
    border-color: #192a3d !important;
    margin-top: 5px !important;
    text-align: center !important;
  }
  
  .checkout-edit-cart-button{
       float:right !important; 
       margin-top: -28px !important;
  }
  
  .checkout-wrap{
      margin-bottom: 75px !important;
  }
  
  .checkout-wrap .checkout-bar li span{
      visibility: visible !important;
  }
}

@media only screen and (min-width: 601px) {
  .mobile-banner {
    visibility: hidden;
     display: none;
  }
  .desktop-banner {
    visibility: visible;
    display: block;
  }
  
  .checkout-edit-cart-button{
       float:right; 
       margin-top: -45px;
  }
  
  .header-widget-region div #block-19, .header-widget-region div #block-19, .wp-block-kadence-countdown{
      padding-top: 5px !important;
      padding-bottom: 5px !important;
  }
  
  .kb-countdown-container {
    padding:5px !important;   
  }
}

/*for wholesale clients*/
.wholesale-user .wholesale-hide{
    visibility:hidden;
    display:none;
}

.wholesale-user .header-widget-region .wholesale-show{
    display:block !important;
}

.cart .single_add_to_cart_button{
    margin-left: 0px !important;
    margin-right: 100px;
    margin-bottom: 10px; 
}

.kd-hidden{
 display:none !important;   
 visibility: hidden !important;

}

.kt-blocks-post-grid-item{
    height: 100% !important;
}

.woocommerce-MyAccount-navigation-link--pw-gift-card-balance a:before {
    content: "\f06b" !important; /* Example for Font Awesome gift icon */
    font-weight: 900; /* Ensure bold for Font Awesome Free */
    background-color: transparent !important;
    font-family: 'Font Awesome 6 Free'; 
}

.woocommerce-MyAccount-navigation-link--store-credit a:before {
    content: "\f09d" !important; /* Font Awesome icon for "wallet" */
    font-weight: 900; /* Ensure bold for Font Awesome Free */
    background-color: transparent !important;
    font-family: 'Font Awesome 6 Free'; 
}

.woocommerce-MyAccount-navigation-link--afwc-dashboard a:before {
    content: "\f500" !important; /* Font Awesome icon for "wallet" */
    font-weight: 900; /* Ensure bold for Font Awesome Free */
    background-color: transparent !important;
    font-family: 'Font Awesome 6 Free'; 
}

.woocommerce-MyAccount-navigation-link--purchased-products a:before {
    content: "\f466" !important; /* Font Awesome icon for "wallet" */
    font-weight: 900; /* Ensure bold for Font Awesome Free */
    background-color: transparent !important;
    font-family: 'Font Awesome 6 Free'; 
    font-size: 18px;
}

.woocommerce-MyAccount-navigation-link--myreferrals a:before  {
    content: "\f14d" !important; /* Font Awesome icon for "wallet" */
    font-weight: 900; /* Ensure bold for Font Awesome Free */
    background-color: transparent !important;
    font-family: 'Font Awesome 6 Free'; 
    font-size: 16px;
}


body .shop-products-wrapper .ant-table-content table tr.ant-table-row{
	width: 100% !important;

}
body  .shop-products-wrapper .ant-table-content table tr.ant-table-row td{
	display: revert !important;

}

.return-to-shop-wrapper{
    padding-top: 100px;
    width: 100%;
    display: block;
    text-align: center;
}

body .site-content .add_to_cart_button{
    padding-left: 4px !important;
    padding-right: 4px !important;
}


.wc-prl-recommendations{
    padding-top: 45px;
    margin-top: 55px;
    border-top: 2px solid #eee;
}

.wc-prl-recommendations ul.products li.product:not(.product-category):before{
    border: 1px solid #eee;
}


.wc-prl-recommendations ul.products > li.product{
    width: 25%;
}

.wc-prl-recommendations h2{
    margin-bottom: 30px;
}

@media (max-width: 992px) {

    .site-header + .col-full-nav, .mobile-menu.close-drawer{
        z-index: 1000 !important;
    }
}

@media (max-width: 450px) {
    body .site-content .add_to_cart_button{
        color: transparent !important;
    }
    body .site-content .add_to_cart_button::before{
        content: "\f07a" !important;
        font-weight: 700; /* Ensure bold for Font Awesome Free */
        background-color: transparent !important;
        font-family: 'Font Awesome 6 Free' !important; 
        font-size: 18px !important;
        color: #fff !important;
        position: absolute;
        display: block;
        width: 90%;
    }
    
}