/* Magenta Spicy – Inicio [magenta_inicio]
   Catálogo flotante sobre marfil satinado; un solo acento: magenta. */

.msh {
	--ms-canvas: #f6f2ee;
	--ms-surface: #ffffff;
	--ms-satin: #efe8e1;
	--ms-ink: #0b0a0c;
	--ms-muted: #6e6168;
	--ms-hairline: #ece4de;
	--ms-border: #968491;
	--ms-magenta: var(--mgc-bg, #9c3586);
	--ms-on-magenta: #ffffff;
	--ms-wash: #f3e3ee;
	--ms-noche: #3f195d;
	--ms-lacre: #7e182d;
	--ms-champan: #cbb296;
	--ms-cuarzo: #d1a8c4;
	--ms-shadow-card: 0 4px 6px -1px rgba(31, 10, 40, .10), 0 2px 4px -2px rgba(31, 10, 40, .10);
	--ms-shadow-chip: 0 2px 8px 0 rgba(31, 10, 40, .06);
	--ms-shadow-float: 0 4px 24px 0 rgba(31, 10, 40, .12);
	--ms-shadow-magenta: 0 4px 24px 0 rgba(156, 53, 134, .34);
	--ms-display: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
	--ms-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	font-family: var(--ms-sans);
	font-size: 16px;
	line-height: 1.38;
	letter-spacing: -0.031em;
	color: var(--ms-ink);
	background: var(--ms-canvas);
	overflow-x: clip;
	/* Ocupa todo el ancho aunque la página tenga contenedor del tema */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

html:has(.msh),
body:has(.msh) {
	overflow-x: clip;
}

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

.msh a {
	color: inherit;
	text-decoration: none;
}

.msh img {
	max-width: 100%;
	height: auto;
	display: block;
}

.msh-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Tipografía ---------- */
.msh .msh-eyebrow {
	display: block;
	margin: 0 0 6px;
	font-family: var(--ms-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ms-muted);
}

.msh .msh-display {
	margin: 0 auto 14px;
	max-width: 15ch;
	font-family: var(--ms-display);
	font-size: clamp(30px, 6vw, 52px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ms-ink);
	text-wrap: balance;
}

.msh .msh-title {
	margin: 0 0 10px;
	font-family: var(--ms-display);
	font-size: clamp(26px, 4vw, 34px);
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1.1;
}

.msh-lead {
	margin: 0 auto 26px;
	max-width: 54ch;
	color: var(--ms-muted);
	font-size: 16px;
	text-wrap: balance;
}

/* ---------- Botones ---------- */
.msh .msh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 9999px;
	border: 1px solid transparent;
	font-family: var(--ms-sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.031em;
	line-height: 1.2;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .15s ease, filter .15s ease;
}

.msh .msh-btn--primary,
.msh a.mgc-wa-btn.msh-btn--primary {
	background: var(--ms-magenta) !important;
	color: var(--ms-on-magenta) !important;
	box-shadow: var(--ms-shadow-magenta);
}

.msh .msh-btn--light {
	background: #fff;
	color: var(--ms-noche);
}

.msh .msh-btn:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.msh .msh-btn svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.msh a:focus-visible,
.msh button:focus-visible,
.msh input:focus-visible {
	outline: 2px solid var(--ms-magenta);
	outline-offset: 3px;
}

/* ---------- Hero: vitrina viva ---------- */
.msh-hero {
	position: relative;
	padding: 32px 16px 64px;
	text-align: center;
	overflow: clip;
	isolation: isolate;
	background:
		linear-gradient(180deg, #eadfd2 0%, #f1e9e1 42%, var(--ms-canvas) 100%);
}

.msh-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 auto;
}

/* Halo de luz que respira detrás de la imagen */
.msh-aura {
	position: absolute;
	z-index: 0;
	left: 50%;
	top: 40px;
	width: min(1100px, 150vw);
	aspect-ratio: 1.5;
	transform: translateX(-50%);
	pointer-events: none;
	background:
		radial-gradient(closest-side at 35% 45%, rgba(156, 53, 134, .28), transparent 70%),
		radial-gradient(closest-side at 68% 40%, rgba(63, 25, 93, .22), transparent 70%),
		radial-gradient(closest-side at 50% 70%, rgba(203, 178, 150, .45), transparent 70%);
	filter: blur(30px);
	animation: msh-aura 14s ease-in-out infinite alternate;
}

@keyframes msh-aura {
	0% { transform: translateX(-50%) scale(1) rotate(0deg); opacity: .8; }
	100% { transform: translateX(-50%) scale(1.12) rotate(8deg); opacity: 1; }
}

/* Escenario 3D */
.msh-stage {
	position: relative;
	margin: 0 auto 28px;
	max-width: 760px;
	perspective: 1400px;
	perspective-origin: 50% 40%;
	touch-action: pan-y;
}

.msh-stage-tilt {
	position: relative;
	transform-style: preserve-3d;
	transform: rotateX(var(--msh-rx, 0deg)) rotateY(var(--msh-ry, 0deg));
	transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

/* Imagen corporativa: protagonista */
.msh-brand {
	position: relative;
	margin: 0;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 30px 70px -20px rgba(63, 25, 93, .45), 0 10px 24px -8px rgba(31, 10, 40, .18);
	background: #efe8e1;
	animation: msh-reveal 1.3s cubic-bezier(.2, .8, .2, 1) both, msh-bob 8s ease-in-out 1.3s infinite;
}

.msh-brand img {
	width: 100%;
	height: auto;
	display: block;
	transform: scale(1.04);
	animation: msh-zoom 2.4s cubic-bezier(.2, .8, .2, 1) both;
}

/* Reflejo que sigue el puntero */
.msh-brand::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(circle at var(--msh-gx, 50%) var(--msh-gy, 30%), rgba(255, 255, 255, .38), transparent 45%);
	mix-blend-mode: soft-light;
	opacity: var(--msh-glare, 0);
	transition: opacity .4s ease;
}

/* Brillo de satén que cruza la imagen */
.msh-sheen {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 236, .55) 48%, rgba(255, 255, 255, .85) 50%, rgba(255, 246, 236, .55) 52%, transparent 62%);
	background-size: 260% 100%;
	background-repeat: no-repeat;
	mix-blend-mode: soft-light;
	animation: msh-sheen 7s ease-in-out 1.6s infinite;
}

