/**
 * Estilos Frontend — WC Smart Popup Coupons & Cart Recovery
 * Cumple con los estándares modernos de `<dialog>` nativo, `overscroll-behavior: contain`
 * y variables CSS personalizables por campaña.
 */

.wc-spc-dialog {
	--wc-spc-bg: #ffffff;
	--wc-spc-text: #0f172a;
	--wc-spc-primary: #4f46e5;
	--wc-spc-accent: #10b981;

	padding: 0;
	border: none;
	border-radius: 20px;
	background: var(--wc-spc-bg);
	color: var(--wc-spc-text);
	max-width: 780px;
	width: calc(100% - 32px);
	box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.45);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	overflow: auto;
}

.wc-spc-dialog:not([open]) {
	display: none !important;
}

.wc-spc-dialog:modal {
	/* MANDATORY: Prevent scroll gestures inside the modal from chaining to the underlying page */
	overscroll-behavior: contain;
}

.wc-spc-dialog::backdrop {
	/* MANDATORY: ::backdrop defaults to overflow: visible; set overflow: hidden + overscroll-behavior: contain */
	overflow: hidden;
	overscroll-behavior: contain;
	background-color: rgba(15, 23, 42, 0.68);
	backdrop-filter: blur(5px);
}

.wc-spc-dialog.wc-spc-tpl-modern_minimal,
.wc-spc-dialog.wc-spc-tpl-flash_urgency {
	max-width: 520px;
}

.wc-spc-modal-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
}

.wc-spc-dialog.wc-spc-tpl-split_hero .wc-spc-modal-inner,
.wc-spc-dialog.wc-spc-tpl-spin_wheel .wc-spc-modal-inner {
	grid-template-columns: 290px 1fr;
}

@media (max-width: 720px) {
	.wc-spc-dialog.wc-spc-tpl-split_hero .wc-spc-modal-inner,
	.wc-spc-dialog.wc-spc-tpl-spin_wheel .wc-spc-modal-inner {
		grid-template-columns: 1fr;
	}
}

.wc-spc-close-btn {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 10;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: rgba(255, 255, 255, 0.9);
	color: #0f172a;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.wc-spc-close-btn:hover {
	transform: scale(1.06);
	background: #f1f5f9;
}

/* Columna Hero (Split Layout) */
.wc-spc-hero-col {
	background: linear-gradient(145deg, var(--wc-spc-primary), #1e1b4b);
	background-size: cover;
	background-position: center;
	position: relative;
	min-height: 240px;
	display: flex;
	align-items: flex-end;
	padding: 28px;
	color: #ffffff;
}

.wc-spc-hero-overlay {
	position: relative;
	z-index: 2;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(6px);
	padding: 18px;
	border-radius: 14px;
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.wc-spc-hero-discount-pill {
	display: inline-block;
	background: var(--wc-spc-accent);
	color: #ffffff;
	font-weight: 800;
	font-size: 26px;
	padding: 6px 14px;
	border-radius: 10px;
	margin-bottom: 8px;
}

.wc-spc-hero-caption {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	opacity: 0.95;
}

/* Columna Ruleta (Spin to Win) */
.wc-spc-wheel-col {
	background: radial-gradient(circle at center, var(--wc-spc-primary), #0f172a);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.wc-spc-wheel-stage {
	position: relative;
	width: 260px;
	height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wc-spc-wheel-pointer {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 14px solid transparent;
	border-right: 14px solid transparent;
	border-top: 24px solid var(--wc-spc-accent);
	z-index: 5;
	filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
}

#wc-spc-wheel-canvas {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2), 0 12px 30px rgba(0, 0, 0, 0.4);
	transition: transform 4s cubic-bezier(0.15, 0.85, 0.25, 1);
}

/* Columna de Contenido */
.wc-spc-content-col {
	padding: 32px 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.wc-spc-badge {
	display: inline-flex;
	align-self: flex-start;
	background: rgba(79, 70, 229, 0.12);
	color: var(--wc-spc-primary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}

.wc-spc-headline {
	margin: 0;
	font-size: 25px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--wc-spc-text);
}

.wc-spc-subheadline {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: #475569;
}

.wc-spc-scope-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: #047857;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	padding: 6px 12px;
	border-radius: 8px;
	align-self: flex-start;
}

.wc-spc-scope-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
}

/* Temporizador Flash */
.wc-spc-flash-timer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13.5px;
}

.wc-spc-timer-clock {
	font-variant-numeric: tabular-nums;
	font-size: 16px;
	font-weight: 800;
}

/* Cupón Clicable de 1 Clic */
.wc-spc-coupon-ticket {
	width: 100%;
	background: #f8fafc;
	border: 2px dashed var(--wc-spc-primary);
	border-radius: 14px;
	padding: 14px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}

.wc-spc-coupon-ticket:hover {
	background: rgba(79, 70, 229, 0.06);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.25);
}

