/* =================================
WOOCOMMERCE ELEMENTOR CART FIXES
================================ */

.woocommerce-cart .elementor-widget-woocommerce-cart .product-thumbnail {
display: table-cell !important;
width: 60px !important;
vertical-align: middle !important;
}
a.woocommerce-remove-coupon, a.woocommerce-remove-coupon:hover {
	color:red !important
}
.woocommerce-error a {
	color:#ffffff !important;
}
.woocommerce-cart .elementor-widget-woocommerce-cart .product-thumbnail img {
max-width: 50px !important;
height: auto !important;
display: block !important;
}

/* Remove the colon before product image */
.woocommerce-cart .cart td.product-thumbnail::before {
content: none !important;
}
/* 
.product-quantity{
display: none !important;
} */
dl.variation {
display: none !important;
}


.elementor-menu-cart__footer-buttons .elementor-button:focus {
background-color: transparent;


}

/* .elementor-widget-woocommerce-cart .woocommerce table.shop_table.cart .actions{

display: none;
} */
.elementor-38187 .elementor-element.elementor-element-269bd676 {
    --padding-bottom: 0px !important;
}

.elementor-widget-woocommerce-cart .woocommerce button.button:disabled:hover, .elementor-widget-woocommerce-cart .woocommerce button.button:disabled[disabled]:hover {
	background-color: #5bc0de !important;
}

.product-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F8616B;
	font-family: "Mulish";
	font-weight: 800;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 20px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.product-video-btn:hover {
    background: #e84b52;
    transform: translateY(-2px);
}

.product-video-btn .video-icon {
    font-size: 22px;
}

/* Tooltip CSS */
.pack-box {
    position: relative;
    text-align: center;
}

.pack-includes {
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 10px;
}

.pack-tooltip {
    position: absolute;
    top: -130px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    display: none;
    z-index: 99;
    width: 175px;
    height: 150px;
    text-align: left;
}

.pack-tooltip.active {
    display: block;
}

.pack-tooltip .close-tooltip {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
    font-size: 18px;
    background-color: #4d4d4d;
    border-radius: 50%;
    color: #ffffff;
    line-height: 18px;
    width: 18px;
    text-align: center;
}

.pack-btn {
    border-radius: 50px;
    padding: 12px 28px;
}
/* Tooltip CSS */

del {
    text-decoration: none !important;
}
.za-book-title {
	min-height:65px !important;
}
.za-ya-book-title {
    min-height: 45px !important;
}
.digital-pack {
	padding: 0px 10px 0px 0px;
}
.digital-pack .pack-title {
	font-family: "Mulish";
	font-weight: 800;
	font-size: 13px;
	color: #213CF4;
}
.digital-pack .pack-includes {
	font-family: "Mulish";
	font-weight: 400;
	font-size: 10px;
	color: #213CF4;
}

.digital-pack .woocommerce-Price-amount {
	font-family: "Mulish";
	font-weight: 800;
	font-size: 13px;
	color: #213CF4;
}
.digital-pack .pack-tooltip strong {
	font-family: "Mulish";
	font-weight: 800;
	font-size: 13px;
	color: #132684;
}
.digital-pack .pack-tooltip ul li {
	font-family: "Mulish";
	font-weight: 400;
	font-size: 13px;
	color: #132684;
}
.digital-pack del bdi {
    text-decoration-line: line-through;
    text-decoration-color: red;
    text-decoration-thickness: 2px; /* optional */
}

.price ins,
.price ins span {
    text-decoration: none !important;
}

.digital-pack  ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.digital-pack  ul li {
    position: relative;
    padding-left: 24px; /* space for tick */
}

.digital-pack  ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #132684 !important;
    font-weight: bold;
}

button.digital-btn {
    width: 100% !important;
    background-color: #213CF4 !important;
    border-radius: 50px !important;
}

.digital-pack .price {
	margin-bottom:10px;
}

.printed-pack {
	padding: 0px 0px 0px 10px;
}
.printed-pack .pack-title {
	font-family: "Mulish";
	font-weight: 800;
	font-size: 13px;
	color: #35BABA;
}
.printed-pack .pack-includes {
	font-family: "Mulish";
	font-weight: 400;
	font-size: 10px;
	color: #126972;
}

.printed-pack .woocommerce-Price-amount {
	font-family: "Mulish";
	font-weight: 800;
	font-size: 13px;
	color: #35BABA;
}
.printed-pack .pack-tooltip strong {
	font-family: "Mulish";
	font-weight: 800;
	font-size: 13px;
	color: #35BABA;
}
.printed-pack .pack-tooltip ul li {
	font-family: "Mulish";
	font-weight: 400;
	font-size: 13px;
	color: #35BABA;
}
.printed-pack del bdi {
    text-decoration-line: line-through;
    text-decoration-color: red;
    text-decoration-thickness: 2px; /* optional */
}
button.printed-btn {
    width: 100% !important;
    background-color: #35BABA !important;
    border-radius: 50px !important;
}

