/* wps_avada_add_popup */
.mwb-offer-regular-overlay_sale {
  content: '';
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
  position: fixed;
  background-color: #0000008c;
  z-index: 999999999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transition: opacity .6s cubic-bezier(.55, 0, .1, 1), visibility .6s cubic-bezier(.55, 0, .1, 1);
  display: none
}

.mwb-offer-regular-overlay-content {
  width: auto;
  height: auto;
  margin: 0 auto;
  max-width: 750px;
  position: relative;
  transition: all .6s cubic-bezier(.55, 0, .1, 1);
  top: 50%;
  transform: translateY(-50%);
}

.mwb-offer-regular-overlay-content a {
  display: table;
  margin: 0 auto;
  cursor: pointer
}

.mwb-offer-regular-sale-img {
  padding: 15px;
  border-radius: 25px;
}

.mwb-offer-regular-overlay-close {
  color: #00b0f5;
  cursor: pointer;
  position: absolute;
  background-color: #fff;
  top: 0;
  right: 0;
  border: 2px solid #00b0f5;
  border-radius: 50%;
  padding: 14px 6px;
  line-height: 0;
}

@media only screen and (max-width:767px) {
  .mwb-offer-regular-overlay-close {
    padding: 12px 6px 16px
  }
}

/* custom_exit_different_popup */
/* Modal Wrapper */
.mwb-connect-wrapper {
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
}

.mwb-connect-modal,
.mwb-connect-thankyou-modal {
  position: fixed;
  z-index: 99998;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
}

.mwb-connect-modal.is-visible,
.mwb-connect-thankyou-modal.is-visible {
  visibility: visible;
}

.mwb-connect-modal-overlay {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.mwb-connect-modal.is-visible .mwb-connect-modal-overlay,
.mwb-connect-thankyou-modal.is-visible .mwb-connect-modal-overlay {
  opacity: 1;
  visibility: visible;
}

.mwb-connect-modal-wrapper,
.mwb-connect-thankyou-modal .mwb-connect-modal-wrapper {
  position: absolute;
  z-index: 9999;
  left: 50%;
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
  top: 50%;
  transform: translate(-50%, -50%) !important;
  border-radius: 20px;
  overflow: hidden;
}

.mwb-connect-modal-transition {
  transition: all 0.3s 0.12s;
  transform: translateY(-10%);
  opacity: 0;
}

.mwb-connect-modal.is-visible .mwb-connect-modal-transition,
.mwb-connect-thankyou-modal.is-visible .mwb-connect-modal-transition {
  transform: translateY(0);
  opacity: 1;
}

.mwb-connect-modalinner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.mwb-connect-modal-col {
  flex: 0 0 100%;
  max-width: 100%;
}

.mwb-connect-modal-content {
  padding-left: 30px;
}

/* Fixed thank you modal content - centered and same height */
.mwb-connect-thankyou-modal .mwb-connect-modal-content {
  padding: 30px;
  text-align: center;
}

.mwb-connect-modal-heading {
  font-size: 24px;
  line-height: 36px;
  margin: 0 0 5px;
}

.mwb-connect-modal-para {
  font-size: 16px;
  line-height: 24px;
  color: #454f5b;
}

.mwb-connect-modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: 600;
  color: #666;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.mwb-connect-modal-close.countdown {
  background: conic-gradient(#ff3c1f 0deg, #ff3c1f var(--progress, 0deg), #f0f0f0 var(--progress, 0deg));
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
  animation: pulse 1s ease-in-out infinite;
}

.mwb-connect-modal-close.countdown::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #ff3c1f;
  border-radius: 50%;
  z-index: -1;
}

.mwb-connect-modal-close.enabled {
  cursor: pointer;
  background-color: #fff;
  color: #666;
  border: 2px solid #e5e7eb;
  font-size: 16px;
  font-weight: 400;
}

.mwb-connect-modal-close.enabled:hover {
  background-color: #f9fafb;
  border-color: #ff3c1f;
  color: #ff3c1f;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 60, 31, 0.2);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.mwb-connect-input input {
  padding: 14px 16px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  font-size: 16px;
  display: block;
  width: 100%;
  margin-bottom: 8px;
}

.mwb-connect-modal-button {
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  color: #fff;
  background-color: #ff3c1f;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
}