.wc-spc-ticket-label {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #64748b;
}

.wc-spc-ticket-code {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 0.06em;
	color: var(--wc-spc-primary);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.wc-spc-ticket-Hint {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--wc-spc-accent);
}

/* Caja de Cuenta / Bonus por Registro */
.wc-spc-account-box {
	margin-top: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 16px;
}

.wc-spc-account-divider {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.wc-spc-account-divider span {
	background: #fef3c7;
	color: #92400e;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	width: 100%;
	text-align: center;
}

.wc-spc-account-required-banner {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 10px;
}

.wc-spc-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 10px;
}

@media (max-width: 540px) {
	.wc-spc-form-grid {
		grid-template-columns: 1fr;
	}
}

.wc-spc-input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13.5px;
	background: #ffffff;
	color: #0f172a;
}

.wc-spc-input:focus {
	outline: 2px solid var(--wc-spc-primary);
	border-color: transparent;
}

.wc-spc-btn-primary {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 20px;
	border: none;
	border-radius: 10px;
	background: var(--wc-spc-primary);
	color: #ffffff;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
	box-sizing: border-box;
}

.wc-spc-btn-primary:hover {
	opacity: 0.94;
	color: #ffffff;
	transform: translateY(-1px);
}

.wc-spc-btn-register {
	background: var(--wc-spc-accent);
}

.wc-spc-btn-secondary {
	width: 100%;
	padding: 10px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: transparent;
	color: #475569;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 8px;
}

.wc-spc-checkout-account-note {
	margin: 10px 0 0;
	font-size: 12px;
	color: #64748b;
	text-align: center;
}

/* Estado de Éxito */
.wc-spc-step-success {
	text-align: center;
	padding: 14px 6px;
}

.wc-spc-success-icon {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #d1fae5;
	color: #059669;
	font-size: 28px;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
}

.wc-spc-success-title {
	margin: 0 0 8px;
	font-size: 20px;
	color: #0f172a;
}

.wc-spc-success-msg {
	font-size: 14px;
	color: #475569;
	margin: 0 0 14px;
}

.wc-spc-applied-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ecfdf5;
	border: 1px solid #10b981;
	color: #065f46;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 14px;
	margin-bottom: 18px;
}