.printed-pack .price {
	margin-bottom:10px;
}
.printed-pack ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.printed-pack ul li {
    position: relative;
    padding-left: 24px; /* space for tick */
}

.printed-pack ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #35BABA !important;
    font-weight: bold;
}


.detail-digital-pack h3.pack-heading {
	font-family: "Mulish";
	font-weight: 700;
	font-size: 18px;
	color: #213CF4;
	margin-bottom:0px;
}

.detail-digital-pack .pack-price {
	font-family: "Mulish";
	font-weight: 900;
	font-size: 28px;
	line-height: 35px;
	color: #213CF4;
	padding: 10px 0px;
}
.detail-digital-pack form.cart {
	position:relative;
	float: left;
}
.detail-digital-pack .pack-price ins,
.detail-digital-pack .pack-price ins span {
    text-decoration: none !important;
}
.detail-digital-pack del {
    text-decoration-line: line-through !important;
    text-decoration-color: red !important;
    text-decoration-thickness: 2px !important; /* optional */
	color: #1F79FF;
}

.detail-digital-pack button.add-to-cart-btn {
    font-family: "Mulish";
    font-weight: 800;
    font-size: 20px;
    color: #ffffff;
    background-color: #132684;
    border-color: #132684;
    padding: 10px 30px;
    margin-right: 20px;
}

.detail-digital-pack button.buy-now-btn {
    font-family: "Mulish";
    font-weight: 800;
    font-size: 20px;
    color: #ffffff;
    background-color: #213CF4;
    border-color: #213CF4;
    padding: 10px 30px;
    margin-right: 20px;
}

.detail-printed-pack h3.pack-heading {
	font-family: "Mulish";
	font-weight: 700;
	font-size: 18px;
	color: #35BABA;
	margin-bottom:0px;
}

.detail-printed-pack .pack-price {
	font-family: "Mulish";
	font-weight: 900;
	font-size: 28px;
	line-height: 35px;
	color: #35BABA;
	padding: 10px 0px;
}
.detail-printed-pack form.cart {
	position:relative;
	float: left;
}
.detail-printed-pack .pack-price ins,
.detail-printed-pack .pack-price ins span {
    text-decoration: none !important;
}
.detail-printed-pack del {
    text-decoration-line: line-through !important;
    text-decoration-color: red !important;
    text-decoration-thickness: 2px !important; /* optional */
	color: #51D8C2;
}

.detail-printed-pack button.add-to-cart-btn {
    font-family: "Mulish";
    font-weight: 800;
    font-size: 20px;
    color: #ffffff;
    background-color: #126972;
    border-color: #126972;
    padding: 10px 30px;
    margin-right: 20px;
}

.detail-printed-pack button.buy-now-btn {
    font-family: "Mulish";
    font-weight: 800;
    font-size: 20px;
    color: #ffffff;
    background-color: #35BABA;
    border-color: #35BABA;
    padding: 10px 30px;
    margin-right: 20px;
}

.pack-actions form.cart {
	margin-bottom:0px !important;
}

@media screen and (max-width: 1100px) {
	.za-ya-book-title {
		min-height: 60px !important;
	}
	.detail-digital-pack button.add-to-cart-btn {
		margin-right: 0px;
		margin-bottom: 20px;
	}
	.detail-printed-pack button.add-to-cart-btn {
		margin-right: 0px;
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 767px) {
	.printed-pack {
		padding: 0px 0px 0px 0px !important;
	}
	.digital-pack {
		padding: 0px 0px 0px 0px !important;
	}
	button.digital-btn {
		width: 150px !important;
	}
	button.printed-btn {
		width: 150px !important;
	}
	.za-book-title {
		min-height: 40px !important;
	}
	.za-ya-book-title {
		min-height: 84px !important;
	}
	.detail-digital-pack {
		text-align: center;
	}
	.detail-digital-pack form.cart, .detail-printed-pack form.cart {
/* 		display: block;
    	margin: auto;
    	float: none;
    	margin-bottom: 20px !important; */
		width:50%;
	}
	.detail-digital-pack button.add-to-cart-btn, .detail-digital-pack button.buy-now-btn, .detail-printed-pack button.add-to-cart-btn, .detail-printed-pack button.buy-now-btn {
		font-weight: 400;
		font-size: 14px;
		padding: 10px 20px;
		margin-right: 0px;
	}
	.detail-digital-pack button.add-to-cart-btn {
		margin-bottom: 20px;
	}
	.detail-printed-pack {
		text-align: center;
	}
	
}
/* Error Message Styling

/* Full width WooCommerce notices */
.woocommerce-notices-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    padding: 0;
}

