/* SuiteMkt3k frontend styles: banner + popup + subscription form */

.wmk-banner { width: 100%; padding: 10px 16px; font: 500 14px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif; box-shadow: 0 2px 6px rgba(0,0,0,0.08); position: relative; z-index: 100; }
.wmk-banner-inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.wmk-banner-text { font-weight: 500; }
.wmk-banner-value { background: rgba(255,255,255,0.18); padding: 4px 10px; border-radius: 20px; font-weight: 700; }
.wmk-banner-cta { background: rgba(0,0,0,0.18); color: inherit; border: 0; padding: 8px 14px; border-radius: var(--wmk-cta-radius, 8px); cursor: pointer; font-weight: 600; transition: background .15s ease; }
.wmk-banner-cta:hover { background: rgba(0,0,0,0.28); }

/* === SuiteMkt3k coupon popup ===========================================
   Everything is scoped under .wmk-popup-root and uses high specificity +
   !important on the critical bits so themes cannot crush the layout. */

.wmk-popup-root { position: fixed !important; inset: 0 !important; z-index: 999999 !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.wmk-popup-root[hidden] { display: none !important; }
.wmk-popup-root .wmk-popup-backdrop { position: absolute !important; inset: 0 !important; background: rgba(15,23,42,0.65) !important; }

.wmk-popup-root .wmk-popup { position: relative !important; max-width: 460px !important; width: 92% !important; border-radius: var(--wmk-popup-radius, 18px) !important; box-shadow: 0 24px 60px rgba(0,0,0,0.3) !important; overflow: hidden !important; font: 400 15px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif !important; isolation: isolate; }

.wmk-popup-root .wmk-popup-close { position: absolute !important; top: 12px !important; right: 14px !important; width: 32px !important; height: 32px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: rgba(255,255,255,0.18) !important; border: 0 !important; color: inherit !important; font-size: 22px !important; line-height: 0 !important; font-family: Arial,Helvetica,sans-serif !important; cursor: pointer !important; opacity: 0.9 !important; border-radius: 50% !important; z-index: 5 !important; padding: 1px 0 0 !important; }
.wmk-popup-root .wmk-popup-close:hover { opacity: 1 !important; background: rgba(255,255,255,0.32) !important; }

/* Optional mini badge over common WooCommerce cart icon links. */
.wmk-cart-link { position: relative !important; }
.wmk-cart-count-badge { position: absolute !important; right: -8px !important; bottom: -8px !important; min-width: 16px !important; height: 16px !important; padding: 0 4px !important; border-radius: 999px !important; background: #44d378 !important; color: #fff !important; font-size: 10px !important; line-height: 16px !important; font-weight: 700 !important; text-align: center !important; box-sizing: border-box !important; z-index: 2 !important; pointer-events: none !important; }

/* Background image sits BEHIND the content (z-index 0). It's the first
   child of .wmk-popup so its opacity can be tweaked while the gradient
   stays visible below at full strength. */
.wmk-popup-root .wmk-popup-image { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; z-index: 0 !important; background-size: cover !important; background-position: center center !important; background-repeat: no-repeat !important; pointer-events: none !important; display: block !important; }

/* The viewport is the bounding box used to clip the slide transition. */
.wmk-popup-root .wmk-popup-viewport { position: relative !important; z-index: 1 !important; overflow: hidden !important; }
.wmk-popup-root .wmk-popup-track { display: flex !important; width: 200% !important; transition: transform .4s cubic-bezier(.4,0,.2,1) !important; align-items: stretch; }
.wmk-popup-root.is-step2 .wmk-popup-track { transform: translateX(-50%) !important; }

/* Each slide centers its content vertically and horizontally. */
.wmk-popup-root .wmk-popup-slide { width: 50% !important; flex: 0 0 50% !important; padding: 44px 32px 36px !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; gap: 16px !important; }

.wmk-popup-root .wmk-popup-slide h2 { margin: 0 !important; padding: 0 !important; color: inherit; font-size: 30px !important; font-weight: 800 !important; letter-spacing: -0.01em !important; line-height: 1.18 !important; text-align: center !important; }
.wmk-popup-root .wmk-popup-slide p { margin: 0 !important; padding: 0 !important; color: inherit; opacity: 0.95; font-size: 17px !important; line-height: 1.45 !important; max-width: 360px !important; text-align: center !important; }
.wmk-popup-root .wmk-popup-value { font-size: 56px !important; font-weight: 900 !important; line-height: 1 !important; letter-spacing: -0.02em !important; margin: 4px 0 6px !important; padding: 0 !important; text-align: center !important; }

/* Step 1 has compact vertical rhythm — no large empty space below the CTA. */
.wmk-popup-root .wmk-popup-step1 { justify-content: center !important; }

/* Avoid step 2 content showing through when step 1 is active. */
.wmk-popup-root:not(.is-step2) .wmk-popup-step2 { visibility: hidden !important; pointer-events: none !important; }
.wmk-popup-root.is-step2 .wmk-popup-step1 { visibility: hidden !important; pointer-events: none !important; }

.wmk-popup-root .wmk-popup-cta { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; width: auto !important; min-width: 240px !important; max-width: 100% !important; padding: 14px 28px !important; border-radius: var(--wmk-cta-radius, 10px) !important; background: rgba(255,255,255,0.18); border: 0 !important; color: inherit; font-weight: 700 !important; cursor: pointer !important; font-size: 16px !important; text-align: center !important; line-height: 1.2 !important; box-sizing: border-box !important; }
.wmk-popup-root .wmk-cta-code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: 0.04em; font-weight: 800; }
.wmk-popup-root .wmk-cta-copy-code { flex-direction: row; flex-wrap: nowrap; white-space: nowrap; }
.wmk-popup-root .wmk-cta-copy-icon { width: 1.15em; height: 1.15em; min-width: 1.15em; flex-shrink: 0; display: block; opacity: 0.95; }
.wmk-banner-cta.wmk-cta-copy-code { display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 0.35em; white-space: nowrap; }
.wmk-banner-cta .wmk-cta-code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: 0.04em; font-weight: 800; }
.wmk-banner-cta .wmk-cta-copy-icon { width: 1.15em; height: 1.15em; min-width: 1.15em; flex-shrink: 0; display: block; }