@keyframes msh-reveal {
	0% { clip-path: inset(46% 46% 46% 46% round 28px); opacity: 0; filter: blur(12px); }
	60% { opacity: 1; }
	100% { clip-path: inset(0 0 0 0 round 28px); opacity: 1; filter: blur(0); }
}

@keyframes msh-zoom {
	from { transform: scale(1.18); }
	to { transform: scale(1.04); }
}

@keyframes msh-bob {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(0, -8px, 0); }
}

@keyframes msh-sheen {
	0% { background-position: 130% 0; }
	45%, 100% { background-position: -30% 0; }
}

/* Destellos de diamante */
.msh-sparks {
	position: absolute;
	inset: 0;
	pointer-events: none;
	transform: translateZ(70px);
	transform-style: preserve-3d;
}

.msh-sparks i {
	position: absolute;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	background: radial-gradient(circle, #fff 0 18%, #f6e7d4 40%, rgba(203, 178, 150, 0) 72%);
	clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
	filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9));
	opacity: 0;
	animation: msh-twinkle 4.2s ease-in-out infinite;
}

.msh-sparks i.is-big {
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
}

@keyframes msh-twinkle {
	0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); }
	12% { opacity: 1; transform: scale(1) rotate(45deg); }
	26% { opacity: 0; transform: scale(.3) rotate(90deg); }
}

/* Órbita de productos reales (computador) */
.msh-orbit {
	display: none;
}