/* Base notice styling */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    width: 100%;
    margin: 0;
    padding: 18px 24px;
    border-radius: 0;
    border: none;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Error (red) */
.woocommerce-error {
    background: #c62828;
    color: #ffffff !important;
}

/* Success (green) */
.woocommerce-message {
    background: #2e7d32;
    color: #ffffff !important;
}

/* Info (blue) */
.woocommerce-info {
    background: #1565c0;
    color: #ffffff !important;
}

/* Remove default WooCommerce bullet points */
.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
    display: none;
}
.elementor-widget-woocommerce-cart .woocommerce .input-text.qty {
    padding: 1px 1px 1px 15px !important;
}
/* View cart link inside WooCommerce notices */
.woocommerce-notices-wrapper a,
.woocommerce-message a {
    color: #ffffff !important;     /* white text */
    text-decoration: underline;    /* underline */
    font-weight: 600;
}








/* Zaheer CSS Ends Here */
.elementor-33664 .elementor-element.elementor-element-20fc3d41 .coupon .input-text {
	color: #4d4d4d !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    line-height: 28px !important;
    font-weight: bold !important;
    border: 0 !important;
    padding: 10px 14px !important;
    box-shadow: 0 1.06px 2.13px -1.06px rgba(0, 0, 0, 0.10), 0 1.06px 3.19px 0 rgba(0, 0, 0, 0.10) !important;
}

/* Mobile cart row spacing fix */
@media (max-width: 700px) {
.elementor-widget-woocommerce-cart .woocommerce table.cart tr {
padding: 0px;
}

td.product-remove{

padding: 5px 0px 0px 0px !important;
}

td.product-price{

padding: 0px !important;
}

.elementor-13541 .e-con {

--container-max-width: 990px;
}
}



/* ====================================
WOOCOMMERCE CHECKOUT BUTTONS STYLING
==================================== */

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
background: #3B9B9B;
border: solid black 2px;
border-radius: 10px;
color: white;
}

button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained {
border: solid #3B9B9B 2px;
color: #3B9B9B;
}

button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained:hover {
background-color: white;
}

/* Apply Mulish everywhere on checkout */
.woocommerce-checkout,
.woocommerce-checkout p {
font-family: 'Mulish', sans-serif !important;
}

/* Checkout action button spacing */
.wc-block-checkout__actions_row {
margin-bottom: 30px;
}

/*================================
WOOCOMMERCE CLASSIC BUTTON STYLING
================================= */

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
a.button.wc-backward {

height: 48px;
background: linear-gradient(180deg, #1F79FF 0%, #0061F1 100%);
color: #ffffff;
font-family: "Mulish", Sans-serif;
font-size: 18px;
font-weight: 600;
border: 0;
border-radius: 12px;
box-shadow:
0px 4.25px 6.38px -4.25px rgba(0, 0, 0, 0.10),
0px 10.64px 15.96px -3.19px rgba(0, 0, 0, 0.10);
padding: 0 16px;
line-height: 48px;
text-align: center;
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
a.button.wc-backward:hover {
background: linear-gradient(180deg, #1F79FF 0%, #0061F1 100%);
color: white;
}

.wc-block-checkout-empty span.wp-block-button{

display: flex;
justify-content: center;
}

.wc-block-checkout-empty a.wp-block-button__link:hover{

color: white;
}

/* =================================
MISCELLANEOUS GLOBAL FIXES
================================ */


a#elementor-menu-cart__toggle_button {
background: transparent;
}


.elementor-25 .elementor-element.elementor-element-1a75fc7 .elementor-nav-menu--dropdown a {
padding-left: 10px !important;
}

.elementor-heading-title.elementor-size-default a[rel="tag"] {
pointer-events: none;
cursor: default;
text-decoration: none;
color: inherit;
}


/* Make submenu text black */
a.elementor-sub-item {
color: black !important;
}

/* Coupon error text color */
.coupon-error-notice {
color: red;
}


/*================================
THANK YOU PAGE CUSTOM STYLING
==================================*/

.thankyou-page {
background: #f9f9fb;
padding: 80px 20px;
min-height: 70vh;
display: flex;
align-items: center;
justify-content: center;
font-family: "Mulish", sans-serif;
}

@media (max-width:767px)
{

.thankyou-page {
background: #f9f9fb;
padding: 20px 20px;
min-height: 70vh;
display: flex;
align-items: center;
justify-content: center;
font-family: "Mulish", sans-serif;
}
}

.thankyou-container {
background: #fff;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0,0,0,.05);
padding: 20px 20px;
max-width: 650px;
width: 100%;
text-align: center;
}

.thankyou-container h1 {
font-size: 36px;
margin-bottom: 15px;
}

.thankyou-container p {
font-size: 1.1rem;
color: #555;
margin-bottom: 30px;
}

.order-summary {
text-align: left;
margin-bottom: 30px;
border: 1px solid #e8e8e8;
border-radius: 10px;
padding: 20px;
background: #fafafa;
}

.order-summary ul {
list-style: none;
padding: 0;
margin: 0;
}

.order-summary li {
margin-bottom: 10px;
color: #444;
}

.ty-btn {
display: inline-block;
background: #3c69e7;
color: #fff;
padding: 12px 24px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: background .3s ease;
}

.ty-btn:hover {
background: #2d53c3;
}

/* Hide customer details section */
.thankyou-page .woocommerce-customer-details {
display: none;
}

.thankyou-page a,
.thankyou-container a {
color: #3B9B9B !important;
}

.thankyou-page a:hover,
.thankyou-container a:hover {
color: #2b7a7a !important; /* optional darker hover */
}


@media(max-width:600px)
{
.thankyou-container h1{

font-size: 22px;
}

}


/*================================
CLASSIC CHECKOUT STYLING
==================================*/


/* Hide Billing First Name field on Classic Checkout */
.woocommerce-billing-fields #billing_first_name_field {
display: none !important;
}

@media(min-width:1025px) {
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
width: 90%;
}

#customer_details {
display: flex;
flex-flow: column nowrap;
float: left;
width: 50%;
}

