/* Tienda única de Zapamania (19/11/2026): formato simple, todo a la vista. */
:root { color-scheme: dark; }
body.zt { background-color: #0a0a0a; -webkit-font-smoothing: antialiased; overflow-anchor: none; }
body.zt ::selection { background: #ffd60a; color: #000; }
body.zt h1, body.zt h2, body.zt h3 { text-wrap: balance; }
body.zt select { color-scheme: dark; }
body.zt select option { background-color: #171717; color: #f4f4f5; }

.zt-h1 { font-size: clamp(2.1rem, 1.2rem + 4vw, 4rem); line-height: 1.03; letter-spacing: -0.025em; }
.zt-h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.08; letter-spacing: -0.02em; }

/* Fondo de color de la presentación */
.zt-mesh { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(48px) saturate(1.2); opacity: .9; transform: scale(1.35); transform-origin: 30% 20%;
    background:
        radial-gradient(38% 46% at 12% 14%, rgba(255, 214, 10, .55), transparent 60%),
        radial-gradient(34% 42% at 88% 6%, rgba(255, 45, 135, .5), transparent 62%),
        radial-gradient(44% 52% at 72% 92%, rgba(80, 120, 255, .35), transparent 60%); }
@media (prefers-reduced-motion: no-preference) { .zt-mesh { animation: zt-mesh 20s ease-in-out infinite alternate; } }
@keyframes zt-mesh { from { transform: scale(1.35) translate3d(0, 0, 0) rotate(0); } to { transform: scale(1.5) translate3d(5%, -4%, 0) rotate(6deg); } }

/* Menú de categorías */
.zt-catlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; border-radius: 99px; background: #ffd60a; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.zt-catlink[aria-expanded="true"]::after { transform: scaleX(1); }
.zt-mega { visibility: hidden; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s ease, transform .22s cubic-bezier(.2, .7, .3, 1), visibility 0s linear .22s; }
.zt-mega.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }

/* Sugerencias del buscador */
.zt-pop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; max-height: min(70vh, 30rem); overflow-y: auto; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); background: #0f0f0f; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.zt-pop-fila { display: flex; align-items: center; gap: 12px; padding: 9px 14px; font-size: 14px; color: #f4f4f5; }
.zt-pop-fila:hover { background: rgba(255, 255, 255, .05); }
.zt-pop-fila img, .zt-pop-ico { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.zt-pop-fila img { background: #fff; object-fit: contain; padding: 2px; }
.zt-pop-ico { display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: #71717a; }
.zt-pop-fila small { font-size: 11px; color: #71717a; }
.zt-pop-fila b { flex: none; font-size: 14px; font-weight: 700; }

/* Corazón de favoritos en la tarjeta */
.zt-fav { background: rgba(255, 255, 255, .92) !important; border-color: rgba(0, 0, 0, .08) !important; color: #52525b !important; transition: transform .2s, color .2s; }
.zt-fav:hover { transform: scale(1.08); color: #e11d48 !important; }
.zt-fav[data-active="1"] { color: #e11d48 !important; }

.zt-sinbarra { scrollbar-width: none; }
.zt-sinbarra::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) { .zt-mesh { animation: none; } .zt-mega { transition: none; } }