@media (min-width: 900px) {
	.msh-hero--live {
		padding-top: 60px;
		padding-bottom: 0;
	}

	.msh-hero--live .msh-stage {
		margin-bottom: 84px;
		cursor: grab;
	}

	.msh-hero--live .msh-stage.is-dragging {
		cursor: grabbing;
	}

	.msh-orbit {
		display: block;
		position: absolute;
		left: 50%;
		top: 50%;
		width: 0;
		height: 0;
		transform-style: preserve-3d;
	}

	.msh-orb {
		--orb: 112px;
		position: absolute;
		left: calc(var(--orb) / -2);
		top: calc(var(--orb) / -2);
		width: var(--orb);
		padding: 6px;
		border-radius: 24px;
		background: rgba(255, 255, 255, .92);
		box-shadow: 0 14px 30px -10px rgba(63, 25, 93, .35), 0 0 0 1px rgba(203, 178, 150, .35);
		opacity: 0;
		will-change: transform, opacity;
		-webkit-user-drag: none;
	}

	.msh-orb img {
		width: 100%;
		aspect-ratio: 1;
		object-fit: contain;
		border-radius: 18px;
		background: #fff;
		pointer-events: none;
	}

	.msh-orb span {
		position: absolute;
		left: 50%;
		top: calc(100% + 8px);
		width: max-content;
		max-width: 190px;
		padding: 6px 12px;
		border-radius: 9999px;
		background: var(--ms-noche);
		color: #fff;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: -0.01em;
		line-height: 1.25;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		transform: translate(-50%, -4px);
		opacity: 0;
		pointer-events: none;
		transition: opacity .2s ease, transform .2s ease;
	}

	.msh-orb:hover,
	.msh-orb:focus-visible {
		box-shadow: 0 18px 40px -10px rgba(156, 53, 134, .55), 0 0 0 2px var(--ms-magenta);
	}

	.msh-orb:hover span,
	.msh-orb:focus-visible span {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

/* Carrusel 3D de productos (celular y tablet) */
.msh-ring {
	display: none;
}

@media (max-width: 899px) {
	.msh-ring {
		display: block;
		position: relative;
		height: 176px;
		margin: -30px -16px 30px;
		perspective: 900px;
		perspective-origin: 50% 20%;
		touch-action: pan-y;
		-webkit-user-select: none;
		user-select: none;
		-webkit-tap-highlight-color: transparent;
	}

	/* Pedestal de satén con luz magenta */
	.msh-ring-floor {
		position: absolute;
		left: 50%;
		bottom: 24px;
		width: min(330px, 86vw);
		height: 62px;
		transform: translateX(-50%);
		border-radius: 50%;
		background:
			radial-gradient(ellipse at 50% 45%, rgba(156, 53, 134, .30), rgba(63, 25, 93, .10) 55%, transparent 72%);
		box-shadow: inset 0 -2px 0 rgba(203, 178, 150, .55), 0 12px 24px -14px rgba(63, 25, 93, .45);
		animation: msh-floor 4s ease-in-out infinite alternate;
	}

	.msh-ring-track {
		position: absolute;
		left: 50%;
		top: 47%;
		width: 0;
		height: 0;
		transform-style: preserve-3d;
	}

	.msh-ring-item {
		position: absolute;
		left: -45px;
		top: -45px;
		width: 90px;
		padding: 5px;
		border-radius: 22px;
		background: #fff;
		box-shadow: 0 14px 24px -12px rgba(63, 25, 93, .5), 0 0 0 1px rgba(203, 178, 150, .4);
		opacity: 0;
		will-change: transform, opacity;
		-webkit-user-drag: none;
	}

	.msh-ring-item.is-front {
		box-shadow: 0 16px 30px -10px rgba(156, 53, 134, .6), 0 0 0 2px var(--ms-magenta);
	}

	.msh-ring-item img {
		width: 100%;
		aspect-ratio: 1;
		object-fit: contain;
		border-radius: 17px;
		pointer-events: none;
	}

	.msh .msh-ring-name {
		position: absolute;
		left: 16px;
		right: 16px;
		bottom: -14px;
		margin: 0;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: -0.01em;
		color: var(--ms-noche);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		transition: opacity .25s ease;
	}

	.msh-ring-name.is-fading {
		opacity: 0;
	}

	/* Vaivén suave del escenario en pantallas táctiles */
	.msh-hero--live .msh-stage-tilt:not(.is-oriented) {
		animation: msh-sway 9s ease-in-out 1.4s infinite;
	}

	.msh-hero--live .msh-stage {
		will-change: transform;
		transform-origin: 50% 0;
	}
}

@keyframes msh-floor {
	from { opacity: .75; transform: translateX(-50%) scaleX(.96); }
	to { opacity: 1; transform: translateX(-50%) scaleX(1.03); }
}

@keyframes msh-sway {
	0%, 100% { transform: rotateX(1.5deg) rotateY(-2.5deg) scale(.97); }
	50% { transform: rotateX(-1.5deg) rotateY(2.5deg) scale(.97); }
}

@media (max-width: 599px) {
	.msh-hero {
		padding-top: 16px;
	}

	.msh-stage {
		margin-left: -4px;
		margin-right: -4px;
	}

	.msh-brand {
		border-radius: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.msh-aura,
	.msh-brand,
	.msh-brand img,
	.msh-sheen,
	.msh-sparks i,
	.msh-ring-floor,
	.msh-stage-tilt {
		animation: none !important;
	}

	.msh-sparks i {
		opacity: .7;
	}
}

/* Buscador en píldora */
.msh-search {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	margin: 0 auto 22px;
	padding: 4px 4px 4px 22px;
	border-radius: 9999px;
	background: var(--ms-surface);
	border: 1px solid var(--ms-border);
	box-shadow: var(--ms-shadow-chip);
}

.msh-search:focus-within {
	border-color: var(--ms-magenta);
	box-shadow: 0 0 0 3px rgba(156, 53, 134, .15);
}

.msh .msh-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: var(--ms-sans);
	font-size: 16px;
	color: var(--ms-ink);
	outline: none;
}

.msh .msh-search input::placeholder {
	color: var(--ms-muted);
	opacity: 1;
}

.msh .msh-search button {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ms-magenta);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--ms-shadow-magenta);
	cursor: pointer;
}

