/*
Theme Name: Miranda 3D Store
Description: Tema hijo de Hostinger AI theme con el diseño de Miranda 3D Store (rosa y morado, Fredoka y Nunito).
Template: hostinger-ai-theme
Version: 1.5.0
Text Domain: miranda-3d-store
*/

:root {
	--m3d-rosa: #ef7fad;
	--m3d-rosa-oscuro: #d9558f;
	--m3d-morado: #8f6ad1;
	--m3d-morado-oscuro: #5e3fa3;
	--m3d-crema: #fff6fa;
	--m3d-tinta: #3a2b52;
	--m3d-radio: 22px;
	--m3d-sombra: 0 10px 28px rgba(94, 63, 163, .14);
}

body {
	font-family: "Nunito", system-ui, sans-serif;
	color: var(--m3d-tinta);
	background: #fff;
}

h1, h2, h3, h4, h5, h6,
.wp-block-site-title,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button {
	font-family: "Fredoka", "Nunito", sans-serif;
}

/* Franja de aviso */
.m3d-aviso {
	background: linear-gradient(90deg, var(--m3d-rosa-oscuro), var(--m3d-morado-oscuro));
	color: #fff;
	font-weight: 700;
	font-size: .92rem;
	text-align: center;
	padding: .5rem 1rem;
}
.m3d-aviso p { margin: 0; }

/* Cabecera */
.m3d-cabecera {
	background: #fff;
	box-shadow: 0 2px 14px rgba(94, 63, 163, .10);
	position: sticky;
	top: 0;
	z-index: 50;
}
.m3d-cabecera .wp-block-site-logo img { border-radius: 14px; }
.m3d-cabecera .wp-block-navigation a {
	font-family: "Fredoka", sans-serif;
	font-weight: 500;
	color: var(--m3d-tinta);
}
.m3d-cabecera .wp-block-navigation a:hover { color: var(--m3d-rosa-oscuro); }
.m3d-cabecera .wp-block-search__inside-wrapper {
	border: 2px solid #f3d3e2;
	border-radius: 999px;
	padding: 2px 4px 2px 12px;
	background: var(--m3d-crema);
}
.m3d-cabecera .wp-block-search__input {
	border: 0;
	background: transparent;
	font-family: "Nunito", sans-serif;
	min-width: 0;
}
.m3d-cabecera .wp-block-search__input:focus { outline: none; }
.m3d-cabecera .wp-block-search__button {
	border-radius: 999px;
	background: var(--m3d-rosa-oscuro);
	color: #fff;
	margin: 0;
	padding: .35rem .6rem;
}
.m3d-cabecera .wc-block-mini-cart__badge {
	background: var(--m3d-rosa-oscuro);
	color: #fff;
}

/* Portada grande */
.m3d-hero {
	background:
		radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .28) 0 90px, transparent 91px),
		radial-gradient(circle at 88% 78%, rgba(255, 255, 255, .18) 0 130px, transparent 131px),
		linear-gradient(120deg, var(--m3d-rosa) 0%, var(--m3d-rosa-oscuro) 38%, var(--m3d-morado) 72%, var(--m3d-morado-oscuro) 100%);
	color: #fff;
}
.m3d-hero h1 {
	color: #fff;
	font-size: clamp(2.2rem, 5.2vw, 4rem);
	line-height: 1.08;
	font-weight: 700;
	text-shadow: 0 3px 0 rgba(94, 63, 163, .25);
}
.m3d-hero p { font-size: 1.15rem; }
.m3d-hero .wp-block-site-logo img,
.m3d-hero .wp-block-image img {
	filter: drop-shadow(0 18px 30px rgba(58, 43, 82, .35));
}

/* Botones */
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button:not(.is-link) {
	background: var(--m3d-rosa-oscuro);
	color: #fff;
	border-radius: 999px;
	font-weight: 600;
	padding: .7em 1.5em;
	transition: transform .15s ease, background .15s ease;
}
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--m3d-morado-oscuro);
	color: #fff;
	transform: translateY(-2px);
}
.m3d-hero .wp-block-button__link {
	background: #fff;
	color: var(--m3d-rosa-oscuro);
}
.m3d-hero .is-style-outline .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
}

