/*
 * Look de Mentalidad Alpha para la tienda.
 * Spec: docs/modules/home-tienda.md. Colores y fuentes del sorteo de Netlify (Sorteo/web/css/estilos.css).
 */

:root {
	--ma-negro: #0a0a0a;
	--ma-negro-2: #111111;
	--ma-superficie: #161616;
	--ma-borde: #262626;
	--ma-rojo: #d7141a;
	--ma-rojo-oscuro: #a50f14;
	--ma-plata: #c9ccd1;
	--ma-gris-texto: #9a9da3;
	--ma-blanco: #f5f5f5;
	--ma-fuente-titulo: "Bebas Neue", "Arial Narrow", sans-serif;
	--ma-fuente-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Variables de XStore: color activo y de botones */
	--et_active-color: var(--ma-rojo);
	--et_btn-bg-color: var(--ma-rojo);
	--et_btn-br-color: var(--ma-rojo);
	--et_btn-bg-color-hover: var(--ma-rojo-oscuro);
	--et_btn-br-color-hover: var(--ma-rojo-oscuro);
}

/* =========================================================
   Global: cabecera, pie, botones y precios de la tienda
   ========================================================= */

header.elementor-location-header > .e-con:first-child,
header.elementor-location-header .etheme-elementor-header-sticky {
	background-color: var(--ma-negro);
}

header.elementor-location-header .elementor-widget-theme-etheme_site-logo img {
	max-height: 110px;
	width: auto;
}

footer.elementor-location-footer,
footer.elementor-location-footer > .e-con {
	background-color: var(--ma-negro);
}

/* Logo del pie: el de Mentalidad Alpha es cuadrado; sin esto ocupa toda la columna. */
footer.elementor-location-footer .elementor-widget-image img {
	width: auto;
	max-width: 180px;
	max-height: 180px;
	height: auto;
}

@media (max-width: 767px) {
	footer.elementor-location-footer .elementor-widget-image img {
		max-width: 140px;
		max-height: 140px;
	}
}

.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.single_add_to_cart_button,
.checkout-button,
#place_order {
	background-color: var(--ma-rojo) !important;
	border-color: var(--ma-rojo) !important;
	color: #fff !important;
}

.woocommerce .button.alt:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
#place_order:hover {
	background-color: var(--ma-rojo-oscuro) !important;
	border-color: var(--ma-rojo-oscuro) !important;
}

.products .price ins .amount,
.products .price > .amount,
.single-product .summary .price .amount {
	color: var(--ma-rojo);
}

.onsale,
.product-labels .type-label-2,
.et-new-label {
	background-color: var(--ma-rojo) !important;
	color: #fff !important;
}

/* =========================================================
   Home (page-inicio.php)
   ========================================================= */

.ma-home {
	background: var(--ma-negro);
	color: var(--ma-blanco);
	font-family: var(--ma-fuente-texto);
	overflow-x: clip;
}

.ma-home *,
.ma-home *::before,
.ma-home *::after {
	box-sizing: border-box;
}

.ma-home img {
	max-width: 100%;
}

.ma-contenedor {
	width: min(1280px, 100% - 32px);
	margin-inline: auto;
}

/* ---------- Botones ---------- */

.ma-home .ma-boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 34px;
	background: var(--ma-rojo);
	border: 2px solid var(--ma-rojo);
	color: #fff;
	font-family: var(--ma-fuente-titulo);
	font-size: 1.4rem;
	letter-spacing: 0.07em;
	text-decoration: none;
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ma-home .ma-boton:hover,
.ma-home .ma-boton:focus-visible {
	background: var(--ma-rojo-oscuro);
	border-color: var(--ma-rojo-oscuro);
	color: #fff;
	transform: translateY(-2px);
}

.ma-home .ma-boton--borde {
	clip-path: none;
	background: rgba(10, 10, 10, 0.35);
	border-color: var(--ma-blanco);
	color: var(--ma-blanco);
	backdrop-filter: blur(4px);
}

