/* Malicia – Landing de temporada (mobile first) */
.mm-landing {
	--mm-ivory: #f7f3ec;
	--mm-sand: #ebe3d6;
	--mm-ink: #1a1a1a;
	--mm-muted: #6b645b;
	--mm-camel: #b08a5b;
	--mm-terra: #a65a3a;
	--mm-radius: 2px;
	--mm-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
	color: var(--mm-ink);
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 18px 96px;
	box-sizing: border-box;
}
.mm-landing *, .mm-landing *::before, .mm-landing *::after { box-sizing: border-box; }
.mm-landing a { text-decoration: none; }

/* Estado: mostrar/ocultar según abierto o cerrado */
.mm-landing:not([data-estado="abierto"]) .mm-only-open { display: none !important; }
.mm-landing[data-estado="abierto"] .mm-only-closed { display: none !important; }

/* Hero */
.mm-hero { text-align: center; padding: 48px 0 32px; background: var(--mm-ivory); margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.mm-eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mm-camel); margin: 0 0 12px; }
.mm-title { font-family: var(--mm-serif); font-weight: 500; font-size: clamp(36px, 9vw, 64px); line-height: 1.05; margin: 0 0 14px; }
.mm-sub { font-size: 16px; color: var(--mm-muted); max-width: 520px; margin: 0 auto 26px; line-height: 1.5; }
.mm-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

/* Contador */
.mm-cupo { background: #fff; border: 1px solid var(--mm-sand); max-width: 380px; margin: 0 auto; padding: 18px 20px; text-align: center; }
.mm-cupo__estado { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mm-terra); }
.mm-landing[data-estado="abierto"] .mm-cupo__estado::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3f7d4e; margin-right: 7px; vertical-align: 1px; animation: mm-pulse 1.6s infinite; }
.mm-cupo__num { margin: 8px 0 10px; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.mm-cupo__quedan { font-family: var(--mm-serif); font-size: 56px; line-height: 1; }
.mm-cupo__de { font-size: 14px; color: var(--mm-muted); }
.mm-cupo__bar { height: 4px; background: var(--mm-sand); overflow: hidden; }
.mm-cupo__bar span { display: block; height: 100%; background: var(--mm-ink); transition: width .6s ease; }
.mm-cupo__next { margin-top: 10px; font-size: 13px; color: var(--mm-muted); }
.mm-cupo__next strong { color: var(--mm-ink); font-variant-numeric: tabular-nums; margin-left: 4px; }
.mm-cupo--compact { margin: 0 0 14px; max-width: none; text-align: left; }
.mm-cupo--compact .mm-cupo__num { justify-content: flex-start; }
.mm-cupo--compact .mm-cupo__quedan { font-size: 36px; }
.mm-landing--product { padding: 0; margin: 14px 0 18px; max-width: none; }

@keyframes mm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Botones */
.mm-btn { display: inline-block; background: var(--mm-ink); color: #fff !important; border: 1px solid var(--mm-ink); padding: 14px 26px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-radius: var(--mm-radius); transition: background .2s, color .2s; cursor: pointer; }
.mm-btn:hover { background: #000; }
.mm-btn--ghost { background: transparent; color: var(--mm-ink) !important; }
.mm-btn--ghost:hover { background: var(--mm-ink); color: #fff !important; }
.mm-btn--block { display: block; text-align: center; width: 100%; }
.mm-btn--sm { padding: 10px 16px; font-size: 12px; }

/* Secciones */
.mm-section { padding: 48px 0 8px; }
.mm-h2 { font-family: var(--mm-serif); font-weight: 500; font-size: clamp(28px, 6vw, 40px); text-align: center; margin: 0 0 24px; }
.mm-muted { color: var(--mm-muted); text-align: center; }

/* Tarjetas */
.mm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mm-card { background: #fff; display: flex; flex-direction: column; }
.mm-card__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mm-ivory); }
.mm-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mm-card:hover .mm-card__img img { transform: scale(1.03); }
.mm-card__body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mm-card__name { font-size: 15px; font-weight: 500; margin: 0; line-height: 1.3; }
.mm-card__name a { color: var(--mm-ink); }
.mm-card__price { font-size: 15px; }
.mm-card__price del { color: var(--mm-muted); margin-right: 6px; }
.mm-card__price ins { text-decoration: none; }
.mm-card__price small { color: var(--mm-muted); font-size: 12px; }
.mm-card__sizes { display: flex; flex-wrap: wrap; gap: 5px; }
.mm-card__sizes span { border: 1px solid var(--mm-sand); font-size: 11px; padding: 3px 7px; min-width: 28px; text-align: center; }
.mm-card .mm-btn { margin-top: auto; padding: 12px; }
.mm-grid--small .mm-card__img { aspect-ratio: 1 / 1; }

/* Cómo funciona */
.mm-steps { list-style: none; counter-reset: mm; padding: 0; margin: 0 auto; max-width: 860px; display: grid; gap: 18px; }
.mm-steps li { counter-increment: mm; display: flex; flex-direction: column; gap: 4px; padding-left: 52px; position: relative; }
.mm-steps li::before { content: counter(mm); position: absolute; left: 0; top: -4px; font-family: var(--mm-serif); font-size: 36px; color: var(--mm-camel); }
.mm-steps span { color: var(--mm-muted); }

/* Confianza */
.mm-trust { list-style: none; margin: 0; padding: 22px; background: var(--mm-ivory); display: grid; gap: 16px; }
.mm-trust li { display: flex; flex-direction: column; gap: 2px; }
.mm-trust strong { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.mm-trust span { color: var(--mm-muted); font-size: 14px; }

/* FAQ */
.mm-faq { max-width: 760px; margin: 0 auto; }
.mm-faq details { border-bottom: 1px solid var(--mm-sand); padding: 16px 0; }
.mm-faq summary { cursor: pointer; font-weight: 500; list-style: none; position: relative; padding-right: 24px; }
.mm-faq summary::-webkit-details-marker { display: none; }
.mm-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 20px; color: var(--mm-camel); }
.mm-faq details[open] summary::after { content: "–"; }
.mm-faq p { color: var(--mm-muted); margin: 10px 0 0; line-height: 1.5; }

/* Barra fija en móvil */
.mm-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; border-top: 1px solid var(--mm-sand); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mm-sticky__info { font-size: 14px; }
.mm-sticky__info b { font-family: var(--mm-serif); font-size: 22px; font-weight: 600; }

@media (min-width: 768px) {
	.mm-landing { padding-bottom: 40px; }
	.mm-hero { padding-top: 80px; padding-bottom: 56px; }
	.mm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.mm-grid--small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mm-steps { grid-template-columns: repeat(3, 1fr); }
	.mm-trust { grid-template-columns: repeat(4, 1fr); padding: 28px; }
	.mm-sticky { display: none; }
}

.mm-card__note { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6b645b; margin-top: -4px; }
