/*
Theme Name: Makeaholic Child
Theme URI: http://makeaholic.thememove.com/
Author: ThemeMove
Author URI: http://thememove.com/
Version: 1.0.0
Template: makeaholic
Text Domain:  makeaholic-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/*checkout 2 card fix*/
#payment .payment_methods li[class*="payment_method_woocommerce_payments"] label{
	display:flex!important;
}

.woocommerce-checkout #payment div.payment_box {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 20px !important; 
}

.wcpay-upe-element, 
.wc-payment-form,
.StripeElement {
    min-height: 150px !important; 
    margin-bottom: 15px !important;
}

.woocommerce-privacy-policy-text {
    clear: both !important;
    display: block !important;
    margin-top: 25px !important;
    position: relative !important;
}

/* Target only mobile screens */
@media (max-width: 768px) {
    .woocommerce-checkout #payment div.payment_box {
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		padding-bottom: 20px !important; 
	}

	.wcpay-upe-element, 
	.wc-payment-form,
	.StripeElement {
		min-height: 280px !important; 
		margin-bottom: 15px !important;
	}

	.woocommerce-privacy-policy-text {
		clear: both !important;
		display: block !important;
		margin-top: 5px !important;
		position: relative !important;
	}
}
/*checkout 2 card fix end*/


/*buy2 get 1 free ux*/

#mc-unlock-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.mc-popup-overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.6);
}

.mc-popup-box {
    position:relative;
    width:420px;
    max-width:90%;
    margin:12% auto;
    background:#fff;
    padding:30px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 20px 50px rgba(0,0,0,0.3);
    animation:mcFadeIn 0.3s ease;
}

#mc-choose-shade {
    background:rgba(102,29,19, 1);
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
    margin-top:10px;
}

.mc-popup-close {
    position:absolute;
    right:12px;
    top:10px;
    font-size:22px;
    cursor:pointer;
}

@keyframes mcFadeIn {
    from {opacity:0; transform:scale(0.9);}
    to {opacity:1; transform:scale(1);}
}

/*cart page css*/

button[name='update_cart'] {
   display: none !important;
}

.woocommerce-cart .btn-continue-shopping,
.woocommerce-cart .btn-empty-cart, .row.actions, .actions {
    display: none !important;
}

.woocommerce-cart .coupon-wrap .coupon-description {
    display: none !important;
}



@media (max-width: 767px) {
  .woocommerce-cart .product-remove {
    position: absolute;
    right: 10px;
    top: 20px;
  }

  .woocommerce-cart .cart_item {
    position: relative;
  }
	
	.woocommerce-cart-form-wrapper table.shop_table tr:last-child {
    display: none !important;
	border: none !important;
    padding: 0 !important;
  }
	.woocommerce-cart .custom-calculate-shipping-block {
		display: none !important;
	}
	

    .woocommerce-cart .cart_totals table tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .woocommerce-cart .cart_totals table th,
    .woocommerce-cart .cart_totals table td {
        display: inline-block;
        width: auto;
        padding: 6px 0;
    }

    /* Remove weird gaps */
    .cart-collaterals {
        padding: 0 !important;
    }

    .cart_totals {
        margin: 0 !important;
    }
	
	.woocommerce-cart .cart-subtotal, .cart-shipping, .order-total{
		padding-bottom: 5px !important;
    	margin-bottom: 5px !important;
	}
	
	.woocommerce-cart .cart-collaterals-wrap {
		margin-top: 0 !important;
  		padding-top: 0 !important;
	}
	
	body.woocommerce-cart .wc-proceed-to-checkout {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 10px 15px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 9999;
    }

    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        width: 100%;
        display: block;
        text-align: center;
    }

    /* Prevent content from being hidden behind sticky button */
    body.woocommerce-cart {
        padding-bottom: 80px;
    }
	body.woocommerce-cart .wcpay-express-checkout-wrapper,
	body.woocommerce-cart #wcpay-express-checkout-element {
    display: none !important;
}
}

/*cart page css end*/