#mwb-connect-error-text {
  color: red;
  font-size: 16px;
  display: none;
}

.mwb-connect-link-button {
  color: #6727da;
  text-decoration: underline;
}

.mwb-connect-modal-image {
  width: 400px;
  height: 360px;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  order: 1;
  flex-grow: 0;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
}

.mwb-connect-modal-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mwb-connect-input input::-webkit-input-placeholder {
  color: #9ca3af;
}

.mwb-connect-input input::-moz-placeholder {
  color: #9ca3af;
}

.mwb-connect-input input:-ms-input-placeholder {
  color: #9ca3af;
}

.mwb-connect-input input::-ms-input-placeholder {
  color: #9ca3af;
}

.mwb-connect-thankyou-modal .mwb-connect-modal-image {
  width: 400px;
  height: 360px;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  order: 1;
  flex-grow: 0;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
}

.mwb-connect-thankyou-modal .mwb-connect-modal-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mwb-connect-thankyou-modal .mwb-connect-modalinner {
  justify-content: center;
  text-align: center;
}

.mwb-connect-thankyou-modal .mwb-connect-modal-heading {
  font-size: 24px;
  line-height: 36px;
  font-weight: bold;
  white-space: nowrap;
}

.mwb-connect-thankyou-modal .mwb-connect-modal-image {
  margin-right: 0;
}

@media screen and (min-width: 768px) {
  .mwb-connect-modalinner {
    flex-wrap: nowrap;
  }

  .mwb-connect-modal-col {
    max-width: calc(50% - 20px);
  }

  .mwb-connect-modal-heading {
    font-size: 22px;
    line-height: 40px;
    font-weight: bold;
    white-space: nowrap;
  }
}

@media screen and (max-width: 767px) {
  .mwb-connect-modal-image {
    display: none;
  }

  .mwb-connect-modal-col {
    max-width: 100%;
  }
}