.ma-home .ma-boton--borde:hover,
.ma-home .ma-boton--borde:focus-visible {
	background: var(--ma-blanco);
	border-color: var(--ma-blanco);
	color: var(--ma-negro);
}

.ma-home .ma-boton--oscuro {
	background: var(--ma-negro);
	border-color: var(--ma-negro);
}

.ma-home .ma-boton--oscuro:hover {
	background: var(--ma-rojo);
	border-color: var(--ma-rojo);
}

/* ---------- 1. Portada ---------- */

.ma-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(560px, calc(100svh - 220px), 860px);
	padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 8vw, 110px);
	isolation: isolate;
	overflow: hidden;
}

.ma-hero__fondo {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--ma-negro) url("../img/fondo-horizontal.webp") center / cover no-repeat;
}

.ma-hero__fondo::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.6) 45%, rgba(10, 10, 10, 0.2) 100%),
		linear-gradient(0deg, var(--ma-negro) 0%, transparent 30%);
}

.ma-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ma-hero__video--v {
	display: none;
}

.ma-hero__rejilla {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
}

.ma-hero__lema {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	color: var(--ma-plata);
	font-size: clamp(0.72rem, 1.2vw, 0.86rem);
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.ma-hero__lema::before {
	content: "";
	width: 36px;
	height: 3px;
	background: var(--ma-rojo);
}

.ma-hero__titulo {
	display: flex;
	flex-direction: column;
	margin: 0;
	color: var(--ma-blanco);
	font-family: var(--ma-fuente-titulo);
	font-size: clamp(4.2rem, 11vw, 9.5rem);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 0.86;
	text-transform: uppercase;
	text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.ma-hero__titulo-rojo {
	color: var(--ma-rojo);
	-webkit-text-stroke: 0;
}

.ma-hero__bajada {
	max-width: 30ch;
	margin: 22px 0 0;
	color: #e6e6e6;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	line-height: 1.45;
}

.ma-hero__botones {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.ma-hero__producto {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ma-hero__halo {
	position: absolute;
	top: 6%;
	left: 50%;
	width: 88%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(215, 20, 26, 0.55) 0%, rgba(215, 20, 26, 0.15) 45%, transparent 70%);
	transform: translateX(-50%);
	animation: ma-latido 4s ease-in-out infinite;
}

.ma-hero__bote-enlace {
	display: block;
}

.ma-hero__bote {
	position: relative;
	display: block;
	width: clamp(220px, 24vw, 350px);
	height: auto;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7));
	animation: ma-flotar 6s ease-in-out infinite;
}

.ma-hero__ficha {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 2px 16px;
	width: min(100%, 360px);
	margin-top: -10px;
	padding: 14px 18px;
	background: rgba(17, 17, 17, 0.85);
	border: 1px solid var(--ma-borde);
	border-left: 3px solid var(--ma-rojo);
	color: var(--ma-blanco);
	text-decoration: none;
	backdrop-filter: blur(6px);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.ma-hero__ficha:hover {
	border-color: var(--ma-rojo);
	color: var(--ma-blanco);
	transform: translateY(-2px);
}

.ma-hero__ficha-nombre {
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.3;
}

.ma-hero__ficha-precio {
	grid-column: 1;
	color: var(--ma-rojo);
	font-family: var(--ma-fuente-titulo);
	font-size: 1.6rem;
	letter-spacing: 0.03em;
}

.ma-hero__ficha-precio .amount {
	color: inherit;
}

.ma-hero__ficha-ver {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: var(--ma-rojo);
	color: #fff;
	font-size: 1.2rem;
}

.ma-hero__bajar {
	position: absolute;
	bottom: 22px;
	left: 50%;
	width: 26px;
	height: 42px;
	border: 2px solid rgba(245, 245, 245, 0.5);
	border-radius: 14px;
	transform: translateX(-50%);
}

.ma-hero__bajar span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	border-radius: 2px;
	background: var(--ma-blanco);
	transform: translateX(-50%);
	animation: ma-bajar 1.8s ease-in-out infinite;
}

@keyframes ma-flotar {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-16px) rotate(1deg); }
}

