/* QTP Email Marketing — popup de bienvenida (mismo estilo oscuro que la tienda). */
.qtp-em-overlay {
	position: fixed; inset: 0; z-index: 99999;
	display: flex; align-items: center; justify-content: center; padding: 16px;
	background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
	opacity: 0; transition: opacity .25s ease;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.qtp-em-overlay.is-open { opacity: 1; }
.qtp-em-card {
	position: relative; width: 100%; max-width: 400px; box-sizing: border-box;
	background: #0b0b08; color: #f1f5f9; border: 1px solid #23231f; border-radius: 18px;
	padding: 36px 28px 24px; text-align: center;
	box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 24px 60px -12px rgba(0,0,0,.7);
	transform: translateY(12px) scale(.98); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.qtp-em-overlay.is-open .qtp-em-card { transform: none; }
.qtp-em-card *, .qtp-em-card *::before { box-sizing: border-box; }
.qtp-em-x {
	position: absolute; top: 10px; right: 12px; width: 36px; height: 36px;
	background: transparent; border: 0; border-radius: 50%; color: #94a3b8;
	font-size: 26px; line-height: 1; cursor: pointer;
}
.qtp-em-x:hover, .qtp-em-x:focus-visible { color: #fff; background: #1a1a16; outline: none; }
.qtp-em-kicker {
	margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #94a3b8;
}
.qtp-em-title { margin: 0; font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.qtp-em-sub { margin: 6px 0 14px; font-size: 18px; font-weight: 600; color: #e2e8f0; }
.qtp-em-text { margin: 0 0 20px; font-size: 14px; line-height: 1.55; color: #94a3b8; }
.qtp-em-form { display: grid; gap: 10px; margin: 0; }
.qtp-em-form input {
	width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 16px;
	color: #f1f5f9; background: #141410; border: 1px solid #2b2b26; border-radius: 10px;
}
.qtp-em-form input::placeholder { color: #64748b; }
.qtp-em-form input:focus { outline: none; border-color: #f1f5f9; box-shadow: 0 0 0 3px rgba(241,245,249,.15); }
.qtp-em-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.qtp-em-btn {
	width: 100%; height: 50px; margin-top: 2px; border: 0; border-radius: 10px; cursor: pointer;
	font: inherit; font-size: 16px; font-weight: 700; color: #050502; background: #fff;
	transition: transform .15s ease, background .15s ease;
}
.qtp-em-btn:hover { background: #e2e8f0; }
.qtp-em-btn:active { transform: scale(.98); }
.qtp-em-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.qtp-em-btn[disabled] { opacity: .7; cursor: wait; }
.qtp-em-no {
	margin-top: 12px; padding: 8px 12px; background: none; border: 0; cursor: pointer;
	font: inherit; font-size: 13px; color: #64748b; text-decoration: underline; text-underline-offset: 3px;
}
.qtp-em-no:hover, .qtp-em-no:focus-visible { color: #cbd5e1; outline: none; }
.qtp-em-err { margin: 0; min-height: 0; font-size: 13px; color: #fca5a5; }
.qtp-em-err:empty { display: none; }
.qtp-em-title--sm { font-size: 32px; }
.qtp-em-check {
	width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #fff; color: #050502; font-size: 28px; font-weight: 800;
}
.qtp-em-mail { margin: -12px 0 16px; font-size: 15px; font-weight: 700; color: #fff; word-break: break-all; }
.qtp-em-code {
	margin: 0 0 14px; padding: 14px; border: 2px dashed #f1f5f9; border-radius: 12px;
	font-size: 26px; font-weight: 800; letter-spacing: .14em; color: #fff; user-select: all;
}

@media (max-width: 520px) {
	.qtp-em-overlay { align-items: flex-end; padding: 0; }
	.qtp-em-card {
		max-width: none; border-radius: 20px 20px 0 0; border-bottom: 0;
		padding: 30px 20px calc(20px + env(safe-area-inset-bottom));
		transform: translateY(100%);
	}
	.qtp-em-title { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.qtp-em-overlay, .qtp-em-card { transition: none; }
}
.qtp-em-legal { margin: 14px 0 0; font-size: 11px; line-height: 1.4; color: #94a3b8; text-align: center; }
