/* Moxen (moxen.cl/recursos) · licencia: escaparate-LICENCIA.txt */
.es-escena {
  --es-durazno: #14222c;
  --es-durazno-2: #0d171e;
  --es-crema: rgba(245, 242, 235, .1);
  --es-tinta: #F5F2EB;
  --es-suave: rgba(245, 242, 235, .84);
  --es-tenue: rgba(245, 242, 235, .62);
  --es-linea: rgba(232, 213, 181, .24);
  --es-coral: #E8D5B5; --es-salvia: #A8E0CC; --es-indigo: #E8D5B5;
  --es-sombra: rgba(0, 0, 0, .6);
  --es-blob-1: rgba(116, 198, 171, .08);
  --es-blob-2: rgba(232, 213, 181, .06);
  --es-blob-3: rgba(168, 224, 204, .06);
  --es-disco: #2a3a40;
  --es-suelo: rgba(0, 0, 0, .55);
  --es-ficha: rgba(21, 37, 46, .8);
  --es-filo: rgba(255, 255, 255, .14);
  --es-boton: #E8D5B5;
  --es-boton-tinta: #0F171E;
  --es-radio: 32px;
  --es-curva: cubic-bezier(.22, 1, .36, 1);
  --es-muelle: cubic-bezier(.34, 1.56, .64, 1);
}
[data-c="terracota"] { --c1: #C8683F; --c1d: #9C4A28; --c1l: #E08C63; --c2: #F6EDD8; --c3: #6E2A12; --es-disco: #3a2a26; }
[data-c="melocoton"] { --c1: #E0935F; --c1d: #B8703E; --c1l: #F0B88C; --c2: #F6EDD8; --c3: #8A4520; --es-disco: #3b2f27; }
[data-c="arena"] { --c1: #E3C99A; --c1d: #BFA06F; --c1l: #F0DEB8; --c2: #FFF8EA; --c3: #8A6A38; --es-disco: #35322a; }
[data-c="salvia"] { --c1: #A5B98C; --c1d: #7F9567; --c1l: #C5D4AF; --c2: #FFF8EA; --c3: #4F6038; --es-disco: #2c3a30; }
[data-c="menta"] { --c1: #7FCBAA; --c1d: #55A585; --c1l: #A8E0CC; --c2: #F2FBF6; --c3: #2A7A5E; --es-disco: #223b38; }

.es-escena, .es-escena *, .es-escena *::before, .es-escena *::after { box-sizing: border-box; }
.es-escena { color: var(--es-tinta); font-family: var(--font-body, serif); -webkit-font-smoothing: antialiased; }
.es-escena button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.es-escena svg { display: block; }
.es-escena h1, .es-escena p { margin: 0; }
.es-escena [hidden] { display: none !important; }
.es-defs { position: absolute; }
.es-oculto { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.es-escena :focus-visible { outline: 3px solid #E8D5B5; outline-offset: 3px; }
.es-escena :focus:not(:focus-visible) { outline: none; }
.es-escena { position: relative; isolation: isolate; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; min-height: 100vh; min-height: 100svh; padding: 22px 40px 22px; overflow: hidden; }
.es-fondo { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(90% 80% at 30% 40%, var(--es-durazno) 0%, var(--es-durazno) 55%, var(--es-durazno-2) 100%); }
.es-blob { position: absolute; width: 56vmax; max-width: 760px; will-change: transform; transition: transform 1.4s var(--es-curva); }
.es-blob path { fill: var(--es-blob-1); }
.es-blob-a { left: -8%; top: -22%; transform: translate(calc(var(--bx, 0) * 40px), calc(var(--by, 0) * 30px)) rotate(calc(var(--br, 0) * 14deg)); }
.es-blob-b { right: -12%; bottom: -34%; transform: translate(calc(var(--bx, 0) * -50px), calc(var(--by, 0) * -26px)) rotate(calc(var(--br, 0) * -18deg)); }
.es-blob-b path { fill: var(--es-blob-2); }
.es-blob-c { left: 28%; top: 38%; width: 40vmax; max-width: 520px; transform: translate(calc(var(--bx, 0) * 28px), calc(var(--by, 0) * -34px)) rotate(calc(var(--br, 0) * 24deg)); }
.es-blob-c path { fill: var(--es-blob-3); }
.es-escena[data-p="1"] { --bx: 1; --by: .6; --br: 1; }
.es-escena[data-p="2"] { --bx: -.8; --by: 1; --br: -1; }
.es-grano {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: .22; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .3  0 0 0 0 .2  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-tema="oscuro"] .es-grano { mix-blend-mode: screen; opacity: .25; }

.es-barra { display: flex; align-items: center; justify-content: space-between; width: min(1180px, 100%); height: 56px; }
.es-marca { font-family: var(--font-display, Georgia, serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -.02em; }
.es-bolsa-caja { position: relative; }
.es-bolsa {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; color: var(--es-tinta);
  background: var(--es-crema); box-shadow: 0 1px 0 var(--es-filo) inset, 0 0 0 1px var(--es-linea), 0 14px 22px -12px var(--es-sombra);
  transition: transform .3s var(--es-muelle);
}
.es-bolsa svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .es-bolsa:hover { transform: translateY(-2px); } }
.es-bolsa:active { transform: scale(.95); }
.es-cuenta {
  position: absolute; right: -4px; top: -5px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1;
  color: #fff8f0; background: var(--es-indigo); box-shadow: 0 0 0 3px var(--es-durazno), 0 6px 10px -3px rgba(61, 59, 142, .6);
}
:root[data-tema="oscuro"] .es-cuenta { background: #7b78e6; color: #14102a; }
.es-aviso {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 20; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 99px; white-space: nowrap;
  font-size: .86rem; font-weight: 500; color: var(--es-boton-tinta); background: var(--es-boton); box-shadow: 0 22px 30px -14px rgba(43, 35, 53, .6), 0 2px 6px rgba(43, 35, 53, .25);
  animation: es-aviso .5s var(--es-muelle);
}
.es-aviso button { height: 30px; padding: 0 14px; border: 0; border-radius: 99px; font-weight: 700; font-size: .8rem; color: var(--es-boton); background: var(--es-boton-tinta); transition: transform .25s var(--es-muelle); }
.es-aviso button:active { transform: scale(.94); }
@keyframes es-aviso { from { transform: translateY(-12px) scale(.9); opacity: 0; } }

.es-cuadro { display: grid; grid-template-columns: minmax(0, 1fr) 468px; align-items: center; gap: 40px; width: min(1180px, 100%); min-height: 0; }
.es-escenario { position: relative; height: min(600px, 100%); min-height: 520px; outline-offset: -6px; border-radius: 40px; }
.es-disco-caja { position: absolute; left: 50%; top: 46%; width: 450px; height: 450px; margin: -225px 0 0 -225px; }
.es-disco { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 36% 28%, rgba(255, 255, 255, .7), transparent 52%), var(--es-disco); box-shadow: 0 50px 60px -40px var(--es-sombra), inset 0 -22px 34px rgba(160, 84, 56, .1); }
.es-disco-b { clip-path: circle(0 at 50% 50%); visibility: hidden; }
.es-suelo { position: absolute; left: 50%; top: calc(46% - 240px + 404px); width: 340px; height: 38px; margin-left: -170px; border-radius: 50%; background: radial-gradient(closest-side, var(--es-suelo), transparent); filter: blur(5px); animation: es-sombra 5s ease-in-out infinite; }
@keyframes es-sombra { 50% { transform: scale(.9, .86); opacity: .8; } }
.es-productos { position: absolute; left: 50%; top: 46%; width: 480px; height: 480px; margin: -240px 0 0 -240px; animation: es-flota 5s ease-in-out infinite; }
@keyframes es-flota { 50% { transform: translateY(-9px); } }
.es-prod { position: absolute; inset: 0; }
.es-prod + .es-prod { visibility: hidden; }
.es-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 18px rgba(126, 64, 40, .22)); }
:root[data-tema="oscuro"] .es-disco { background: radial-gradient(circle at 36% 28%, rgba(255, 255, 255, .1), transparent 52%), var(--es-disco); box-shadow: 0 50px 60px -40px var(--es-sombra), inset 0 -22px 34px rgba(0, 0, 0, .25); }
:root[data-tema="oscuro"] .es-svg { filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .4)); }
.es-flecha {
  position: absolute; top: 46%; z-index: 4; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; padding: 0; border: 0; border-radius: 50%; color: var(--es-tinta);
  background: var(--es-crema); box-shadow: 0 1px 0 var(--es-filo) inset, 0 0 0 1px var(--es-linea), 0 16px 24px -14px var(--es-sombra);
  transition: transform .3s var(--es-muelle), box-shadow .3s;
}
.es-ant { left: 4px; } .es-sig { right: 4px; }
.es-flecha svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--es-muelle); }
@media (hover: hover) { .es-flecha:hover { transform: scale(1.08); } .es-ant:hover svg { transform: translateX(-3px); } .es-sig:hover svg { transform: translateX(3px); } }
.es-flecha:active { transform: scale(.92); }
.es-puntos { position: absolute; left: 50%; bottom: 14px; display: flex; gap: 8px; transform: translateX(-50%); }
.es-puntos i { width: 8px; height: 8px; border-radius: 8px; background: var(--es-tinta); opacity: .22; transition: width .5s var(--es-muelle), opacity .3s; }
.es-puntos i.is-on { width: 26px; opacity: .85; }

.es-ficha {
  position: relative; padding: 34px 36px 32px; border-radius: var(--es-radio);
  background: var(--es-ficha); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1.5px 0 var(--es-filo) inset, 0 0 0 1px var(--es-linea), 0 70px 70px -48px var(--es-sombra), 0 26px 40px -26px var(--es-sombra);
}
.es-etiqueta { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--es-tenue); }
.es-nombre-caja { display: block; margin-top: 8px; overflow: hidden; padding-bottom: .12em; font-family: var(--font-display, Georgia, serif); font-weight: 400; font-size: 3.15rem; line-height: 1.02; letter-spacing: -.035em; }
.es-nombre { display: block; will-change: transform; }
.es-desc { margin-top: 12px; max-width: 36ch; font-size: .98rem; line-height: 1.55; color: var(--es-suave); }
.es-precio { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.es-precio > span { font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; --lh: 1.55em; display: inline-flex; align-items: flex-end; }
.es-precio small { font-size: .84rem; font-weight: 500; color: var(--es-tenue); font-variant-numeric: tabular-nums; }
.es-col { display: inline-block; height: var(--lh); width: .6em; overflow: hidden; text-align: center; vertical-align: bottom; line-height: var(--lh); }
.es-tira { display: block; transform: translateY(calc(var(--d, 0) * var(--lh) * -1)); transition: transform 1s var(--es-curva) calc(var(--i, 0) * 55ms); will-change: transform; }
.es-sig-m, .es-sep { display: inline-block; height: var(--lh); line-height: var(--lh); }
.es-sep { width: .3em; text-align: center; }
.es-grupo { margin-top: 22px; }
.es-rotulo { margin-bottom: 10px; font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--es-tenue); }
.es-rotulo b { margin-left: 6px; font-weight: 700; letter-spacing: .02em; text-transform: none; font-size: .9rem; color: var(--es-tinta); }