/* Step 2 form */
.wmk-popup-root .wmk-popup-step2 { align-items: stretch !important; text-align: left !important; padding-top: 36px !important; }
.wmk-popup-root .wmk-popup-step2 h2,
.wmk-popup-root .wmk-popup-step2 p { text-align: center !important; }
.wmk-popup-root .wmk-popup-form { width: 100% !important; max-width: 380px !important; margin: 0 auto !important; box-sizing: border-box; }
.wmk-popup-root .wmk-popup-step2 .wmk-popup-cta { display: flex !important; margin: 8px auto 0 !important; }
.wmk-popup-root .wmk-popup-form label { display: flex !important; flex-direction: column !important; gap: 4px !important; margin-bottom: 12px !important; }
.wmk-popup-root .wmk-popup-form label span { font-size: 12px !important; opacity: 0.92; font-weight: 600 !important; }
.wmk-popup-root .wmk-popup-form input[type=text],
.wmk-popup-root .wmk-popup-form input[type=email],
.wmk-popup-root .wmk-popup-form input[type=date] { width: 100% !important; padding: 11px 12px !important; border-radius: var(--wmk-field-radius, 8px) !important; border: var(--wmk-field-border-width, 1px) solid var(--wmk-field-border, rgba(255,255,255,0.45)) !important; background: var(--wmk-field-bg, rgba(255,255,255,0.14)) !important; color: var(--wmk-ftxt, inherit) !important; font: inherit !important; box-sizing: border-box !important; }
.wmk-popup-root .wmk-popup-form input::placeholder { color: var(--wmk-ph, inherit) !important; opacity: 1 !important; }
.wmk-popup-root .wmk-popup-form label span { color: var(--wmk-label, inherit) !important; }
.wmk-popup-root .wmk-popup-form .wmk-consent span { color: var(--wmk-consent, inherit) !important; }
.wmk-popup-root .wmk-popup-form .wmk-consent { flex-direction: row !important; align-items: flex-start !important; gap: 10px !important; margin: 4px 0 16px !important; }
.wmk-popup-root .wmk-popup-form .wmk-consent input { margin-top: 3px !important; flex-shrink: 0 !important; }
.wmk-popup-root .wmk-popup-form .wmk-consent span { font-size: 12px !important; line-height: 1.45 !important; opacity: 0.92; }

@media (max-width: 480px) {
	.wmk-popup-root .wmk-popup-slide { padding: 32px 22px 26px !important; gap: 12px !important; }
	.wmk-popup-root .wmk-popup-slide h2 { font-size: 24px !important; }
	.wmk-popup-root .wmk-popup-slide p { font-size: 15px !important; }
	.wmk-popup-root .wmk-popup-value { font-size: 44px !important; }
	.wmk-popup-root .wmk-popup-cta { font-size: 15px !important; min-width: 200px !important; padding: 12px 22px !important; }
}

.wmk-form { max-width: 480px; padding: 24px; background: var(--wmk-bg, #fff); color: var(--wmk-text, #0F172A); border: 1px solid var(--wmk-border, #E2E8F0); border-radius: 14px; }
.wmk-form-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.wmk-form-desc { margin: 0 0 16px; color: #64748B; }
.wmk-form-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.wmk-form-field span { font-size: 12px; font-weight: 600; color: #475569; }
.wmk-form-field input { padding: 10px 12px; border: 1px solid var(--wmk-border, #E2E8F0); border-radius: 8px; font: inherit; }
.wmk-form-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #475569; margin: 12px 0; }
.wmk-form-cta { width: 100%; padding: 12px; background: var(--wmk-accent, #2AB2E5); color: var(--wmk-cta-text, #fff); border: 0; border-radius: var(--wmk-form-radius, 10px); font-weight: 700; cursor: pointer; }
.wmk-form-message { margin-top: 10px; padding: 10px; border-radius: 8px; font-size: 13px; }
.wmk-form-message.is-success { background: rgba(16,185,129,0.1); color: #047857; }
.wmk-form-message.is-error { background: rgba(239,68,68,0.1); color: #B91C1C; }