@keyframes ma-latido {
	0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(0.96); }
	50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

@keyframes ma-bajar {
	0% { opacity: 0; transform: translate(-50%, 0); }
	40% { opacity: 1; }
	100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- Secciones y encabezados ---------- */

.ma-seccion {
	padding: clamp(56px, 7vw, 96px) 0;
}

.ma-seccion--negra {
	background: var(--ma-negro);
	color: var(--ma-blanco);
}

.ma-seccion--gris {
	background: #f2f2f2;
	color: #151515;
}

.ma-encabezado {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.ma-encabezado__titulo {
	position: relative;
	margin: 0;
	padding-left: 18px;
	color: inherit;
	font-family: var(--ma-fuente-titulo);
	font-size: clamp(2.6rem, 5vw, 4rem);
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 0.95;
	text-transform: uppercase;
}

.ma-encabezado__titulo::before {
	content: "";
	position: absolute;
	top: 6%;
	bottom: 10%;
	left: 0;
	width: 6px;
	background: var(--ma-rojo);
}

.ma-encabezado__mas {
	color: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	border-bottom: 2px solid var(--ma-rojo);
	padding-bottom: 4px;
}

.ma-encabezado__mas:hover {
	color: var(--ma-rojo);
}

/* ---------- 2. Categorías ---------- */

.ma-cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ma-cats li {
	margin: 0;
}

.ma-cat {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 4 / 3;
	padding: 18px;
	overflow: hidden;
	background: var(--ma-superficie);
	border: 1px solid var(--ma-borde);
	color: var(--ma-blanco);
	text-decoration: none;
	isolation: isolate;
}

.ma-cat__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ma-cat::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.35) 55%, rgba(10, 10, 10, 0.1) 100%);
	transition: background-color 0.3s ease;
}

.ma-cat:hover {
	color: var(--ma-blanco);
	border-color: var(--ma-rojo);
}

.ma-cat:hover .ma-cat__img {
	transform: scale(1.06);
}