/* Píldoras de categoría */
.msh-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

@media (max-width: 767px) {
	.msh-pills {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		margin: 0 -16px;
		padding: 4px 16px 10px;
		scrollbar-width: none;
	}

	.msh-pills::-webkit-scrollbar {
		display: none;
	}
}

.msh-pill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 16px 5px 5px;
	border-radius: 9999px;
	border: 1px solid var(--ms-hairline);
	background: var(--ms-surface);
	box-shadow: var(--ms-shadow-chip);
	font-size: 15px;
	white-space: nowrap;
	transition: border-color .15s ease, background .15s ease;
}

.msh-pill:hover {
	border-color: var(--ms-magenta);
	background: var(--ms-wash);
}

.msh-pill-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ms-satin);
	color: var(--ms-noche);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	font-family: var(--ms-display);
	font-weight: 600;
	font-size: 14px;
}

.msh-pill-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.msh-pill-icon svg {
	width: 16px;
	height: 16px;
}

.msh-pill--all .msh-pill-icon {
	background: var(--ms-magenta);
	color: #fff;
}

/* ---------- Secciones ---------- */
.msh-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 16px 0;
}

@media (min-width: 768px) {
	.msh-section {
		padding-top: 72px;
	}
}

.msh-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.msh .msh-h2 {
	margin: 0;
	font-family: var(--ms-sans);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.05em;
	text-transform: none;
	color: var(--ms-ink);
}

.msh-h2 a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.msh-more {
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 500;
	color: var(--ms-magenta) !important;
}

/* ---------- Tarjeta de producto ---------- */
.msh-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 8px 8px 14px;
	border-radius: 28px;
	background: var(--ms-surface);
	box-shadow: var(--ms-shadow-card);
	transition: transform .2s ease, box-shadow .2s ease;
}

.msh-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ms-shadow-card), var(--ms-shadow-float);
}

.msh-card-media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: 20px;
	overflow: hidden;
	background: var(--ms-satin);
}

.msh-card-media img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.msh-card-tag {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 4px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .88);
	color: #0b0a0c;
	font-size: 12px;
	font-weight: 600;
}

.msh-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0 6px;
}