#customer_details .col-2 {
width: 90%;
margin-top: 20px;
}

#order_review,
#order_review_heading {
width: 50%;
float: left;
clear: none;
}
}


/* Description text styling (optional) */
.wc-checkout-description {
margin-top: 5px;
font-size: 14px;
color: #666;
line-height: 1.5;
}



.woocommerce-checkout #payment div.payment_box{

background-color: transparent;
}

.woocommerce-checkout #payment{

background: #f2f2f2;
border-radius: 10px;
}

/* Hide Stripe country field in WooCommerce Blocks Checkout */
.p-Field[data-field="country"] {
display: none !important;
}




/* Fix checkout alignment on mobile */
@media (max-width: 768px) {
.woocommerce .col2-set,
.woocommerce .col-1,
.woocommerce .col-2,
.woocommerce-checkout .woocommerce {
width: 100% !important;
max-width: 100% !important;
padding: 0 5px !important;
margin: 0 auto !important;
box-sizing: border-box;
}

/* Prevent flex pushing everything left */
.woocommerce .col2-set {
display: block !important;
gap: 0 !important;
}

/* Fix form fields alignment */
.woocommerce form .form-row {
width: 100% !important;
float: none !important;

}

/* Prevent Stripe box from overflowing */
.wc-stripe-elements-field,
.wc-stripe-card-element {
width: 100% !important;
}

/* Fix container overflow */
.woocommerce-checkout,
.woocommerce {
overflow-x: hidden !important;
}
}


.woocommerce-checkout h3 {
font-size: 22px;
font-weight: 700;
color: #333;
font-family: "Mulish", Sans-serif;


}

.woocommerce-billing-fields > h3::before{

font-size: 22px;
font-weight: 700;
color: #333;
background: transparent;
font-family: "Mulish", Sans-serif;
}

.woocommerce-checkout .woocommerce-billing-fields > h3{

background: transparent;
}

.woocommerce-checkout #billing-details-title {
margin-top: 30px !important;
}

@media(max-width: 767px)

{
.woocommerce-checkout #billing-details-title {
margin-top: 10px !important;
}

}

.woocommerce-privacy-policy-text{


display: none;
}

/* .p-Field[data-field="country"] {
display: none !important;
visibility: hidden !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}

.p-GridCell[data-field="country"],
.p-FieldsetCell[data-field="country"] {
display: none !important;
} */


.woocommerce-checkout form .form-row .input-text, .select2-container .select2-selection--single .select2-selection__rendered, .woocommerce form .form-row select  {

color: #4d4d4d !important;
border-radius: 14px;
font-family: 'Mulish', sans-serif;
font-size: 16px !important;
font-weight: bold;
border: 0;
padding: 10px 14px;
box-shadow:
0 1.06px 2.13px -1.06px rgba(0, 0, 0, 0.10),
0 1.06px 3.19px 0 rgba(0, 0, 0, 0.10);

}

.select2-container .select2-dropdown, .select2-container .select2-selection {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0px !important;
}
.select2-results {
    background: #fff !important;
}



body.woocommerce-checkout #coupon_code::placeholder {
color: #7b7b7b !important;
}



