/* El Panal · El enjambre embrujado. Capa estacional sobre el menú existente.
   Escenografía SVG estática; movimiento exclusivamente con transform/opacity. */
.halloween {
    --primary: #ff913f;
    --secondary: #ffc079;
    --light: #100d15;
    --ink: #f7eddf;
    --ink-soft: #b9a9ba;
    --hairline: #392d41;
    --gold-line: #75472e;
    --card-shadow: none;
    --card-shadow-hover: none;
    --radius: 0;
    --radius-sm: 0;
    background: #100d15;
    color: var(--ink);
    color-scheme: dark;
}
.halloween ::selection { background: #ff913f; color: #160f1b; }
.halloween :is(button, a, input, select):focus-visible { outline: 2px solid #ffbc79; outline-offset: 4px; }
.halloween .promo-banner { background:linear-gradient(90deg,#100d13,#261a1c 50%,#100d13); color:#ffc38e; border-top:1px solid #7a4930; border-bottom:1px solid #69412f; padding:11px 0; font-size:8px; letter-spacing:2.2px; }
.halloween .ticker-content { animation-duration: 36s; }
.halloween .ticker-content span::after { content:'✦'; color:#db8648; margin-left:36px; }
.halloween .header {
    min-height: 400px;
    padding: 56px 28px 69px;
    text-align: left;
    background: radial-gradient(ellipse at 76% 45%, #3b2034 0, transparent 48%), linear-gradient(120deg, #160f1e, #1e1427 56%, #211725);
    border-bottom: 1px solid #634131;
    isolation: isolate;
}
.halloween .header::before { background: linear-gradient(0deg, #100d15 0, transparent 25%, transparent 90%, #140e1c80); z-index: 2; }
.halloween .header::after { display: none; }
.halloween .header-content { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; }
.halloween .header-logo-wrap { grid-column: 2; grid-row: 1; text-align: center; }
.hw-brand { display: inline-block; position: relative; padding-top: 20px; }
.halloween .header-logo { width: 260px; max-width: 100%; filter: none; }
.hw-brand-hat { position: absolute; width: 122px; height: 105px; top: -24px; right: -18px; transform: rotate(17deg); pointer-events: none; }
.hw-story { grid-column:1; grid-row:1; text-align:center; }
.hw-edition { display: flex; align-items: center; gap: 10px; font-size: 9px; font-weight: 700; letter-spacing: 2.6px; color: #d0b4d5; }
.hw-edition span { color: #ff913f; }
.hw-edition-dot { width: 6px; height: 6px; background: #ff913f; border-radius: 50%; flex-shrink: 0; }
.hw-title { font-family: 'Rubik Wet Paint', 'Titan One', Georgia, serif; font-size: clamp(42px, 4.6vw, 67px); font-weight: 400; letter-spacing: -.01em; line-height: 1.07; color: #fff1dc; margin: 20px 0 32px; }
.hw-title > span { display: block; font: inherit; color: #ffab45; }
/* Título chorreado (lo arma halloween.js): relieve, chorreones y tinta apilados por línea. */
.hw-title--drip { line-height: 1.14; margin-bottom: .66em; isolation: isolate; }
.hw-title--drip :is(.hw-drip-line, .hw-ink-depth, .hw-ink) { font: inherit; letter-spacing: inherit; }
.hw-title--drip .hw-drip-line { position: relative; display: grid; width: max-content; max-width: 100%; margin-inline: auto; }
.hw-drip-line--ghost { z-index: 1; --ink-fill: linear-gradient(180deg, #fffaf2 0, #fff1dc 44%, #efdfee 62%, #c3a6cf 80%, #8f6aa3 100%); --ink-depth: #2c1532; --drip-top: #c9aed4; --drip-bottom: #96739f; --drop: #f4e6f4; }
.hw-drip-line--honey { z-index: 2; --ink-fill: linear-gradient(180deg, #ffd27a 0, #ffab45 30%, #ff8a2a 54%, #d0521d 72%, #8e2a12 100%); --ink-depth: #3d0f12; --drip-top: #b8401a; --drip-bottom: #7f2410; --drop: #ffae45; }
.hw-title--drip :is(.hw-ink-depth, .hw-ink) { grid-area: 1 / 1; display: block; }
.hw-ink-depth { transform: translate(.035em, .065em); color: var(--ink-depth); -webkit-text-fill-color: var(--ink-depth); }
.hw-ink { position: relative; z-index: 2; background: var(--ink-fill); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hw-drips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hw-baseline { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.hw-drip { --w: var(--drip-w, .1em); position: absolute; width: var(--w); height: var(--drip-len); margin: -.1em 0 0 calc(var(--w) / -2); border-radius: 0 0 .05em .05em; background: linear-gradient(90deg, #0000004d, #0000 32%, #ffffff30 48%, #0000 64%, #0000004d), linear-gradient(180deg, var(--drip-top), var(--drip-bottom)); transform-origin: 50% 0; animation: hw-drip-grow 1.2s cubic-bezier(.3,.7,.3,1) calc(.2s + var(--drip-order) * .12s) both; }
/* Hombros cóncavos: el chorreón sale de la letra en vez de pegarse debajo. */
.hw-drip::before { content: ''; position: absolute; left: -.08em; right: -.08em; top: .1em; height: .08em; background: radial-gradient(circle at 0 100%, transparent .079em, var(--drip-top) .08em) 0 0 / .08em 100% no-repeat, radial-gradient(circle at 100% 100%, transparent .079em, var(--drip-top) .08em) 100% 0 / .08em 100% no-repeat; }
.hw-drip::after { content: ''; position: absolute; left: 50%; bottom: -.08em; width: calc(var(--w) + .065em); height: calc(var(--w) + .085em); transform: translateX(-50%); border-radius: 50% 50% 48% 48% / 40% 40% 60% 60%; background: radial-gradient(circle at 34% 34%, #ffffffa8 0 .018em, transparent .032em), var(--drip-bottom); }
.hw-drop { position: absolute; left: 50%; top: calc(100% - .03em); width: calc(var(--w) + .035em); height: calc(var(--w) + .055em); margin-left: calc((var(--w) + .035em) / -2); border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: radial-gradient(circle at 34% 32%, #fffc 0 .02em, transparent .036em), var(--drop); transform-origin: 50% 0; opacity: 0; animation: hw-drop-fall var(--drop-duration) ease-in-out var(--drop-delay) infinite; }
@keyframes hw-drip-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hw-drop-fall {
    0% { opacity: 0; transform: translateY(-.06em) scale(.3); }
    12% { opacity: 1; }
    50% { opacity: 1; transform: translateY(0) scale(1, 1.12); }
    58% { transform: translateY(.06em) scale(.92, 1.28); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
    80%, 100% { opacity: 0; transform: translateY(.95em) scale(.82, 1.2); }
}
.halloween .header-subtitle { color: #c9b5ce; font-size: 13px; font-weight: 400; letter-spacing: .4px; margin: 0; animation: none; }
/* Subtítulo: las palabras suben una a una y luego flotan en ola; «Panal.» titila como vela. */
.hw-sub-word { display: inline-block; animation: hw-sub-rise .8s cubic-bezier(.2,.8,.25,1) calc(.6s + var(--word) * .12s) both, hw-sub-float 5.2s ease-in-out calc(1.6s + var(--word) * .34s) infinite; }
.hw-sub-word--warm { color: #ffc38e; }
.hw-sub-word--glow { color: #ff9a45; text-shadow: 0 0 .8em #ff7a1f99; animation: hw-sub-rise .8s cubic-bezier(.2,.8,.25,1) calc(.6s + var(--word) * .12s) both, hw-sub-float 5.2s ease-in-out calc(1.6s + var(--word) * .34s) infinite, hw-sub-flicker 3.4s linear calc(1.6s + var(--word) * .12s) infinite; }
@keyframes hw-sub-rise { from { opacity: 0; transform: translateY(.9em) rotate(-8deg); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes hw-sub-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes hw-sub-flicker { 0%, 100% { opacity: 1; } 8% { opacity: .6; } 11% { opacity: .95; } 46% { opacity: .8; } 52% { opacity: 1; } 71% { opacity: .68; } 74% { opacity: 1; } }
.hw-resting :is(.hw-drip, .hw-drop, .hw-sub-word),
.hw-background :is(.hw-drip, .hw-drop, .hw-sub-word) { animation-play-state: paused !important; }
.halloween .header-meta { justify-content:center; gap:8px; margin-top:24px; }
.hw-story .hw-edition { justify-content:center; }
.halloween :is(.status-badge, .header-action) { border-radius: 0; min-height: 44px; padding: 8px 12px; font-size: 10px; }
.halloween .header-action { border-color: #6a4b73; background: #21172c; color: #f3e6f5; box-shadow: none; }
.halloween .header-action:hover { background: #38223e; border-color: #d4a1d7; }
.halloween .help-btn { background: transparent; }
.halloween .status-badge.open { color: #bcdf9b; background: #1f2c2299; border-color: #526744; }
.halloween .status-badge.closed { color: #ffbcb6; background: #40232c; border-color: #77505c; }
.hw-scenery { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; contain: layout paint; }
.hw-moon { position:absolute; width:270px; height:270px; top:52px; left:calc(50% + min(26.9vw,314px)); transform:translateX(-50%); border-radius:50%; background:radial-gradient(circle,#18101f 0 57%,#8b482b 58%,#e9a35f 59%,#9e5c373d 61%,#c17c3820 65%,transparent 72%); opacity:.85; }
.hw-moon::before { content:''; position:absolute; inset:8%; border-radius:50%; background:#18101f; animation:hw-eclipse-drift 24s ease-in-out infinite alternate; }
.hw-scenery::after { content:''; position:absolute; left:0; right:0; bottom:39px; height:100px; background:radial-gradient(ellipse at 74% 115%,#a686aa25,transparent 63%),radial-gradient(ellipse at 21% 110%,#99674416,transparent 58%); }
.hw-web { position:absolute; width:245px; height:245px; top:0; color:#dcc7d4; opacity:.28; }
.hw-web--left { left: 0; }
.hw-web--right { right: 0; transform: scaleX(-1); }
.hw-bat { position:absolute; width:64px; height:auto; aspect-ratio:2; color:#08070d; }
.hw-bat--one { top: 42px; right: 23%; transform: rotate(-17deg); }
.hw-bat--two { width: 42px; top: 90px; right: 9%; transform: rotate(14deg); }
.hw-bat--three { width: 31px; bottom: 73px; left: 48%; transform: rotate(-12deg); opacity: .6; }
.hw-bat--four { width:27px; top:24px; left:56%; opacity:.75; }
.hw-bat--five { width:30px; top:83px; left:53%; opacity:.6; }
.hw-header-pumpkin { position:absolute; width:49px; height:49px; right:13%; bottom:51px; --pumpkin-tilt:8deg; animation:hw-pumpkin-breathe 6s ease-in-out infinite; }
.hw-header-pumpkin--left { left:54%; right:auto; width:36px; height:36px; bottom:62px; --pumpkin-tilt:-9deg; animation-delay:-3s; }
.hw-center-pumpkin { display:block; width:25px; height:25px; --pumpkin-tilt:0deg; animation:hw-pumpkin-breathe 7s ease-in-out -2s infinite; }
.hw-header-bottom { position: absolute; z-index: 3; bottom: 0; left: 50%; transform: translateX(-50%); width: min(calc(100% - 56px), 1100px); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #6c487257; height: 42px; color: #b99bbd; font-size: 8px; letter-spacing: 2.4px; font-weight: 600; }
.hw-header-bottom span:nth-child(2) { font-size: 16px; }
.hw-hive { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .13; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='174' viewBox='0 0 100 174'%3E%3Cpath d='M50 0 100 29v58l-50 29L0 87V29ZM0 87l50 29v58m0-58 50-29' fill='none' stroke='%23d388a4' stroke-width='1'/%3E%3C/svg%3E"); mask-image: linear-gradient(90deg, transparent, #000); }
.halloween .bee { filter: none; width: 52px; height: 52px; }
.halloween .bee svg { display: block; width: 100%; height: 100%; overflow: visible; }
.halloween .search-container { background: #100d15; border-bottom: 0; padding: 24px 18px 18px; }
.halloween .search-input { max-width: 720px; display: block; margin: auto; background-color: #211a29; color: #f7eddf; border: 1px solid #51405c; border-radius: 0; box-shadow: none; min-height: 50px; font-size: 13px; }
.halloween .search-input::placeholder { color: #b9a8bf; }
.halloween .search-input:focus { background-color: #2b2032; border-color: #ff913f; box-shadow: none; }
.halloween .categories { background: #17121e; border-top: 1px solid #34273d; border-bottom: 1px solid #48354c; box-shadow: none; padding: 12px max(18px, calc((100vw - 1164px) / 2)); }
.halloween .category-btn { border-color: #584363; background: transparent; color: #d8c6df; border-radius: 0; min-height: 44px; box-shadow: none; transition: color .2s, background-color .2s, border-color .2s; }
.halloween .category-btn:hover { color: #ffbf89; border-color: #ff913f; background: #302034; }
.halloween .category-btn.active { background: #ff913f; border-color: #ff913f; color: #251426; transform: none; box-shadow: none; }
.halloween .cat-badge { background: #b789cd1f; }
.halloween .category-btn.active .cat-badge { background: #48242e25; }
.halloween .section-title { color: #f7eddf; font-size: 22px; letter-spacing: -.6px; }
.halloween .section-title::after { background: linear-gradient(90deg, #ff913f, #a56dc0 60%, transparent); height: 1px; border-radius: 0; }
.halloween .section-title .icono-cat { color: #ff913f; }
.halloween .products-container { padding-top: 28px; }
.halloween .product-card { background: #211a29; border: 1px solid #49344e; border-radius: 0; box-shadow: none; transition: transform .2s, border-color .2s; }
.halloween .product-card:hover { border-color: #ff913f; box-shadow: none; transform: translateY(-3px); }
.halloween .product-info { background: #211a29; border-top-color: #49344e; }
.halloween :is(.product-name, .product-price) { color: #fff0dd; }
.halloween .product-name { font-size: 14px; }
.halloween .product-description { color: #c5b7cb; }
.halloween .product-price { color: #ffc079; }
.halloween .product-footer { align-items: flex-end; }
.halloween .card-add-btn { min-width: 44px; width: 44px; height: 44px; border-radius: 0; background: #ff913f; color: #251426; box-shadow: none; }
.halloween .card-add-btn:hover { background: #ffc079; box-shadow: none; }
.halloween .product-badge { border-radius: 0; box-shadow: none; font-size: 9px; }
.halloween .badge-hot, .halloween .badge-desc { background: #8d324a; color: #fff3e7; }
.halloween .badge-nuevo { background: #c2d898; color: #19231a; }
.halloween .badge-premium { background: #ffbd78; color: #281422; }
.halloween .card-cart-badge { background: #c8a2e1; color: #251426; box-shadow: none; }
.halloween .precio-antes { color: #c4b2bd; }
.halloween .no-results { color: #c9b5ce; }
.halloween .modal { background: #08060dd9; -webkit-backdrop-filter: none; backdrop-filter: none; }
.halloween :is(.modal-content, .order-modal .modal-content, .ficha-modal .modal-content) { background: #211a29; color: #f7eddf; border: 1px solid #72517e; border-radius: 0; box-shadow: none; }
.halloween :is(.modal-close, .ficha-cerrar, .ficha-lupa) { background: #35263e; color: #f6e7fa; min-width: 44px; min-height: 44px; border-radius: 0; }
.halloween :is(.modal-header h3, .cart-item-info .item-price, .qty-display, .cart-total-final span, .total-price span, .guia-paso h4, .guia-dato h5) { color: #f7eddf; }
.halloween :is(.qty-btn, .quantity-controls .qty-btn) { background: linear-gradient(180deg, #3f2b4e 0%, #2a1c36 100%); color: #ffbf89; border: 1px solid #7a5a86; border-radius: 10px; box-shadow: inset 0 1px 0 #ffffff24, inset 0 -2px 0 #00000040, 0 3px 0 #120b18, 0 8px 16px -8px #000c; }
.halloween :is(.add-to-cart-btn, .whatsapp-btn, .order-submit-btn) { background: #ff913f; color: #251426; border-radius: 0; box-shadow: none; }
.halloween :is(.add-to-cart-btn, .whatsapp-btn, .order-submit-btn):hover { background: #ffc079; box-shadow: none; }
.halloween .cart-float { background: #ff913f; color: #251426; border: 1px solid #ffbd78; border-radius: 0; box-shadow: none; }
.halloween .cart-count { background: #28192f; color: #ffbc79; }
.halloween .cart-total { color: #251426; border-color: #7c3f2f; }
.halloween .toast { background: linear-gradient(180deg, #3a2747, #2c1d36); color: #fff0df; border: 1px solid #a976bd; border-radius: 14px; box-shadow: inset 0 1px 0 #ffffff1a, 0 12px 28px -10px #000c; }
.halloween :is(.guia-dato, .order-summary-mini) { background: #2d2136; border-color: #61416c; border-radius: 0; }
.halloween :is(.guia-paso p, .guia-dato p, .order-form-subtitle, .zona-ayuda, .cart-envio-nota) { color: #c7b7ce; }
.halloween .guia-num { background: #ff913f; color: #251426; border-radius: 0; }
.halloween :is(.form-group input, .form-group select) { background: #2c2036; border-color: #65476c; }
.halloween .zona-btn.activo { background: #4a2e38; border-color: #ff913f; }
.halloween :is(.ficha-escalones, .ficha-foto-marco, .aviso-wompi) { border-radius: 0; border-color: #61416c; }
.halloween .escalon.activo { background: #57382c; }
.halloween .social-float { box-shadow: none; border: 1px solid #816181; }
.halloween .whatsapp-help-float { background: #243529; }
.halloween .instagram-float { background: #4a2e50; }
.halloween .help-tooltip { background: #302139; color: #fff0e3; }
/* El logo mantiene el mismo archivo y sus transformaciones 3D originales. */
.halloween .pantalla-carga { background: radial-gradient(ellipse at 50% 45%, #40213b 0, #191020 45%, #100d15 80%); gap: 23px; }
.hw-loading-stage { position: relative; width: 310px; height: 300px; display: grid; place-items: center; perspective: 700px; }
.hw-loading-stage picture { position: relative; z-index: 1; }
.halloween .pantalla-carga__logo { width:230px; filter:none; animation:hw-logo-arrive .85s cubic-bezier(.22,.61,.36,1) both,latirPanal 2.4s ease-in-out .85s infinite; }
.halloween :is(.pantalla-carga__logo, .hw-loading-orbit, .hw-loading-hat, .hw-loading-pumpkin, .hw-loading-bat) { will-change:transform; }
.pantalla-carga--preparando .hw-loading-stage *,
.pantalla-carga--preparando .hw-loading-stage *::before,
.pantalla-carga--preparando .hw-loading-stage *::after { animation-play-state:paused !important; }
/* Las piezas originales ya están separadas desde el primer renderizado. */
.pantalla-carga .kb--loading,
.pantalla-carga .kb-wing,
.pantalla-carga .hw-bat-wing { will-change:transform; }
.pantalla-carga .hw-pumpkin-glow { will-change:opacity; }
/* Imágenes SVG autocontenidas: el compositor mueve superficies ya pintadas,
   sin recorrer árboles <use> de la página en cada fotograma. */
.pantalla-carga img { object-fit:contain; }
.pantalla-carga .kb > img { position:absolute; }
.hw-loading-bat > img, .hw-loading-pumpkin > img { position:absolute; inset:0; width:100%; height:100%; }
.intro-loading .social-float::before, .intro-loading .social-float::after { animation-play-state:paused !important; }
.intro-decoration-pending .header-subtitle { visibility:hidden; }
.hw-loading-orbit { position:absolute; width:288px; height:288px; border:1px dashed #bd8a6477; border-radius:50%; transform:rotate(-18deg); background:radial-gradient(circle,transparent 59%,#df90512b 64%,transparent 70%); }
.hw-loading-orbit::before { content: ''; position: absolute; inset: 12px; border: 1px solid #ff913f30; border-radius: 50%; }
.hw-loading-hat { position: absolute; z-index: 2; width: 113px; height: 100px; top: 0; right: 11px; transform: rotate(17deg); }
.hw-loading-pumpkin { position: absolute; z-index: 2; width: 69px; height: 69px; bottom: 17px; right: 8px; transform: rotate(12deg); }
.hw-loading-bat { position: absolute; width: 64px; height: 32px; left: -3px; top: 28px; color: #a07cba; transform: rotate(-21deg); }
.hw-loading-copy { text-align: center; font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: 2px; color: #ffbc79; }
.hw-loading-copy span { display: block; text-transform: none; font-size: 11px; font-weight: 400; letter-spacing: .3px; margin-top: 8px; color: #c7b0d0; }
.halloween .pantalla-carga__barra { width: 155px; height: 2px; border-radius: 0; margin: 0; background: #71445a; }
.halloween .pantalla-carga__barra i { background: #ff913f; border-radius: 0; }
@keyframes hw-logo-arrive { from { opacity:0; transform:translate3d(0,22px,-36px) rotateY(-23deg) scale(.86); } 65% { opacity:1; } to { opacity:1; transform:translate3d(0,0,0) rotateY(0) scale(1); } }
/* ── Enjambre kawaii (halloween-abejas.svg) ──
   Cada abeja son tres capas: dos alas y la figura. Solo se anima transform,
   así la tarjeta gráfica las mueve sin redibujar, también en celular. */
/* El enjambre vuela por toda la cabecera; halloween.js calcula cada recorrido. */
.halloween :is(.bees-container, .kb-front) { position:absolute; inset:0; width:auto; height:auto; max-width:none; overflow:visible; pointer-events:none; }
.halloween .kb-front { z-index:4; }
.kb { position:absolute; display:block; width:var(--kb-size, 80px); aspect-ratio:160 / 180; pointer-events:none; }
.kb > svg { position:absolute; overflow:visible; }
.kb-fig { inset:0; width:100%; height:100%; }
.kb--flip .kb-fig { transform:scaleX(-1); }
.kb-wing { top:51.1%; width:43.75%; height:31.1%; animation:kb-flap-r var(--kb-flap, .34s) ease-in-out var(--kb-flap-delay, 0s) infinite alternate; }
.kb-wing--r { left:60.6%; transform-origin:4.3% 42.9%; }
.kb-wing--l { left:-4.4%; transform-origin:95.7% 42.9%; animation-name:kb-flap-l; }
.kb--swarm { opacity:.94; }
.kb--near { opacity:1; }
@keyframes kb-flap-r { from { transform:rotate(6deg); } to { transform:rotate(-20deg); } }
@keyframes kb-flap-l { from { transform:rotate(-6deg); } to { transform:rotate(20deg); } }
@keyframes kb-hover { 0%, 100% { transform:translateY(0) rotate(-2deg); } 50% { transform:translateY(-5px) rotate(2deg); } }
/* Murciélagos, arañas y calabazas: cada pieza que se mueve es su propio elemento. */
.hw-bat > svg, .hw-loading-bat > svg, .hw-spider-creature > svg,
:is(.hw-header-pumpkin, .hw-center-pumpkin, .hw-loading-pumpkin) > svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.hw-center-pumpkin { position:relative; }
.hw-bat, .hw-loading-bat { overflow:visible; animation:hw-bat-float 8s ease-in-out infinite; --bat-tilt:-17deg; }
.hw-bat--two { --bat-tilt:14deg; animation-delay:-3s; animation-duration:10s; }
.hw-bat--three { --bat-tilt:-12deg; animation-delay:-5s; animation-duration:11s; }
.hw-bat--four { --bat-tilt:9deg; animation-delay:-6s; animation-duration:13s; }
.hw-bat--five { --bat-tilt:-8deg; animation-delay:-9s; animation-duration:12s; }
.hw-loading-bat { --bat-tilt:-21deg; animation-duration:5.5s; }
.hw-bat-wing { transform-box:border-box; transform-origin:50% 56%; }
.hw-bat-wing--left { animation:hw-bat-wing-left .65s ease-in-out infinite alternate; }
.hw-bat-wing--right { transform:scaleX(-1); animation:hw-bat-wing-right .65s ease-in-out infinite alternate; }
.hw-brand-hat, .hw-loading-hat { transform-origin:50% 78%; animation:hw-hat-hover 7s ease-in-out infinite; }
.hw-loading-hat { animation:hw-hat-seat 1s cubic-bezier(.22,.61,.36,1) both,hw-hat-hover 7s ease-in-out 1s infinite; }
.hw-loading-bat { animation:hw-bat-entrance 1s ease-out .15s both,hw-bat-float 5.5s ease-in-out 1.15s infinite; }
.hw-loading-orbit { animation:hw-orbit-turn 50s linear infinite; }
@keyframes hw-bat-wing-left { from { transform:rotateY(-8deg) rotateZ(3deg); } to { transform:rotateY(57deg) rotateZ(-11deg); } }
@keyframes hw-bat-wing-right { from { transform:scaleX(-1) rotateY(-8deg) rotateZ(3deg); } to { transform:scaleX(-1) rotateY(57deg) rotateZ(-11deg); } }
@keyframes hw-bat-float { 0%,100% { transform:translate3d(0,0,0) rotate(var(--bat-tilt)); } 50% { transform:translate3d(7px,-9px,10px) rotate(calc(var(--bat-tilt) + 7deg)); } }
@keyframes hw-hat-hover { 0%,100% { transform:translateY(0) rotate(17deg) rotateY(-5deg); } 50% { transform:translateY(-3px) rotate(13deg) rotateY(6deg); } }
@keyframes hw-hat-seat { from { opacity:0; transform:translateY(-38px) rotate(-8deg) rotateY(-15deg); } 75% { opacity:1; transform:translateY(2px) rotate(19deg) rotateY(0); } to { opacity:1; transform:translateY(0) rotate(17deg) rotateY(-5deg); } }
@keyframes hw-bat-entrance { from { opacity:0; transform:translate3d(27px,19px,-12px) rotate(5deg) scale(.65); } to { opacity:1; transform:translate3d(0,0,0) rotate(-21deg) scale(1); } }
@keyframes hw-eclipse-drift { from { transform:translateX(-2px); } to { transform:translateX(3px); } }
@keyframes hw-orbit-turn { from { transform:rotate(-18deg); } to { transform:rotate(342deg); } }
.hw-spider { position:absolute; width:var(--spider-size); height:calc(var(--silk-length) + var(--spider-size)*.75); opacity:.88; color:#dcc7d4; --spider-scale:1; transform-origin:50% 0; animation:hw-spider-sway var(--crawl-duration) ease-in-out var(--crawl-delay) infinite; }
.hw-spider--one { left:16px; top:72px; }
.hw-spider--two { left:76px; top:9px; }
.hw-spider--three { left:118px; top:43px; }
.hw-spider--four { left:35px; top:133px; }
.hw-spider--five { right:17px; top:98px; }
.hw-spider--six { right:82px; top:10px; }
.hw-spider--seven { right:127px; top:50px; }
.hw-spider--eight { right:42px; top:145px; }
.hw-spider-silk { position:absolute; left:50%; top:0; width:1px; height:calc(var(--silk-length) + var(--spider-size)*.18); background:#d8bdca80; transform-origin:50% 0; animation:hw-spider-silk var(--crawl-duration) ease-in-out var(--crawl-delay) infinite; }
.hw-spider-creature { position:absolute; left:0; top:var(--silk-length); width:100%; height:calc(var(--spider-size)*.75); overflow:visible; animation:hw-spider-climb var(--crawl-duration) ease-in-out var(--crawl-delay) infinite; }
.hw-spider-legs { transform-box:border-box; transform-origin:50% 37%; }
.hw-spider-legs--left { animation:hw-spider-step-left var(--leg-duration) ease-in-out var(--leg-delay) infinite alternate; }
.hw-spider-legs--right { animation:hw-spider-step-right var(--leg-duration) ease-in-out var(--leg-delay) infinite alternate; }
.hw-embers { position:absolute; inset:0; pointer-events:none; }
.hw-embers i { position:absolute; width:3px; height:3px; background:#ed9b60; border-radius:50%; left:49%; bottom:21%; animation:hw-ember-drift 12s linear infinite; }
.hw-embers i:nth-child(2) { left:87%; bottom:28%; animation-delay:-5s; }
.hw-embers i:nth-child(3) { left:63%; bottom:10%; animation-delay:-8s; }
.hw-embers i:nth-child(4) { left:12%; bottom:11%; animation-delay:-2s; }
.hw-embers i:nth-child(5) { left:34%; bottom:30%; animation-delay:-10s; }
.hw-loading-pumpkin { --pumpkin-tilt:12deg; animation:hw-pumpkin-breathe 5s ease-in-out infinite; }
.hw-pumpkin-glow { opacity:.24; animation:hw-candle-glow 5.6s ease-in-out infinite; }
.hw-header-pumpkin--left .hw-pumpkin-glow { animation-delay:-2.7s; }
.hw-web-glint { position:absolute; width:4px; height:4px; border-radius:50%; background:#f2d8be; opacity:0; animation:hw-silk-glint 11s ease-in-out infinite; }
.hw-web-glint::before { content:''; position:absolute; width:10px; height:1px; left:-3px; top:1.5px; background:linear-gradient(90deg,transparent,#e9c7aa,transparent); }
.hw-web-glint--one { left:50px; top:59px; }
.hw-web-glint--two { right:92px; top:38px; animation-delay:-5s; animation-duration:13s; }
.hw-web-glint--three { left:104px; top:113px; animation-delay:-8s; animation-duration:14s; }
.hw-web-glint--four { right:32px; top:148px; animation-delay:-3s; animation-duration:12s; }
@keyframes hw-candle-glow { 0%,100% { opacity:.16; } 35% { opacity:.42; } 62% { opacity:.27; } 80% { opacity:.35; } }
@keyframes hw-silk-glint { 0%,65%,100% { opacity:0; } 78% { opacity:.62; } 88% { opacity:.12; } }
@keyframes hw-pumpkin-breathe { 0%,100% { transform:translateY(0) rotate(var(--pumpkin-tilt)) rotateY(-6deg); } 50% { transform:translateY(-3px) rotate(calc(var(--pumpkin-tilt) + 3deg)) rotateY(7deg); } }
@keyframes hw-spider-sway { 0%,100% { transform:scale(var(--spider-scale)) rotate(-4deg); } 50% { transform:scale(var(--spider-scale)) rotate(4deg); } }
@keyframes hw-spider-climb { 0%,100% { transform:translateY(0); } 45% { transform:translateY(var(--spider-drop)); } 70% { transform:translateY(calc(var(--spider-drop)*.3)); } }
@keyframes hw-spider-silk { 0%,100% { transform:scaleY(1); } 45% { transform:scaleY(var(--silk-stretch)); } 70% { transform:scaleY(calc(1 + (var(--silk-stretch) - 1)*.3)); } }
@keyframes hw-spider-step-left { from { transform:rotate(-6deg); } to { transform:rotate(5deg); } }
@keyframes hw-spider-step-right { from { transform:rotate(6deg); } to { transform:rotate(-5deg); } }
@keyframes hw-ember-drift { 0% { opacity:0; transform:translate3d(0,7px,0); } 25% { opacity:.55; } 80% { opacity:.25; } 100% { opacity:0; transform:translate3d(12px,-46px,0); } }
.hw-resting :is(.hw-spider, .hw-spider *, .hw-embers i, .hw-header-pumpkin, .hw-center-pumpkin, .hw-pumpkin-glow, .hw-web-glint),
.hw-background :is(.hw-spider, .hw-spider *, .hw-embers i, .hw-header-pumpkin, .hw-center-pumpkin, .hw-pumpkin-glow, .hw-web-glint) { animation-play-state:paused !important; }
.hw-resting .hw-moon::before, .hw-background .hw-moon::before { animation-play-state:paused !important; }
.hw-resting :is(.hw-bat, .hw-bat *, .hw-brand-hat),
.hw-resting .header :is(.kb, .kb *),
.hw-background :is(.kb, .kb *, .hw-bat, .hw-bat *, .hw-brand-hat, .hw-loading-stage *) { animation-play-state:paused !important; }
/* Con el carrito, la ficha o el formulario abiertos, la cabecera queda tapada:
   se pausa para que la ventana se abra y se desplace sin tirones. */
.hw-modal-open .header *, .hw-modal-open .header *::before, .hw-modal-open .header *::after,
.hw-modal-open .ticker-content, .hw-modal-open .social-float::before, .hw-modal-open .social-float::after { animation-play-state:paused !important; }
.hw-resting :is(.bee, .header-logo, .header-logo-float, .header-logo-wrap, .ticker-content),
.hw-background :is(.bee, .header-logo, .header-logo-float, .header-logo-wrap, .ticker-content) { animation-play-state: paused !important; }
.halloween.sin-scroll .header *,
.halloween.sin-scroll .header *::before,
.halloween.sin-scroll .header *::after,
.halloween.sin-scroll .ticker-content { animation-play-state:paused !important; }
/* La entrada finita del logo termina durante el loading, antes de revelarlo. */
.halloween.sin-scroll .header-logo-wrap { animation-play-state:running !important; }
@media (min-width: 1200px) { .halloween .products-grid { gap: 20px; } }
@media (max-width: 767px) {
    .halloween .header { min-height: 0; padding: 22px 18px 60px; }
    .halloween .header-content { display: flex; flex-direction: column; gap: 2px; }
    .halloween .header-logo-wrap { order: 0; }
    .hw-brand { padding-top: 8px; }
    .halloween .header-logo { width: 148px; }
    .hw-brand-hat { width: 77px; height: 66px; right: -18px; top: -19px; }
    .hw-story { text-align: center; width: 100%; }
    .hw-edition { justify-content: center; font-size: 8px; letter-spacing: 2px; }
    .hw-story .hw-edition { margin-top: 10px; }
    .hw-title { font-size: clamp(34px, 9vw, 48px); line-height: 1.07; letter-spacing: -.8px; margin: 12px 0 28px; }
    .hw-title--drip { margin-bottom: .72em; }
    .halloween .header-subtitle { font-size: 11px; }
    .halloween .header-meta { justify-content: center; margin-top: 17px; gap: 6px; }
    .halloween :is(.header-action, .status-badge) { padding: 7px 9px; font-size: 9px; }
    .hw-header-bottom { width: calc(100% - 36px); font-size: 7px; letter-spacing: 1.4px; height: 38px; }
    .hw-moon { width:174px; height:174px; top:6px; left:50%; right:auto; }
    .hw-web { width:145px; height:145px; opacity:.3; }
    .hw-bat--one { width:32px; top:32px; right:22%; }
    .hw-bat--two { width:20px; top:148px; right:23%; }
    .hw-bat--three { left:19%; top:117px; bottom:auto; width:22px; }
    .hw-bat--four { left:18%; top:28px; width:24px; }
    .hw-bat--five { left:71%; top:104px; width:18px; }
    .hw-web-glint--one { left:28px; top:34px; }
    .hw-web-glint--two { right:53px; top:22px; }
    .hw-web-glint--three { left:60px; top:65px; }
    .hw-web-glint--four { right:19px; top:85px; }
    /* Las calabazas acompañan al título a los lados en vez de esconderse. */
    .hw-header-pumpkin { width:34px; height:34px; right:10px; bottom:auto; top:262px; }
    .hw-header-pumpkin--left { left:10px; right:auto; width:28px; height:28px; top:300px; }
    .hw-spider { --spider-scale:.72; }
    .hw-spider--one { left:5px; top:40px; }
    .hw-spider--two { left:40px; top:6px; }
    .hw-spider--three { left:65px; top:22px; }
    .hw-spider--four { left:16px; top:65px; }
    .hw-spider--five { right:5px; top:52px; }
    .hw-spider--six { right:45px; top:6px; }
    .hw-spider--seven { right:65px; top:24px; }
    .hw-spider--eight { right:17px; top:70px; }
    .hw-embers i:nth-child(4) { left:8%; bottom:16%; }
    .hw-embers i:nth-child(5) { left:90%; bottom:36%; }
    .halloween .search-container { padding-top: 18px; padding-bottom: 16px; }
    .halloween .search-input { font-size: 12px; min-height: 48px; }
    .halloween .products-container { padding-top: 22px; }
    .halloween .section-title { font-size: 20px; }
    .halloween .products-grid { gap: 12px; }
    .halloween .product-info { padding: 12px 10px; }
    .halloween .product-name { font-size: 12px; line-height: 1.4; }
    .halloween .product-description { font-size: 10.5px; }
    .halloween .product-footer { gap: 4px; }
    .halloween .product-price { font-size: 17px; letter-spacing: 0; }
    .halloween .product-price .precio-antes { display: block; font-size: 10px; }
    .halloween .badge-stack { top: 8px; left: 8px; }
    .halloween .product-badge { padding: 5px 7px; font-size: 8px; }
    .halloween .floats-sociales { right: 12px; bottom: 16px; }
}
@media (max-width: 350px) {
    .hw-title { font-size: 31px; }
    .hw-loading-stage { transform: scale(.88); margin: -18px; }
    .halloween .product-price { font-size: 14px; }
}
/* Pantallas bajas y orientación horizontal: escalar la escena completa. */
@media (max-height: 520px) {
    .halloween .pantalla-carga { gap:14px; padding:14px; }
    .hw-loading-stage { transform:scale(.85); margin:-22.5px 0; }
}
@media (max-height: 400px) {
    .halloween .pantalla-carga { gap:10px; padding:10px; }
    .hw-loading-stage { transform:scale(.72); margin:-42px 0; }
}
@media (max-height: 330px) {
    .halloween .pantalla-carga { gap:8px; padding:8px; }
    .hw-loading-stage { transform:scale(.6); margin:-60px 0; }
}
@media (prefers-reduced-motion: reduce) and (scripting: none) {
    .halloween *, .halloween *::before, .halloween *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .halloween .pantalla-carga__barra i { transform: translateX(75%); }
}

/* ── Encuadre de fotos ──
   Las fotos del catálogo son verticales (9:16). El marco fijo de 185 px solo
   dejaba ver ~38 % de cada foto; un marco 4:5 deja ver ~70 %. En la ficha se
   muestra la foto completa. El fondo inline crema se anula para no asomar. */
.halloween .product-image { height: auto; aspect-ratio: 4 / 5; object-position: 50% 42%; background: #18121e !important; }
.halloween div.product-image { font-size: 40px; }
.halloween img.product-image { transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.halloween .product-card:hover img.product-image { transform: scale(1.04); }
.halloween .ficha-foto { background: radial-gradient(ellipse at 50% 58%, #3a2440 0, #1b1322 55%, #120d17 100%); }
.halloween .ficha-foto-marco img { object-fit: contain; }
@media (max-width: 767px) {
    .halloween .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .halloween .ficha-foto-marco { aspect-ratio: 4 / 5; max-height: 56vh; }
}

/* ── Botones con cuerpo ──
   Teclas físicas: cara con brillo arriba, canto inferior y hundimiento al
   pulsar. Las sombras solo cambian al interactuar (no hay animación continua). */
.halloween :is(.add-to-cart-btn, .whatsapp-btn, .order-submit-btn, .card-add-btn) {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(180deg, #ffc27a 0%, #ff9d42 46%, #f17f24 100%); color: #2a1206;
    border: 1px solid #ffcf98; border-radius: 12px; font-weight: 800; letter-spacing: .5px;
    box-shadow: inset 0 1px 0 #fff8, inset 0 -2px 0 #b4501533, 0 4px 0 #9c4510, 0 12px 22px -8px #ff7a1fa0;
    transition: transform .12s ease, box-shadow .12s ease, filter .2s;
    -webkit-tap-highlight-color: transparent;
}
.halloween :is(.add-to-cart-btn, .whatsapp-btn, .order-submit-btn, .card-add-btn):hover {
    background: linear-gradient(180deg, #ffcc8c 0%, #ffa850 46%, #f5872c 100%);
    transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff9, inset 0 -2px 0 #b4501533, 0 5px 0 #9c4510, 0 16px 26px -8px #ff7a1fb8;
}
.halloween :is(.add-to-cart-btn, .whatsapp-btn, .order-submit-btn, .card-add-btn):active {
    transform: translateY(3px); box-shadow: inset 0 2px 4px #9c451066, 0 1px 0 #9c4510, 0 4px 10px -6px #ff7a1fa0;
}
.halloween :is(.whatsapp-btn, .order-submit-btn):disabled {
    background: #4a3a52; color: #a898a6; border-color: #5d4a66; box-shadow: 0 2px 0 #241a2c; transform: none; cursor: not-allowed;
}
.halloween .card-add-btn { display: grid; border-radius: 10px; font-size: 20px; }
.halloween :is(.header-action, .modal-close, .ficha-cerrar, .ficha-lupa, .remove-btn, .qty-btn) {
    background: linear-gradient(180deg, #3f2b4e 0%, #2a1c36 100%); color: #f3e6f5;
    border: 1px solid #6e4f7c; border-radius: 10px;
    box-shadow: inset 0 1px 0 #ffffff24, inset 0 -2px 0 #00000040, 0 3px 0 #120b18, 0 8px 16px -8px #000c;
    transition: transform .12s ease, box-shadow .12s ease, border-color .2s, color .2s;
    -webkit-tap-highlight-color: transparent;
}
.halloween :is(.header-action, .modal-close, .ficha-cerrar, .ficha-lupa, .remove-btn, .qty-btn):hover { border-color: #c99bd3; transform: translateY(-1px); box-shadow: inset 0 1px 0 #ffffff2e, inset 0 -2px 0 #00000040, 0 4px 0 #120b18, 0 10px 18px -8px #000d; }
.halloween :is(.header-action, .modal-close, .ficha-cerrar, .ficha-lupa, .remove-btn, .qty-btn):active { transform: translateY(2px); box-shadow: inset 0 2px 4px #0008, 0 1px 0 #120b18; }
.halloween :is(button, [role="button"]):focus-visible { outline: 2px solid #ffbc79; outline-offset: 3px; }

/* Encabezado: letrero con luz real y botones con ícono. */
.halloween .header-meta { gap: 10px; }
.halloween .header-action { gap: 8px; font-size: 11px; padding: 9px 14px; }
.halloween .header-action::before { content: ''; width: 16px; height: 16px; flex: none; background: var(--btn-ico) center / contain no-repeat; }
.halloween .help-btn { --btn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb36b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M9.4 9.3a2.7 2.7 0 0 1 5.2 1c0 1.8-2.6 2.3-2.6 3.8'/%3E%3Ccircle cx='12' cy='17.4' r='.7' fill='%23ffb36b'/%3E%3C/svg%3E"); }
.halloween .header-share { --btn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9b8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V4M8 8l4-4 4 4'/%3E%3Cpath d='M5 12v6.5A1.5 1.5 0 0 0 6.5 20h11a1.5 1.5 0 0 0 1.5-1.5V12'/%3E%3C/svg%3E"); }
.halloween .status-badge { gap: 9px; border-radius: 10px; padding: 9px 14px; font-size: 11px; background: #120d17; border: 1px solid #3a2c45; box-shadow: inset 0 2px 7px #000c, 0 1px 0 #ffffff12; }
.halloween .status-badge.open { color: #c4f7a8; background: #120d17; border-color: #34452f; }
.halloween .status-badge.closed { color: #ffbdb6; background: #120d17; border-color: #4f3036; }
.halloween .status-led { position: relative; width: 10px; height: 10px; }
.halloween .open .status-led { background: radial-gradient(circle at 35% 30%, #f2ffe4 0 14%, #7cf26a 40%, #23a23a 100%); box-shadow: 0 0 6px #6cff70, 0 0 14px #49e35a99; }
.halloween .closed .status-led { background: radial-gradient(circle at 35% 30%, #ffe8e4 0 14%, #ff6b5c 40%, #b8241a 100%); box-shadow: 0 0 6px #ff6b5c, 0 0 14px #ff4a3a88; }
.halloween .status-led::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; background: radial-gradient(circle, currentColor 0, transparent 68%); opacity: .35; animation: hw-led-pulse 2.4s ease-in-out infinite; }
@keyframes hw-led-pulse { 0%, 100% { opacity: .15; transform: scale(.7); } 50% { opacity: .5; transform: scale(1.15); } }

/* Pestañas de categoría y buscador con el mismo cuerpo. */
.halloween .category-btn { border-radius: 10px; box-shadow: inset 0 1px 0 #ffffff12, 0 3px 0 #0e0912; transition: color .2s, background-color .2s, border-color .2s, transform .12s, box-shadow .12s; }
.halloween .category-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #0e0912; }
.halloween .category-btn.active { background: linear-gradient(180deg, #ffc27a, #f17f24); border-color: #ffcf98; color: #2a1206; box-shadow: inset 0 1px 0 #fff8, 0 3px 0 #9c4510, 0 8px 18px -8px #ff7a1fa0; }
.halloween .search-input { border-radius: 12px; box-shadow: inset 0 2px 6px #0009; }

/* Tarjetas y ventanas: esquinas suaves, como las abejas. */
.halloween .product-card { border-radius: 14px; }
.halloween .product-badge { border-radius: 6px; }
.halloween .modal-content { border-radius: 22px 22px 0 0; }
.halloween .modal-content::before { background: linear-gradient(90deg, #ff9d42, #ffc27a); }
@media (min-width: 768px) {
    .halloween .ficha-modal .modal-content { border-radius: 18px; }
    /* La ficha centrada no es una hoja que se arrastra: sin el asa, la foto
       ya no se sale por abajo y la lupa queda entera. */
    .halloween .ficha-modal .modal-content::before { display: none; }
}

/* ── Carrito ── */
.halloween .cart-float { gap: 12px; white-space: nowrap; padding: 10px 22px 10px 12px; background: linear-gradient(180deg, #2a1d35, #1a1222); color: #ffd2a6; border: 1px solid #ff913f; border-radius: 16px; box-shadow: inset 0 1px 0 #ffffff1f, 0 4px 0 #0c0710, 0 0 24px #ff913f40, 0 14px 30px #000a; }
.halloween .cart-float:active { transform: translateX(-50%) translateY(3px); box-shadow: inset 0 2px 5px #0009, 0 1px 0 #0c0710, 0 0 18px #ff913f33; }
.halloween .cart-float:focus-visible { outline: 2px solid #ffbc79; outline-offset: 4px; }
/* Miel que cuelga del borde inferior: estática, sin coste de animación. */
.halloween .cart-float::after { content: ''; position: absolute; left: 16px; right: 16px; top: 100%; height: 12px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 0h120v1c-5 0-6 2-6 4s-1 5-3 5-2-3-2-5-1-4-5-4H78c-3 0-3 1-3 2s-1 3-2 3-2-1-2-3-1-2-4-2H42c-4 0-4 3-5 5s-1 5-3 5-2-3-3-5-1-5-5-5H14c-3 0-3 1-3 2s-1 2-2 2-1-1-2-2-1-2-3-2H0z' fill='%23ff913f'/%3E%3C/svg%3E") 0 0 / 120px 12px repeat-x; }
.halloween .cart-count { width: 36px; height: 34px; padding-top: 5px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 38'%3E%3Cpath d='M20 9c0-4 1-6 4-7' stroke='%235c8a35' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='12' cy='23' rx='10' ry='13' fill='%23c9561a'/%3E%3Cellipse cx='28' cy='23' rx='10' ry='13' fill='%23c9561a'/%3E%3Cellipse cx='20' cy='23' rx='10.5' ry='14.5' fill='%23f08a2c'/%3E%3C/svg%3E") center / contain no-repeat; color: #2a1208; font-size: 13px; box-shadow: none; }
.halloween .cart-total { color: #ffab45; }
.halloween .cart-modal .modal-header h3 { display: flex; align-items: center; gap: 8px; font-family: 'Titan One', sans-serif; font-weight: 400; font-size: 22px; color: #fff1dc; }
.halloween .cart-item { position: relative; overflow: hidden; background: linear-gradient(180deg, #2d2137, #251b2e); border: 1px solid #49344e; border-radius: 14px; padding: 12px; margin-bottom: 10px; box-shadow: inset 0 1px 0 #ffffff0d; }
.halloween .cart-item::after { content: ''; position: absolute; right: -4px; top: -4px; width: 46px; height: 46px; opacity: .22; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46' fill='none' stroke='%23e6d2e8' stroke-width='1'%3E%3Cpath d='M46 0 4 42M46 0 18 46M46 0 0 28M46 0 46 46M46 0 0 0'/%3E%3Cpath d='M38 0q2 6 8 8M28 0q4 12 18 18M18 0q6 18 28 28M8 0q8 26 38 38'/%3E%3C/svg%3E") center / contain no-repeat; }
.halloween .cart-item-info h4 { color: #fff0dd; font-size: 13px; }
.halloween .cart-item-info .item-price { color: #ffc079; }
.halloween .item-unidad { color: #b9a8bf; }
.halloween .item-qty { gap: 8px; position: relative; z-index: 1; }
.halloween .qty-stepper { gap: 2px; padding: 3px; border-radius: 13px; background: #140f1a; border: 1px solid #44324e; box-shadow: inset 0 2px 5px #000a; }
.halloween .qty-stepper .qty-btn { width: 40px; height: 40px; font-size: 18px; color: #ffbf89; }
.halloween .qty-value { min-width: 28px; text-align: center; font-family: 'Fredoka One', sans-serif; font-weight: 400; font-size: 16px; color: #fff1dc; }
.halloween .remove-btn { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; color: #ff9d9d; }
.halloween .remove-btn:hover { color: #ffc6c6; transform: translateY(-1px); }
/* La miel cuelga del borde superior como fondo del pie: sin capa extra. */
.halloween .cart-footer { border-top: 2px solid #ff913f; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 0h120v1c-5 0-6 2-6 4s-1 5-3 5-2-3-2-5-1-4-5-4H78c-3 0-3 1-3 2s-1 3-2 3-2-1-2-3-1-2-4-2H42c-4 0-4 3-5 5s-1 5-3 5-2-3-3-5-1-5-5-5H14c-3 0-3 1-3 2s-1 2-2 2-1-1-2-2-1-2-3-2H0z' fill='%23ff913f'/%3E%3C/svg%3E") 0 0 / 120px 12px repeat-x; }
.halloween .cart-total-final { color: #c9b5ce; }
.halloween .cart-footer .cart-total-final span { color: #ffab45; text-shadow: 0 2px 0 #7f2410; }
.halloween .empty-cart { color: #c9b5ce; padding: 18px 20px 34px; font-size: 15px; }
/* Íconos de los botones de pedido: WhatsApp en su ficha verde o candado de Wompi. */
.halloween :is(.whatsapp-btn, .order-submit-btn)::before { content: ''; width: 28px; height: 28px; flex: none; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.16-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.4-1.47-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.44-.52.15-.18.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.61-.92-2.2-.24-.59-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.21 3.07.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2-1.42.25-.7.25-1.29.18-1.41-.08-.13-.27-.2-.57-.35M12.05 21.79h-.01a9.87 9.87 0 0 1-5.03-1.38l-.36-.21-3.74.98 1-3.65-.24-.37a9.86 9.86 0 0 1-1.51-5.26c0-5.45 4.44-9.88 9.89-9.88 2.64 0 5.12 1.03 6.99 2.9a9.82 9.82 0 0 1 2.89 6.99c0 5.45-4.44 9.88-9.88 9.88M20.46 3.49A11.82 11.82 0 0 0 12.05 0C5.5 0 .16 5.34.16 11.89c0 2.1.55 4.14 1.59 5.95L.06 24l6.3-1.65a11.88 11.88 0 0 0 5.69 1.45c6.55 0 11.89-5.34 11.89-11.89 0-3.18-1.24-6.17-3.48-8.42z'/%3E%3C/svg%3E") center / 16px no-repeat, radial-gradient(circle at 35% 30%, #6ff3a5, #1fa855 70%); box-shadow: inset 0 1px 0 #ffffff80, 0 2px 0 #0f6b33; }
.halloween .order-submit-btn.es-wompi::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a2416'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / 14px no-repeat, radial-gradient(circle at 35% 30%, #fff6e6, #e2c79f 70%); box-shadow: inset 0 1px 0 #fff, 0 2px 0 #9c7a4c; }
.halloween :is(.whatsapp-btn, .order-submit-btn):disabled::before { opacity: .45; }
.halloween .whatsapp-btn { min-height: 56px; }

/* ── Formulario de pedido: tres pasos claros ── */
@media (min-width: 768px) { .halloween .order-modal .modal-content { max-width: 560px; } }
.halloween .order-form-title { display: flex; align-items: center; gap: 6px; color: #fff1dc; font-size: 20px; letter-spacing: .4px; }
.halloween .order-form-subtitle { color: #b9a8bf; }
.halloween .order-summary-mini { border-radius: 14px; background: linear-gradient(180deg, #2f2239, #251b2e); border: 1px solid #5a3f66; box-shadow: inset 0 1px 0 #ffffff12; padding: 14px 16px 12px; color: #d8c6df; }
.halloween .summary-items { display: grid; gap: 3px; }
.halloween .summary-item > span:first-child { color: #fff0dd; font-weight: 700; font-size: 12.5px; }
.halloween .summary-item-cant { color: #ffb36b; opacity: 1; font-weight: 800; }
.halloween .summary-desglose { border-top: 1px dashed #5a3f66; }
.halloween .order-summary-mini .summary-total { margin-top: 10px; padding-top: 16px; border-top: 2px solid #ff913f; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 0h120v1c-5 0-6 2-6 4s-1 5-3 5-2-3-2-5-1-4-5-4H78c-3 0-3 1-3 2s-1 3-2 3-2-1-2-3-1-2-4-2H42c-4 0-4 3-5 5s-1 5-3 5-2-3-3-5-1-5-5-5H14c-3 0-3 1-3 2s-1 2-2 2-1-1-2-2-1-2-3-2H0z' fill='%23ff913f'/%3E%3C/svg%3E") 0 0 / 120px 10px repeat-x; font-family: 'Fredoka One', sans-serif; font-weight: 400; font-size: 17px; color: #ffab45; }
.halloween .form-seccion { background: linear-gradient(180deg, #281d31, #221829); border: 1px solid #3f2e49; border-radius: 16px; padding: 14px 14px 2px; margin-bottom: 12px; }
.halloween .form-seccion-titulo { float: left; width: 100%; margin-bottom: 12px; font-size: 11.5px; letter-spacing: 1.8px; color: #fff1dc; }
.halloween .form-seccion > :not(legend) { clear: both; }
.halloween .form-paso { width: 24px; height: 26px; border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(180deg, #ffc27a, #f17f24); color: #2a1206; font-family: 'Fredoka One', sans-serif; font-weight: 400; font-size: 12px; }
.halloween .form-group label { color: #c9b5ce; font-size: 10.5px; letter-spacing: 1.4px; margin-bottom: 7px; transition: color .2s; }
.halloween .form-group:focus-within label { color: #ffb36b; }
/* 16 px en los campos: iOS no hace zoom al tocarlos. */
.halloween .form-group :is(input, select) { min-height: 50px; font-size: 16px; border-radius: 11px; background-color: #1b1422; border: 1px solid #4d3858; box-shadow: inset 0 2px 5px #0008; color: #f7eddf; }
.halloween .form-group input::placeholder { color: #8f7d99; }
.halloween .form-group :is(input, select):hover { border-color: #6e5080; }
.halloween :is(.form-group input, .form-group select):focus { border-color: #ff913f; background-color: #231a2b; box-shadow: inset 0 2px 5px #0008, 0 0 0 3px #ff913f33; }
.halloween .form-group input:is(#f-nombre, #f-celular, #f-direccion, #f-barrio) { padding-left: 44px; background-repeat: no-repeat; background-position: 15px 50%; background-size: 18px; }
.halloween #f-nombre { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a2c4' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.4-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
.halloween #f-celular { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a2c4' stroke-width='2' stroke-linecap='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18h3'/%3E%3C/svg%3E"); }
.halloween #f-direccion { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a2c4' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.halloween #f-barrio { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a2c4' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 10.5 12 4l8 6.5V20H4z'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E"); }
.halloween .select-wrapper::after { content: ''; width: 14px; height: 14px; right: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb36b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.halloween .form-group.has-error :is(input, select) { border-color: #ff6b6b; box-shadow: inset 0 2px 5px #0008, 0 0 0 3px #ff6b6b2e; }
.halloween .field-error { color: #ffb8b8; font-size: 11.5px; margin-top: 7px; }
.halloween .form-group.has-error .field-error { display: flex; align-items: center; gap: 6px; }
.halloween .field-error::before { content: '!'; display: grid; place-items: center; width: 16px; height: 16px; flex: none; border-radius: 50%; background: #ff6b6b; color: #2a0d0d; font-weight: 800; font-size: 11px; line-height: 1; }
.halloween .zona-btn { position: relative; min-height: 66px; border-radius: 12px; background: #1b1422; border: 1px solid #4d3858; box-shadow: inset 0 1px 0 #ffffff0d, 0 3px 0 #120b18; transition: border-color .2s, background-color .2s, transform .12s, box-shadow .12s; -webkit-tap-highlight-color: transparent; }
.halloween .zona-btn::before { content: ''; position: absolute; top: 10px; left: 10px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #7a5c88; background: #140f1a; box-sizing: border-box; transition: background-color .2s, border-color .2s; }
.halloween .zona-btn:hover { border-color: #6e5080; }
.halloween .zona-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #120b18; }
.halloween .zona-btn.activo { background: linear-gradient(180deg, #3b2433, #2a1a26); border-color: #ff913f; box-shadow: 0 0 0 1px #ff913f, 0 3px 0 #6b2f12, 0 10px 20px -10px #ff7a1fa0; }
.halloween .zona-btn.activo::before { border-color: #ff913f; background: #ff913f; box-shadow: inset 0 0 0 3px #140f1a; }
.halloween .zona-nombre { color: #fff1dc; font-size: 15px; }
.halloween .zona-precio { padding: 2px 9px; border-radius: 999px; background: #ff913f1f; color: #ffb36b; }
.halloween .zona-btn.activo .zona-precio { background: #ff913f; color: #2a1206; }
.halloween .zona-ayuda { color: #a998b3; }
.halloween .aviso-wompi { border-radius: 10px; background: #1b1422; border: 1px dashed #5a3f66; color: #d8c6df; }
/* El botón de enviar queda a la vista mientras se llena el formulario. */
.halloween .form-accion { position: sticky; bottom: calc(-26px - env(safe-area-inset-bottom, 0px)); z-index: 2; margin: 4px -22px calc(-26px - env(safe-area-inset-bottom, 0px)); padding: 16px 22px calc(18px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, #211a2900, #211a29 26%); }
.halloween .order-submit-btn { margin-top: 0; min-height: 56px; }

/* ── Abejas en los momentos del pedido ── */
.halloween .kb--inline { position: relative; display: inline-block; flex: none; vertical-align: middle; --kb-size: 42px; margin: -14px 2px -10px -6px; --kb-flap: .5s; }
.halloween .kb--toast { position: relative; display: inline-block; vertical-align: middle; --kb-size: 34px; margin: -8px -2px -10px -4px; --kb-flap: .28s; }
.halloween .kb--empty { position: relative; display: block; margin: 0 auto 6px; --kb-size: 108px; animation: kb-hover 3.2s ease-in-out infinite; --kb-flap: .42s; }
.halloween .kb--boo { position: relative; display: block; margin: 0 auto 4px; --kb-size: 124px; animation: kb-hover 3.6s ease-in-out infinite; }
.halloween .empty-cart::before { content: none; }
.halloween .toast-icon { display: inline-flex; align-items: center; }
/* Pantalla de carga: la abeja bruja llega volando y se posa en el logo. */
.halloween .kb--loading { --kb-size: 86px; left: -14px; bottom: 18px; z-index: 3; --kb-flap: .2s; animation: kb-land 1.1s cubic-bezier(.22,.61,.36,1) .15s both, kb-hover 2.6s ease-in-out 1.25s infinite; }
@keyframes kb-land {
    from { opacity: 0; transform: translate3d(-90px, 70px, 0) rotate(-16deg) scale(.55); }
    55% { opacity: 1; transform: translate3d(14px, -14px, 0) rotate(8deg) scale(1.04); }
    78% { transform: translate3d(-3px, 3px, 0) rotate(-3deg) scale(.99); }
    to { opacity: 1; transform: none; }
}

/* ── Cabecera de cine: grano y viñeta fijos en el fondo (se pintan una vez) ── */
.halloween .header {
    background:
        url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAFW0lEQVR42n1ZyZbDMAzymSNn/f9vznRJbEBKX98sTVNb1oJAWX/8W6/X+zc+/73/1uvn/Zufa7yu177z+5uf1/cd9reX3PVd571SXXfpPe93OP+uvdn7K/z88PPFXPxsUZcZeo3XpmubxutQ973cu7zuWHKBYsjxhpq1hpf6aMl9MKPcy3XWWpe994mxnU05G2y7e0FIAG6/uQl6DO7Pa5uCrwewl+PeoMbzlvhCl9foMjZPL9GM3R7o8eWQNgxfaLBKzk0zhvKeESCcL3j8a5vF7ezjwvtMsCDVVSfrSt7bqysCeXxkIdAzVrhrDW5l/NWlM3CwjCm9Xz3g7mEUphvAVituZl350rPi/nznAFuOLwOeFQlZgg7YVXPSF+ZqGM4gaul1aE0SDEh1sNHxELF0iZcgRnMIieYIViQJWk5UXKX9f1ANVo6Uctb6b8Y4qDCc76DrsafgxwHgknsPqFVgAU6p60W0vIZheRk2IJKSD1DtbQy2fX1DAMtpD4KDMYZUymTjzgYKbpxKOuD/+e59SrTonw627HMY9DgOTP5ImKa3rtzOQ8ChiBj10XunZ5Gvdtry5YVlbulwzCE8E7Hgw3nRjFV4u0KwIgQINy1p0csSdEk3mMAMDz44dcVlWzKQr+cFH7aaMt7LGfIZFAeWsLdl7bVajCsqItng8QoHrzDyCKcXMBzHcRts0KmRJ0GAWf2RBirmorsZwnzqoU1XYOXaBFbLEA/mGb5MuXsnCS8TMDQnWlUkhcNjbsCaO25WrOmCQIBv1nJARgTfxQhYSedg6ckVdOMs0c/OFlvYchC64e0NgSWiHVbYxWgayXgOM6AYOjkcD8VL7wsT05Nm2dpPPVxfQVJvL5RJE8id33eVfK5LEY5QxEZcVFNw1EhZExICRPMoYzCH9yiYwBSA5kGNleD+gSojjamTLC0vNmjFqBMTzKqlIPTzI8kqOiHHLt/x3ZWUK4OOjFrcuA1QzotJPGyfVMsU50CpFCtaWokvL39rdMrA1pdyCcKBFUJyAAFVGUYp8rMNI35TR6PhZFlRdZramxHFjLqbkUeVwXQdYh3X0CAZTYomx8qD1WrIj9DBK/KWo9Zdj0TMq6MiQ+BtCAP5RDg6UZCNKycUw74TRFd7PQ00NWVcFdSG2IpNaMyAjbwzDngxohrERscup6Y9zyFDuxWTEdfZ5bpgIgqrCU0IJ6ro6ZNCmMd7qb0uKD6Yj1EhcqCkGWU8Du+cJTQWvkZxRdPKmj5stMwLktbIJ6Je+yClOcCfpVXmmdrZwVET3uaWjCvOpIGuxRyIOU50s68jODOvusCQdhgmqctxYD3UffZytOgyUoqNfEGA/pzahjxr6FcOPBSHroETsFHYbMiJLyFMOqnAT+FVD35CG3UhglqtM+5pOYxMtVqNqY/OhSbO7zMTNB5ZyiHnlsEAVzQs9/6n416ONF0bseVOjufQpEdO0PA42MwJCRonRGgO3uLU56C5XY1DWcoELfscBc7RhkDIRzY1TICxWVvXOtjQxTZP97kC4/w9Y7B+TsK7Dl42qq/GildrSBWkzXsLnnm9U5EcVa32uCJia2zhKSkvbVjD841qHImi9E7bwdjGugrGU0PO8WHZPC8XneTrQTvXBv2BYJ8z1lsX8EcQcsKlYFxtcF8xX05Qqyb6190Nu7U1TEQ4uBmtXSv7xQ8FNYzp8lmnPzurgYbN8hxBPMtGHzEIOh/nIwc8CBa0juDtF+1B4Nwl6SGoQYpxLDuXoNWeLHRmxaYepJdo+61GyssG1CeO1aZqT3XuzILWtOrkAIdYoql558YpNHNGwhhqYHh69vL7P7OiWA97DzDFAAAAAElFTkSuQmCC") 0 0 / 64px 64px,
        radial-gradient(ellipse at 50% 42%, transparent 52%, #07050aa6 100%),
        radial-gradient(ellipse at 76% 45%, #3b2034 0, transparent 48%),
        linear-gradient(120deg, #160f1e, #1e1427 56%, #211725);
}

/* ── Tarjetas en PC: se inclinan hacia el puntero y un brillo las recorre ── */
@media (hover: hover) and (pointer: fine) {
    .halloween .product-card { transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transition: transform .25s ease, border-color .2s; }
    .halloween .product-card:hover { transform: perspective(900px) translateY(-4px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }
    .halloween .product-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0; background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 0%), #ffffff24, transparent 48%); transition: opacity .25s; }
    .halloween .product-card:hover::after { opacity: 1; }
}

@media (max-width: 767px) {
    .halloween .header-meta { gap: 6px; }
    .halloween .header-action { gap: 6px; padding: 8px 10px; font-size: 10px; }
    .halloween .header-action::before { width: 14px; height: 14px; }
    .halloween .status-badge { padding: 8px 10px; font-size: 10px; gap: 7px; }
    /* 16 px: iOS no hace zoom al tocar el buscador. */
    .halloween .search-input { font-size: 16px; }
    .halloween .kb--loading { --kb-size: 78px; }
}

/* ── Accesibilidad tras la revisión ── */
/* Al tabular, el campo o tarjeta con foco no queda debajo del botón fijo ni de los flotantes. */
html { scroll-padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.halloween .order-modal .modal-content { scroll-padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.halloween .field-error::before { content: '!' / ''; }
.halloween .ticker-content span::after { content: '✦' / ''; }
.halloween .summary-linea.pendiente { color: #b9a8bf; }
.halloween .ficha-modal .modal-content { position: relative; }
.halloween .ficha-foto-marco:focus-visible { outline-offset: -4px; }
/* Botón que detiene la decoración; solo la decoración, las ventanas siguen igual. */
.hw-motion-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 10px; background: linear-gradient(180deg, #3f2b4e, #2a1c36); color: #e8d6ee; border: 1px solid #6e4f7c; box-shadow: inset 0 1px 0 #ffffff24, 0 2px 0 #120b18; cursor: pointer; }
.hw-motion-toggle svg { width: 14px; height: 14px; }
.hw-motion-toggle:hover { border-color: #c99bd3; }
.hw-quieto :is(.header, .promo-banner, .floats-sociales) *,
.hw-quieto :is(.header, .promo-banner, .floats-sociales) *::before,
.hw-quieto :is(.header, .promo-banner, .floats-sociales) *::after,
.hw-quieto :is(.kb, .kb *, .social-float)::before,
.hw-quieto :is(.kb, .kb *, .social-float)::after,
.hw-quieto :is(.kb, .kb *) { animation-play-state: paused !important; }
/* Lo que no se ve tampoco se anima. */
:is(.hw-resting, .hw-background) .status-led::after,
.toast:not(.show) :is(.kb, .kb *) { animation-play-state: paused !important; }

/* ── Botones sociales: orbes con halo que respira y aura que gira ──
   Solo transform/opacity animados; el anillo usa una máscara estática. */
.halloween .whatsapp-help-float { --orb: #5ff09a; --orb-glow: #2fdc7770; --orb-2: #ff913f; }
.halloween .instagram-float { --orb: #ff9bd0; --orb-glow: #e0479f70; --orb-2: #ffb347; }
.halloween .social-float { isolation: isolate; overflow: visible; background: radial-gradient(circle at 35% 30%, #3d2a4a 0, #1a1220 72%); border: 1.5px solid var(--orb); color: var(--orb); box-shadow: 0 0 16px var(--orb-glow), inset 0 0 12px var(--orb-glow); }
.halloween .social-float > svg:first-child { position: relative; z-index: 2; }
.halloween .social-float::before { content: ''; position: absolute; inset: -10px; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, var(--orb-glow) 0 42%, transparent 70%); animation: hw-orb-breathe 2.8s ease-in-out infinite; }
.halloween .social-float::after { content: ''; position: absolute; inset: -5px; z-index: 1; border-radius: 50%; pointer-events: none; background: conic-gradient(from 0deg, transparent 0 52%, var(--orb-2) 72%, var(--orb) 88%, transparent 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); animation: hw-orb-spin 3.6s linear infinite; }
.halloween .instagram-float::before { animation-delay: -1.4s; }
.halloween .instagram-float::after { animation-direction: reverse; animation-duration: 4.4s; }
.halloween .social-float:hover { transform: scale(1.1); }
.hw-float-hat { position: absolute; z-index: 3; width: 34px; height: 29px; top: -19px; right: -9px; transform: rotate(18deg); pointer-events: none; }
.hw-float-bat { position: absolute; z-index: 3; width: 28px; height: 14px; top: -7px; left: -13px; color: #a07cba; transform: rotate(-20deg); pointer-events: none; }
@keyframes hw-orb-breathe { 0%, 100% { opacity: .45; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes hw-orb-spin { to { transform: rotate(1turn); } }
.hw-background .social-float::before, .hw-background .social-float::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) and (scripting: none) {
    .halloween .social-float::before { opacity: .7; }
}

/* ── Cierre de la revisión de diseño ── */
.halloween .product-card { display:flex; flex-direction:column; }
.halloween .product-info { flex:1; display:flex; flex-direction:column; }
.halloween .product-footer { margin-top:auto; }
@keyframes hw-drop-fall { 0% { opacity:0; transform:translateY(-.06em) scale(.3); } 12% { opacity:1; } 50% { opacity:1; transform:translateY(0) scale(1,1.12); } 58% { transform:translateY(.06em) scale(.92,1.28); } 80%,100% { opacity:0; transform:translateY(.5em) scale(.82,1.2); } }
@keyframes hw-sub-flicker { 0%,100% { opacity:1; } 8% { opacity:.86; } 46% { opacity:.9; } 71% { opacity:.86; } }
.halloween :is(.promo-banner, .hw-edition, .hw-header-bottom) { font-size:11px; letter-spacing:1.6px; }
.halloween .product-badge { font-size:10px; }
.halloween :is(.form-group label, .product-description) { font-size:11.5px; }
.halloween .qty-stepper .qty-btn, .halloween .remove-btn { width:44px; height:44px; }
.halloween .ficha-escalones { border-radius:12px; overflow:hidden; }
.halloween .escalon.activo { background:#3b2433; }
.halloween .badge-nuevo { background:#c8a2e1; color:#251426; }
.halloween .cart-modal:has(.empty-cart) .cart-footer { display:none; }
.halloween .hw-seguir { display:block; margin:16px auto 0; padding:12px 22px; border-radius:12px; border:1px solid #ffcf98; background:linear-gradient(180deg,#ffc27a,#f17f24); color:#2a1206; font-weight:800; box-shadow:0 4px 0 #9c4510; cursor:pointer; }
.halloween .kb--loading { left:6px; bottom:40px; }
@media (min-width:768px) { .halloween .ficha-info .add-to-cart-btn { position:sticky; bottom:12px; } }
@media (max-width:1023px) {
    .halloween .header-meta { display:grid; grid-template-columns:auto auto; justify-content:center; }
    .halloween .status-badge { grid-column:1 / -1; justify-self:center; }
}
@media (max-width:767px) {
    .halloween .ficha-cuerpo { max-height:calc(92vh - 22px); }
    .halloween .ficha-info { padding-top:16px; padding-bottom:calc(22px + env(safe-area-inset-bottom, 0px)); }
    .halloween :is(.header-action, .status-badge) { font-size:11.5px; }
    .halloween .no-results { padding-inline:76px; }
}

/* ── Aviso de descuentos en la cabecera (3D) ──
   Todo con transform/opacity: el giro, el brillo y las chispas van por el compositor. */
.hw-sale {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  margin: 16px auto 10px; padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: radial-gradient(120% 140% at 30% 0%, #ff4d57 0%, #d81b27 38%, #8f0912 100%);
  border: 1px solid #ff7a80;
  /* Canto extruido (capas sólidas) + sombra al suelo + brillo interior */
  box-shadow:
    0 1px 0 #a80f1a, 0 2px 0 #940c16, 0 3px 0 #800a13, 0 4px 0 #6b0810, 0 5px 0 #560610,
    0 12px 22px rgba(120, 0, 10, .55), 0 0 26px rgba(255, 40, 55, .35),
    inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 6px rgba(60, 0, 6, .5);
  color: #fff; font-size: .98rem; letter-spacing: .06em;
  text-shadow: 0 1px 0 #7a0710, 0 2px 4px rgba(0, 0, 0, .45);
  transform-style: preserve-3d;
  will-change: transform;
  animation: hw-sale-flota 5s cubic-bezier(.45, 0, .55, 1) infinite;
}
/* Barrido de brillo */
.hw-sale::before {
  content: ""; position: absolute; z-index: -1; inset: -20% auto -20% 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: hw-sale-brillo 3.6s ease-in-out infinite;
}
/* Reflejo superior tipo caramelo */
.hw-sale::after {
  content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 2px; height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0));
}
.hw-sale-tag {
  position: relative;
  padding: 4px 11px; border-radius: 999px;
  background: linear-gradient(180deg, #2a070c, #0f0204);
  box-shadow: inset 0 1px 0 rgba(255, 120, 128, .35), 0 2px 0 #3d0208;
  color: #ff7d84; font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  text-shadow: 0 0 8px rgba(255, 60, 70, .8);
  animation: hw-sale-neon 4.2s steps(1) infinite;
}
.hw-sale strong {
  font-weight: 900; font-size: 1.08em;
  display: inline-block;
  animation: hw-sale-latido 2.4s ease-in-out infinite;
}
@keyframes hw-sale-flota {
  0%, 100% { transform: perspective(700px) rotateX(10deg) rotateY(-9deg) translateY(0); }
  50%      { transform: perspective(700px) rotateX(4deg)  rotateY(9deg)  translateY(-4px); }
}
@keyframes hw-sale-brillo {
  0%, 35% { transform: translateX(-160%) skewX(-18deg); }
  70%, 100% { transform: translateX(380%) skewX(-18deg); }
}
@keyframes hw-sale-latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes hw-sale-neon { 0%, 100% { opacity: 1; } 62% { opacity: .55; } 64% { opacity: 1; } 67% { opacity: .7; } 69% { opacity: 1; } }
body.hw-resting .hw-sale, body.hw-background .hw-sale,
body.hw-resting .hw-sale *, body.hw-background .hw-sale *,
body.hw-resting .hw-sale::before, body.hw-background .hw-sale::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) and (scripting: none) {
  .hw-sale, .hw-sale::before, .hw-sale-tag, .hw-sale strong { animation: none; }
}
@media (max-width: 480px) {
  .hw-sale { font-size: .84rem; gap: 7px; padding: 7px 15px 7px 7px; }
  @keyframes hw-sale-flota {
    0%, 100% { transform: perspective(600px) rotateX(8deg) rotateY(-6deg) translateY(0); }
    50%      { transform: perspective(600px) rotateX(3deg) rotateY(6deg) translateY(-3px); }
  }
}

/* ── Cinta superior en 3D ──
   La cinta se inclina hacia el visitante, cada frase flota en ola y un brillo
   recorre la franja. Solo transform/opacity; se pausa con la misma lógica del ticker. */
.halloween .promo-banner {
  position: relative; overflow: hidden; isolation: isolate;
  perspective: 900px;
  background: linear-gradient(180deg, #2a1c1f 0%, #150f13 55%, #0b080b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 190, 140, .22), inset 0 -2px 0 rgba(0, 0, 0, .6),
    0 3px 0 #3a2219, 0 6px 14px rgba(0, 0, 0, .55);
}
.halloween .promo-banner::before {
  content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 22%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 180, 110, .16) 45%, rgba(255, 255, 255, .22) 50%, rgba(255, 180, 110, .16) 55%, transparent);
  transform: translateX(-120%) skewX(-20deg);
  animation: hw-cinta-brillo 6s ease-in-out infinite;
}
.halloween .promo-banner::after {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #0b080b 0, transparent 7%, transparent 93%, #0b080b 100%);
}
.halloween .ticker-wrap { transform: rotateX(14deg); transform-origin: 50% 100%; }
.halloween .ticker-content span {
  display: inline-block;
  text-shadow: 0 1px 0 #6b3a20, 0 2px 0 #4a2614, 0 3px 4px rgba(0, 0, 0, .6), 0 0 10px rgba(255, 150, 80, .25);
  animation: hw-cinta-ola 3.2s ease-in-out infinite;
}
.halloween .ticker-content span:nth-child(2n) { animation-delay: -.8s; }
.halloween .ticker-content span:nth-child(3n) { animation-delay: -1.6s; }
.halloween .ticker-content span:nth-child(5n) { animation-delay: -2.4s; }
.halloween .ticker-content .hw-tk-sale-wrap { animation: none; text-shadow: none; }
.halloween .ticker-content .hw-tk-sale {
  display: inline-block;
  animation: hw-cinta-ola-roja 3.2s ease-in-out infinite;
  padding: 4px 12px; border-radius: 999px;
  color: #fff; font-weight: 800;
  background: radial-gradient(120% 160% at 30% 0%, #ff4d57, #d81b27 45%, #8f0912);
  box-shadow: 0 1px 0 #940c16, 0 2px 0 #6b0810, 0 3px 0 #4f050c, 0 6px 12px rgba(200, 10, 25, .45),
    inset 0 1px 0 rgba(255, 255, 255, .45);
  text-shadow: 0 1px 0 #7a0710, 0 0 8px rgba(255, 90, 100, .6);
}
@keyframes hw-cinta-ola {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50%      { transform: translateY(-2px) rotateX(-18deg); }
}
@keyframes hw-cinta-ola-roja {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-2px) scale(1.06); }
}
@keyframes hw-cinta-brillo {
  0%, 30%   { transform: translateX(-120%) skewX(-20deg); }
  75%, 100% { transform: translateX(560%) skewX(-20deg); }
}
.hw-resting .promo-banner::before, .hw-background .promo-banner::before,
.hw-resting .ticker-content span, .hw-background .ticker-content span,
.hw-modal-open .ticker-content span, .halloween.sin-scroll .ticker-content span,
.hw-resting .hw-tk-sale, .hw-background .hw-tk-sale, .hw-modal-open .hw-tk-sale { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) and (scripting: none) {
  .halloween .promo-banner::before, .halloween .ticker-content span, .halloween .hw-tk-sale { animation: none; }
}
@media (max-width: 480px) {
  .halloween .ticker-wrap { transform: rotateX(10deg); }
  .halloween .ticker-content .hw-tk-sale { padding: 3px 9px; }
}

/* ══════════ Paquete 3D premium ══════════
   Todo anima transform/opacity (o las propiedades sueltas translate/rotate/scale,
   que se suman al transform que ya tenga cada pieza sin pisarlo). */

/* 1 · Tarjetas en celular: se inclinan hacia el dedo con brillo holográfico */
@media (hover: none) {
  .halloween .product-card { transform: perspective(800px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .halloween .product-card.hw-touch { transition-duration: .12s; }
  .halloween .product-card::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 30%), #ffffff30, transparent 45%),
      linear-gradient(115deg, transparent 30%, #ff9d4222 45%, #b36bff22 55%, transparent 70%);
    transition: opacity .3s;
  }
  .halloween .product-card.hw-touch::after { opacity: 1; }
}

/* 2 · Vuelo al carrito (premium) */
.hw-fly-capa { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; perspective: 900px; }
.hw-fly {
  position: absolute; left: 0; top: 0; width: 74px; height: 74px; margin: -37px 0 0 -37px;
  display: grid; place-items: center; font-size: 40px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #fff6dc, #ffc04d 45%, #c96a12);
  border: 3px solid #ffd27a;
  box-shadow: 0 0 0 4px rgba(255, 145, 63, .35), 0 0 28px 6px rgba(255, 170, 60, .75), 0 14px 24px rgba(0, 0, 0, .55);
  backface-visibility: visible; will-change: transform, opacity;
}
.hw-fly img { width: 100%; height: 100%; object-fit: cover; }
.hw-fly::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .7), transparent 38%); }
.hw-fly-chispa {
  position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 20%, #ffd27a 45%, rgba(255, 145, 63, 0) 72%);
  will-change: transform, opacity;
}
.hw-fly-anillo {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  border: 3px solid #9dff7a; box-shadow: 0 0 18px #7be356, inset 0 0 12px #7be356;
}
.hw-fly-mas {
  position: absolute; left: 0; top: 0; margin: -14px 0 0 -16px;
  font: 900 24px/1 inherit; color: #c9ffb0;
  text-shadow: 0 2px 0 #2f6a1f, 0 0 12px #7be356;
}
.hw-cart-hit { animation: hw-cart-hit .7s cubic-bezier(.16, 1, .3, 1); }
@keyframes hw-cart-hit { 0% { scale: 1; rotate: 0deg; } 25% { scale: 1.22 .82; rotate: -3deg; } 50% { scale: .92 1.12; rotate: 2deg; } 75% { scale: 1.05 .97; rotate: -1deg; } 100% { scale: 1; rotate: 0deg; } }

/* 3 · Carrito como caldero burbujeante */
.halloween .cart-float {
  overflow: visible; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #4a3a52 0%, #241a2b 45%, #0e0a12 100%);
  color: #f7eddf; border: 1px solid #6e5679; border-radius: 22px 22px 30px 30px;
  box-shadow: 0 2px 0 #19111e, 0 4px 0 #120c16, 0 6px 0 #0b070d, 0 14px 26px rgba(0, 0, 0, .6),
    inset 0 3px 0 rgba(150, 255, 120, .28), inset 0 -8px 14px rgba(0, 0, 0, .55), 0 0 22px rgba(120, 255, 90, .18);
}
.halloween .cart-float::before, .halloween .cart-float::after {
  content: ""; position: absolute; z-index: -1; left: 30%; top: -4px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e8ffd6, #6fe04a 55%, #2c8f1f);
  opacity: 0; animation: hw-burbuja 2.6s ease-in infinite;
}
.halloween .cart-float::after { left: 62%; width: 7px; height: 7px; animation-delay: -1.3s; }
.halloween .cart-float .cart-count {
  background: radial-gradient(circle at 35% 30%, #eaffd8, #7be356 50%, #2f9a22); color: #102409;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(120, 255, 90, .65), inset 0 -2px 3px rgba(0, 0, 0, .3);
}
.halloween .cart-float .cart-total { color: #b9ff9a; text-shadow: 0 0 8px rgba(120, 255, 90, .45); }
.hw-caldero-humo { position: absolute; z-index: -2; left: 20%; top: -6px; width: 60%; height: 34px; pointer-events: none; }
.hw-caldero-humo i {
  position: absolute; bottom: 0; left: calc(var(--x) * 1%); width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 255, 120, .35), transparent 70%);
  opacity: 0; animation: hw-humo 3.4s ease-out infinite; animation-delay: var(--d);
}
@keyframes hw-burbuja { 0% { transform: translateY(6px) scale(.4); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-26px) scale(1); opacity: 0; } }
@keyframes hw-humo { 0% { transform: translateY(4px) scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-34px) scale(2.2); opacity: 0; } }

/* 4 · Logo como moneda que flota con profundidad */
.halloween .hw-brand { display: inline-block; animation: hw-moneda 9s ease-in-out infinite; }
.halloween .header-logo { filter: drop-shadow(0 2px 0 #3a2219) drop-shadow(0 4px 0 #24140f) drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }
@keyframes hw-moneda {
  0%, 100% { transform: perspective(900px) rotateY(-7deg) rotateX(3deg); }
  50%      { transform: perspective(900px) rotateY(7deg) rotateX(-2deg); }
}

/* 5 · Parallax de la cabecera al hacer scroll (--hw-par lo pone el JS) */
.halloween .header { --hw-par: 0; }
.halloween .hw-moon   { translate: 0 calc(var(--hw-par) * .45px); }
.halloween .hw-web    { translate: 0 calc(var(--hw-par) * -.18px); }
.halloween .hw-bat    { translate: 0 calc(var(--hw-par) * .3px); }
.halloween .hw-header-pumpkin { translate: 0 calc(var(--hw-par) * -.12px); }
.halloween .header-content { translate: 0 calc(var(--hw-par) * .12px); }

/* 6 · Categorías como teclas de vidrio ahumado */
.halloween .category-btn {
  border-radius: 12px; border: 1px solid #ffffff1f;
  background: linear-gradient(180deg, #ffffff14, #ffffff05 45%, #0000002e), #2a2131cc;
  color: #e6d6ec;
  box-shadow: 0 1px 0 #ffffff1a inset, 0 3px 0 #140e18, 0 6px 12px rgba(0, 0, 0, .4);
  transition: transform .15s ease, box-shadow .15s ease, color .2s, background-color .2s;
}
.halloween .category-btn:hover { color: #ffcf9e; border-color: #ff913f66; }
.halloween .category-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #ffffff12 inset, 0 1px 0 #140e18, 0 2px 5px rgba(0, 0, 0, .4); }
.halloween .category-btn.active {
  transform: translateY(2px); color: #ffd6ab; border-color: #ff913f88;
  background: radial-gradient(90% 120% at 50% 100%, #ff913f55, transparent 70%), linear-gradient(180deg, #0000004d, #ffffff08), #1c1520;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, .6), inset 0 0 14px #ff913f55, 0 1px 0 #ffffff14, 0 0 16px #ff913f33;
}

/* 7 · Ventanas que se abren como libro de hechizos */
.halloween .modal { perspective: 1400px; }
.halloween .modal.active .modal-content { transform-origin: 50% 100%; animation: hw-libro .55s cubic-bezier(.2, .9, .25, 1) both; }
.halloween .order-modal.active fieldset { transform-origin: 0 50%; animation: hw-pagina .6s cubic-bezier(.2, .9, .25, 1) both; }
.halloween .order-modal.active fieldset:nth-of-type(2) { animation-delay: .12s; }
.halloween .order-modal.active fieldset:nth-of-type(3) { animation-delay: .24s; }
@keyframes hw-libro { from { rotate: x 28deg; opacity: 0; } to { rotate: x 0deg; opacity: 1; } }
@keyframes hw-pagina { from { rotate: y -70deg; opacity: 0; } to { rotate: y 0deg; opacity: 1; } }

.hw-resting :is(.hw-brand, .hw-caldero-humo i), .hw-background :is(.hw-brand, .hw-caldero-humo i),
.hw-background .cart-float::before, .hw-background .cart-float::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) and (scripting: none) {
  .halloween :is(.hw-brand, .hw-caldero-humo i, .modal-content, fieldset), .halloween .cart-float::before, .halloween .cart-float::after { animation: none !important; }
  .halloween :is(.hw-moon, .hw-web, .hw-bat, .hw-header-pumpkin, .header-content) { translate: none; }
}

/* ══════════ Paquete 3D premium · 2 ══════════ */

/* 8 · Ficha: la foto flota en capas (fondo, chispas y producto a distinta profundidad) */
.halloween .ficha-foto { perspective: 900px; overflow: hidden; }
.halloween .ficha-foto-marco { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.16, 1, .3, 1); transform: rotateY(calc(var(--fx) * 9deg)) rotateX(calc(var(--fy) * -9deg)); }
.halloween .ficha-foto-marco img {
  transition: translate .5s cubic-bezier(.16, 1, .3, 1);
  translate: calc(var(--fx) * 10px) calc(var(--fy) * 10px);
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55));
  animation: hw-ficha-flota 5s ease-in-out infinite;
}
.hw-ficha-capa { position: absolute; inset: -8%; pointer-events: none; z-index: 0;
  translate: calc(var(--fx) * -14px) calc(var(--fy) * -14px); transition: translate .5s cubic-bezier(.16, 1, .3, 1); }
.hw-ficha-capa i {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #ffe2a8, rgba(255, 145, 63, 0) 70%);
  left: var(--x); top: var(--y); opacity: 0; animation: hw-ficha-chispa 4s ease-in-out infinite; animation-delay: var(--d);
}
.halloween .ficha-foto-marco { position: relative; z-index: 1; }
@keyframes hw-ficha-flota { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.015); } }
@keyframes hw-ficha-chispa { 0%, 100% { transform: translateY(10px) scale(.5); opacity: 0; } 50% { transform: translateY(-14px) scale(1.4); opacity: .9; } }

/* 9 · Botón «+» de caramelo y precio con canto dorado */
.halloween .card-add-btn {
  overflow: hidden; border-radius: 14px;
  background: radial-gradient(circle at 32% 25%, #ffe0b5 0 12%, #ffab55 40%, #e8721c 75%, #b9520e);
  box-shadow: inset 0 2px 0 #fff9, inset 0 -4px 6px #8a3a0a66, 0 4px 0 #8a3a0a, 0 10px 16px -6px #ff7a1fb0;
}
.halloween .card-add-btn::after {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: repeating-linear-gradient(45deg, transparent 0 9px, rgba(255, 255, 255, .22) 9px 15px);
  translate: -12px 0; transition: translate .5s ease;
}
.halloween .product-card:hover .card-add-btn::after, .halloween .card-add-btn:hover::after { translate: 12px 0; }
.halloween .card-add-btn:active { scale: .92; }
.halloween .product-price {
  color: #ffd27a;
  text-shadow: 0 1px 0 #c97a1c, 0 2px 0 #9c5a12, 0 3px 0 #6e3d0b, 0 5px 8px rgba(0, 0, 0, .55), 0 0 14px rgba(255, 190, 90, .25);
}
.halloween .product-price .precio-antes { text-shadow: none; }

/* 10 · Tarjetas que entran girando desde abajo al hacer scroll */
.hw-reveal .product-card:not(.hw-in) { opacity: 0; translate: 0 34px; rotate: x 22deg; }
.hw-reveal .product-card {
  transition: opacity .6s ease, translate .7s cubic-bezier(.16, 1, .3, 1), rotate .7s cubic-bezier(.16, 1, .3, 1), transform .35s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--hw-i, 0) * 70ms), calc(var(--hw-i, 0) * 70ms), calc(var(--hw-i, 0) * 70ms), 0s;
}

/* 11 · WhatsApp e Instagram como esferas de cristal */
.hw-orb-cristal {
  position: absolute; inset: 0; z-index: 3; border-radius: 50%; pointer-events: none; overflow: hidden;
  background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .18), transparent 55%);
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .35), inset 0 2px 3px rgba(255, 255, 255, .5);
}
.hw-orb-cristal::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(ellipse 38% 24% at 32% 22%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%);
  animation: hw-orb-reflejo 7s linear infinite;
}
.halloween .social-float > svg:first-child { animation: hw-orb-icono 6s ease-in-out infinite; }
@keyframes hw-orb-reflejo { to { transform: rotate(360deg); } }
@keyframes hw-orb-icono { 0%, 100% { transform: perspective(300px) rotateY(-18deg); } 50% { transform: perspective(300px) rotateY(18deg); } }

/* 12 · Pie de página: cementerio vivo en 5 planos de profundidad.
   Cada plano se desplaza distinto con el scroll (--pie-p de 0 a 1, lo pone el JS)
   y todas las criaturas animan solo transform/opacity. */
.hw-pie {
  --pie-p: 0;
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(300px, 34vw, 430px); margin-top: 48px; padding-bottom: 0;
  background: linear-gradient(180deg, #07050a 0%, #140d1b 45%, #2a1a33 78%, #1a1120 100%);
  border-top: 1px solid #3c2b45;
}
.hw-pie > * { position: absolute; pointer-events: none; }
.hw-pie-estrellas { inset: 0 0 40% 0;
  background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff9 50%, transparent 51%), radial-gradient(1px 1px at 28% 12%, #fff8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 66% 18%, #fffa 50%, transparent 51%), radial-gradient(1px 1px at 84% 30%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 8%, #fff8 50%, transparent 51%), radial-gradient(1.5px 1.5px at 92% 10%, #fff9 50%, transparent 51%);
  animation: hw-titila 5s ease-in-out infinite alternate; }
.hw-pie-luna { top: 7%; left: 50%; width: clamp(90px, 11vw, 150px); aspect-ratio: 1; margin-left: calc(clamp(90px, 11vw, 150px) / -2); border-radius: 50%;
  background: radial-gradient(circle at 30% 34%, #b8662f22 0 9%, transparent 10%), radial-gradient(circle at 62% 58%, #b8662f30 0 12%, transparent 13%),
    radial-gradient(circle at 58% 26%, #b8662f22 0 6%, transparent 7%), radial-gradient(circle at 40% 36%, #fff1d6, #f4ae62 55%, #b05a2a);
  box-shadow: 0 0 60px 16px rgba(244, 174, 98, .32), 0 0 140px 40px rgba(244, 120, 60, .14);
  translate: 0 calc(var(--pie-p) * 40px); }
.hw-pie-nube { top: 12%; width: 260px; height: 46px; border-radius: 50%; opacity: .55;
  background: radial-gradient(50% 60% at 30% 60%, #3b2a46, transparent 70%), radial-gradient(45% 70% at 65% 45%, #31233b, transparent 70%);
  animation: hw-nube 48s linear infinite; }
.hw-pie-nube--2 { top: 24%; width: 200px; opacity: .4; animation-duration: 64s; animation-delay: -30s; }
.hw-pie-colinas { left: -5%; right: -5%; bottom: 22%; height: 34%; translate: 0 calc(var(--pie-p) * 26px);
  background: radial-gradient(60% 100% at 18% 100%, #1d1424 99%, transparent 100%), radial-gradient(55% 90% at 62% 100%, #22182a 99%, transparent 100%),
    radial-gradient(50% 80% at 96% 100%, #1d1424 99%, transparent 100%); }
.hw-pie-arbol { bottom: 24%; width: clamp(90px, 12vw, 160px); color: #0d0911; translate: 0 calc(var(--pie-p) * 18px); }
.hw-pie-arbol--izq { left: 3%; } .hw-pie-arbol--der { right: 4%; transform: scaleX(-1); width: clamp(70px, 9vw, 120px); }
.hw-pie-plano { left: 0; right: 0; display: flex; align-items: flex-end; justify-content: space-evenly; translate: 0 calc(var(--pie-p) * var(--prof, 10px)); }
.hw-pie-plano--lejos { bottom: 21%; --prof: 14px; opacity: .65; scale: .78; }
.hw-pie-plano--cerca { bottom: 2%; --prof: -6px; }
.hw-lapida { position: relative; width: var(--w); height: var(--h); rotate: var(--r, 0deg);
  border-radius: 46% 46% 6px 6px / 40% 40% 6px 6px;
  background: radial-gradient(ellipse 60% 30% at 40% 8%, #ffffff1c, transparent 70%), linear-gradient(90deg, #3d3348 0%, #5e5069 42%, #463b52 70%, #2a2231 100%);
  box-shadow: inset -6px 0 0 #221b29, inset 0 -10px 12px #0007, 6px 8px 0 #0b080d, 0 0 24px rgba(160, 255, 120, .05);
  display: grid; place-items: center; color: #1b1520; font: 900 clamp(10px, 1.1vw, 14px)/1 sans-serif; letter-spacing: 1.5px;
  text-shadow: 0 1px 0 #6d607a; }
.hw-lapida::after { content: ""; position: absolute; left: 6%; right: 10%; bottom: 0; height: 18%; border-radius: 0 0 6px 6px;
  background: linear-gradient(0deg, #2f4d2a, #3f6b3333 70%, transparent); }
.hw-lapida--cruz { width: calc(var(--w) * .34); border-radius: 4px; }
.hw-lapida--cruz::before { content: ""; position: absolute; left: -95%; right: -95%; top: 22%; height: 18%; border-radius: 4px; background: inherit; box-shadow: inherit; }
.hw-pie-suelo { left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(180deg, #1b1222, #09060b); }
.hw-pie-niebla { left: 0; bottom: 4%; width: 200%; height: 90px;
  background: radial-gradient(40% 60% at 15% 60%, rgba(205, 185, 225, .2), transparent 70%), radial-gradient(35% 55% at 45% 50%, rgba(205, 185, 225, .14), transparent 70%),
    radial-gradient(40% 60% at 65% 60%, rgba(205, 185, 225, .2), transparent 70%), radial-gradient(35% 55% at 95% 50%, rgba(205, 185, 225, .14), transparent 70%);
  animation: hw-niebla 26s linear infinite; }
.hw-pie-niebla--atras { bottom: 20%; opacity: .7; animation-duration: 42s; animation-direction: reverse; }
.hw-pie-niebla--frente { bottom: -2%; height: 70px; opacity: .9; animation-duration: 20s; z-index: 6; }

/* Zombis caminando (cada uno: recorrido + rebote + piernas y brazos) */
.hw-zombi { bottom: var(--z-y, 6%); left: 0; width: var(--z-w, 70px); z-index: var(--z-z, 4);
  animation: hw-zombi-paso var(--z-t, 34s) linear infinite; animation-delay: var(--z-d, 0s); }
.hw-zombi--vuelta { animation-name: hw-zombi-paso-vuelta; }
.hw-zombi svg { display: block; width: 100%; overflow: visible; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .6)); }
.hw-zombi--vuelta svg { transform: scaleX(-1); }
.hw-zombi .zb-cuerpo { transform-box: fill-box; transform-origin: 50% 100%; animation: hw-zombi-rebote .9s ease-in-out infinite; }
.hw-zombi .zb-pierna, .hw-zombi .zb-brazo { transform-box: fill-box; transform-origin: 50% 0; }
.hw-zombi .zb-pierna--a { animation: hw-zombi-pierna .9s ease-in-out infinite; }
.hw-zombi .zb-pierna--b { animation: hw-zombi-pierna .9s ease-in-out infinite reverse; }
.hw-zombi .zb-brazo { transform-origin: 0 50%; animation: hw-zombi-brazo 1.8s ease-in-out infinite; }
.hw-zombi .zb-brazo--b { animation-delay: -.9s; }
.hw-zombi .zb-cabeza { transform-box: fill-box; transform-origin: 50% 100%; animation: hw-zombi-cabeza 2.6s ease-in-out infinite; }
.hw-zombi .zb-ojo { transform-box: fill-box; transform-origin: 50% 50%; animation: hw-parpadeo 4.5s steps(1) infinite; }

/* Manos que salen de la tierra y ojos en la oscuridad */
.hw-mano { bottom: 2%; width: clamp(34px, 4vw, 54px); z-index: 5; left: var(--m-x);
  animation: hw-mano 7s cubic-bezier(.3, 0, .2, 1) infinite; animation-delay: var(--m-d); }
.hw-mano svg { display: block; width: 100%; overflow: visible; }
.hw-ojos { left: var(--o-x); bottom: var(--o-y); width: 22px; height: 7px; z-index: 3;
  background: radial-gradient(circle at 20% 50%, #c6ff6a 0 28%, transparent 32%), radial-gradient(circle at 80% 50%, #c6ff6a 0 28%, transparent 32%);
  filter: drop-shadow(0 0 4px #9dff3a); animation: hw-ojos 6s steps(1) infinite; animation-delay: var(--o-d); }
.hw-luciernaga { width: 5px; height: 5px; border-radius: 50%; left: var(--l-x); bottom: var(--l-y); z-index: 5;
  background: #d9ff8a; box-shadow: 0 0 8px 2px #b6ff4a; animation: hw-luciernaga 6s ease-in-out infinite; animation-delay: var(--l-d); }
.hw-pie-murcielago { top: 14%; width: 38px; color: #0b080c; z-index: 2; animation: hw-pie-vuelo 15s linear infinite; }
.hw-pie-murcielago--2 { top: 26%; width: 24px; animation-duration: 21s; animation-delay: -9s; }
.hw-pie-texto { z-index: 7; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; color: #b7a3c2; font-size: 11px; letter-spacing: 2.4px; text-shadow: 0 2px 6px #000; }
.hw-pie-texto b { color: #ffc079; }

@keyframes hw-titila { from { opacity: .6; } to { opacity: 1; } }
@keyframes hw-nube { from { transform: translateX(-280px); } to { transform: translateX(110vw); } }
@keyframes hw-niebla { to { transform: translateX(-50%); } }
@keyframes hw-zombi-paso { from { transform: translateX(-120px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes hw-zombi-paso-vuelta { from { transform: translateX(calc(100vw + 40px)); } to { transform: translateX(-120px); } }
@keyframes hw-zombi-rebote { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4%) rotate(3deg); } }
@keyframes hw-zombi-pierna { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(22deg); } }
@keyframes hw-zombi-brazo { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
@keyframes hw-zombi-cabeza { 0%, 100% { transform: rotate(-9deg); } 40% { transform: rotate(7deg); } 70% { transform: rotate(-4deg); } }
@keyframes hw-parpadeo { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.1); } }
@keyframes hw-mano { 0%, 18% { transform: translateY(105%); } 34% { transform: translateY(8%) rotate(-6deg); } 44% { transform: translateY(12%) rotate(8deg); } 56% { transform: translateY(6%) rotate(-5deg); } 72%, 100% { transform: translateY(105%); } }
@keyframes hw-ojos { 0%, 100% { opacity: 0; } 20%, 46%, 52% { opacity: 1; } 48% { opacity: 0; } 70% { opacity: 0; } }
@keyframes hw-luciernaga { 0%, 100% { transform: translate(0, 0); opacity: .2; } 30% { transform: translate(14px, -18px); opacity: 1; } 60% { transform: translate(-10px, -30px); opacity: .5; } }
@keyframes hw-pie-vuelo { 0% { transform: translate3d(-60px, 0, 0); } 50% { transform: translate3d(50vw, -18px, 0); } 100% { transform: translate3d(110vw, 6px, 0); } }

/* El pie entero se pausa fuera de vista (lo marca el JS) */
.hw-pie:not(.hw-pie-activo), .hw-pie:not(.hw-pie-activo) * { animation-play-state: paused !important; }
@media (max-width: 600px) {
  .hw-pie { height: 320px; }
  .hw-pie-plano .hw-lapida:nth-child(n+5) { display: none; }
  .hw-zombi { width: calc(var(--z-w, 60px) * .62); }
  .hw-zombi { z-index: 6; }
}

/* Celular: tarjetas que se mueven con la inclinación del teléfono (o balanceo suave) */
@media (hover: none) {
  .halloween .product-card { transform: perspective(800px) rotateX(var(--tilt-y, calc(var(--hw-gy, 0) * -7deg))) rotateY(var(--tilt-x, calc(var(--hw-gx, 0) * 7deg))); }
  .hw-giro .halloween .product-card::after, .halloween.hw-giro .product-card::after { opacity: .75; --glare-x: calc(50% + var(--hw-gx, 0) * 45%); --glare-y: calc(30% + var(--hw-gy, 0) * 40%); }
  .hw-sin-giro .halloween .product-card.hw-in, .halloween.hw-sin-giro .product-card.hw-in { animation: hw-tarjeta-vaiven 7s ease-in-out infinite; }
  .halloween .product-card:nth-child(2n).hw-in { animation-delay: -2.3s; }
  .halloween .product-card:nth-child(3n).hw-in { animation-delay: -4.6s; }
  .halloween .card-add-btn::after { animation: hw-rayas 3.2s ease-in-out infinite; }
}
.halloween .ficha-foto { --fx: var(--hw-gx, 0); --fy: var(--hw-gy, 0); }
@keyframes hw-tarjeta-vaiven { 0%, 100% { rotate: y -4deg; } 50% { rotate: y 4deg; } }
@keyframes hw-rayas { 0%, 55% { translate: -12px 0; } 80%, 100% { translate: 12px 0; } }

/* Pausas y movimiento reducido del paquete 2 */
.hw-background :is(.hw-pie *, .hw-orb-cristal::before, .social-float > svg, .hw-ficha-capa i, .ficha-foto-marco img) { animation-play-state: paused !important; }
.hw-background .hw-orb-cristal::before { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) and (scripting: none) {
  .halloween .ficha-foto-marco img, .hw-ficha-capa i, .hw-orb-cristal::before, .halloween .social-float > svg:first-child,
  .hw-pie-niebla, .hw-pie-murcielago { animation: none !important; }
  .hw-reveal .product-card:not(.hw-in) { opacity: 1; translate: none; rotate: none; }
}


/* Zombis estilo caricatura 3D: boca que se abre y cuerpo encorvado */
.hw-zombi .zb-boca { transform-box: fill-box; transform-origin: 50% 0; animation: hw-zombi-boca 1.6s ease-in-out infinite; }
.hw-zombi .zb-cabeza { animation-name: hw-zombi-cabeza2; }
@keyframes hw-zombi-boca { 0%, 100% { transform: scaleY(.75); } 50% { transform: scaleY(1.15); } }
@keyframes hw-zombi-cabeza2 { 0%, 100% { transform: rotate(-6deg) translateX(0); } 35% { transform: rotate(9deg) translateX(1px); } 65% { transform: rotate(-2deg); } }
.hw-mano svg { filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .6)); }

/* Realismo del cementerio: luna, niebla, lápidas y árboles */
.hw-pie-luna {
  background:
    radial-gradient(circle at 34% 30%, #9c7a5a55 0 7%, transparent 8%), radial-gradient(circle at 60% 62%, #8a6a4c66 0 11%, transparent 12%),
    radial-gradient(circle at 63% 30%, #9c7a5a44 0 5%, transparent 6%), radial-gradient(circle at 42% 70%, #9c7a5a40 0 6%, transparent 7%),
    radial-gradient(ellipse 30% 22% at 45% 45%, #b08a6633, transparent 70%), radial-gradient(ellipse 25% 35% at 68% 48%, #a07a5a33, transparent 70%),
    radial-gradient(circle at 38% 34%, #fff6e6 0%, #f6d7a8 35%, #e2a35e 68%, #a85a2c 92%, #6e3518 100%);
  box-shadow: inset -14px -10px 26px rgba(70, 25, 8, .55), inset 6px 6px 14px rgba(255, 245, 225, .35),
    0 0 50px 14px rgba(244, 174, 98, .35), 0 0 160px 60px rgba(244, 120, 60, .16);
}
.hw-pie-luna::after { content: ""; position: absolute; inset: -40%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 140, .14) 35%, transparent 62%); animation: hw-halo 6s ease-in-out infinite alternate; }
@keyframes hw-halo { from { opacity: .5; transform: scale(.95); } to { opacity: 1; transform: scale(1.06); } }
.hw-pie-niebla { height: 110px;
  background: radial-gradient(30% 50% at 10% 65%, rgba(215, 200, 235, .22), transparent 72%), radial-gradient(28% 45% at 30% 45%, rgba(215, 200, 235, .14), transparent 72%),
    radial-gradient(32% 55% at 52% 62%, rgba(215, 200, 235, .2), transparent 72%), radial-gradient(26% 45% at 72% 40%, rgba(215, 200, 235, .13), transparent 72%),
    radial-gradient(30% 50% at 92% 60%, rgba(215, 200, 235, .2), transparent 72%); }
.hw-jiron { position: absolute; bottom: 4%; left: var(--j-x); width: 180px; height: 120px; z-index: 6; pointer-events: none; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 60%, rgba(220, 205, 240, .18), transparent 70%);
  animation: hw-jiron 9s ease-in-out infinite; animation-delay: var(--j-d); }
@keyframes hw-jiron { 0% { transform: translate(0, 30px) scale(.6); opacity: 0; } 40% { opacity: 1; } 100% { transform: translate(40px, -60px) scale(1.6); opacity: 0; } }
.hw-lapida {
  background:
    radial-gradient(1px 1px at 20% 30%, #0006 50%, transparent 51%), radial-gradient(1px 1px at 70% 55%, #0005 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 75%, #0005 50%, transparent 51%), radial-gradient(1px 1px at 60% 20%, #fff2 50%, transparent 51%),
    radial-gradient(ellipse 60% 30% at 38% 6%, #ffe2c022, transparent 70%),
    linear-gradient(90deg, #4a4452 0%, #6e6876 30%, #5c5664 55%, #3c3744 80%, #26222c 100%);
  box-shadow: inset -7px 0 0 #1f1b25, inset 3px 0 0 #8a84921a, inset 0 -14px 14px #000a, 7px 9px 0 #08060a, 0 0 18px rgba(244, 174, 98, .06);
  color: #24202a; text-shadow: 0 1px 0 #8a8492, 0 -1px 0 #121016;
}
.hw-lapida::before { content: ""; position: absolute; left: 62%; top: 6%; width: 18%; height: 34%;
  background: linear-gradient(105deg, transparent 44%, #1c1820 45% 52%, transparent 53%); opacity: .75; }
.hw-lapida--cruz::before { left: -95%; right: -95%; top: 22%; width: auto; height: 18%; opacity: 1; background: inherit; }
.hw-lapida::after { height: 26%; background: linear-gradient(0deg, #2c4a24, #3f6b33aa 45%, transparent),
  radial-gradient(40% 30% at 20% 100%, #4c7a3a, transparent 70%); }
.hw-pie-arbol { color: #050307; filter: drop-shadow(0 0 1px #2a2232) drop-shadow(0 0 18px rgba(244, 140, 70, .12)); }
.hw-pie-arbol--izq { width: clamp(130px, 17vw, 240px); left: 0; bottom: 18%; }
.hw-pie-arbol--der { width: clamp(110px, 14vw, 200px); right: 0; bottom: 19%; }
.hw-pie-arbol svg { overflow: visible; }
.hw-pie-arbol .hw-rama { transform-box: fill-box; transform-origin: 0 50%; animation: hw-rama 5s ease-in-out infinite; }
@keyframes hw-rama { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } }
@media (max-width: 600px) { .hw-pie-arbol--izq { width: 120px; } .hw-pie-arbol--der { width: 96px; } .hw-jiron { width: 120px; height: 90px; } }

/* ── Cementerio realista: piernas con rodilla, disfraces, árboles, tierra, manos que excavan, luna ── */
.hw-zombi .zb-muslo, .hw-zombi .zb-tibia { transform-box: view-box; }
.hw-zombi .zb-a { animation: hw-muslo 1.1s ease-in-out infinite; }
.hw-zombi .zb-b { animation: hw-muslo 1.1s ease-in-out infinite; animation-delay: -.55s; }
.hw-zombi .zb-a .zb-tibia { animation: hw-rodilla 1.1s ease-in-out infinite; }
.hw-zombi .zb-b .zb-tibia { animation: hw-rodilla 1.1s ease-in-out infinite; animation-delay: -.55s; }
.hw-zombi .zb-cuerpo { animation: hw-zombi-rebote2 .55s ease-in-out infinite; }
@keyframes hw-muslo { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(17deg); } }
@keyframes hw-rodilla { 0%, 100% { transform: rotate(4deg); } 30% { transform: rotate(2deg); } 55% { transform: rotate(14deg); } 72% { transform: rotate(48deg); } 88% { transform: rotate(18deg); } }
@keyframes hw-zombi-rebote2 { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-3px) rotate(7deg); } }
.hw-zombi .zb-acc { display: none; }
.hw-zombi--bruja .zb-acc--bruja, .hw-zombi--calabaza .zb-acc--calabaza, .hw-zombi--vampiro .zb-acc--vampiro { display: inline; }

.hw-pie-arbol { color: initial; filter: drop-shadow(0 0 1px #3a2c44) drop-shadow(0 0 22px rgba(244, 140, 70, .14)); }
.hw-pie-arbol svg { transform-origin: 50% 100%; animation: hw-arbol-viento 7s ease-in-out infinite; }
.hw-pie-arbol--der svg { animation-delay: -3.5s; }
.hw-pie-arbol .hw-cara { filter: drop-shadow(0 0 4px #ff3a1f) drop-shadow(0 0 10px #ff2a00); }
.hw-pie-arbol::after { content: ""; position: absolute; left: 34%; top: 56%; width: 32%; height: 22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 60, 20, .45), transparent 70%); animation: hw-ojos-arbol 3s ease-in-out infinite; }
.hw-pie-arbol--der { transform: none; }
.hw-pie-arbol--izq { width: clamp(170px, 22vw, 320px); bottom: 12%; left: -2%; }
.hw-pie-arbol--der { width: clamp(140px, 18vw, 260px); bottom: 13%; right: -2%; }
@keyframes hw-arbol-viento { 0%, 100% { transform: rotate(-1deg) skewX(-1deg); } 50% { transform: rotate(1.2deg) skewX(1.5deg); } }
@keyframes hw-ojos-arbol { 0%, 100% { opacity: .35; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }

.hw-pie-suelo { height: 15%; z-index: 3;
  background:
    radial-gradient(2px 1.5px at 12% 40%, #4a3a30 50%, transparent 52%), radial-gradient(3px 2px at 34% 70%, #3a2c24 50%, transparent 52%),
    radial-gradient(2px 2px at 58% 35%, #5a4636 50%, transparent 52%), radial-gradient(2.5px 2px at 81% 62%, #3a2c24 50%, transparent 52%),
    radial-gradient(120% 60% at 50% 0%, #3a2a2a 0%, transparent 70%),
    linear-gradient(180deg, #2c1f22 0%, #1f1518 45%, #0c080a 100%);
  background-size: 140px 40px, 180px 50px, 160px 44px, 200px 54px, 100% 100%, 100% 100%;
  box-shadow: inset 0 6px 10px -4px rgba(0, 0, 0, .7); }
.hw-pasto { position: absolute; left: 0; right: 0; top: -16px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cg fill='%231f2c18'%3E%3Cpath d='M2 30l3-14 2 14zM9 30l1-20 3 20zM16 30l4-12 1 12zM26 30l2-18 2 18zM33 30l-1-10 4 10zM44 30l3-22 2 22zM52 30l2-12 2 12zM61 30l4-16 1 16zM72 30l1-24 3 24zM80 30l3-11 2 11zM90 30l2-19 3 19zM99 30l4-13 1 13zM108 30l1-21 3 21zM116 30l2-12 2 12z'/%3E%3C/g%3E%3Cg fill='%23324a26'%3E%3Cpath d='M5 30l4-10 1 10zM20 30l2-14 2 14zM38 30l3-12 1 12zM56 30l2-15 2 15zM76 30l3-9 1 9zM94 30l2-14 2 14zM112 30l3-10 1 10z'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom / 120px 22px; }
.hw-pie-plano--cerca { bottom: 9%; z-index: 4; }
.hw-pie-plano--cerca .hw-lapida { box-shadow: inset -7px 0 0 #1f1b25, inset 3px 0 0 #8a84921a, inset 0 -14px 14px #000a, 0 10px 0 -2px #241a1c, 0 14px 10px rgba(0, 0, 0, .6); }

.hw-mano { bottom: 8%; height: clamp(70px, 9vw, 110px); width: clamp(40px, 4.6vw, 62px); z-index: 5; animation: none; }
.hw-mano-clip { position: absolute; inset: -60% -40% 0; overflow: hidden; }
.hw-mano-brazo { position: absolute; left: 22%; right: 22%; bottom: 0; animation: hw-mano 7s cubic-bezier(.3, 0, .2, 1) infinite; animation-delay: var(--m-d); }
.hw-mano-brazo svg { display: block; width: 100%; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .6)); }
.hw-hoyo { position: absolute; left: -30%; right: -30%; bottom: -10px; height: 22px; border-radius: 50%;
  background: radial-gradient(50% 55% at 50% 45%, #050304 0 35%, #2a1d1a 60%, #3d2b24 75%, transparent 78%);
  transform-origin: 50% 70%; animation: hw-hoyo 7s ease-out infinite; animation-delay: var(--m-d); }
.hw-terron { position: absolute; left: 45%; bottom: 0; width: 7px; height: 6px; border-radius: 40% 60% 50% 45%;
  background: radial-gradient(circle at 35% 30%, #6a5040, #2e201a); animation: hw-terron 7s ease-out infinite; animation-delay: var(--m-d); }
.hw-terron:nth-of-type(2) { --tx: -34px; --ty: -46px; } .hw-terron:nth-of-type(3) { --tx: 28px; --ty: -52px; width: 9px; height: 8px; }
.hw-terron:nth-of-type(4) { --tx: -18px; --ty: -62px; width: 5px; height: 5px; } .hw-terron:nth-of-type(5) { --tx: 40px; --ty: -34px; }
.hw-terron:nth-of-type(6) { --tx: -44px; --ty: -28px; width: 6px; } .hw-terron:nth-of-type(7) { --tx: 12px; --ty: -70px; width: 4px; height: 4px; }
@keyframes hw-hoyo { 0%, 12% { transform: scale(.2); opacity: 0; } 20% { transform: scale(1.1); opacity: 1; } 70% { transform: scale(1); opacity: 1; } 85%, 100% { transform: scale(.3); opacity: 0; } }
@keyframes hw-terron {
  0%, 16% { transform: translate(0, 0) rotate(0); opacity: 0; }
  18% { opacity: 1; }
  25% { transform: translate(calc(var(--tx) * .6), var(--ty)) rotate(200deg); opacity: 1; }
  34% { transform: translate(var(--tx), 4px) rotate(360deg); opacity: 1; }
  60% { transform: translate(var(--tx), 4px) rotate(360deg); opacity: .9; }
  70%, 100% { transform: translate(var(--tx), 8px) rotate(360deg); opacity: 0; }
}
@keyframes hw-mano { 0%, 16% { transform: translateY(108%) rotate(0); } 22% { transform: translateY(60%) rotate(-10deg); } 28% { transform: translateY(70%) rotate(8deg); }
  36% { transform: translateY(6%) rotate(-6deg); } 46% { transform: translateY(10%) rotate(9deg) scale(1.03); } 56% { transform: translateY(4%) rotate(-5deg); } 72%, 100% { transform: translateY(108%) rotate(0); } }

.hw-pie-luna { background: none; box-shadow: 0 0 50px 14px rgba(244, 174, 98, .33), 0 0 170px 60px rgba(244, 120, 60, .15); }
.hw-pie-luna svg { display: block; width: 100%; height: 100%; }
@media (max-width: 600px) {
  .hw-pie-arbol--izq { width: 150px; } .hw-pie-arbol--der { width: 120px; }
  .hw-mano { height: 64px; width: 38px; }
}
@media (prefers-reduced-motion: reduce) and (scripting: none) { .hw-pie * { animation: none !important; } }

/* Brazos: giran desde el hombro, opuestos a las piernas, y la mano cuelga y se mece */
.hw-zombi .zb-brazo { transform-box: view-box; transform-origin: 51px 57px; animation: hw-brazo-zombi 1.1s ease-in-out infinite; }
.hw-zombi .zb-brazo--b { transform-origin: 54px 57px; animation-delay: -.55s; }
.hw-zombi .zb-brazo path:last-child { transform-box: fill-box; transform-origin: 0 20%; animation: hw-mano-floja 1.1s ease-in-out infinite; }
.hw-zombi .zb-brazo--b path:last-child { animation-delay: -.55s; }
@keyframes hw-brazo-zombi { 0%, 100% { transform: rotate(-14deg); } 45% { transform: rotate(4deg); } 70% { transform: rotate(-2deg); } }
@keyframes hw-mano-floja { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(16deg); } }
/* Niebla de ruido fractal: textura estática que solo se desliza */
.hw-niebla-real { left: 0; bottom: 2%; width: 200%; height: 46%; z-index: 6; opacity: .8; animation: hw-niebla 60s linear infinite; }
.hw-niebla-real svg { display: block; }
.hw-pie-suelo { overflow: visible; }
.hw-tierra-textura { position: absolute; inset: 0; opacity: .9; mix-blend-mode: overlay; }

/* Ajustes de realismo 2 */
.hw-tierra-textura { mix-blend-mode: normal; opacity: 1; }
.hw-pie-suelo { height: 17%; }
.hw-pasto { top: -14px; filter: drop-shadow(0 -1px 0 #3d5a2c); }
.hw-pie-arbol::after { left: 38%; top: 58%; width: 24%; height: 14%; background: radial-gradient(closest-side, rgba(255, 60, 20, .5), transparent); }
.hw-pie-arbol { filter: drop-shadow(-2px 0 1px rgba(255, 180, 120, .18)) drop-shadow(0 0 20px rgba(244, 140, 70, .12)); }
.hw-mano-brazo svg { filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .7)); }
.hw-hoyo { background: radial-gradient(50% 55% at 50% 45%, #030202 0 32%, #1e1410 52%, #4a3428 70%, #2e2019 78%, transparent 80%); }
.hw-terron { background: radial-gradient(circle at 35% 30%, #7a5c48, #3a281e 70%, #1a110c); box-shadow: 0 1px 1px #000a; }

/* Complexión distinta por zombi (escala estática del dibujo) */
.hw-zombi--v1 svg { scale: .9 1.04; } .hw-zombi--v2 svg { scale: 1.14 .96; } .hw-zombi--v3 svg { scale: 1 1.06; } .hw-zombi--v4 svg { scale: .95 .92; }

/* ── Murciélagos 3D: alas en capas reales con perspectiva, volando entre la niebla ── */
.hw-mz-vuelo { position: absolute; left: 0; top: 0; z-index: 7; width: 64px; height: 40px; pointer-events: none;
  animation: hw-mz-ruta-1 16s linear infinite; }
.hw-mz { display: block; width: 100%; height: 100%; perspective: 260px; animation: hw-mz-bamboleo 1.6s ease-in-out infinite; }
.hw-mz-giro { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(28deg); }
.hw-mz-cuerpo { position: absolute; left: 38%; top: 0; width: 24%; height: 100%; transform: translateZ(2px); }
.hw-mz-ala { position: absolute; top: 4%; width: 44%; height: 70%; transform-style: preserve-3d; }
.hw-mz-ala--i { left: 2%; transform-origin: 100% 30%; animation: hw-mz-aleteo-i .34s ease-in-out infinite alternate; }
.hw-mz-ala--d { right: 2%; transform-origin: 0 30%; animation: hw-mz-aleteo-d .34s ease-in-out infinite alternate; }
.hw-mz-ala--d svg { transform: scaleX(-1); }
.hw-mz svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .5)); }
.hw-mz-cuerpo svg { filter: drop-shadow(0 0 3px rgba(255, 40, 20, .5)); }
@keyframes hw-mz-aleteo-i { from { transform: rotateY(-58deg) rotateZ(-14deg); } to { transform: rotateY(38deg) rotateZ(10deg); } }
@keyframes hw-mz-aleteo-d { from { transform: rotateY(58deg) rotateZ(14deg); } to { transform: rotateY(-38deg) rotateZ(-10deg); } }
@keyframes hw-mz-bamboleo { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-7px) rotate(5deg); } }
.hw-mz-vuelo--2 { animation-name: hw-mz-ruta-2; animation-duration: 21s; animation-delay: -6s; scale: .7; }
.hw-mz-vuelo--3 { animation-name: hw-mz-ruta-3; animation-duration: 18s; animation-delay: -11s; scale: 1.25; }
.hw-mz-vuelo--4 { animation-name: hw-mz-ruta-1; animation-duration: 25s; animation-delay: -15s; scale: .55; z-index: 2; }
.hw-mz-vuelo--5 { animation-name: hw-mz-ruta-2; animation-duration: 14s; animation-delay: -3s; scale: .9; }
.hw-mz-vuelo--3 .hw-mz-ala { animation-duration: .28s; } .hw-mz-vuelo--4 .hw-mz-ala { animation-duration: .4s; }
/* Rutas: pasan rasantes por la niebla, suben hacia la luna y vuelven a bajar */
@keyframes hw-mz-ruta-1 { 0% { transform: translate3d(-80px, 230px, 0); } 25% { transform: translate3d(25vw, 300px, 0); } 50% { transform: translate3d(50vw, 120px, 0); } 75% { transform: translate3d(75vw, 260px, 0); } 100% { transform: translate3d(calc(100vw + 80px), 200px, 0); } }
@keyframes hw-mz-ruta-2 { 0% { transform: translate3d(calc(100vw + 80px), 260px, 0) scaleX(-1); } 30% { transform: translate3d(68vw, 180px, 0) scaleX(-1); } 60% { transform: translate3d(36vw, 310px, 0) scaleX(-1); } 100% { transform: translate3d(-80px, 150px, 0) scaleX(-1); } }
@keyframes hw-mz-ruta-3 { 0% { transform: translate3d(-80px, 90px, 0); } 35% { transform: translate3d(30vw, 270px, 0); } 65% { transform: translate3d(62vw, 300px, 0); } 100% { transform: translate3d(calc(100vw + 80px), 110px, 0); } }
@media (max-width: 600px) {
  .hw-mz-vuelo { width: 46px; height: 30px; }
  @keyframes hw-mz-ruta-1 { 0% { transform: translate3d(-80px, 160px, 0); } 50% { transform: translate3d(50vw, 80px, 0); } 100% { transform: translate3d(calc(100vw + 80px), 190px, 0); } }
  @keyframes hw-mz-ruta-2 { 0% { transform: translate3d(calc(100vw + 80px), 200px, 0) scaleX(-1); } 50% { transform: translate3d(45vw, 120px, 0) scaleX(-1); } 100% { transform: translate3d(-80px, 170px, 0) scaleX(-1); } }
  @keyframes hw-mz-ruta-3 { 0% { transform: translate3d(-80px, 70px, 0); } 50% { transform: translate3d(50vw, 210px, 0); } 100% { transform: translate3d(calc(100vw + 80px), 90px, 0); } }
}

/* ── Cara del árbol que se ríe (capas HTML: ojos y boca se animan por separado) ── */
.hw-arbol-cara { position: absolute; left: 36%; top: 59%; width: 28%; aspect-ratio: 60 / 46; animation: hw-cara-risa-cabeceo 2.4s ease-in-out infinite; }
.hw-arbol-ojos, .hw-arbol-boca { position: absolute; left: 0; width: 100%; }
.hw-arbol-ojos { top: 0; height: 35%; transform-origin: 50% 70%; animation: hw-cara-ojos 2.4s ease-in-out infinite; }
.hw-arbol-boca { top: 42%; height: 56%; transform-origin: 50% 0; animation: hw-cara-boca 2.4s ease-in-out infinite; }
.hw-arbol-cara svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 3px #ff3a1f) drop-shadow(0 0 9px #ff2a00); }
@keyframes hw-cara-boca { 0%, 40%, 100% { transform: scaleY(.55); } 48% { transform: scaleY(1.15); } 54% { transform: scaleY(.7); } 60% { transform: scaleY(1.2); } 66% { transform: scaleY(.65); } 72% { transform: scaleY(1.1); } 80% { transform: scaleY(.55); } }
@keyframes hw-cara-ojos { 0%, 40%, 100% { transform: scaleY(1); } 48%, 76% { transform: scaleY(.45) translateY(1px); } }
@keyframes hw-cara-risa-cabeceo { 0%, 40%, 100% { transform: translateY(0) rotate(0); } 52% { transform: translateY(-2px) rotate(-3deg); } 64% { transform: translateY(1px) rotate(3deg); } 76% { transform: translateY(-1px) rotate(-1deg); } }
.hw-pie-arbol--der .hw-arbol-cara, .hw-pie-arbol--der .hw-arbol-ojos, .hw-pie-arbol--der .hw-arbol-boca { animation-delay: -1.2s; }

/* El viento mueve el árbol entero, cara incluida */
.hw-pie-arbol svg { animation: none; }
.hw-pie-arbol { transform-origin: 50% 100%; animation: hw-arbol-viento 7s ease-in-out infinite; }
.hw-pie-arbol--der { animation-delay: -3.5s; }
.hw-arbol-cara svg { filter: none; }
.hw-arbol-cara { filter: drop-shadow(0 0 4px #ff3a1f) drop-shadow(0 0 10px #ff2a00); }

@media (min-width: 601px) { .hw-mz-vuelo { width: 92px; height: 58px; } }

/* ── Cielo estrellado, estrellas fugaces 3D y luna viva ── */
.hw-pie-estrellas { background: none; animation: none; inset: 0 0 35% 0; perspective: 600px; }
.hw-estrellas { position: absolute; left: 0; top: 0; border-radius: 50%; background: transparent; animation: hw-titila 4s ease-in-out infinite alternate; }
.hw-estrellas--1 { animation-duration: 2.6s; animation-delay: -1s; }
.hw-estrellas--2 { animation-duration: 1.8s; filter: drop-shadow(0 0 3px #fff); }
.hw-fugaz { position: absolute; left: 0; top: 0; width: 160px; height: 2px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 230, 200, .5) 60%, #fff);
  box-shadow: 0 0 6px 1px rgba(255, 220, 180, .5); transform-origin: 100% 50%;
  animation: hw-fugaz-a 9s cubic-bezier(.3, 0, .6, 1) infinite; }
.hw-fugaz::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, rgba(255, 220, 180, .6) 50%, transparent 70%); }
.hw-fugaz--1 { animation-name: hw-fugaz-b; animation-duration: 13s; animation-delay: -5s; width: 120px; }
.hw-fugaz--2 { animation-name: hw-fugaz-c; animation-duration: 17s; animation-delay: -11s; width: 200px; }
@keyframes hw-fugaz-a { 0%, 70% { transform: translate3d(12vw, 10px, -200px) rotate(18deg) scaleX(.2); opacity: 0; }
  72% { opacity: 1; } 82% { transform: translate3d(44vw, 120px, 80px) rotate(18deg) scaleX(1); opacity: 1; } 86%, 100% { transform: translate3d(54vw, 150px, 140px) rotate(18deg) scaleX(.4); opacity: 0; } }
@keyframes hw-fugaz-b { 0%, 60% { transform: translate3d(80vw, 0, -150px) rotate(155deg) scaleX(.2); opacity: 0; }
  62% { opacity: 1; } 72% { transform: translate3d(58vw, 110px, 60px) rotate(155deg) scaleX(1); opacity: 1; } 76%, 100% { transform: translate3d(50vw, 140px, 120px) rotate(155deg) scaleX(.4); opacity: 0; } }
@keyframes hw-fugaz-c { 0%, 80% { transform: translate3d(30vw, -10px, -250px) rotate(28deg) scaleX(.2); opacity: 0; }
  82% { opacity: 1; } 91% { transform: translate3d(70vw, 160px, 100px) rotate(28deg) scaleX(1); opacity: 1; } 94%, 100% { transform: translate3d(78vw, 190px, 160px) rotate(28deg) scaleX(.4); opacity: 0; } }

.hw-pie-luna { animation: hw-luna-flota 14s ease-in-out infinite; z-index: 1; }
.hw-pie-luna svg { border-radius: 50%; animation: hw-luna-libracion 22s ease-in-out infinite; }
.hw-pie-luna::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, transparent 46%, rgba(255, 190, 120, .22) 52%, rgba(255, 140, 70, .08) 62%, transparent 72%);
  animation: hw-halo 5s ease-in-out infinite alternate-reverse; }
.hw-pie-nube { z-index: 2; opacity: .75; }
@keyframes hw-luna-flota { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -8px); } }
@keyframes hw-luna-libracion { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(7deg) scale(1.03); } }
@media (max-width: 600px) { .hw-fugaz { width: 90px; } .hw-fugaz--2 { width: 120px; } }

/* Tronco grueso con la cara encajada y brazos que se mueven como garras */
.hw-arbol-cara { left: 33%; top: 57%; width: 34%; }
.hw-arbol-brazo { position: absolute; top: 49%; width: 40%; aspect-ratio: 100 / 60; }
.hw-arbol-brazo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hw-arbol-brazo--i { right: 64%; transform-origin: 100% 60%; animation: hw-brazo-arbol 4.2s cubic-bezier(.45, 0, .3, 1) infinite; }
.hw-arbol-brazo--d { left: 64%; transform-origin: 0 60%; animation: hw-brazo-arbol-d 4.2s cubic-bezier(.45, 0, .3, 1) infinite; animation-delay: -2.1s; }
.hw-arbol-brazo--d svg { transform: scaleX(-1); }
@keyframes hw-brazo-arbol { 0%, 100% { transform: rotate(6deg); } 35% { transform: rotate(-16deg); } 45% { transform: rotate(-12deg); } 55% { transform: rotate(-18deg); } 75% { transform: rotate(2deg); } }
@keyframes hw-brazo-arbol-d { 0%, 100% { transform: rotate(-6deg); } 35% { transform: rotate(16deg); } 45% { transform: rotate(12deg); } 55% { transform: rotate(18deg); } 75% { transform: rotate(-2deg); } }
.hw-pie-arbol::after { left: 34%; top: 56%; width: 32%; height: 18%; }

/* Celular: árboles con la cara a la vista, escena menos amontonada y texto completo */
@media (max-width: 600px) {
  .hw-pie { height: 360px; }
  .hw-pie-arbol--izq { width: 170px; left: -16%; bottom: 24%; z-index: 3; }
  .hw-pie-arbol--der { width: 150px; right: -14%; bottom: 25%; z-index: 3; }
  .hw-pie-plano--lejos .hw-lapida:nth-child(n+4) { display: none; }
  .hw-pie-plano--cerca { justify-content: center; gap: 22px; }
  .hw-pie-plano--cerca .hw-lapida { scale: .78; transform-origin: 50% 100%; }
  .hw-pie-texto { font-size: 9px; letter-spacing: 1.4px; padding-right: 56px; }
  .hw-pie-luna { width: 96px; margin-left: -48px; }
}

/* ── Murciélago detallado: el cuerpo también respira al aletear ── */
.hw-mz-ala { width: 46%; height: 74%; top: 2%; }
.hw-mz-cuerpo { animation: hw-mz-respira .34s ease-in-out infinite alternate; }
@keyframes hw-mz-respira { from { transform: translateZ(2px) translateY(0); } to { transform: translateZ(2px) translateY(-6%); } }

/* ── Brazos del árbol: hombro y codo con movimiento de garra ── */
.hw-arbol-brazo { top: 50%; width: 22%; aspect-ratio: 60 / 30; transform-origin: 100% 50%;
  animation: hw-ab-hombro 5s cubic-bezier(.45, 0, .3, 1) infinite; }
.hw-arbol-brazo--i { right: 62%; left: auto; }
.hw-arbol-brazo--d { left: 40%; right: auto; scale: -1 1; animation-delay: -2.5s; }
.hw-arbol-brazo--d svg { transform: none; }
.hw-arbol-brazo > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hw-arbol-antebrazo { position: absolute; right: 94%; top: -36%; width: 120%; aspect-ratio: 70 / 50; transform-origin: 100% 50%;
  animation: hw-ab-codo 5s cubic-bezier(.45, 0, .3, 1) infinite; animation-delay: inherit; }
.hw-arbol-antebrazo svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(-1px 0 0 rgba(255, 180, 120, .15)); }
@keyframes hw-ab-hombro { 0%, 100% { transform: rotate(4deg); } 30% { transform: rotate(-14deg); } 50% { transform: rotate(-10deg); } 62% { transform: rotate(-16deg); } 80% { transform: rotate(0deg); } }
@keyframes hw-ab-codo { 0%, 100% { transform: rotate(-4deg); } 30% { transform: rotate(18deg); } 45% { transform: rotate(-12deg); } 52% { transform: rotate(10deg); } 62% { transform: rotate(-16deg); } 80% { transform: rotate(4deg); } }

/* ── Estrellas fugaces: solo en el cielo (detrás de luna y árboles), cortas y rápidas ── */
.hw-pie-estrellas { overflow: hidden; z-index: 0; perspective: none; inset: 0 0 45% 0; }
.hw-fugaz { width: 110px; height: 1.6px; transform-origin: 100% 50%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 236, 210, .35) 55%, rgba(255, 255, 255, .95));
  box-shadow: 0 0 4px rgba(255, 230, 200, .45); animation: hw-fugaz-1 11s linear infinite; }
.hw-fugaz::after { right: -2px; top: -2.2px; width: 6px; height: 6px; }
.hw-fugaz--1 { animation-name: hw-fugaz-2; animation-duration: 15s; animation-delay: -6s; width: 80px; }
.hw-fugaz--2 { animation-name: hw-fugaz-3; animation-duration: 19s; animation-delay: -12s; width: 140px; }
@keyframes hw-fugaz-1 { 0%, 88% { transform: translate(14vw, 20px) rotate(22deg) scaleX(0); opacity: 0; }
  89% { transform: translate(17vw, 31px) rotate(22deg) scaleX(.6); opacity: 1; }
  93% { transform: translate(30vw, 84px) rotate(22deg) scaleX(1); opacity: 1; }
  95%, 100% { transform: translate(35vw, 104px) rotate(22deg) scaleX(.2); opacity: 0; } }
@keyframes hw-fugaz-2 { 0%, 90% { transform: translate(86vw, 14px) rotate(158deg) scaleX(0); opacity: 0; }
  91% { transform: translate(83vw, 25px) rotate(158deg) scaleX(.6); opacity: 1; }
  95% { transform: translate(70vw, 70px) rotate(158deg) scaleX(1); opacity: 1; }
  97%, 100% { transform: translate(65vw, 88px) rotate(158deg) scaleX(.2); opacity: 0; } }
@keyframes hw-fugaz-3 { 0%, 86% { transform: translate(52vw, 6px) rotate(30deg) scaleX(0); opacity: 0; }
  87% { transform: translate(55vw, 22px) rotate(30deg) scaleX(.6); opacity: 1; }
  91% { transform: translate(68vw, 92px) rotate(30deg) scaleX(1); opacity: 1; }
  93%, 100% { transform: translate(72vw, 114px) rotate(30deg) scaleX(.2); opacity: 0; } }
@media (max-width: 600px) { .hw-fugaz { width: 70px; } .hw-fugaz--2 { width: 90px; } }

/* Celular: cementerio completo (árboles dentro de pantalla y espacio para el carrito flotante) */
@media (max-width: 600px) {
  .hw-pie { margin-bottom: 120px; }
  .hw-pie-arbol--izq { width: 150px; left: -9%; }
  .hw-pie-arbol--der { width: 136px; right: -9%; }
}

/* ── Contramarca del Panal detrás del menú: panal de abejas + logo tenue (estático) ── */
.halloween .products-container { position: relative; isolation: isolate; }
.halloween .products-container::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16ZM0 48l28 16v33m0-33 28-16' fill='none' stroke='%23ffb35a' stroke-opacity='.24' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 56px 97px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 80% at 50% 40%, #000 30%, transparent 85%);
}
.halloween .products-container::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .1;
  background: url("../img/logo-panal.webp") center 120px / min(520px, 80vw) auto repeat-y;
  background-repeat: space; filter: grayscale(.2);
}

/* ── PC: menú centrado (barra de categorías y títulos de sección) ── */
@media (min-width: 1024px) {
  .halloween .categories { justify-content: safe center; }
  .halloween .section-title { justify-content: center; text-align: center; }
}

/* ── Franja final con contramarca premium del Panal ── */
.hw-pie-marca { position: relative; overflow: hidden; isolation: isolate; height: 190px; display: grid; place-content: center; justify-items: center; gap: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16ZM0 48l28 16v33m0-33 28-16' fill='none' stroke='%23ffb35a' stroke-opacity='.22' stroke-width='1.2'/%3E%3C/svg%3E") center 0 / 56px 97px,
    radial-gradient(60% 90% at 50% 0%, #2a1a1e 0%, #120c10 60%, #0a070a 100%);
  border-top: 1px solid #ffb35a33; }
.hw-pie-marca::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 70% at 50% 50%, rgba(255, 160, 70, .16), transparent 70%); }
.hw-pie-marca::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #ffc27a, transparent); }
.hw-marca-logo { position: absolute; inset: 0; z-index: -1; opacity: .12;
  background: url("../img/logo-panal.webp") center / auto 150% no-repeat; filter: grayscale(.15) drop-shadow(0 0 20px rgba(255, 150, 60, .4)); }
.hw-marca-texto { font-weight: 900; font-size: clamp(32px, 7vw, 56px); line-height: 1; letter-spacing: .06em; color: transparent;
  background: linear-gradient(180deg, #ffe0b0, #ff9d42 55%, #b8561a); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 0 #5a2a0a) drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.hw-marca-sub { font-size: 10px; letter-spacing: .4em; color: #c9a88a; opacity: .8; }
@media (max-width: 600px) { .hw-pie { margin-bottom: 0; } .hw-pie-marca { height: 170px; padding-right: 0; } }

/* ── Contramarca del Panal en todo el fondo (capa fija propia: no se repinta al hacer scroll) ── */
.halloween .products-container::before, .halloween .products-container::after { display: none; }
body.halloween::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; will-change: transform;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(255, 150, 60, .07), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16ZM0 48l28 16v33m0-33 28-16' fill='none' stroke='%23ffb35a' stroke-opacity='.3' stroke-width='1.3'/%3E%3C/svg%3E") center / 56px 97px;
  opacity: .6;
}
body.halloween::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; will-change: transform;
  background: url("../img/logo-panal.webp") center 55% / min(560px, 78vw) auto no-repeat;
  opacity: .1; filter: grayscale(.3);
}

/* ── «EL PANAL CTG» chorreado en 3D (misma tipografía que el título) ── */
.hw-marca-3d { display: block; perspective: 700px; }
.hw-pie-marca .hw-marca-texto {
  position: relative; display: grid; width: max-content; margin-inline: auto;
  font-family: 'Rubik Wet Paint', 'Titan One', Georgia, serif; font-weight: 400; font-size: clamp(38px, 8vw, 72px); line-height: 1.1;
  color: initial; background: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .65)) drop-shadow(0 0 18px rgba(255, 140, 50, .25));
  transform-style: preserve-3d; animation: hw-marca-giro 7s ease-in-out infinite;
}
.hw-pie-marca .hw-marca-texto :is(.hw-ink-depth, .hw-ink) { grid-area: 1 / 1; display: block; font: inherit; }
.hw-pie-marca .hw-ink-depth { transform: translate(.04em, .08em); text-shadow: .02em .02em 0 #2a0a0c, .04em .04em 0 #1e0708; }
.hw-pie-marca .hw-drips { inset: 0; }
.hw-marca-gota { top: .8em; --drip-w: .085em; transform-origin: 50% 0; animation: hw-drip-grow 1.2s cubic-bezier(.3, 0, .2, 1) both, hw-gota-estira 3.6s ease-in-out 1.2s infinite; }
.hw-marca-gota:nth-child(2n) { animation-delay: .3s, 1.5s; }
.hw-marca-gota:nth-child(3n) { animation-delay: .6s, 2.1s; }
.hw-marca-gota .hw-drop { animation: hw-drop-fall 3.2s ease-in infinite; }
.hw-marca-gota:nth-child(3n) .hw-drop { animation-delay: -1.4s; }
@keyframes hw-gota-estira { 0%, 100% { scale: 1 1; } 50% { scale: 1 1.18; } }
@keyframes hw-marca-giro {
  0%, 100% { transform: rotateX(14deg) rotateY(-12deg) translateY(0); }
  50%      { transform: rotateX(6deg) rotateY(12deg) translateY(-6px); }
}
.hw-pie-marca:not(:hover) { }
@media (prefers-reduced-motion: reduce) and (scripting: none) { .hw-pie-marca .hw-marca-texto, .hw-marca-gota, .hw-marca-gota .hw-drop { animation: none; } }

.hw-marca-sub { margin-top: 26px; }
.hw-pie-marca { height: 230px; }
@media (max-width: 600px) { .hw-pie-marca { height: 200px; } .hw-marca-sub { margin-top: 18px; } }

/* ── Gotas de miel: se hinchan en la punta, se estiran con un hilo espeso,
   se sueltan y caen acelerando; el chorreón se recoge al soltarla ── */
.hw-marca-gota { animation: hw-drip-grow 1.2s cubic-bezier(.3, 0, .2, 1) both, hw-miel-chorro var(--miel-t, 4.4s) ease-in-out 1.2s infinite; animation-delay: 0s, var(--miel-d, 0s); }
.hw-marca-gota .hw-drop { transform-origin: 50% 0; animation: hw-miel-gota var(--miel-t, 4.4s) linear infinite; animation-delay: var(--miel-d, 0s); }
.hw-marca-gota .hw-drop::before { content: ""; position: absolute; left: 50%; bottom: 80%; width: .03em; height: .5em; margin-left: -.015em; border-radius: .02em;
  background: linear-gradient(180deg, #b8401a, #ffae45); transform-origin: 50% 100%; animation: hw-miel-hilo var(--miel-t, 4.4s) linear infinite; animation-delay: var(--miel-d, 0s); }
.hw-marca-gota:nth-child(1) { --miel-t: 4.2s; --miel-d: -.4s; } .hw-marca-gota:nth-child(2) { --miel-t: 5.1s; --miel-d: -2.2s; }
.hw-marca-gota:nth-child(3) { --miel-t: 4.6s; --miel-d: -1.1s; } .hw-marca-gota:nth-child(4) { --miel-t: 5.6s; --miel-d: -3.4s; }
.hw-marca-gota:nth-child(5) { --miel-t: 4.4s; --miel-d: -.9s; } .hw-marca-gota:nth-child(6) { --miel-t: 5.3s; --miel-d: -2.8s; }
.hw-marca-gota:nth-child(7) { --miel-t: 4.8s; --miel-d: -1.7s; }
@keyframes hw-miel-chorro { 0%, 100% { scale: 1 1; } 55% { scale: 1 1.22; } 64% { scale: 1 .9; } 75% { scale: 1 1.04; } }
@keyframes hw-miel-gota {
  0%   { opacity: 0; transform: translateY(-.04em) scale(.2, .2); }
  8%   { opacity: 1; }
  40%  { transform: translateY(0) scale(1, 1.05); animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
  58%  { transform: translateY(.18em) scale(.92, 1.45); animation-timing-function: cubic-bezier(.5, 0, .9, .4); }
  62%  { transform: translateY(.3em) scale(1, 1.1); opacity: 1; animation-timing-function: cubic-bezier(.55, 0, 1, .5); }
  78%  { transform: translateY(1.1em) scale(.9, 1.25); opacity: 1; }
  80%  { transform: translateY(1.2em) scale(1.5, .45); opacity: .8; }
  86%, 100% { transform: translateY(1.22em) scale(1.9, .2); opacity: 0; }
}
@keyframes hw-miel-hilo { 0%, 38% { transform: scaleY(0); opacity: 0; } 44% { opacity: 1; } 58% { transform: scaleY(1); opacity: 1; } 62%, 100% { transform: scaleY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) and (scripting: none) { .hw-marca-gota .hw-drop, .hw-marca-gota .hw-drop::before { animation: none; } }

/* Celular: título del pie más grande, chorreones y gotas más gruesos, logo de fondo más suave */
@media (max-width: 600px) {
  .hw-pie-marca .hw-marca-texto { font-size: 44px; }
  .hw-marca-gota { --drip-w: .12em; }
  .hw-marca-gota .hw-drop { scale: 1.35; }
  .hw-marca-logo { opacity: .07; background-size: auto 120%; }
  .hw-pie-marca { height: 220px; }
  .hw-marca-sub { margin-top: 30px; font-size: 9px; }
}

/* La pausa de la cabecera (hw-resting) no aplica al pie: sus gotas siguen cayendo */
body.hw-resting .hw-pie-marca :is(.hw-marca-texto, .hw-marca-gota, .hw-drop),
body.hw-resting .hw-pie-marca .hw-drop::before { animation-play-state: running !important; }

/* ── Textos centrados en formulario, envíos y ventanas (PC, tableta y celular) ── */
.halloween :is(.modal-header, .modal-header h2, .modal-header h3, .order-modal h2, .order-modal h3, .cart-modal h2) { text-align: center; justify-content: center; }
.halloween .order-modal :is(fieldset legend, label, .field-error, .zona-ayuda, .aviso-wompi, p) { text-align: center; }
.halloween .order-modal legend { margin-inline: auto; }
.halloween .order-modal :is(input, textarea, select) { text-align: center; text-align-last: center; }
.halloween .order-modal ::placeholder { text-align: center; }
.halloween .zona-opciones { justify-items: stretch; }
.halloween .zona-btn { justify-content: center; align-items: center; text-align: center; flex-direction: column; gap: 2px; }
.halloween #barrio-zona { display: block; text-align: center; }
.halloween .cart-envio-nota, .halloween .cart-empty, .halloween .empty-cart { text-align: center; justify-content: center; }
.halloween :is(.order-submit-btn, .whatsapp-btn, .add-to-cart-btn) { justify-content: center; text-align: center; }
.halloween :is(.section-title, .ficha-info h2, .ficha-nombre) { text-align: center; justify-content: center; }
.halloween .order-modal legend { width: 100%; display: flex; justify-content: center; }

/* El círculo del botón de zona no debe tocar el nombre */
.halloween .zona-btn { padding-left: 30px; padding-right: 30px; }
.halloween .zona-nombre { line-height: 1.15; }
@media (max-width: 480px) { .halloween .zona-nombre { font-size: 15px; } }
