/* ==================================================
   Delicious — estilos propios de la plantilla (hero: lluvia de toppings)
   Barra, botones, secciones comunes, similares, CTA y WhatsApp vienen de themes/_kit/am-kit.css
   El color de cada antojo llega como variable desde de.js: --c
   ================================================== */

.de-hero {
	--c: #b8743f;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100svh;
	min-height: 700px;
	padding-top: 68px;
	overflow: hidden;
	color: #fff;
	background: #0b0706;
	touch-action: pan-y;
}

/* ---------- Fondo humeante y resplandor del color del antojo ---------- */
.de-bgs { position: absolute; inset: 0; z-index: 0; }
.de-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .01s linear; }
.de-bg.is-on { opacity: 1; }
.de-bg--choco { filter: saturate(1.6) brightness(1.15) hue-rotate(-6deg); }
.de-glow { position: absolute; z-index: 1; right: 12%; top: 54%; width: min(52vw, 760px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--c) 0, rgba(0, 0, 0, 0) 62%); opacity: .3; filter: blur(30px); transform: translateY(-50%); pointer-events: none; }

/* ---------- Contenido: texto a la izquierda, antojo a la derecha ---------- */
.de-main { position: relative; z-index: 3; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; padding: 0 calc(var(--gutter) + 110px) 0 calc(var(--gutter) + 1vw); }
.de-mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.de-mask > span { display: inline-block; }
.de-kicker { margin: 0 0 4px; font-family: 'Poppins', sans-serif; font-size: clamp(18px, 1.7vw, 26px); font-style: italic; font-weight: 300; letter-spacing: .04em; color: rgba(255, 255, 255, .88); }
.de-page .de-title { margin: 0 0 22px; font-family: 'Poppins', var(--mb-display); font-size: clamp(46px, 6.2vw, 108px); font-weight: 800; line-height: .98; letter-spacing: -.045em; text-align: left; text-transform: lowercase; color: #fff; }
.de-l1 { color: #fff; }
.de-l2 { color: var(--c); text-shadow: 0 0 60px rgba(0, 0, 0, .4); transition: color .3s linear; }
.de-text { max-width: 44ch; margin: 0 0 28px; font-family: 'Open Sans', sans-serif; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: rgba(255, 255, 255, .75); }
.de-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.ak-page .de-buy {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: auto;
	min-height: 56px;
	margin: 0;
	padding: 0 30px;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--c);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 14px 36px -10px var(--c), inset 0 -3px 0 rgba(0, 0, 0, .18);
	cursor: pointer;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .3s linear;
}
.ak-page .de-buy:hover, .ak-page .de-buy:focus-visible { color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 44px -10px var(--c), inset 0 -3px 0 rgba(0, 0, 0, .18); }
.de-price { margin: 0; font-family: 'Poppins', sans-serif; line-height: 1; }
.de-price small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.de-price b { font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.de-toast { min-height: 1.4em; margin: 14px 0 0; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500; color: var(--accent); }

/* Antojo: los productos se apoyan en el "piso" (al 16% del borde inferior) */
.de-stage { position: relative; align-self: stretch; }
.de-prod { position: absolute; left: -50%; right: -50%; bottom: 16%; margin: 0 auto; opacity: 0; visibility: hidden; transform-origin: 50% 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); pointer-events: none; }
.ak-page .de-prod { max-width: none; }
.de-prod.is-on { opacity: 1; visibility: visible; }
.de-prod--tall { width: auto; height: min(62%, 560px); }
.de-prod--wide { width: min(78%, 560px); height: auto; }
.de-plate { position: absolute; left: 50%; bottom: 16%; width: min(70%, 520px); height: 46px; margin: 0 0 -23px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 70%); transform: translateX(-50%); }