body.woocommerce-checkout #billing_email::placeholder {
color: #7b7b7b !important;
}

button#place_order{

width: 100%;
height: 48px;
background: linear-gradient(180deg, #1F79FF 0%, #0061F1 100%);
color: #ffffff;
font-weight: 600;
border: 0;
border-radius: 100px;
box-shadow:
0px 4.25px 6.38px -4.25px rgba(0, 0, 0, 0.10),
0px 10.64px 15.96px -3.19px rgba(0, 0, 0, 0.10);
}

.checkout_coupon button.button,
.checkout_coupon input[type="submit"] {
width: 100%;
background: linear-gradient(180deg, #1F79FF 0%, #0061F1 100%);
color: #ffffff;
font-weight: 600;
line-height: 22px;
border: 0;
border-radius: 100px;
box-shadow:
0px 4.25px 6.38px -4.25px rgba(0, 0, 0, 0.10),
0px 10.64px 15.96px -3.19px rgba(0, 0, 0, 0.10);
}

.checkout_coupon button.button:hover,
.checkout_coupon button.button:focus,
.checkout_coupon button.button:active,
.checkout_coupon input[type="submit"]:hover,
.checkout_coupon input[type="submit"]:focus,
.checkout_coupon input[type="submit"]:active {
background: linear-gradient(180deg, #1F79FF 0%, #0061F1 100%);
color: #ffffff;
box-shadow:
0px 4.25px 6.38px -4.25px rgba(0, 0, 0, 0.10),
0px 10.64px 15.96px -3.19px rgba(0, 0, 0, 0.10);align-items

}
/* Always show coupon form */
.checkout_coupon.woocommerce-form-coupon {
display: block !important;
}

/* Hide the “Have a coupon?” toggle row */
.woocommerce-form-coupon-toggle {
display: none !important;
}

.woocommerce form.checkout_coupon{

border: none;
}



.woocommerce form .form-row label{
display: none !important;
}

@media (max-width: 767px) {

form.woocommerce-checkout {
display: flex !important;
flex-direction: column !important;
}

#customer_details {
order: 1 !important;
width: 100% !important;
padding: 0px !important;
}

#order_review_heading,
#order_review {
order: 2 !important;
width: 100% !important;
}

#payment {
order: 3 !important;
width: 100% !important;
margin-top: 20px !important;
}
}




body.woocommerce-checkout .page-header {
margin-top: 40px !important;
text-align: left !important;
}

/* Left align checkout title inside Elementor Hello theme header */
body.woocommerce-checkout .page-header,
body.woocommerce-checkout .page-header .entry-title {
text-align: center !important;
margin-left: 0 !important;
margin-bottom: 30px;
}



/* Make coupon input + button sit in a neat row */
.checkout_coupon.woocommerce-form-coupon {

display: flex !important;

}

form#woocommerce-checkout-form-coupon{

width: 100%;

padding: 5px 0px 0px 0px;
gap: 12px;

}

#coupon_code::placeholder {
color: #000 !important; /* black */
opacity: 1 !important; /* ensure visible */
}



fieldset#wc-stripe-upe-form{

border: none;
padding: 0px;
}

/* a.button.wc-forward{

background: #3B9B9B !important;
border: 2px solid black !important;
border-radius: 10px !important;
color: white !important;
} */


#billing_email::placeholder {
color: #000 !important;
opacity: 1 !important;
}


/*================================
AMENDS AFTER LIVE
==================================*/

.hide-billing-title #billing-details-title {
display: none !important;
}

/* Spinner inside Place Order button */
#place_order.processing {
position: relative;
opacity: 0.8;
}

#place_order.processing::after {
content: "";
width: 16px;
height: 16px;
border: 2px solid black;
border-top-color: transparent;
border-radius: 50%;
animation: spin 0.6s linear infinite;
position: absolute;
right: -25px; /* adjust to move spinner closer/farther */
top: 50%;
transform: translateY(-50%);
}

@keyframes spin {
from { transform: translateY(-50%) rotate(0deg); }
to { transform: translateY(-50%) rotate(360deg); }
}


.woocommerce-checkout #payment div.payment_box::before{

display: none;

}

a.added_to_cart.wc-forward{

display: none;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price{

color: black !important;

}


/* ===============================
New Checkout Journey CSS Code
=============================== */

/* Hide payment + billing section until auth flow completes */
.checkout-payment-wrapper {
display: none;
}

body.account-verified .checkout-payment-wrapper {
display: block;
}



.wc-auth-btn {
position: relative;
}

.btn-spinner {
position: absolute;
right: 16px;
top: 50%;
width: 18px;
height: 18px;
margin-top: -9px;

border: 2px solid #fff;
border-top-color: #C7C7C7;
border-radius: 50%;

display: none;
animation: wc-spin 0.8s linear infinite;
}

.wc-auth-btn.loading {
pointer-events: none;
opacity: 0.85;
}

@keyframes wc-spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}