.msh .msh-card-name {
	margin: 0;
	font-family: var(--ms-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.014em;
	text-transform: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.msh-card-meta {
	margin: 2px 0 0;
	font-size: 12px;
	color: var(--ms-muted);
	letter-spacing: -0.017em;
}

.msh .msh-card .msh-btn {
	margin-top: auto;
	width: 100%;
	min-height: 40px;
	padding: 8px 12px;
	gap: 6px;
	font-size: 14px;
	box-shadow: none;
}

/* Riel horizontal con flechas */
.msh-rail-wrap {
	position: relative;
}

.msh-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(200px, 1fr);
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 6px 2px 18px;
	scrollbar-width: none;
}

.msh-rail::-webkit-scrollbar {
	display: none;
}

.msh-rail > * {
	scroll-snap-align: start;
}

@media (min-width: 900px) {
	.msh-rail {
		grid-auto-columns: calc((100% - 36px) / 4);
	}
}

@media (max-width: 599px) {
	.msh-rail {
		grid-auto-columns: 62%;
		margin: 0 -16px;
		padding-left: 16px;
		padding-right: 16px;
		scroll-padding-left: 16px;
	}
}

.msh .msh-arrow {
	position: absolute;
	top: 38%;
	z-index: 3;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ms-surface);
	color: var(--ms-ink);
	box-shadow: var(--ms-shadow-float);
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.msh-arrow--prev { left: -14px; }
.msh-arrow--next { right: -14px; }

@media (min-width: 900px) {
	.msh .msh-arrow {
		display: flex;
	}

	.msh .msh-arrow[disabled] {
		opacity: 0;
		pointer-events: none;
	}
}

/* Grilla de categoría */
.msh-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (min-width: 900px) {
	.msh-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Texto corto del botón cuando la tarjeta es angosta (2 columnas en celular) */
.msh .msh-btn .msh-s {
	display: none;
}

@media (max-width: 599px) {
	.msh .msh-grid .msh-btn .msh-l {
		display: none;
	}

	.msh .msh-grid .msh-btn .msh-s {
		display: inline;
	}
}

/* Reels dentro del inicio */
.msh-section--reels .mgc-rl {
	padding: 0;
	max-width: none;
}

.msh-section--reels .mgc-rl-head {
	display: none;
}

/* ---------- Banda de terapias (noche) ---------- */
.msh-band {
	margin-top: 72px;
	padding: 56px 16px;
	background:
		radial-gradient(circle at 85% 20%, rgba(209, 168, 196, .18), transparent 45%),
		var(--ms-noche);
	color: #fff;
}

.msh-band-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	gap: 28px;
	align-items: center;
}

@media (min-width: 900px) {
	.msh-band {
		padding: 72px 16px;
	}

	.msh-band-inner {
		grid-template-columns: 1fr 1.3fr;
		gap: 56px;
	}
}

.msh .msh-band .msh-eyebrow {
	color: var(--ms-champan);
}

.msh .msh-band .msh-title {
	color: #fff;
}

.msh-band-intro p {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, .86);
	max-width: 42ch;
}

.msh-band-list {
	display: grid;
	gap: 10px;
}

.msh-tcard {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px 14px 14px;
	border-radius: 22px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(203, 178, 150, .35);
	color: #fff !important;
	transition: background .15s ease;
}

.msh-tcard:hover {
	background: rgba(255, 255, 255, .14);
}

.msh-tcard-icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.msh-tcard-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14px;
	color: rgba(255, 255, 255, .8);
}

.msh-tcard-text strong {
	font-size: 16px;
	color: #fff;
	font-weight: 600;
}

/* ---------- Blog ---------- */
.msh-posts {
	display: grid;
	gap: 12px;
}

@media (min-width: 768px) {
	.msh-posts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}
}

.msh-post {
	display: flex;
	flex-direction: column;
	padding: 8px;
	border-radius: 28px;
	background: var(--ms-surface);
	box-shadow: var(--ms-shadow-card);
}

@media (max-width: 767px) {
	.msh-post {
		flex-direction: row;
		gap: 12px;
		align-items: center;
	}

	.msh-post-media {
		flex: 0 0 104px;
	}
}

.msh-post-media {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	overflow: hidden;
	background: var(--ms-satin);
}

.msh-post-media img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.msh-post-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 8px 8px;
	min-width: 0;
}

.msh-post-date {
	font-size: 12px;
	color: var(--ms-muted);
}

.msh-post-body strong {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
}