/* ---------- Menú de antojos (a la derecha, como el menú del original) ---------- */
.de-menu { position: absolute; z-index: 5; right: var(--gutter); top: calc(50% + 34px); display: flex; flex-direction: column; gap: 12px; transform: translateY(-50%); }
.ak-page .de-chip {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 84px;
	min-height: 0;
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
	background: none;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: color .2s linear;
}
/* El anillo se llena (con el color del antojo) mientras falta para el siguiente */
.de-chip__img { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .06); transition: transform .25s var(--ease), background-color .2s linear; }
.de-chip__img::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--fill, 0) * 360deg), rgba(255, 255, 255, .14) 0); -webkit-mask: radial-gradient(circle, transparent 33px, #000 34px); mask: radial-gradient(circle, transparent 33px, #000 34px); }
.de-chip__img img { position: relative; width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.ak-page .de-chip:hover, .ak-page .de-chip.is-on { color: #fff; background: none; }
.de-chip:hover .de-chip__img { transform: scale(1.08); background: rgba(255, 255, 255, .1); }
.de-chip.is-on .de-chip__img { background: rgba(255, 255, 255, .12); }

/* ---------- Física, salsa e indicación ---------- */
.de-phys { position: absolute; inset: 0; z-index: 4; display: block; width: 100%; height: 100%; pointer-events: none; }
.de-sauce { position: absolute; inset: 0; z-index: 8; display: block; width: 100%; height: 100%; pointer-events: none; }
.de-hint { position: absolute; z-index: 5; left: calc(var(--gutter) + 1vw); bottom: calc(var(--foot-h, 90px) + 14px); margin: 0; font-family: var(--mb-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); pointer-events: none; }
.de-hint--touch { display: none; }
@media (hover: none) {
	.de-hint--mouse { display: none; }
	.de-hint--touch { display: inline; }
}

/* ---------- Pie del hero ---------- */
.de-foot {
	position: relative;
	z-index: 6;
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: minmax(260px, 1fr) auto auto;
	gap: 14px clamp(20px, 3vw, 44px);
	align-items: center;
	/* a la derecha queda libre el lugar del botón flotante de WhatsApp */
	padding: 14px calc(var(--gutter) + 140px) 16px var(--gutter);
	background: rgba(11, 7, 6, .88);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-top: 3px solid var(--accent);
}
.de-foot__meta { margin: 0 0 4px; font-family: var(--mb-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.de-foot__lead { max-width: 60ch; margin: 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; color: rgba(245, 245, 240, .86); }
.de-ctrl { display: flex; align-items: center; gap: 10px; }
.de-count { margin: 0 6px 0 0; font-family: var(--mb-mono); font-size: 14px; color: rgba(245, 245, 240, .7); white-space: nowrap; }
.de-idx { display: inline-block; font-family: var(--mb-display); font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.02em; vertical-align: -5px; color: var(--accent); }
@media (max-width: 1180px) {
	.de-foot { grid-template-columns: minmax(0, 1fr) auto; }
	.de-foot .ak-actions { grid-column: 1 / -1; }
}
/* Pantallas bajas */
@media (max-height: 820px) and (min-width: 1001px) {
	.de-page .de-title { font-size: clamp(42px, 5vw, 84px); margin-bottom: 16px; }
	.de-text { margin-bottom: 20px; }
	.de-hint { display: none; }
	.de-chip__img { width: 54px; height: 54px; }
	.de-chip__img::before { -webkit-mask: radial-gradient(circle, transparent 29px, #000 30px); mask: radial-gradient(circle, transparent 29px, #000 30px); }
}

/* ---------- Tablet y móvil: antojo arriba, texto abajo, menú en fila ---------- */
@media (max-width: 1000px) {
	.de-hero { height: auto; min-height: 0; }
	.de-main { grid-template-columns: 1fr; padding: 0 var(--gutter); }
	.de-stage { order: -1; height: 46vh; min-height: 330px; }
	.de-copy { padding: 0 0 26px; }
	.de-menu { position: relative; right: auto; top: auto; flex-direction: row; justify-content: center; margin: 0 var(--gutter) 22px; transform: none; }
	.ak-page .de-chip { flex: 1 1 0; width: auto; }
	.de-glow { right: 50%; top: 30%; width: 90vw; transform: translate(50%, -50%); }
	.de-hint { display: none; }
}
@media (max-width: 700px) {
	.de-hero { padding-top: 60px; }
	.de-page .de-title { font-size: clamp(42px, 13vw, 66px); }
	.de-foot { grid-template-columns: 1fr; padding: 14px var(--gutter) 88px; }
	.de-ctrl { order: -1; }
	.de-foot .ak-actions .ak-btn { flex: 1 1 auto; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.de-l2 { transition: none; }
}