.woocommerce-checkout input#coupon_code{

line-height: 22px !important;
border-radius: 100px !important;
}

/* Coupon code placeholder color */
#coupon_code::placeholder {
color: #7b7b7b !important;
opacity: 1;
}


.woocommerce-cart input#coupon_code{

border-radius: 100px !important;
font-size: 18px !important;
line-height: 26px !important;
}

/* Spinner inside Place Order button */
#place_order.processing {
position: relative;
opacity: 0.8;
}

#place_order.processing::after {
content: "";
width: 16px;
height: 16px;
border: 2px solid white;
border-top-color: transparent;
border-radius: 50%;
animation: spin 0.6s linear infinite;
position: absolute;
right: 10px; /* adjust to move spinner closer/farther */
top: 50%;
transform: translateY(-50%);
}

@keyframes spin {
from { transform: translateY(-50%) rotate(0deg); }
to { transform: translateY(-50%) rotate(360deg); }
}


@media (max-width: 767px)
{

button#btn-submit-email
{
margin-bottom: 20px;

}
}
/*
.woocommerce form.checkout_coupon{

margin: 0;

} */

.thankyou-page table.woocommerce-table.woocommerce-table--custom-fields.shop_table.custom-fields{

display: none !important;
}

.form-row.place-order {
width: 100%;
}

.form-row.place-order button,
.form-row.place-order .button,
#place_order {
width: 100%;
display: block;
}

.email-summary{

display: none;
}

.woocommerce-billing-fields > h3 {
position: relative;
font-size: 0;
}


body:not(.account-verified)
.woocommerce-billing-fields > h3::before {
content: "1. Log in or Create an Account";
font-size: 22px;
font-weight: 700;
}

body.account-verified
.woocommerce-billing-fields > h3::before {
content: attr(data-heading);
font-size: 22px;
font-weight: 700;
}


/* Divider below Account Details heading */
body.account-verified
.woocommerce-billing-fields > h3 {
position: relative;
padding-bottom: 14px;
margin-bottom: 24px;
}

/* Horizontal line */
body.account-verified
.woocommerce-billing-fields > h3::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 1px;
background: #e5e7eb; /* light grey divider */
}


body.account-verified .woocommerce-billing-fields > h3 {
font-size: 22px;
font-weight: 700;
margin-bottom: 10px;
}

body.account-verified .acc-email {
font-size: 16px;
color: #555;
font-weight: 500;
margin-left: 6px;
}

.acc-check {
display: inline-flex;
align-items: center;
margin-left: 2px;
transform: translateY(1px); /* optical alignment */
}



/* Email-first checkout: hide fields initially */
.woocommerce-checkout
#billing_full_name_field,
.woocommerce-checkout
#billing_phone_field,
.woocommerce-checkout
#billing_password_field,
.woocommerce-checkout
#billing_whatsapp_optin_field {
display: none;
}

body.email-verified
#billing_full_name_field,
body.email-verified
#billing_phone_field,
body.email-verified
#billing_password_field,
body.email-verified
#billing_whatsapp_optin_field {
display: block;
}

.show-password-input:hover{

background-color: transparent !important;

}

.woocommerce-message::before {
content: "\e015";
color: #3B9B9B;
}

.woocommerce-message {
border-top-color: #3B9B9B;

}
@media (max-width:767px)

{
.woocommerce-message {

display: flex !important;
flex-wrap: wrap !important;
gap: 20px !important;
}
}


/* .woocommerce-checkout .elementor-menu-cart__container.elementor-lightbox {
pointer-events: none;
}
 */
/* Checkout page only – hide ONLY the checkout button in side cart */
body.woocommerce-checkout 
.elementor-menu-cart__footer-buttons 
.elementor-button--checkout {
    display: none !important;
}
body.woocommerce-checkout 
.elementor-menu-cart__footer-buttons {
	
	display: flex;
justify-content: center;
}


/* Checkout page only – hide remove (X) icon in side cart */
body.woocommerce-checkout 
.elementor-menu-cart__product-remove {
    display: none !important;
}


#wc-auth-box {
margin-top:25px;
}

#wc-auth-box input {
height:46px;
margin-bottom:12px;
color: #4d4d4d !important;
border-radius: 14px;
font-family: 'Mulish', sans-serif;
font-size: 16px !important;
font-weight: bold;
border: 0;
padding: 10px 14px;
box-shadow:
0 1.06px 2.13px -1.06px rgba(0, 0, 0, 0.10),
0 1.06px 3.19px 0 rgba(0, 0, 0, 0.10);

}