/* Festive CRM Modal */
.festive-crm-modal {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.festive-crm-modal.is-visible {
  visibility: visible;
}

.festive-crm-modal-overlay {
  display: none;
}

.festive-crm-modal-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.festive-crm-modal-wrapper {
  position: fixed;
  z-index: 9999;
  left: 20px;
  bottom: 20px;
  width: 250px;
  height: 120px;
  background: linear-gradient(135deg, #7c3aed 0%, #6b21a8 100%);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.6), 0 0 20px rgba(124, 58, 237, 0.4);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.festive-crm-modal-content {
  padding: 12px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.festive-crm-modal-close {
  display: none;
}

.festive-crm-heading {
  font-size: 14px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  transition: color 0.2s ease, transform 0.2s ease, text-decoration-color 0.2s;
  cursor: pointer;
}

.festive-crm-modal-link:hover .festive-crm-heading {
  text-decoration: underline;
  transform: scale(1.05);
}

.festive-crm-modal-wrapper {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.festive-crm-modal-link:hover .festive-crm-modal-wrapper {
  transform: translateY(-4px);
  box-shadow: 0 12px 45px rgba(255, 215, 0, 0.5);
  cursor: pointer;
}

.festive-crm-timer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.festive-crm-timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.festive-crm-timer-value {
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  min-width: 40px;
  letter-spacing: 0;
  backdrop-filter: blur(10px);
}

.festive-crm-timer-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.3px;
}

@media screen and (max-width: 767px) {
  .festive-crm-modal-wrapper {
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 480px) {
  .festive-crm-modal-wrapper {
    width: 220px;
    height: 110px;
  }

  .festive-crm-heading {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .festive-crm-timer-section {
    gap: 4px;
  }

  .festive-crm-timer-value {
    font-size: 16px;
    padding: 5px 8px;
    min-width: 35px;
  }

  .festive-crm-timer-label {
    font-size: 8px;
  }
}

/* wa-strategy-modal */
.wa-strategy-modal {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wa-strategy-modal.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.wa-strategy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
}

.wa-strategy-modal.is-visible .wa-strategy-overlay {
  display: block;
}

.wa-strategy-wrapper {
  position: fixed;
  z-index: 10000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 528px;
  max-width: 92vw;
  background: #2e9e4f;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  overflow: hidden;
  pointer-events: auto;
}

.wa-strategy-content {
  padding: 36px 32px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wa-strategy-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: black;
  line-height: 1;
  pointer-events: auto;
}

.wa-strategy-heading {
  font-size: 48px !important;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.wa-strategy-subtext {
  font-size: 20px !important;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 22px;
  line-height: 1.6;
}

.wa-strategy-input-wrap {
  width: 100%;
  position: relative;
  margin-bottom: 12px;
}

.wa-strategy-input-icon {
  position: absolute;
  left: 14px;
  top: 60%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 15px;
  pointer-events: none;
}

.wa-strategy-email-input {
  width: 100% !important;
  padding: 13px 16px 13px 40px !important;
  border-radius: 8px !important;
  border: none !important;
  font-size: 14px !important;
  color: #333 !important;
  background: #fff !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.wa-strategy-email-input::placeholder {
  color: #aaa;
}

.wa-strategy-cta-btn {
  width: 100%;
  padding: 14px 40px;
  background: #fff;
  color: #2e9e4f;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  box-sizing: border-box;
}

.wa-strategy-cta-btn-subtext {
  border-right: 1.5px solid #ABF4CB;
  padding-right: 36px;
}

.wa-strategy-cta-arrow {
  padding-top: 8px !important;
  font-size: 18px;
  font-weight: 700;
}

.wa-strategy-consent-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wa-strategy-consent-checkbox {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: #fff;
  cursor: pointer;
}

.wa-strategy-consent-text {
  font-size: 16px !important;
  color: #F6F8FA;
  line-height: 1.5;
}

.wa-strategy-consent-text a {
  color: #F6F8FA;
  text-decoration: underline;
}

@media screen and (max-width: 480px) {
  .wa-strategy-wrapper {
    width: 94vw;
  }

  .wa-strategy-content {
    padding: 28px 22px 24px;
  }

  .wa-strategy-heading {
    font-size: 28px;
  }

  .wa-strategy-subtext {
    font-size: 14px;
  }
}

/* mwb_comment_form_final_css */
.comment-form-url {
  display: none !important;
}

.comment-form-author,
.comment-form-email {
  width: 48% !important;
  display: inline-block !important;
  vertical-align: top;
  box-sizing: border-box;
}

.comment-form-author {
  margin-right: 4%;
}

.comment-form-cookies-consent {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  margin-top: 18px !important;
  clear: both;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  transform: scale(1.1);
  cursor: pointer;
}

.comment-form-cookies-consent label {
  display: inline-block !important;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.comment-form-captcha {
  width: 100% !important;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-form-captcha input[type="text"] {
  width: 120px !important;
}

/* =====================================================
   MWB CHECKOUT FIX 1: Place Order Loading Overlay
   Shows a spinner so users see activity during the
   ~30 second processing window instead of a blank screen.
   ===================================================== */
#mwb-checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 9999999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#mwb-checkout-overlay.mwb-active {
  display: flex;
}
.mwb-checkout-spinner {
  width: 56px;
  height: 56px;
  border: 5px solid #e0e0e0;
  border-top-color: #e6a817;
  border-radius: 50%;
  animation: mwbCheckoutSpin 0.85s linear infinite;
}
@keyframes mwbCheckoutSpin {
  to { transform: rotate(360deg); }
}
.mwb-checkout-overlay-text {
  font-size: 16px;
  color: #444;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}
.mwb-checkout-overlay-sub {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin: 0;
}

/* =====================================================
   MWB CHECKOUT FIX 2: Stripe Card Field Interaction
   Prevents invisible blockUI overlays from blocking
   the Stripe iframe inputs (pointer-events fix).
   ===================================================== */
.woocommerce-checkout #payment #stripe-card-element,
.woocommerce-checkout #payment #stripe-exp-element,
.woocommerce-checkout #payment #stripe-cvc-element,
.woocommerce-checkout #payment #stripe-iban-element,
.woocommerce-checkout #payment .wc-stripe-elements-field {
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
}
.woocommerce-checkout #payment #stripe-card-element iframe,
.woocommerce-checkout #payment #stripe-exp-element iframe,
.woocommerce-checkout #payment #stripe-cvc-element iframe,
.woocommerce-checkout #payment #stripe-iban-element iframe {
  pointer-events: auto !important;
}

/* Visual feedback while checkout totals are recalculating */
.woocommerce-checkout-review-order-table.processing {
  opacity: 0.65;
  transition: opacity 0.3s ease;
}