.es-colores { display: flex; gap: 14px; }
.es-muestra {
  position: relative; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; transition: transform .35s var(--es-muelle);
  box-shadow: 0 0 0 0 transparent;
}
.es-muestra i { position: absolute; inset: 5px; border-radius: 50%; background: var(--c1); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .45), inset 0 -4px 6px rgba(20, 10, 30, .22), 0 8px 12px -6px var(--c1d); transition: transform .35s var(--es-muelle); }
.es-muestra::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--es-tinta); opacity: 0; transform: scale(.7); transition: opacity .2s, transform .45s var(--es-muelle); }
.es-muestra[aria-checked="true"]::after { opacity: 1; transform: none; }
.es-muestra[aria-checked="true"] i { transform: scale(.86); }
@media (hover: hover) { .es-muestra:hover i { transform: scale(1.12); } .es-muestra[aria-checked="true"]:hover i { transform: scale(.92); } }
.es-muestra:active i { transform: scale(.82); }

.es-tallas { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(120, 70, 50, .08); box-shadow: inset 0 0 0 1px var(--es-linea); }
:root[data-tema="oscuro"] .es-tallas { background: rgba(255, 255, 255, .06); }
.es-pildora { position: absolute; left: 0; top: 4px; bottom: 4px; width: 40px; border-radius: 99px; background: var(--es-boton); box-shadow: 0 12px 16px -8px rgba(43, 35, 53, .55), inset 0 1px 0 rgba(255, 255, 255, .22); will-change: transform; pointer-events: none; }
.es-talla { position: relative; z-index: 1; min-width: 46px; height: 38px; padding: 0 10px; border: 0; border-radius: 99px; background: none; font-size: .92rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--es-suave); transition: color .25s; }
.es-talla[aria-checked="true"] { color: var(--es-boton-tinta); }
@media (hover: hover) { .es-talla[aria-checked="false"]:hover { color: var(--es-tinta); } }
.es-talla:focus-visible { outline-offset: 0; }