/* =====================
AUTH BUTTON
===================== */

.wc-auth-btn {
width: 100%;
height: 48px;
background: linear-gradient(180deg, #1F79FF 0%, #0061F1 100%);
color: #ffffff;
font-weight: 600;
font-size: 18px;
border: 0;
border-radius: 12px;
box-shadow:
0px 4.25px 6.38px -4.25px rgba(0, 0, 0, 0.10),
0px 10.64px 15.96px -3.19px rgba(0, 0, 0, 0.10);
}

.wc-auth-btn:hover {
background: linear-gradient(180deg, #1F79FF 0%, #0061F1 100%);
color: #ffffff !important;
box-shadow:
0px 6px 10px -3px rgba(0, 0, 0, 0.15),
0px 14px 22px -2px rgba(0, 0, 0, 0.15);
}

.wc-auth-btn + .wc-auth-btn {
margin-top:12px;
}

/* =====================
OTP / ERROR STATES
===================== */

#wc-resend-otp {
display:block;
margin-top:10px;
text-align:center;
color:#35BABA;
cursor: pointer;
}

#wc-resend-otp.disabled {
pointer-events: none;
color: black;
cursor: not-allowed;
text-decoration: none !important;
}

#wc-auth-error {
color:red !important;
margin-top:10px;
}

#wc-auth-error.success {
color:#16a34a !important;
}

/* =====================
EMAIL UI
===================== */

.checkout-email-desc {
margin-top:-5px;
margin-bottom:20px;
color:#555;
font-size:14px;
}

.checkout-email-desc a {
color: black !important;
}

.shipping-helper-text{
	
margin-top: 5px;
margin-bottom:20px;
line-height: 20px;
color:#555;
font-size:14px;
font-weight: 500;
}

.shipping-helper-text a{
	
	color: black !important;
}

.checkout-welcome {
display:none;
color:#555;
margin-bottom:10px;
font-size:16px;
width:100%;
max-width:550px;
}

.email-summary {
margin-bottom:20px;
font-weight:600;
}

.email-summary .check {
color:#16a34a;
margin-left:6px;
}

/* =====================
WHATSAPP FIELD
===================== */

#billing_whatsapp_optin_field {
display:block !important;
}

#billing_whatsapp_optin_field label {
display:inline-block !important;
opacity:1 !important;
font-size:14px;
color:#555;
visibility:visible !important;
}

#billing_whatsapp_optin_field .optional {
display:none !important;
}

/* Hide WhatsApp when locked */
body.whatsapp-optin-locked #billing_whatsapp_optin_field {
display:none !important;
}

/* =====================
COUPON — FORCE ONE LINE
===================== */

#checkout-order-review-wrapper #woocommerce-checkout-form-coupon {
display:flex !important;
align-items:center;
gap:12px !important;
}

#woocommerce-checkout-form-coupon .form-row {
margin:0 !important;
padding:0 !important;
width:auto !important;
float:none !important;
}

#woocommerce-checkout-form-coupon .form-row-first {
flex:1;
}

#woocommerce-checkout-form-coupon .form-row-last {
flex:0 0 auto;
}

@media (max-width: 768px) {

.checkout_coupon.woocommerce-form-coupon {
display: block !important;
}

#woocommerce-checkout-form-coupon .form-row {
width: 100% !important;
margin: 0 0 12px 0 !important;
float: none !important;
}

#woocommerce-checkout-form-coupon .form-row-last {
margin-bottom: 0 !important;
}

#woocommerce-checkout-form-coupon button,
#woocommerce-checkout-form-coupon input[type="submit"] {
width: 100% !important;
}

}



/* ========================
WHATSAPP POP UP
=========================== */

#wa-popup-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
}

#wa-popup {
position: relative;
width: 100%;
max-width: 350px;
}

.wa-card {
/* Fallback color */
background-color: #6FD071;

/* Background image */
background-image: url("https://wisecompass.com/wp-content/uploads/2026/01/WA-POP-UP.webp");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
border-radius: 18px;
padding: 48px 28px 22px;
width: 100%;
max-width: 540px;
text-align: center;

/* box-shadow: 0px 1px 37px 70px rgba(77, 77, 77, 0.5); */
}



#wa-close-btn {
position: absolute;
right: 14px;
background: none;
border: none;
font-size: 28px;
color: #ffffff;
cursor: pointer;
}

.wa-cta {
display: inline-flex;
align-items: center;
gap: 10px;
background: #000000;
color: #ffffff;
padding: 12px 34px;
border-radius: 999px;
text-decoration: none;
font-weight: 700;
font-size: 16px;
margin-bottom: 14px;
}

.wa-cta img {
width: 28px;
height: 28px;
}


