/* Mundo Axol – formulario del cuento y página de venta (Poppins) */
.mx-form, .mx-funnel-wrap {
	--mx-papel: #fbf3e6; --mx-tinta: #3b281c; --mx-cafe: #6b4d39; --mx-rosa: #e23a74; --mx-rosa-sombra: #b82a5c;
	--mx-turquesa: #0b7c88; --mx-turquesa-sombra: #075a62; --mx-raya: #e3cfb2;
	--mx-fuente: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Formulario ===== */
.mx-form { font-family: var(--mx-fuente); color: var(--mx-tinta); background: #fff; border: 2px solid var(--mx-raya); border-radius: 22px; padding: 22px 20px 18px; margin: 8px 0 22px; width: 100%; text-align: center; box-shadow: 0 18px 40px -26px rgba(74,52,38,.45); }
.mx-form, .mx-form * { box-sizing: border-box; }
.mx-form-intro { font-size: 15px; line-height: 1.5; color: var(--mx-cafe); margin: 0 0 4px; }
.mx-form-intro strong { color: var(--mx-rosa); font-weight: 700; }
.mx-bloque { border: 0; margin: 0; padding: 22px 0; background: none; min-width: 0; }
.mx-bloque + .mx-bloque { border-top: 2px dashed var(--mx-raya); }
.mx-bloque legend { font-weight: 700; font-size: 19px; color: var(--mx-tinta); padding: 0; margin: 0 0 14px; float: left; width: 100%; text-align: center; line-height: 1.3; letter-spacing: -.01em; }
.mx-bloque legend small { font-weight: 500; font-size: 14px; color: var(--mx-cafe); letter-spacing: 0; }
.mx-bloque legend + * { clear: both; }
.mx-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: 8px; border-radius: 50%; background: var(--mx-rosa); color: #fff; font-size: 15px; font-weight: 700; vertical-align: 1px; }

.mx-campo { display: block; margin: 0 0 16px; text-align: left; }
.mx-campo:last-child { margin-bottom: 0; }
.mx-campo > span { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; color: var(--mx-tinta); }
.mx-campo em { color: var(--mx-rosa); font-style: normal; }
.mx-campo small { display: block; color: var(--mx-cafe); font-size: 13px; margin-top: 5px; font-weight: 400; line-height: 1.4; }
.mx-campo > span small { display: inline; margin: 0; font-weight: 400; }
.mx-form .mx-campo input[type="text"], .mx-form .mx-campo input[type="number"], .mx-form .mx-campo select, .mx-form .mx-campo textarea {
	width: 100%; border: 2px solid var(--mx-raya); border-radius: 14px; padding: 12px 14px; font-family: var(--mx-fuente); font-size: 15px; line-height: 1.4; background: #fffdf8; color: var(--mx-tinta); box-shadow: none; min-height: 50px; }
.mx-form .mx-campo textarea { min-height: 76px; resize: vertical; }
.mx-form .mx-campo input::placeholder, .mx-form .mx-campo textarea::placeholder { color: #b39a85; }
.mx-form .mx-campo input:focus, .mx-form .mx-campo select:focus, .mx-form .mx-campo textarea:focus { outline: none; border-color: var(--mx-turquesa); background: #fff; }

.mx-foto { text-align: center; padding: 16px 12px; border: 2px dashed var(--mx-raya); border-radius: 16px; background: #fffdf8; }
.mx-foto > span { text-align: center; }
.mx-campo input[type="file"] { width: 100%; max-width: 330px; font-family: var(--mx-fuente); font-size: 13px; margin: 4px auto 0; display: block; }
.mx-campo input[type="file"]::file-selector-button { font-family: var(--mx-fuente); font-weight: 600; font-size: 14px; color: #fff; background: var(--mx-turquesa); border: 0; border-radius: 999px; padding: 9px 16px; margin-right: 10px; cursor: pointer; }
.mx-foto-vista { width: 104px; height: 104px; object-fit: cover; border-radius: 50%; margin: 12px auto 0; display: block; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(74,52,38,.18); }
.mx-foto-vista[hidden] { display: none; }
.mx-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.mx-opciones { display: grid; gap: 12px; }
.mx-opciones-3 { grid-template-columns: repeat(3, 1fr); }
.mx-opciones-2 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mx-opcion { position: relative; cursor: pointer; margin: 0; }
.mx-opcion input { position: absolute; opacity: 0; pointer-events: none; }
.mx-opcion > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; background: #fffdf8; border: 2px solid var(--mx-raya); border-radius: 16px; padding: 13px 8px; font-weight: 600; font-size: 15px; min-height: 56px; transition: border-color .15s, box-shadow .15s; }
.mx-opcion input:checked + span { border-color: var(--mx-rosa); box-shadow: 0 0 0 3px rgba(226,58,116,.2); background: #fff; }
.mx-opcion input:focus-visible + span { outline: 3px solid var(--mx-turquesa); outline-offset: 2px; }
.mx-estilo > span { background: none; border: 0; padding: 4px 2px; box-shadow: none !important; }
.mx-estilo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; border: 4px solid transparent; box-shadow: 0 14px 26px -14px rgba(74,52,38,.55); transition: border-color .15s; }
.mx-opciones-2 .mx-estilo:first-child img { transform: rotate(-1.5deg); }
.mx-opciones-2 .mx-estilo:last-child img { transform: rotate(1.5deg); }
.mx-estilo input:checked + span img { border-color: var(--mx-rosa); }
.mx-estilo strong { font-weight: 700; font-size: 15px; margin-top: 10px; }
.mx-estilo strong::before { content: "○ "; color: var(--mx-raya); }
.mx-estilo input:checked + span strong::before { content: "● "; color: var(--mx-rosa); }
.mx-estilo small { color: var(--mx-cafe); font-weight: 400; font-size: 13px; line-height: 1.4; }
.mx-muestras { margin: 14px 0 0; font-size: 14px; color: var(--mx-cafe); }
.mx-muestras a { color: var(--mx-turquesa); font-weight: 600; margin: 0 6px; }
.mx-nota { font-size: 13px; line-height: 1.5; color: var(--mx-cafe); margin: 6px 0 0; padding-top: 18px; border-top: 2px dashed var(--mx-raya); }
.mx-nota strong { font-weight: 700; color: var(--mx-tinta); }
[data-mx-solo][hidden] { display: none !important; }

/* Botón de pagar (también en la ficha normal del producto) */
body.mx-producto-cuento form.cart { text-align: center; }
body.mx-producto-cuento .single_add_to_cart_button, body.mx-producto-cuento .single_add_to_cart_button.button.alt,
body.mx-funnel .single_add_to_cart_button, body.mx-funnel .single_add_to_cart_button.button.alt {
	display: block; width: 100%; max-width: 440px; margin: 6px auto 0; float: none; font-family: var(--mx-fuente, "Poppins", sans-serif); font-weight: 700; font-size: 19px; line-height: 1.2;
	color: #fff; background: #e23a74; border: 0; border-radius: 999px; padding: 18px 30px; box-shadow: 0 6px 0 #b82a5c; text-transform: none; letter-spacing: normal; cursor: pointer; }
body.mx-producto-cuento .single_add_to_cart_button:hover, body.mx-funnel .single_add_to_cart_button:hover { background: #e23a74; color: #fff; transform: translateY(2px); box-shadow: 0 4px 0 #b82a5c; }
body.mx-producto-cuento form.cart .quantity, body.mx-funnel .quantity { display: none; }

/* ===== Página de venta a pantalla completa ===== */
body.mx-funnel { margin: 0; background: #fbf3e6; }
.mx-funnel-wrap { background: var(--mx-papel); color: var(--mx-tinta); font-family: var(--mx-fuente); min-height: 100vh; text-align: center; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.mx-funnel-wrap * { box-sizing: border-box; }
.mx-funnel-wrap img { max-width: 100%; height: auto; }
.mx-funnel-wrap h1, .mx-funnel-wrap h2, .mx-funnel-wrap h3 { font-family: var(--mx-fuente); font-weight: 800; letter-spacing: -.02em; color: var(--mx-tinta); margin: 0; }
.mx-funnel-wrap p { font-family: var(--mx-fuente); }
html { scroll-behavior: smooth; }

.mx-funnel-wrap .mx-boton { display: inline-block; font-family: var(--mx-fuente); font-weight: 700; font-size: 18px; line-height: 1.2; color: #fff; background: var(--mx-rosa); text-decoration: none; padding: 17px 38px; border-radius: 999px; box-shadow: 0 6px 0 var(--mx-rosa-sombra); border: 0; cursor: pointer; }
.mx-funnel-wrap .mx-boton:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--mx-rosa-sombra); color: #fff; }
.mx-funnel-wrap .mx-boton-grande { font-size: 21px; padding: 20px 46px; animation: mx-latido 2.4s ease-in-out infinite; }
.mx-funnel-wrap .mx-boton-turquesa { background: var(--mx-turquesa); box-shadow: 0 6px 0 var(--mx-turquesa-sombra); }
.mx-funnel-wrap .mx-boton-turquesa:hover { box-shadow: 0 4px 0 var(--mx-turquesa-sombra); }
.mx-funnel-wrap .mx-boton-blanco { background: #fff; color: var(--mx-rosa); box-shadow: 0 6px 0 rgba(0,0,0,.2); }
.mx-funnel-wrap .mx-boton-blanco:hover { color: var(--mx-rosa); box-shadow: 0 4px 0 rgba(0,0,0,.2); }
@keyframes mx-latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* Logo grande */
.mx-funnel-top { padding: 26px 16px 0; }
.mx-funnel-top img { width: 380px; max-width: 86vw; display: block; margin: 0 auto; }

/* Hero con fuerza */
.mx-vhero { position: relative; max-width: 1360px; margin: 0 auto; padding: 24px 28px 64px; display: flex; align-items: center; gap: 36px; text-align: left; }
.mx-vhero-texto { flex: 1 1 480px; position: relative; z-index: 1; }
.mx-pildora { display: inline-block; font-size: 13px; font-weight: 600; color: var(--mx-turquesa); background: #e4f3f4; padding: 8px 16px; border-radius: 999px; margin-bottom: 18px; }
.mx-vhero h1 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.03; margin-bottom: 20px; }
.mx-vhero h1 span { color: var(--mx-rosa); }
.mx-vhero-sub { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; color: var(--mx-cafe); margin: 0 0 28px; max-width: 540px; }
.mx-vhero-precio { font-size: 15px; font-weight: 500; color: var(--mx-cafe); margin: 16px 0 0; }
.mx-vhero-precio strong { color: var(--mx-tinta); font-weight: 700; }
.mx-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.mx-chips span { font-size: 13px; font-weight: 600; color: var(--mx-cafe); background: #fff; border: 2px solid var(--mx-raya); border-radius: 999px; padding: 7px 14px; }
.mx-vhero-visual { flex: 1.35 1 600px; position: relative; display: flex; justify-content: center; }
.mx-vcollage { position: relative; width: 100%; max-width: 780px; padding-bottom: 150px; }
.mx-vfoto { position: absolute; bottom: 0; width: 41%; height: auto; border: 7px solid #fff; border-radius: 10px; box-shadow: 0 24px 40px -16px rgba(74,52,38,.55); z-index: 2; }
.mx-vfoto-a { left: 2%; transform: rotate(-5deg); }
.mx-vfoto-b { right: 2%; transform: rotate(4deg); }
.mx-vsello { position: absolute; top: -14px; right: 0; z-index: 3; width: 104px; height: 104px; border-radius: 50%; background: var(--mx-rosa); color: #fff; font-weight: 800; font-size: 15px; line-height: 1.2; display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(10deg); box-shadow: 0 8px 0 var(--mx-rosa-sombra); }
.mx-vhero-libro { position: relative; z-index: 1; display: flex; width: 100%; max-width: 100%; transform: rotate(-2deg); box-shadow: 0 40px 64px -26px rgba(74,52,38,.55); border-radius: 8px; }
.mx-vhero-libro img { width: 50%; display: block; }
.mx-vhero-libro img:first-child { border-radius: 8px 0 0 8px; }
.mx-vhero-libro img:nth-child(2) { border-radius: 0 8px 8px 0; }
.mx-lomo { position: absolute; top: 0; bottom: 0; left: 50%; width: 30px; margin-left: -15px; background: linear-gradient(90deg, rgba(74,52,38,0) 0%, rgba(74,52,38,.24) 50%, rgba(74,52,38,0) 100%); }

/* Deseo: tarjetas */
.mx-vdeseo { max-width: 1060px; margin: 0 auto; padding: 56px 22px 52px; border-top: 2px dashed var(--mx-raya); }
.mx-vdeseo h2 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1; margin: 0 0 34px; }
.mx-vdeseo h2 span { color: var(--mx-rosa); }
.mx-vbeneficios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.mx-vbeneficios > div { background: #fff; border: 2px solid var(--mx-raya); border-radius: 22px; padding: 26px 20px 24px; box-shadow: 0 18px 34px -26px rgba(74,52,38,.5); }
.mx-vemoji { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; background: #fde7ef; font-size: 30px; }
.mx-vbeneficios > div:nth-child(2) .mx-vemoji { background: #fff1cf; }
.mx-vbeneficios > div:nth-child(3) .mx-vemoji { background: #e4f3f4; }
.mx-vbeneficios h3 { font-size: 18px; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.mx-vbeneficios p { font-size: 15px; line-height: 1.6; color: var(--mx-cafe); margin: 0; }

/* Banda rosa con botón */
.mx-vbanda { background: linear-gradient(135deg, #e23a74 0%, #c92a64 100%); color: #fff; padding: 56px 22px 60px; }
.mx-vbanda h2 { color: #fff; font-size: clamp(26px, 4.6vw, 42px); line-height: 1.12; max-width: 760px; margin: 0 auto 12px; }
.mx-vbanda p { font-size: clamp(15px, 1.7vw, 18px); line-height: 1.55; opacity: .96; max-width: 580px; margin: 0 auto 26px; }

/* Formulario en dos columnas */
.mx-vcrear { padding: 56px 22px 14px; }
.mx-vcrear-cols { max-width: 1060px; margin: 0 auto; display: flex; align-items: flex-start; gap: 44px; text-align: left; }
.mx-vcrear-info { flex: 0 0 300px; position: sticky; top: 18px; }
.mx-vcrear-info h3 { font-size: 22px; margin: 0 0 14px; letter-spacing: -.01em; }
.mx-vcrear-info ul { list-style: none; margin: 0 0 22px; padding: 0; }
.mx-vcrear-info li { font-size: 15px; line-height: 1.55; color: var(--mx-cafe); margin: 0 0 10px; }
.mx-vcrear-info li strong { color: var(--mx-rosa); margin-right: 4px; font-weight: 700; }
.mx-vgarantias { display: flex; flex-direction: column; gap: 9px; margin: 0; }
.mx-vgarantias span { font-size: 14px; font-weight: 500; color: var(--mx-cafe); }
.mx-vcrear-form { flex: 1 1 auto; min-width: 0; max-width: 640px; }
.mx-vcrear-form h2 { font-size: clamp(26px, 3.4vw, 34px); text-align: center; margin: 0 0 16px; }
.mx-funnel-avisos { margin: 0 0 14px; text-align: left; font-size: 14px; }
.mx-funnel-form { margin: 0; }
.mx-funnel-form .mx-form { margin: 0 0 10px; }
.mx-funnel-seguro { font-size: 13px; font-weight: 500; color: var(--mx-cafe); margin: 14px 0 0; text-align: center; }

/* Pie */
.mx-funnel-pie { padding: 30px 16px 90px; border-top: 2px dashed var(--mx-raya); max-width: 1060px; margin: 30px auto 0; }
.mx-funnel-pie p { margin: 2px 0; font-size: 14px; color: var(--mx-cafe); }
.mx-funnel-pie .mx-marca { font-weight: 700; font-size: 17px; color: var(--mx-tinta); }
.mx-funnel-pie .mx-marca span { font-weight: 500; color: var(--mx-turquesa); }

/* Medios de pago en el pie */
.mx-pagos { margin: 0 0 18px; text-align: center; }
.mx-pagos-lista { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 !important; }
.mx-tarjeta { display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #e3cfb2; border-radius: 8px; padding: 6px 12px; height: 40px; }
.mx-tarjeta img { height: 24px !important; width: auto !important; max-width: none !important; display: block; margin: 0 !important; }
.mx-pagos-titulo { font-size: 15px; font-weight: 700; color: #3b281c; margin: 0 0 10px !important; }

/* Barra fija de compra en celular */
.mx-barra { display: none; }

@media (max-width: 900px) {
	.mx-vhero { flex-direction: column; text-align: center; gap: 30px; padding-top: 18px; padding-bottom: 40px; }
	.mx-vhero-texto { flex-basis: auto; }
	.mx-vhero-sub { margin-left: auto; margin-right: auto; }
	.mx-chips { justify-content: center; }
	.mx-vhero-visual { flex-basis: auto; width: 100%; }
	.mx-vhero-libro { max-width: 100%; transform: rotate(-1.5deg); }
	.mx-vbeneficios { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
	.mx-vcrear-cols { flex-direction: column; gap: 26px; }
	.mx-vcrear-info { position: static; flex-basis: auto; width: 100%; max-width: 520px; margin: 0 auto; text-align: center; }
	.mx-vgarantias { align-items: center; }
	.mx-vcrear-form { max-width: 580px; margin: 0 auto; width: 100%; }
	.mx-barra { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; text-align: center; font-family: var(--mx-fuente); font-weight: 700; font-size: 17px; color: #fff; background: #e23a74; text-decoration: none; padding: 16px 20px; border-radius: 999px; box-shadow: 0 6px 0 #b82a5c, 0 14px 28px rgba(0,0,0,.2); transition: transform .25s, opacity .25s; }
	.mx-barra.mx-oculta { transform: translateY(140%); opacity: 0; pointer-events: none; }
}
@media (max-width: 520px) {
	.mx-funnel-wrap .mx-boton-grande { display: block; width: 100%; max-width: 360px; margin: 0 auto; font-size: 18px; padding: 18px 16px; white-space: nowrap; }
	.mx-funnel-top img { width: 300px; max-width: 84vw; }
	.mx-vhero h1 { font-size: clamp(32px, 9.4vw, 44px); }
	.mx-opciones-3 { gap: 8px; }
	.mx-opcion > span { font-size: 14px; padding: 11px 4px; }
	.mx-fila { grid-template-columns: 1fr; gap: 0; }
	.mx-form { padding: 18px 14px 14px; border-radius: 18px; }
	.mx-opciones-2 { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mx-funnel-wrap .mx-boton-grande { animation: none; } .mx-barra { transition: none; } }
@media (max-width: 600px) { .mx-pagos-lista { gap: 6px; } .mx-tarjeta { padding: 5px 8px; height: 34px; } .mx-tarjeta img { height: 19px !important; } }
@media (max-width: 860px) { .mx-vcollage { padding-bottom: 22vw; } .mx-vsello { width: 76px; height: 76px; font-size: 11px; top: -10px; } .mx-vfoto { border-width: 4px; } }