/* Secciones */
.m3d-seccion { padding: 4rem 1.25rem; }
.m3d-seccion--crema { background: var(--m3d-crema); }
.m3d-titulo {
	text-align: center;
	color: var(--m3d-morado-oscuro);
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	margin-bottom: .3em;
}
.m3d-subtitulo {
	text-align: center;
	color: #7a6a93;
	margin-top: 0;
	margin-bottom: 2rem;
}

/* Tarjetas de categoría */
.m3d-categorias .wp-block-column {
	background: #fff;
	border-radius: var(--m3d-radio);
	box-shadow: var(--m3d-sombra);
	overflow: hidden;
	text-align: center;
	padding-bottom: 1.4rem;
	transition: transform .18s ease;
}
.m3d-categorias .wp-block-column:hover { transform: translateY(-6px); }
.m3d-categorias .m3d-cat-color {
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	margin: 0 0 1rem;
}
.m3d-categorias .wp-block-column:nth-child(1) .m3d-cat-color { background: #ffe3c2; }
.m3d-categorias .wp-block-column:nth-child(2) .m3d-cat-color { background: #fde0ec; }
.m3d-categorias .wp-block-column:nth-child(3) .m3d-cat-color { background: #e9e0fa; }
.m3d-categorias h3 { margin: 0 0 .6rem; color: var(--m3d-tinta); }

/* Rejillas de productos */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-grid__product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	background: #fff;
	border-radius: var(--m3d-radio);
	box-shadow: var(--m3d-sombra);
	padding: 0 0 1.2rem !important;
	overflow: hidden;
	text-align: center;
	list-style: none;
	transition: transform .18s ease;
}
.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-grid__product:hover { transform: translateY(-6px); }
.woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0 0 .8rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
	font-family: "Fredoka", sans-serif;
	font-size: 1.08rem;
	font-weight: 500;
	color: var(--m3d-tinta);
	padding: 0 .9rem;
}
.woocommerce ul.products li.product .price,
.wc-block-grid__product-price,
.woocommerce div.product p.price {
	color: var(--m3d-rosa-oscuro);
	font-weight: 800;
	font-size: 1.1rem;
}
.woocommerce span.onsale {
	background: var(--m3d-morado);
	color: #fff;
	border-radius: 999px;
	padding: .25em .9em;
	min-height: 0;
	line-height: 1.6;
}

/* Videos */
.m3d-videos .wp-block-embed,
.m3d-videos .wp-block-video {
	border-radius: var(--m3d-radio);
	overflow: hidden;
	box-shadow: var(--m3d-sombra);
	margin: 0;
}
.m3d-videos iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }

/* Suscripción */
.m3d-suscripcion {
	background: linear-gradient(120deg, var(--m3d-morado) 0%, var(--m3d-morado-oscuro) 100%);
	color: #fff;
	text-align: center;
}
.m3d-suscripcion h2 { color: #fff; }
.m3d-suscripcion input[type="email"],
.m3d-suscripcion input[type="text"] {
	border: 0;
	border-radius: 999px;
	padding: .8em 1.2em;
	font-family: "Nunito", sans-serif;
}
.m3d-suscripcion button,
.m3d-suscripcion input[type="submit"] {
	background: var(--m3d-rosa-oscuro);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: .8em 1.6em;
	font-family: "Fredoka", sans-serif;
	font-weight: 600;
	cursor: pointer;
}

/* Pie */
.m3d-pie {
	background: var(--m3d-tinta);
	color: #e9e2f5;
}
.m3d-pie h3 { color: #fff; font-size: 1.15rem; }
.m3d-pie a { color: #f6c6dc; text-decoration: none; }
.m3d-pie a:hover { color: #fff; text-decoration: underline; }
.m3d-pie ul { list-style: none; padding: 0; margin: 0; }
.m3d-pie li { margin: .35rem 0; }
.m3d-pagos { display: flex; flex-wrap: wrap; gap: .5rem; }
.m3d-pagos span {
	background: #fff;
	color: var(--m3d-tinta);
	border-radius: 8px;
	padding: .3em .7em;
	font-weight: 800;
	font-size: .82rem;
}
.m3d-pie-legal {
	border-top: 1px solid rgba(255, 255, 255, .15);
	margin-top: 2rem;
	padding-top: 1.2rem;
	font-size: .88rem;
	text-align: center;
}

@media (max-width: 1000px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.m3d-seccion { padding: 2.75rem 1rem; }
	.m3d-cabecera .wp-block-search { display: none; }
	.m3d-hero { text-align: center; }
	.m3d-hero .wp-block-buttons { justify-content: center; }
}
@media (max-width: 480px) {
	.woocommerce ul.products { gap: .9rem; }
}

/* Ajustes tras la primera revisión */
body,
body p, body li, body input, body textarea, body select, body label {
	font-family: "Nunito", system-ui, sans-serif !important;
}
body h1, body h2, body h3, body h4, body h5, body h6,
body .wp-block-site-title, body .wp-block-site-title a,
body .wp-block-button__link, body .wp-element-button,
body .wp-block-navigation a,
body .woocommerce-loop-product__title,
body .woocommerce a.button, body .woocommerce button.button {
	font-family: "Fredoka", "Nunito", sans-serif !important;
}
html, body { overflow-x: hidden; }
.m3d-cabecera > .wp-block-group { flex-wrap: wrap !important; row-gap: .4rem; }
.m3d-categorias .m3d-cat-color { aspect-ratio: auto; height: 190px; }
.m3d-categorias .m3d-cat-color img.emoji { width: 1em !important; height: 1em !important; margin: 0 !important; }
.m3d-aviso img.emoji { width: 1em !important; height: 1em !important; }
@media (max-width: 1000px) {
	.m3d-cabecera .wp-block-site-title { display: none; }
	.m3d-cabecera .wp-block-search { display: none; }
}

/* Logos y cuarta categoría */
.m3d-cabecera .wp-block-site-title { display: none; }
.m3d-hero .wp-block-site-logo img { border-radius: 32px; }
.m3d-categorias .m3d-cat-color img.m3d-cat-logo { max-height: 165px; max-width: 92%; width: auto; height: auto; }
.m3d-categorias .wp-block-column:nth-child(4) .m3d-cat-color { background: #e3f1e6; }
.wc-block-components-product-image img, .woocommerce div.product div.images img { border-radius: var(--m3d-radio); }

/* Comprobante de pago en "Pedido recibido" */
.m3d-comprobante {
	background: var(--m3d-crema);
	border: 2px solid #f3d3e2;
	border-radius: var(--m3d-radio);
	padding: 1.5rem;
	margin: 1.5rem 0;
}
.m3d-comprobante h3 { margin-top: 0; }
.m3d-comprobante__zona {
	border: 2px dashed var(--m3d-morado);
	border-radius: 16px;
	background: #fff;
	padding: 1.25rem;
	text-align: center;
}
.m3d-comprobante__zona.is-encima,
.m3d-comprobante__zona:focus { border-color: var(--m3d-rosa-oscuro); outline: none; }
.m3d-comprobante__zona input[type="file"] { max-width: 100%; }
.m3d-comprobante__vista { display: block; max-width: 260px; max-height: 320px; margin: 1rem auto 0; border-radius: 12px; }
.m3d-comprobante__vista[hidden] { display: none; }
.m3d-comprobante__nota { font-size: .88rem; color: #7a6a93; }
.m3d-comprobante__aviso { border-radius: 12px; padding: .75rem 1rem; font-weight: 700; }
.m3d-comprobante__aviso--ok { background: #e3f5e8; color: #1f6b3a; }
.m3d-comprobante__aviso--error { background: #fde3e3; color: #9b2222; }

/* WhatsApp */
.m3d-wa-flotante {
	position: fixed; right: 18px; bottom: 18px; z-index: 9999;
	display: flex; align-items: center; gap: .5rem;
	background: #25d366; color: #fff !important; text-decoration: none;
	padding: .7rem 1.1rem; border-radius: 999px;
	font-family: "Fredoka", sans-serif; font-weight: 600;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.m3d-wa-flotante:hover { background: #1ebe5b; transform: translateY(-2px); }
.m3d-wa-aviso {
	background: #fff8d6; border: 4px solid #ffb300; border-radius: var(--m3d-radio);
	padding: 1.5rem; margin: 1.5rem 0; text-align: center;
	box-shadow: 0 10px 28px rgba(255, 179, 0, .3);
}
.m3d-wa-aviso__titulo { font-family: "Fredoka", sans-serif !important; font-size: 1.6rem; font-weight: 700; color: #b24a00; margin: 0 0 .4rem; }
.m3d-wa-aviso p { font-size: 1.1rem; }
.m3d-wa-aviso__boton {
	display: inline-block; background: #25d366; color: #fff !important; text-decoration: none;
	font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.3rem;
	padding: .9rem 2rem; border-radius: 999px; margin-top: .4rem;
	box-shadow: 0 8px 20px rgba(37, 211, 102, .45);
	animation: m3d-latido 1.4s ease-in-out infinite;
}
@keyframes m3d-latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .m3d-wa-aviso__boton { animation: none; } }

/* Pasos de confirmación */
.m3d-pasos { background: #f1ebfb; border-radius: var(--m3d-radio); padding: 1.1rem 1.5rem; margin: 1rem 0 1.5rem; }
.m3d-pasos__titulo { font-family: "Fredoka", sans-serif !important; font-weight: 700; font-size: 1.25rem; color: var(--m3d-morado-oscuro); margin: 0 0 .3rem; }
.m3d-pasos ol { margin: 0; padding-left: 1.3rem; }
.m3d-pasos li { font-weight: 700; margin: .2rem 0; }
.m3d-wa-aviso__nota { font-size: .95rem !important; margin-top: .8rem; }

/* Un solo botón de confirmación */
button.m3d-wa-aviso__boton { border: 0; cursor: pointer; }
.m3d-comprobante form { text-align: center; }
.m3d-comprobante__accion { font-family: "Fredoka", sans-serif !important; font-weight: 600; font-size: 1.15rem; margin: 1rem 0 .2rem; }
.m3d-comprobante__otro { margin-top: .8rem; }
.m3d-comprobante__otro summary { cursor: pointer; font-weight: 700; color: var(--m3d-morado-oscuro); }
.m3d-wa-simple { text-align: center; margin: 0 0 1.5rem; }

/* Redes sociales del pie */
.m3d-pie .m3d-redes { display: flex; gap: .6rem; margin-top: .8rem; }
.m3d-pie .m3d-redes li { margin: 0; }
.m3d-pie .m3d-redes a { color: #fff; }
.m3d-videos .is-style-outline .wp-block-button__link { background: transparent; color: var(--m3d-rosa-oscuro); border: 2px solid var(--m3d-rosa-oscuro); }

/* Logotipos de redes con la paleta de la tienda */
.m3d-redes .wp-social-link {
	background: linear-gradient(135deg, var(--m3d-rosa-oscuro), var(--m3d-morado-oscuro)) !important;
	color: #fff !important;
	border-radius: 999px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.m3d-redes .wp-social-link:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 18px rgba(94, 63, 163, .35); }
.m3d-redes .wp-social-link a { color: #fff !important; text-decoration: none !important; }
.m3d-redes .wp-social-link svg { fill: #fff !important; }
.m3d-pie .m3d-redes .wp-social-link { font-size: 26px; }
.m3d-redes--grandes { gap: 1rem; margin-top: 1rem; }
.m3d-redes--grandes .wp-social-link a { padding: .6em 1.2em .6em .9em; font-family: "Fredoka", sans-serif; font-weight: 600; }
.m3d-redes--grandes .wp-block-social-link-label { font-size: 1.05rem; margin-left: .5em; margin-right: 0; }

.m3d-redes--grandes .wp-social-link { font-size: 22px !important; }
.m3d-redes--grandes .wp-social-link a { padding: .55em 1.1em .55em .8em !important; }
.m3d-redes--grandes .wp-block-social-link-label { font-size: 1rem !important; }

/* Cinco categorías: rejilla que se acomoda sola */
.m3d-categorias { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.m3d-categorias .wp-block-column { flex-basis: auto !important; }
.m3d-categorias .m3d-cat-color { height: 150px; }
.m3d-categorias h3 { padding: 0 .6rem; font-size: 1.1rem; }
.m3d-categorias .wp-block-column:nth-child(5) .m3d-cat-color { background: #dfeaff; }

.m3d-categorias .wp-block-column:nth-child(6) .m3d-cat-color { background: #fff1c9; }

/* Carrusel de promociones */
.m3d-promos { padding-left: 0; padding-right: 0; }
.m3d-carrusel { position: relative; }
.m3d-carrusel__pista {
	display: flex; align-items: center; gap: 1.25rem;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: .75rem max(1.25rem, calc(50vw - 590px)) 1.25rem;
	scrollbar-width: none;
}
.m3d-carrusel__pista::-webkit-scrollbar { display: none; }
.m3d-carrusel__item {
	flex: 0 0 auto; scroll-snap-align: center;
	height: 520px; aspect-ratio: var(--m3d-ar);
	border-radius: var(--m3d-radio); overflow: hidden;
	box-shadow: var(--m3d-sombra); background: #fff;
	transition: transform .2s ease, box-shadow .2s ease;
}
.m3d-carrusel__item:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(94, 63, 163, .28); }
.m3d-carrusel__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.m3d-carrusel__flecha {
	position: absolute; top: 46%; transform: translateY(-50%); z-index: 2;
	width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
	background: linear-gradient(135deg, var(--m3d-rosa-oscuro), var(--m3d-morado-oscuro)); color: #fff;
	font-size: 30px; line-height: 1; padding: 0 0 4px;
	box-shadow: 0 6px 16px rgba(94, 63, 163, .35);
}
.m3d-carrusel__flecha--ant { left: 14px; }
.m3d-carrusel__flecha--sig { right: 14px; }
.m3d-carrusel__flecha:hover { filter: brightness(1.1); }
.m3d-carrusel__puntos { display: flex; justify-content: center; gap: .5rem; }
.m3d-carrusel__puntos button {
	width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	background: #e3c9dc; transition: width .2s ease, background .2s ease;
}
.m3d-carrusel__puntos button.is-activo { width: 28px; border-radius: 999px; background: var(--m3d-rosa-oscuro); }
@media (max-width: 781px) {
	.m3d-carrusel__pista { gap: .9rem; padding: .5rem 9vw 1rem; }
	.m3d-carrusel__item { height: auto; width: 82vw; }
	.m3d-carrusel__flecha { width: 38px; height: 38px; font-size: 24px; }
	.m3d-carrusel__flecha--ant { left: 6px; }
	.m3d-carrusel__flecha--sig { right: 6px; }
}

@media (max-width: 781px) {
	.m3d-carrusel__item { width: auto; height: min(66vh, calc(82vw / var(--m3d-ar))); }
}

/* Pedido corto: datos, pago y comprobante en una sola página */
#billing_country_field { display: none !important; }
.m3d-pago { background: var(--m3d-crema); border: 2px solid #f3d3e2; border-radius: var(--m3d-radio); padding: 1.5rem; margin: 1.5rem 0; }
.m3d-pago h3 { margin-top: 0; }
.m3d-pago__cols { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 1.5rem; align-items: start; }
.m3d-pago__qr img { width: 100%; max-width: 280px; height: auto; border-radius: 16px; display: block; }
.m3d-pago__estado { font-weight: 700; min-height: 1.4em; margin: .6rem 0 0; }
.m3d-pago__estado.is-ok { color: #1f6b3a; }
.m3d-pago__estado.is-error { color: #9b2222; }
.m3d-gps { margin-top: .5rem; background: #fff; color: var(--m3d-morado-oscuro); border: 2px solid var(--m3d-morado); border-radius: 999px; padding: .45em 1em; font-family: "Fredoka", sans-serif; font-weight: 600; cursor: pointer; }
.m3d-gps:hover { background: #f1ebfb; }
.m3d-gps__info { font-size: .92rem; font-weight: 700; }
@media (max-width: 700px) { .m3d-pago__cols { grid-template-columns: 1fr; } .m3d-pago__qr img { margin: 0 auto; } }

/* Portada con video del taller */
.m3d-hero { position: relative; overflow: hidden; }
.m3d-hero > * { position: relative; z-index: 1; }
.m3d-hero > .m3d-hero__video {
	position: absolute; inset: 0; z-index: 0; max-width: none !important; margin: 0 !important;
	opacity: 0; transition: opacity 1.6s ease;
}
.m3d-hero.is-video > .m3d-hero__video { opacity: 1; }
.m3d-hero__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.m3d-hero__video::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(94, 63, 163, .82) 0%, rgba(143, 62, 150, .62) 45%, rgba(58, 43, 82, .30) 100%);
}
.m3d-hero > .m3d-hero__puntos {
	position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; margin: 0 !important; max-width: none !important;
	display: flex; justify-content: center; gap: .5rem;
}
.m3d-hero__puntos button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .2s ease, background .2s ease; }
.m3d-hero__puntos button.is-activo { width: 28px; border-radius: 999px; background: #fff; }

/* Modos de entrega en el pedido */
.m3d-entrega > label:first-child, .m3d-entrega > label { font-family: "Fredoka", sans-serif !important; font-weight: 600; }
.m3d-entrega .woocommerce-input-wrapper { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.m3d-entrega input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.m3d-entrega label.radio { display: inline-block; margin: 0; padding: .6em 1.2em; border: 2px solid var(--m3d-morado); border-radius: 999px; background: #fff; color: var(--m3d-morado-oscuro); font-family: "Fredoka", sans-serif !important; font-weight: 600; cursor: pointer; }
.m3d-entrega input[type="radio"]:checked + label.radio { background: linear-gradient(135deg, var(--m3d-rosa-oscuro), var(--m3d-morado-oscuro)); border-color: transparent; color: #fff; }
.m3d-entrega input[type="radio"]:focus-visible + label.radio { outline: 3px solid var(--m3d-rosa); outline-offset: 2px; }
.m3d-envio-nota { background: #fff8d6; border-left: 5px solid #ffb300; border-radius: 10px; padding: .6rem .9rem; margin: .6rem 0 0; font-weight: 700; }

/* Pedido: tienda, campos obligatorios y botones de entrega sin asterisco */
.m3d-entrega label.radio .required, .m3d-entrega label.radio abbr { display: none !important; }
#billing_departamento_field .optional, #billing_address_1_field .optional { display: none !important; }
#billing_departamento_field > label::after, #billing_address_1_field > label::after { content: " *"; color: #b32d2e; font-weight: 700; }
.m3d-tienda-info { background: #f1ebfb; border-radius: var(--m3d-radio); padding: 1rem 1.2rem; margin: 0 0 1.2rem; clear: both; }
.m3d-tienda-info p { margin: 0 0 .4rem; }
.m3d-tienda-info__titulo { font-family: "Fredoka", sans-serif !important; font-weight: 700; font-size: 1.1rem; color: var(--m3d-morado-oscuro); }
.m3d-tienda-info a { font-weight: 800; }
.m3d-tienda-info iframe { display: block; width: 100%; height: 200px; border: 0; border-radius: 14px; margin-top: .6rem; }

/* Portada con varios videos encadenados */
.m3d-hero__video video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.m3d-hero__video video.is-activo { opacity: 1; }
.m3d-hero__video::after { z-index: 1; }