.es-compra { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.es-cantidad { display: inline-flex; align-items: center; height: 56px; padding: 0 5px; border-radius: 99px; background: rgba(120, 70, 50, .08); box-shadow: inset 0 0 0 1px var(--es-linea); }
:root[data-tema="oscuro"] .es-cantidad { background: rgba(255, 255, 255, .06); }
.es-mas-menos { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--es-crema); color: var(--es-tinta); box-shadow: 0 1px 0 var(--es-filo) inset, 0 6px 10px -6px var(--es-sombra); transition: transform .3s var(--es-muelle), opacity .2s; }
.es-mas-menos svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.es-mas-menos:active { transform: scale(.88); }
.es-mas-menos:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.es-cant { display: inline-flex; justify-content: center; align-items: flex-end; min-width: 40px; font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; --lh: 1.55em; height: 1.55em; }
.es-anadir {
  position: relative; flex: 1; display: grid; place-items: center; height: 56px; padding: 0 20px; border: 0; border-radius: 99px; overflow: hidden;
  font-weight: 700; font-size: 1rem; letter-spacing: .005em; color: var(--es-boton-tinta); background: var(--es-boton);
  box-shadow: 0 1.5px 0 rgba(255, 255, 255, .25) inset, 0 -3px 0 rgba(0, 0, 0, .25) inset, 0 20px 26px -14px rgba(43, 35, 53, .75), 0 4px 8px -3px rgba(43, 35, 53, .4);
  transition: transform .3s var(--es-muelle), box-shadow .3s;
}
.es-anadir::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--es-curva); }
@media (hover: hover) { .es-anadir:hover { transform: translateY(-2px); } .es-anadir:hover::before { transform: translateX(120%); } }
.es-anadir:active { transform: translateY(1px) scale(.97); }
.es-anadir-txt, .es-anadir-ok { grid-area: 1 / 1; transition: transform .45s var(--es-muelle), opacity .25s; }
.es-anadir-ok { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transform: scale(.6); }
.es-anadir.is-ok .es-anadir-txt { transform: translateY(-14px) scale(.9); opacity: 0; }
.es-anadir.is-ok .es-anadir-ok { opacity: 1; transform: none; stroke-dashoffset: 0; transition: transform .45s var(--es-muelle), opacity .2s, stroke-dashoffset .5s .1s var(--es-curva); }