.wc-spc-feedback {
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

/* Barra Flotante (Sticky Bar) */
.wc-spc-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 9998;
	background: var(--wc-spc-bar-bg, #0f172a);
	color: var(--wc-spc-bar-text, #ffffff);
	padding: 10px 18px;
	box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.25);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wc-spc-sticky-top {
	top: 0;
}

.wc-spc-sticky-bottom {
	bottom: 0;
}

.wc-spc-sticky-container {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.wc-spc-sticky-info {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.wc-spc-sticky-badge {
	background: var(--wc-spc-bar-accent, #10b981);
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 6px;
	letter-spacing: 0.05em;
	transition: all 0.3s ease;
}

.wc-spc-sticky-badge.wc-spc-badge-pulse {
	background: #f59e0b;
	color: #000000;
	animation: wcSpcPulse 1.4s infinite;
}

@keyframes wcSpcPulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
	}
}

.wc-spc-sticky-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.wc-spc-sticky-timer {
	font-size: 13.5px;
	font-variant-numeric: tabular-nums;
	background: rgba(255, 255, 255, 0.1);
	padding: 5px 12px;
	border-radius: 8px;
}

.wc-spc-sticky-cta {
	background: var(--wc-spc-bar-accent, #10b981);
	color: #ffffff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 13.5px;
	padding: 7px 16px;
	border-radius: 8px;
	transition: opacity 0.15s ease;
}

.wc-spc-sticky-cta:hover {
	opacity: 0.9;
}

/* ==========================================================================
   Botón Flotante Siempre Visible (Crear Cuenta / Iniciar Sesión / Mi Cuenta)
   ========================================================================== */
.wc-spc-floating-account-wrap {
	position: fixed;
	z-index: 9997;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.wc-spc-fab-bottom_right {
	bottom: 24px;
	right: 20px;
}

.wc-spc-fab-bottom_left {
	bottom: 24px;
	left: 20px;
}

.wc-spc-fab-top_right {
	top: 88px;
	right: 20px;
}

/* Si la Sticky Bar inferior está visible, desplazar ligeramente el botón flotante inferior */
body:has(#wc-spc-sticky-bar.wc-spc-sticky-bottom:not([hidden])) .wc-spc-fab-bottom_right,
body:has(#wc-spc-sticky-bar.wc-spc-sticky-bottom:not([hidden])) .wc-spc-fab-bottom_left {
	bottom: 68px;
}

.wc-spc-floating-account-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: var(--wc-spc-fab-bg, #0f172a);
	color: var(--wc-spc-fab-text, #ffffff);
	box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.45);
	cursor: pointer;
	text-align: left;
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.wc-spc-floating-account-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.55);
}

.wc-spc-fab-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--wc-spc-fab-accent, #10b981);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.wc-spc-fab-label {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.wc-spc-fab-label small {
	font-size: 11px;
	font-weight: 600;
	color: var(--wc-spc-fab-accent, #10b981);
	letter-spacing: 0.01em;
}

.wc-spc-fab-label strong {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--wc-spc-fab-text, #ffffff);
}

/* Shortcode inline para Header / Menú de Elementor */
.wc-spc-inline-account-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: #0f172a;
	color: #ffffff;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.wc-spc-inline-account-btn:hover {
	opacity: 0.9;
}

/* Modal <dialog> de Cuenta / Registro Rápido / Login */
.wc-spc-auth-dialog {
	max-width: 480px;
}

.wc-spc-auth-card {
	position: relative;
	background: #ffffff;
	color: #0f172a;
	padding: 28px 26px;
	border-radius: 18px;
}

.wc-spc-auth-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	background: #f1f5f9;
	padding: 4px;
	border-radius: 12px;
	margin-bottom: 20px;
	margin-right: 32px;
}

@media (max-width: 480px) {
	.wc-spc-auth-tabs {
		grid-template-columns: 1fr;
		margin-right: 0;
		margin-top: 26px;
	}
}

.wc-spc-auth-tab {
	border: none;
	background: transparent;
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	padding: 8px 6px;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wc-spc-auth-tab.is-active {
	background: #ffffff;
	color: #0f172a;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.wc-spc-auth-coupon-box {
	background: #ecfdf5;
	border: 1.5px dashed #10b981;
	border-radius: 12px;
	padding: 14px 16px;
	margin: 16px 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: center;
}

.wc-spc-auth-coupon-box span {
	font-size: 12px;
	color: #047857;
	font-weight: 600;
}

.wc-spc-auth-coupon-box strong {
	font-size: 20px;
	font-weight: 900;
	color: #065f46;
	letter-spacing: 0.08em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.wc-spc-auth-coupon-box small {
	font-size: 11.5px;
	color: #059669;
}

.wc-spc-auth-links-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 18px 0 14px;
}

.wc-spc-auth-link-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #0f172a !important;
	text-decoration: none !important;
	font-size: 13.5px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.wc-spc-auth-link-card:hover {
	border-color: #94a3b8;
	background: #f1f5f9;
}

.wc-spc-auth-link-primary {
	grid-column: 1 / -1;
	justify-content: center;
	background: #0f172a;
	border-color: #0f172a;
	color: #ffffff !important;
}

.wc-spc-auth-link-primary:hover {
	background: #1e293b;
}

.wc-spc-auth-footer-links {
	margin-top: 12px;
	text-align: center;
	font-size: 13px;
}

.wc-spc-auth-footer-links a {
	color: #64748b;
	text-decoration: underline;
}

.wc-spc-logout-link {
	color: #dc2626 !important;
	font-weight: 600;
}

/* Formularios dentro de los modales Auth y Add-to-Cart Lead Saver */
.wc-spc-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 14px;
}

.wc-spc-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.wc-spc-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	text-align: left;
}

.wc-spc-field label {
	font-size: 12.5px;
	font-weight: 600;
	color: #334155;
}

.wc-spc-field input {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 14px;
	color: #0f172a;
	background: #ffffff;
	box-sizing: border-box;
}

.wc-spc-field input:focus {
	outline: 2px solid #4f46e5;
	border-color: transparent;
}

.wc-spc-submit-btn {
	width: 100%;
	padding: 13px 18px;
	border: none;
	border-radius: 10px;
	background: #10b981;
	color: #ffffff;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.15s ease;
	margin-top: 4px;
}

.wc-spc-submit-btn:hover {
	opacity: 0.94;
	transform: translateY(-1px);
}

/* Botón Captura Inversa por WhatsApp en 1 Clic */
.wc-spc-btn-whatsapp-reverse {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	margin-top: 10px;
	border: 1.5px solid #16a34a;
	border-radius: 10px;
	background: #f0fdf4;
	color: #15803d;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.wc-spc-btn-whatsapp-reverse:hover {
	background: #dcfce7;
	transform: translateY(-1px);
}

/* Barra de Progreso de Recompensas (Cart Goal Bar en Carrito y Checkout) */
.wc-spc-cart-goal-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 18px;
	margin: 0 0 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wc-spc-cart-goal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 14px;
	color: #0f172a;
}

.wc-spc-cart-goal-pct {
	color: #10b981;
	font-weight: 800;
}

.wc-spc-cart-goal-track {
	width: 100%;
	height: 10px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}

.wc-spc-cart-goal-fill {
	height: 100%;
	background: linear-gradient(90deg, #4f46e5, #10b981);
	border-radius: 999px;
	transition: width 0.4s ease;
}

/* Mini-Banner de Suscripción a Notificaciones Web Push del Navegador */
.wc-spc-push-prompt {
	position: fixed;
	bottom: 24px;
	left: 20px;
	z-index: 9996;
	max-width: 370px;
	background: #0f172a;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.4);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wc-spc-push-prompt[hidden] {
	display: none !important;
}

.wc-spc-push-icon {
	font-size: 22px;
	flex-shrink: 0;
}

.wc-spc-push-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 12px;
	line-height: 1.35;
}

.wc-spc-push-copy strong {
	font-size: 13px;
	color: #ffffff;
}

.wc-spc-push-copy span {
	color: #cbd5e1;
}

.wc-spc-push-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.wc-spc-push-btn-allow {
	background: #10b981;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 7px 11px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.wc-spc-push-btn-dismiss {
	background: transparent;
	color: #94a3b8;
	border: none;
	font-size: 14px;
	cursor: pointer;
	padding: 4px;
}

/* Social Proof Toast Flotante en Vivo */
.wc-spc-social-proof-toast {
	position: fixed;
	bottom: 24px;
	left: 20px;
	z-index: 9995;
	max-width: 340px;
	background: #ffffff;
	color: #0f172a;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #10b981;
	border-radius: 14px;
	padding: 11px 14px;
	display: flex;
	align-items: center;
	gap: 11px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	animation: wcSpcToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wc-spc-social-proof-toast[hidden] {
	display: none !important;
}

@keyframes wcSpcToastIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wc-spc-sp-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #ecfdf5;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.wc-spc-sp-content {
	cursor: pointer;
	line-height: 1.3;
	font-size: 12.5px;
}

.wc-spc-sp-line1 strong {
	color: #0f172a;
}

.wc-spc-sp-line1 span {
	color: #64748b;
	font-size: 12px;
}

.wc-spc-sp-action {
	color: #334155;
	margin: 2px 0 4px;
}

.wc-spc-sp-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.wc-spc-sp-footer small {
	color: #94a3b8;
	font-size: 11px;
}

.wc-spc-sp-cta {
	color: #059669;
	font-weight: 700;
	font-size: 11.5px;
}

.wc-spc-sp-close {
	background: transparent;
	border: none;
	color: #94a3b8;
	font-size: 13px;
	cursor: pointer;
	padding: 2px 4px;
	align-self: flex-start;
}

@media (max-width: 600px) {
	.wc-spc-fab-bottom_right,
	.wc-spc-fab-bottom_left {
		bottom: 16px;
		right: 14px;
		left: auto;
	}
	.wc-spc-floating-account-btn {
		padding: 8px 14px 8px 10px;
	}
	.wc-spc-field-row {
		grid-template-columns: 1fr;
	}
	.wc-spc-social-proof-toast,
	.wc-spc-push-prompt {
		left: 12px;
		right: 12px;
		bottom: 74px;
		max-width: none;
	}
}

/* ==========================================================================
   Registro Nativo WooCommerce (/mi-cuenta/) - Tiendas Aliadas B2B
   ========================================================================== */
.wc-spc-native-partner-box {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	font-family: inherit;
	transition: border-color 0.2s ease;
}

.wc-spc-native-partner-box:focus-within {
	border-color: #0284c7;
}

.wc-spc-native-partner-box input[type="text"],
.wc-spc-native-partner-box input[type="tel"],
.wc-spc-native-partner-box select {
	box-sizing: border-box !important;
	width: 100% !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 6px !important;
	padding: 8px 12px !important;
	background-color: #ffffff !important;
	font-size: 14px !important;
}

.wc-spc-native-partner-box input:focus,
.wc-spc-native-partner-box select:focus {
	outline: none !important;
	border-color: #0284c7 !important;
	box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2) !important;
}

/* ==========================================================================
   Blindaje Elementor Hero Banner (vertexco.co Home)
   Evita que el lazyload de Elementor 4+ elimine el fondo o colapse la altura
   ========================================================================== */
.elementor-6 .elementor-element.elementor-element-9407cb1 {
	background-image: url("https://vertexco.co/wp-content/uploads/2026/09/bbaner-main.png") !important;
	background-position: bottom center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	min-height: 90vh !important;
}

@media (max-width: 1024px) {
	.elementor-6 .elementor-element.elementor-element-9407cb1 {
		min-height: 27vh !important;
	}
}