.msh-post-excerpt {
	font-size: 14px;
	color: var(--ms-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Confianza ---------- */
.msh-trust {
	max-width: 1200px;
	margin: 64px auto 0;
	padding: 0 16px 64px;
	display: grid;
	gap: 16px;
	align-items: center;
}

@media (min-width: 900px) {
	.msh-trust {
		grid-template-columns: 1fr 1fr 1fr auto;
		gap: 24px;
	}
}

.msh-trust-item {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	color: var(--ms-muted);
}

.msh-trust-item strong {
	display: block;
	color: var(--ms-ink);
	font-size: 15px;
	font-weight: 600;
}

.msh-trust-item > svg,
.msh-age {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	padding: 12px;
	border-radius: 50%;
	background: var(--ms-surface);
	box-shadow: var(--ms-shadow-chip);
	color: var(--ms-noche);
}

.msh-age {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: var(--ms-lacre);
	color: #fff;
	font-family: var(--ms-display);
	font-weight: 600;
	font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
	.msh * {
		transition: none !important;
	}
}

/* Inicio pegado al encabezado: sin el margen del tema ni párrafos vacíos del editor. */
body:has(.msh) .website-wrapper > .main-header {
	margin-bottom: 0 !important;
}

.main-page-wrapper:has(.msh) p:empty {
	display: none !important;
}


/* ---------- Orden del inicio (v1.6.4): piezas compactas ---------- */
.msh-hero {
	padding-bottom: 8px;
}

.msh-hero:not(.msh-hero--live) .msh-stage {
	margin-bottom: 20px;
}

/* Buscador + categorías */
.msh-find {
	max-width: 1180px;
	margin: 0 auto;
	padding: 8px 16px 0;
	text-align: center;
}

.msh-find .msh-search {
	margin-bottom: 18px;
}

/* Texto de bienvenida */
.msh-intro {
	max-width: 820px;
	margin: 0 auto;
	padding: 48px 16px 0;
	text-align: center;
}

.msh-intro .msh-lead {
	margin-bottom: 0;
}

/* Contacto: franja en tarjeta blanca, justo después del buscador */
.msh .msh-part--contacto .msh-trust {
	max-width: 1180px;
	margin: 32px auto 0;
	padding: 20px 24px;
	border-radius: 28px;
	background: var(--ms-surface);
	box-shadow: var(--ms-shadow-card);
}

@media (max-width: 1220px) {
	.msh .msh-part--contacto .msh-trust {
		margin-left: 16px;
		margin-right: 16px;
	}
}

/* Secciones más juntas */
.msh .msh-section {
	padding-top: 44px;
}

.msh .msh-band {
	margin-top: 48px;
}

.msh-part:last-child > .msh-section:last-child,
.msh-part:last-child > :last-child {
	margin-bottom: 0;
}

.msh > .msh-part:last-child {
	padding-bottom: 56px;
}

@media (max-width: 599px) {
	.msh-intro {
		padding-top: 36px;
	}

	.msh .msh-section {
		padding-top: 36px;
	}

	.msh .msh-band {
		margin-top: 36px;
	}

	.msh .msh-part--contacto .msh-trust {
		margin-top: 24px;
		padding: 18px;
	}
}

/* Íconos de la franja de contacto: círculo marfil dentro de la tarjeta blanca */
.msh .msh-part--contacto .msh-trust-item > svg {
	background: var(--ms-canvas);
}

/* Elementos de reserva para el orden aleatorio: no se ven */
.msh .msh-x {
	display: none !important;
}

/* Categorías en movimiento continuo hacia la izquierda */
.msh .msh-pills.msh-marquee {
	display: block;
	flex-wrap: nowrap;
	margin-left: -16px;
	margin-right: -16px;
	padding: 6px 0 10px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.msh-marquee-track {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	width: max-content;
	padding-right: 10px;
	animation: msh-marquee var(--msh-marquee-dur, 40s) linear infinite;
}

.msh-marquee-track > * {
	flex: 0 0 auto;
}

.msh-pills.msh-marquee:hover .msh-marquee-track,
.msh-pills.msh-marquee.is-paused .msh-marquee-track {
	animation-play-state: paused;
}

@keyframes msh-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (min-width: 900px) {
	.msh .msh-find .msh-pills.msh-marquee {
		margin-left: 0;
		margin-right: 0;
	}
}

.msh .msh-pills.msh-marquee--static {
	flex-wrap: nowrap;
	overflow-x: auto;
	justify-content: flex-start;
	scrollbar-width: none;
}

/* Tarjeta de Terapias del inicio: azul claro (Ajustes → "Fondo de Terapias") */
.msh .msh-band {
	background:
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .28), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .16), transparent 40%),
		var(--mgc-th-bg, #35a8df);
	color: #0b2340;
}

.msh .msh-band .msh-eyebrow {
	color: rgba(11, 35, 64, .72);
}

.msh .msh-band .msh-title {
	color: #0b2340;
}

.msh .msh-band-intro p {
	color: rgba(11, 35, 64, .86);
}

.msh .msh-band .msh-btn--light {
	background: var(--ms-noche);
	color: #fff;
}

.msh .msh-tcard {
	background: rgba(255, 255, 255, .92);
	border: 1px solid rgba(255, 255, 255, .6);
	color: #0b2340 !important;
	box-shadow: 0 10px 24px -16px rgba(11, 35, 64, .55);
}

.msh .msh-tcard:hover {
	background: #fff;
}

.msh .msh-tcard-icon {
	background: rgba(53, 168, 223, .16);
}

.msh .msh-tcard-text {
	color: #3d4f63;
}

.msh .msh-tcard-text strong {
	color: #0b2340;
}

.msh .msh-tcard svg {
	color: #0b2340;
}