.ma-cat__texto {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ma-cat__nombre {
	font-family: var(--ma-fuente-titulo);
	font-size: clamp(1.7rem, 2.4vw, 2.2rem);
	letter-spacing: 0.03em;
	line-height: 1;
	text-transform: uppercase;
}

.ma-cat__total {
	color: var(--ma-plata);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ma-cat__total::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 2px;
	margin: 0 8px 3px 0;
	background: var(--ma-rojo);
	vertical-align: middle;
}

/* ---------- 4. Productos ---------- */

.ma-pestanas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ma-home .ma-pestana {
	min-height: 42px;
	padding: 0 18px;
	background: transparent;
	border: 2px solid #d4d4d4;
	border-radius: 0;
	color: #333;
	font-family: var(--ma-fuente-texto);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ma-home .ma-pestana:hover {
	border-color: #151515;
	color: #151515;
}

.ma-home .ma-pestana[aria-selected="true"] {
	background: #151515;
	border-color: #151515;
	color: #fff;
}

.ma-home .ma-pestana:focus-visible {
	outline: 3px solid var(--ma-rojo);
	outline-offset: 2px;
}

.ma-rejilla {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.ma-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e3e3;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.ma-card:hover {
	border-color: #cfcfcf;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.ma-card__enlace {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0 0 6px;
	color: #151515;
	text-decoration: none;
}

.ma-card__enlace:hover {
	color: #151515;
}

.ma-card__img {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: #f6f6f6;
}

.ma-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ma-card:hover .ma-card__img img {
	transform: scale(1.05);
}

.ma-card__cat {
	margin: 14px 16px 0;
	color: var(--ma-rojo);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ma-home .ma-card__titulo {
	display: -webkit-box;
	margin: 6px 16px 0;
	overflow: hidden;
	color: #151515;
	font-family: var(--ma-fuente-texto);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	min-height: 2.7em;
}

.ma-card__precio {
	margin: 10px 16px 0;
	color: #151515;
	font-family: var(--ma-fuente-titulo);
	font-size: 1.65rem;
	letter-spacing: 0.02em;
	line-height: 1;
}

.ma-card__precio .amount {
	color: inherit;
}

.ma-card__precio del {
	color: #999;
	font-size: 0.75em;
}

.ma-card__precio ins {
	color: var(--ma-rojo);
	text-decoration: none;
}

.ma-home .ma-card__boton {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin: 12px 16px 16px;
	padding: 0 12px;
	background: var(--ma-rojo);
	border: 2px solid var(--ma-rojo);
	border-radius: 0;
	color: #fff;
	font-family: var(--ma-fuente-titulo);
	font-size: 1.2rem;
	letter-spacing: 0.06em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ma-home .ma-card__boton:hover {
	background: var(--ma-rojo-oscuro);
	border-color: var(--ma-rojo-oscuro);
	color: #fff;
}

.ma-home .ma-card__boton--borde {
	background: transparent;
	border-color: #151515;
	color: #151515;
}

.ma-home .ma-card__boton--borde:hover {
	background: #151515;
	border-color: #151515;
}

.ma-home .ma-card__boton.loading {
	opacity: 0.6;
}

.ma-home .ma-card__boton.added::after {
	content: " ✓";
}

.ma-card .added_to_cart {
	margin: -8px 16px 14px;
	color: #151515;
	font-size: 0.8rem;
	font-weight: 600;
	text-align: center;
}

.ma-panel__mas {
	margin: 36px 0 0;
	text-align: center;
}

/* ---------- 5. Valores ---------- */

.ma-valores {
	background: var(--ma-rojo);
	color: #fff;
	overflow: hidden;
}

.ma-valores__lista {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.ma-valor {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: clamp(28px, 4vw, 52px) clamp(16px, 2.5vw, 36px);
	border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.ma-valor:last-child {
	border-right: 0;
}

.ma-valor:nth-child(even) {
	background: rgba(0, 0, 0, 0.12);
}

.ma-valor__n {
	color: rgba(255, 255, 255, 0.65);
	font-family: var(--ma-fuente-titulo);
	font-size: 1.3rem;
	letter-spacing: 0.1em;
}

.ma-valor__palabra {
	font-family: var(--ma-fuente-titulo);
	font-size: clamp(2.2rem, 4.2vw, 3.8rem);
	letter-spacing: 0.02em;
	line-height: 0.95;
	text-transform: uppercase;
}

/* ---------- 6. Servicios ---------- */

.ma-servicios {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ma-servicio {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 320px;
	padding: clamp(28px, 4vw, 48px);
	overflow: hidden;
	background:
		radial-gradient(ellipse at 100% 0%, rgba(215, 20, 26, 0.35), transparent 60%),
		var(--ma-superficie);
	border: 1px solid var(--ma-borde);
	color: var(--ma-blanco);
	text-decoration: none;
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.ma-servicio:hover {
	border-color: var(--ma-rojo);
	color: var(--ma-blanco);
	transform: translateY(-4px);
}

.ma-servicio__n {
	position: absolute;
	top: 10px;
	right: 22px;
	color: rgba(255, 255, 255, 0.06);
	font-family: var(--ma-fuente-titulo);
	font-size: 9rem;
	line-height: 1;
}

.ma-servicio__rotulo {
	color: var(--ma-rojo);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ma-servicio__titulo {
	font-family: var(--ma-fuente-titulo);
	font-size: clamp(2.6rem, 4.5vw, 3.6rem);
	letter-spacing: 0.02em;
	line-height: 0.95;
	text-transform: uppercase;
}

.ma-servicio__texto {
	max-width: 42ch;
	color: #cfcfcf;
	font-size: 1rem;
	line-height: 1.55;
}

.ma-servicio__ir {
	margin-top: auto;
	padding-top: 18px;
	color: var(--ma-blanco);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ma-servicio:hover .ma-servicio__ir {
	color: var(--ma-rojo);
}

/* ---------- 7. Blog ---------- */

.ma-blog {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ma-entrada {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e3e3;
	color: #151515;
	text-decoration: none;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ma-entrada:hover {
	color: #151515;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.ma-entrada__img {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e9e9e9;
}

.ma-entrada__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ma-entrada:hover .ma-entrada__img img {
	transform: scale(1.05);
}

.ma-entrada__meta {
	margin: 16px 18px 0;
	color: var(--ma-rojo);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ma-entrada__titulo {
	margin: 8px 18px 20px;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.35;
}

/* ---------- Banner del sorteo dentro del home ---------- */

.ma-home .ms-banner {
	border-bottom: 0;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1024px) {
	.ma-rejilla {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.ma-cats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.ma-hero {
		min-height: 0;
		padding-top: 36px;
	}
	.ma-hero__video--h {
		display: none;
	}
	.ma-hero__video--v {
		display: block;
	}
	.ma-hero__fondo {
		background-image: url("../img/fondo-vertical.webp");
	}
	.ma-hero__fondo::after {
		background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.85) 60%, var(--ma-negro) 100%);
	}
	.ma-hero__rejilla {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.ma-hero__lema {
		justify-content: center;
		letter-spacing: 0.14em;
	}
	.ma-hero__lema::before {
		display: none;
	}
	.ma-hero__titulo {
		align-items: center;
	}
	.ma-hero__bajada {
		margin-inline: auto;
	}
	.ma-hero__botones {
		justify-content: center;
	}
	.ma-hero__titulo {
		font-size: clamp(3.6rem, 18vw, 5.5rem);
	}
	.ma-hero__botones {
		margin-top: 26px;
	}
	.ma-hero__bote {
		width: min(46vw, 210px);
	}
	.ma-hero__ficha {
		margin-top: -4px;
	}
	.ma-hero__ficha {
		text-align: left;
	}
	.ma-hero__bajar {
		display: none;
	}
	/* Categorías en carrusel horizontal */
	.ma-cats {
		display: flex;
		gap: 12px;
		margin-inline: -16px;
		padding: 0 16px 6px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.ma-cats::-webkit-scrollbar {
		display: none;
	}
	.ma-cats li {
		flex: 0 0 68%;
		scroll-snap-align: start;
	}
	.ma-valores__lista {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ma-valor:nth-child(2) {
		border-right: 0;
	}
	.ma-valor:nth-child(-n + 2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	}
	.ma-servicios,
	.ma-blog {
		grid-template-columns: 1fr;
	}
	.ma-servicio {
		min-height: 0;
	}
	.ma-pestanas {
		flex-wrap: nowrap;
		width: 100%;
		margin-inline: -16px;
		padding: 0 16px 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.ma-pestanas::-webkit-scrollbar {
		display: none;
	}
	.ma-home .ma-pestana {
		flex: 0 0 auto;
	}
}

@media (max-width: 600px) {
	.ma-rejilla {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.ma-card__cat {
		margin: 10px 10px 0;
	}
	.ma-home .ma-card__titulo {
		margin: 4px 10px 0;
		font-size: 0.85rem;
	}
	.ma-card__precio {
		margin: 8px 10px 0;
		font-size: 1.4rem;
	}
	.ma-home .ma-card__boton {
		min-height: 42px;
		margin: 10px;
		font-size: 1.05rem;
	}
	.ma-home .ma-boton {
		width: 100%;
	}
	.ma-hero__botones {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ma-hero__video {
		display: none !important;
	}
	.ma-hero__bote,
	.ma-hero__halo,
	.ma-hero__bajar span {
		animation: none;
	}
	.ma-home *,
	.ma-home *::before,
	.ma-home *::after {
		transition: none !important;
	}
}
