/**
 * SFX Core PayLater - former WordPress "Additional CSS" for paylater.sfxfunded.com,
 * now shipped with the theme. (Stray closing brace after .wc_payment_method .payment_box removed.)
 */

#add_payment_method #payment ul.payment_methods li img, .woocommerce-cart #payment ul.payment_methods li img, .woocommerce-checkout #payment ul.payment_methods li img {
	height: 20px;}


.elementor-widget-woocommerce-checkout-page .woocommerce .wc_payment_method label {
    display: inline-block !important;
}
/* Checkout Add-Ons card: legacy PayLater rules replaced by the SFX Core card (see end of file). */

a.added_to_cart.wc-forward {
    display: none;
}


:root {
    --button-bg-color: #ff69b4; /* Light pink */
    --button-hover-color: #ff1493; /* Darker pink */
    --form-border-color: #ff69b4; /* Pink border */
    --form-bg-color: #000000; /* Pure black background */
    --text-color: #ffffff; /* White text */
}

/* General form styling */
.affwp-form {
    background-color: var(--form-bg-color); /* Pure black background */
    padding: 20px; /* Add padding for desktop */
    border: 2px solid var(--form-border-color); /* Pink border */
    border-radius: 8px; /* Rounded corners */
    position: relative; /* For heading to pierce through the border */
    box-shadow: 0 0 10px var(--form-border-color); /* Pink glow effect around the form */
}

/* Remove padding for mobile */
@media screen and (max-width: 768px) {
    .affwp-form {
        padding: 10px; /* Reduce padding on mobile */
    }
}

/* Styling for form heading (legend) to pierce the border */
.affwp-form fieldset {
    border: none; /* Remove default fieldset border */
    padding: 0;
    margin: 0;
    position: relative;
}

.affwp-form legend {
    margin-left: 20px; /* Adjust left margin for desktop */
    margin-top: -23px; /* Move the legend upwards */
    padding: 0 10px; /* Padding around the text */
    background-color: var(--form-bg-color); /* Match the background to blend with the form */
    color: var(--form-border-color); /* Pink heading */
    font-size: 1.5em;
    font-weight: bold; /* Bold text */
    position: absolute;
    top: -16px; /* Adjust position to match the new margin */
    left: 10px;
}

/* Input field styling */
.affwp-field, .affwp-form input[type="text"], .affwp-form input[type="email"], .affwp-form input[type="password"], .affwp-form textarea {
    background-color: #222; /* Dark input background */
    color: var(--text-color); /* White text */
    font-weight: bold; /* Bold text */
    border: 1px solid var(--form-border-color); /* Pink border */
    border-radius: 4px;
    padding: 10px;
    width: 100%; /* Full-width inputs */
    margin-bottom: 10px; /* Space between inputs */
}

/* Paragraph text styling */
.affwp-form p, .affwp-form label {
    color: var(--text-color); /* White text */
    font-weight: bold; /* Bold text */
}

/* Input focus glow */
.affwp-field:focus, .affwp-form input:focus, .affwp-form textarea:focus {
    outline: none;
    box-shadow: 0 0 5px var(--form-border-color), 0 0 10px var(--form-border-color); /* Pink glow on focus */
}

/* Button styling */
.affwp-form .button {
    background-color: var(--button-bg-color); /* Pink button */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    font-weight: bold; /* Bold text */
}

/* Button hover effect */
.affwp-form .button:hover {
    background-color: var(--button-hover-color); /* Darker pink on hover */
    box-shadow: 0 0 8px var(--button-bg-color), 0 0 12px var(--button-bg-color); /* Light glow after hover */
}

/* Lost password link styling */
.affwp-lost-password a {
    color: var(--button-bg-color); /* Pink link */
    text-decoration: none;
    font-weight: bold; /* Bold text */
}

/* Lost password hover effect */
.affwp-lost-password a:hover {
    text-decoration: underline;
}

.affwp-card .affwp-card__header:not(.affwp-affiliate-link__tooltip) * {

    color: white;
}


.affwp-link-sharing__text {
    color: white;
}

/* Remove borders from WooCommerce order info table */
.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border: none !important;
}
/* Increase font size for product total */
.woocommerce table.shop_table td.product-total {
    font-size: 1.2em;
	  font-weight:700;
}
.woocommerce-billing-fields {
    background: white;
    padding-top: 1em;
    padding-right: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    border-radius: 2em;
}


.woocommerce-message {display:none}


.elementor-jet-checkout-coupon-form p.form-row-last{ width:30%;
}
.elementor-jet-checkout-coupon-form p.form-row-first{width:70%}

/* Style for checkout checkboxes */
#checkout-terms-checkbox,
#checkout-privacy-checkbox {
    display: flex;
    align-items: flex-start; /* Align checkbox with the first letter */
    margin-bottom: 12px; /* Space between checkboxes */
}

/* Ensure the label and checkbox align correctly */
#checkout-terms-checkbox label,
#checkout-privacy-checkbox label {
    display: flex;
    align-items: flex-start; /* Align text and checkbox properly */
    gap: 7px; /* Space between checkbox and text */
}

/* Ensure checkbox is properly positioned */
#checkout-terms-checkbox input[type="checkbox"],
#checkout-privacy-checkbox input[type="checkbox"] {
    margin-top: 10px; /* Adjust for better alignment with text */
}