.es-ola-caja { position: absolute; inset: 0; z-index: 3; overflow: hidden; border-radius: 40px; pointer-events: none; }
.es-ola { position: absolute; border-radius: 50%; opacity: 0; transform: scale(0); background: radial-gradient(circle closest-side, transparent calc(100% - 7px), rgba(255, 255, 255, .85) calc(100% - 3px), transparent 100%); }

.es-vuelo { position: fixed; left: 0; top: 0; z-index: 60; width: 150px; height: 150px; pointer-events: none; will-change: transform; filter: drop-shadow(0 14px 12px rgba(126, 64, 40, .3)); }
.es-vuelo svg { width: 100%; height: 100%; overflow: visible; }
.es-ping { position: fixed; z-index: 59; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; border: 2px solid var(--es-tinta); pointer-events: none; }
.es-chispa { position: fixed; z-index: 59; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; pointer-events: none; background: var(--es-coral); }

.es-pista { margin-top: 6px; font-size: .84rem; font-weight: 500; color: var(--es-tenue); text-align: center; }

@media (max-width: 960px) {
  .es-escena { padding: 16px 20px 22px; }
  .es-cuadro { grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; }
  .es-escenario { min-height: 440px; height: 440px; }
  .es-ficha { padding: 28px 28px 28px; }
}
@media (max-width: 560px) {
  .es-escena { padding: 12px 14px 20px; }
  .es-barra { height: 52px; }
  .es-escenario { min-height: 340px; height: 340px; }
  .es-disco-caja { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .es-productos { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .es-suelo { top: calc(46% - 160px + 269px); width: 240px; margin-left: -120px; }
  .es-flecha { width: 46px; height: 46px; margin-top: -23px; }
  .es-ficha { padding: 24px 20px 22px; border-radius: 28px; }
  .es-nombre-caja { font-size: 2.45rem; }
  .es-tallas { display: flex; width: 100%; }
  .es-talla { flex: 1; min-width: 0; }
  .es-compra { flex-wrap: wrap; }
  .es-anadir { flex: 1 1 100%; }
  .es-cantidad { width: 100%; justify-content: space-between; }
  .es-pista { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .es-productos, .es-suelo, .es-aviso { animation: none; }
  .es-blob { transition: none; }
  .es-tira, .es-pildora, .es-muestra, .es-muestra i, .es-muestra::after, .es-anadir, .es-anadir::before, .es-anadir-txt, .es-anadir-ok, .es-flecha, .es-puntos i { transition-duration: .01s; transition-delay: 0s; }
}

.es-ficha > .es-sig { right: -20px; top: 50%; margin-top: -28px; }
/* Móvil/tablet: la flecha siguiente vive en la ficha (debajo del escenario, a 8 px) pero se coloca a la altura de la anterior, en el margen derecho. */
@media (max-width: 960px) { .es-ficha > .es-sig { right: 4px; top: calc(-1 * (440px * .54 + 8px)); } }
@media (max-width: 560px) { .es-ficha > .es-sig { top: calc(-1 * (340px * .54 + 8px)); margin-top: -23px; } }

.es-ant { top: 50%; }
@media (max-width: 960px) { .es-ant { top: 46%; } }
