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

.woocommerce-cart .elementor-widget-woocommerce-cart .product-thumbnail {
display: table-cell !important;
width: 60px !important;
vertical-align: middle !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;
}


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


}

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

display: none;
}

/* 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: "Source Sans Pro", 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: "Source Sans Pro", 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{

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);

}



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;
}

.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;
}