label[for="90-profit-split"] {
    font-weight: bold;
    font-size: 1.5em;
    color: #333; /* Adjust color as needed */
    display: block; /* Ensures it takes a full line */
    margin-bottom: 5px; /* Adds spacing below */
}
.form-row.form-row-last .button[name="apply_coupon"] {
   padding:1em;
border-radius:2em;
color:white;
background-color:#D154C7;

}
input#coupon_code {
    border-radius: 1em;
    border-color: black;
    padding: 0.8em;
}
.wc_payment_method {
    display: flex;
    align-items: flex-start; /* Aligns radio button to the top */
	vertical-align:middle
}

.wc_payment_method input[type="radio"] {
    margin-top: 6px !Important;; /* Adjusts alignment to top */
    margin-right: 5px; /* Adds spacing between radio and text */
}

.wc_payment_method label {
    display: block;
    word-break: break-word; /* Ensures text breaks word-by-word */
    max-width: 100%; /* Prevents text from spreading too wide */
    line-height: 1.5; /* Improves readability */
}
.wc_payment_method .payment_box {
    display: none !Important; /* Ensures payment box is hidden by default */

}

a.woocommerce-privacy-policy-link {
    text-transform: capitalize;
}

.woocommerce-info {
    display: none;
    border-radius: 1em;
}

/* Link inside the coupon info */
.woocommerce-info a.showcoupon {
    color: #DE5CD4;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.woocommerce-info a.showcoupon:hover {
    color: #b14ba8; /* slightly darker on hover */
}

/* Optional: Add an icon before the text */
.woocommerce-info::before {

    font-weight: 900;
    color: #DE5CD4;
    margin-right: 10px;
}


.wt_coupon_wrapper {
    display: none;
}

/* Checkout billing fields: full width + visible 2px border only */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: block !important;
  width: 100% !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
}

/* Normal inputs */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input.input-text,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input[type="text"],
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input[type="email"],
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input[type="tel"],
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input[type="password"],
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper textarea,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper select {
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  border: 2px solid #b8b8c2 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  padding: 0 12px !important;
  color: #111111 !important;
}

/* Country / state Select2 dropdown */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-selection--single {
  width: 100% !important;
  height: 42px !important;
  border: 2px solid #b8b8c2 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-selection__rendered {
  line-height: 38px !important;
  padding-left: 12px !important;
  color: #111111 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-selection__arrow {
  height: 40px !important;
}

/* Focus */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input:focus,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper textarea:focus,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper select:focus,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-container--open .select2-selection--single {
  border-color: #d94bdd !important;
  outline: none !important;
}

.site-header {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	text-align: center;
}

.site-header .brand,
.site-header .brand-centered {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.site-header .brand-logo {
	display: block;
	margin: 0 auto;
	max-height: 36px;
	width: auto;
}

.site-header .live-badge,
.site-header .back-link {
	display: none !important;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {background:none; padding:1em; margin-top:1em}

/* Hide Omnisend checkout opt-ins only inside #sfx-billing */
#sfx-billing .omnisend_newsletter_checkbox_field,
#sfx-billing .omnisend_sms_checkbox_field,
#sfx-billing p.form-row:has(#omnisend_newsletter_checkbox),
#sfx-billing p.form-row:has(#omnisend_sms_checkbox) {
  display: none !important;
}


/* ---------- Synced from SFX Core (checkout) ---------- */
/* Promo top bar: breathing room on top, readable 13px single-line text on mobile.
   Pairs with the sfx_render_top_bar() markup in inc/template-parts.php. */
.sfx-topbar { padding-top: 10px; }

@media (max-width: 767px) {
  .sfx-topbar { padding: 13px 0 4px !important; }

  .sfx-topbar__inner {
    padding-top: 10px !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .sfx-topbar__text {
    display: block !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    margin: 0 !important;
    scrollbar-width: none;
  }
}

/* Hide "(optional)" markers on checkout fields. */
.optional { display: none !important; }

/* Checkout Add-Ons card (WooCommerce Checkout Add-Ons plugin). */
#wc_checkout_add_ons {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(21, 22, 33, .06);
  padding: 26px;
  margin: 0 0 24px;
}

#wc_checkout_add_ons > h3,
#wc_checkout_add_ons .wc-checkout-add-ons-title,
#wc_checkout_add_ons > .form-row:first-of-type > label:first-of-type {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: #1e1d24;
}

#wc_checkout_add_ons > .form-row:first-of-type > label:first-of-type { display: block; }

#wc_checkout_add_ons .form-row {
  border-top: 1px solid #f1f1f4;
  padding: 18px 0 0;
  margin: 0 0 14px;
}

#wc_checkout_add_ons .form-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

#wc_checkout_add_ons .woocommerce-input-wrapper {
  display: grid;
  grid-template-columns: 18px auto;
  column-gap: 8px;
  row-gap: 16px;
  align-items: center;
}

#wc_checkout_add_ons .woocommerce-input-wrapper br,
#wc_checkout_add_ons .woocommerce-input-wrapper > input[type="hidden"] { display: none; }

#wc_checkout_add_ons .input-checkbox {
  margin: 0;
  transform: translateY(-5px);
}

#wc_checkout_add_ons label.checkbox {
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
}