.wa-text {
font-size: 18px;
line-height: 1.4;
color: #000000;
}


@media (max-width: 480px) {
.wa-card {
min-width: 280px;
}
}




/* ========================
    KNOWLEDGE BASE CSS
=========================== */

.eckb-article-content-created-date-container, .eckb-article-content-last-updated-date-container{
	
	color: black !important;
}

h1.eckb-article-title {
    line-height: 48px;
}



/* ========================
    SORT CODE
=========================== */

.custom-wc-sort {
            position: relative;
            display: inline-block;
        }

        .custom-wc-sort-select {
            appearance: none;
            -webkit-appearance: none;
            background-color: #1e5bff;
            color: #ffffff;
            font-size: 15px;
            font-weight: 600;
            padding: 12px 44px 12px 20px;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            line-height: 1;
        }

        .custom-wc-sort::after {
            content: '';
            position: absolute;
            right: 18px;
            top: 50%;
            width: 6px;
            height: 6px;
            border-right: 2px solid #ffffff;
            border-bottom: 2px solid #ffffff;
            transform: translateY(-50%) rotate(45deg);
            pointer-events: none;
        }

        .custom-wc-sort-select:focus {
            outline: none;
        }

/* ========================
    SEARCH CODE
=========================== */

 .library-search-wrap {
            display: flex;
            align-items: center;
            background: #ffffff;
            border-radius: 999px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
            max-width: 420px;
        }

        .library-search-input {
            flex: 1;
            border: none !important;
            outline: none !important;
            padding: 12px 18px;
            font-size: 14px;
            border-radius: 999px;
            background: transparent;
        }

        .library-search-input::placeholder {
            color: #4d4d4d;
        }

        .library-search-button {
            background: linear-gradient(180deg, #2f6bff, #1e5bff);
            color: #ffffff;
            border: none;
            border-radius: 999px;
            padding: 10px 22px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
        }

        .library-search-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
 button.library-search-button:hover{
    color: #ffffff;
}


 .library-no-results {
            width: 100%;
            text-align: center;
            padding: 60px 20px;
            font-size: 18px;
            font-weight: 600;
	 color: #0f172a;}


@media (max-width: 768px) {

    .yith-wcan-filter .filter-content {
        display: none;
    }

    .yith-wcan-filter.is-open .filter-content {
        display: block;
    }

    .yith-wcan-filter .filter-title {
        cursor: pointer;
        position: relative;
        padding-right: 28px;
    }

    .yith-wcan-filter .filter-title::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-50%) rotate(45deg);
        transition: transform 0.25s ease;
    }

    .yith-wcan-filter.is-open .filter-title::after {
        transform: translateY(-50%) rotate(-135deg);
    }
	
	 .yith-wcan-filter .filter-title {
        pointer-events: auto;
    }
}






/* ===== FORCE FILTER COLUMN WIDTH (CRITICAL) ===== */
.yith-wcan-filters {
    max-width: 320px;
}

/* ===== SPACE BETWEEN ITEMS ===== */
.yith-wcan-filter .filter-items > li {
    margin-bottom: 16px;
}

/* ===== GRID LAYOUT: FIXED CHECKBOX + TEXT ===== */
.yith-wcan-filter .filter-items label {
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 12px;
    align-items: start;
    cursor: pointer;
}

/* ===== CUSTOM CHECKBOX ===== */
.yith-wcan-filter input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #1F79FF;
    border-radius: 4px;
    background-color: none;
    position: relative;
    margin-top: 2px;
}

/* Checked state */
.yith-wcan-filter input[type="checkbox"]:checked {
    background-color: #1F79FF;
    border-color: #1F79FF;
}

/* White tick */
.yith-wcan-filter input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ===== TEXT BLOCK ===== */
.yith-wcan-filter .term-label {
    display: block;
    max-width: 240px;
    font-size: 15px;
    line-height: 1.5;
    color: #0F172A;
    text-decoration: none;
    word-break: break-word;
}

/* Keep text dark when checked */
.yith-wcan-filter input[type="checkbox"]:checked + .term-label {
    font-weight: 500;
}

/* Space between each filter item */
.yith-wcan-filter .filter-items > li {
    padding-bottom: 16px;
}

/* Remove extra space after last item */
.yith-wcan-filter .filter-items > li:last-child {
    padding-bottom: 0;
}


/* ================================
ADDRESS FIELDS — EMAIL-FIRST LOCK //newcode
================================ */

/* Hide billing address fields until Shipping step is active */
body:not(.shipping-step-active)
#billing_address_1_field,
body:not(.shipping-step-active)
#billing_city_field,
body:not(.shipping-step-active)
#billing_postcode_field,
body:not(.shipping-step-active)
#billing_country_field {
    display: none !important;
}