/* =============================================================================
   ZAPAROOM · tienda.css
   Diseño del escaparate: cabecera, menú, tarjetas de producto, portada, tienda,
   ficha de producto, cesta y pie. Se apoya en las variables de style.css.

   Idea del diseño: fondo oscuro para que la marca respire y fotos de producto
   sobre un fondo claro, como en un estudio, para que la zapatilla sea lo
   primero que se ve. Un solo color de acción (botón blanco) para que siempre
   quede claro dónde pulsar.
   ============================================================================= */

:root {
    --zr-promo-h: 34px;
    --zr-head-h: 68px;
    --zr-top-h: calc(var(--zr-promo-h) + var(--zr-head-h));
    --zr-wrap: 1320px;
    --zr-gutter: clamp(16px, 4vw, 40px);
    --zr-ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 767px) {
    :root { --zr-promo-h: 30px; --zr-head-h: 58px; }
}

body { padding-bottom: 0; }

/* El <picture> solo envuelve a la <img> para poder servir la foto en .webp
   (pesa un 70 % menos). Con display:contents no cuenta para el diseño, así
   que todas las reglas que apuntan a la imagen siguen valiendo igual. */
picture { display: contents; }

.zr-wrap { width: 100%; max-width: var(--zr-wrap); margin: 0 auto; padding-inline: var(--zr-gutter); }
.zr-section { padding-block: clamp(40px, 6vw, 80px); }
.zr-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Aparición suave al hacer scroll (solo si hay JavaScript) */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--zr-ease), transform 0.7s var(--zr-ease); }
html.js .reveal.active { opacity: 1; transform: none; }

/* =============================================================================
   BOTONES
   ============================================================================= */
.zr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0 1.7rem;
    border-radius: 999px;
    border: 1px solid #fff;
    background: #fff;
    color: #0a0a0b;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.zr-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #0a0a0b; transform: translateY(-2px); box-shadow: 0 14px 30px -14px var(--accent-glow); }
.zr-btn:active { transform: translateY(0); }
.zr-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.zr-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; color: #fff; box-shadow: none; }
.zr-btn--block { width: 100%; }
.zr-btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: 0.88rem; }
.zr-btn:disabled, .zr-btn[aria-disabled="true"] { background: #27272a; border-color: #27272a; color: #71717a; cursor: not-allowed; transform: none; box-shadow: none; }

.zr-link { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.zr-link i { transition: transform 0.2s; font-size: 0.85em; }
.zr-link:hover i { transform: translateX(3px); }

/* =============================================================================
   CABECERA
   ============================================================================= */
.zr-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.35s var(--zr-ease);
}
.zr-top.is-scrolled { transform: translateY(calc(-1 * var(--zr-promo-h))); }
.zr-top-spacer { height: var(--zr-top-h); }

/* Barra de ventajas (mensajes del panel: Admin → Ajustes → Barra superior) */
.zr-promo {
    height: var(--zr-promo-h);
    background: linear-gradient(90deg, #6d28d9, #8b5cf6 50%, #6d28d9);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.zr-promo__msg {
    position: absolute;
    inset: 0;
    display: block;
    line-height: var(--zr-promo-h);
    padding: 0 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s;
}
.zr-promo__msg.is-active { opacity: 1; transform: none; }
.zr-promo__msg i { margin-right: 0.35rem; }
.zr-promo__msg a { color: inherit; }

.zr-header {
    height: var(--zr-head-h);
    background: rgba(10, 10, 11, 0.88);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}
.zr-header__inner {
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: var(--zr-gutter);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.zr-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    font-stretch: 112%;
    letter-spacing: 0.02em;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    flex: 0 0 auto;
}
.zr-logo span {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.zr-nav { display: flex; align-items: center; gap: 0.1rem; margin-left: 0.5rem; }
.zr-nav > a, .zr-nav__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: none;
    border: 0;
    color: #d4d4d8;
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}
.zr-nav > a:hover, .zr-nav__btn:hover, .zr-nav__item.is-open .zr-nav__btn { color: #fff; background: rgba(255, 255, 255, 0.07); }
.zr-nav > a.is-current { color: #fff; }
.zr-nav > a.is-hot { color: #ff6b81; }
.zr-nav__btn i { font-size: 0.7rem; transition: transform 0.2s; }
.zr-nav__item { position: relative; }
.zr-nav__item.is-open .zr-nav__btn i { transform: rotate(180deg); }

/* Desplegable de marcas */
.zr-mega {
    position: absolute;
    top: calc(100% + 12px);
    left: -1rem;
    width: 440px;
    padding: 1rem;
    border-radius: 18px;
    background: #121214;
    border: 1px solid #26262b;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.zr-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.zr-nav__item.is-open .zr-mega { opacity: 1; visibility: visible; transform: none; }
.zr-mega a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    color: #e4e4e7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}
.zr-mega a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.zr-mega a small { color: var(--text-muted); font-weight: 500; font-size: 0.78rem; }
.zr-mega .zr-mega__all { grid-column: 1 / -1; margin-top: 0.35rem; border-top: 1px solid #26262b; border-radius: 0 0 10px 10px; padding-top: 0.8rem; color: var(--accent-hover); }

/* Buscador */
.zr-search { position: relative; flex: 1 1 auto; max-width: 400px; margin-left: auto; }
.zr-search__box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 44px;
    padding: 0 0.5rem 0 1rem;
    border-radius: 999px;
    background: #17171a;
    border: 1px solid #2a2a30;
    transition: border-color 0.2s, background 0.2s;
}
.zr-search__box:focus-within { border-color: var(--accent); background: #1b1b1f; }
.zr-search__box > i { color: var(--text-muted); font-size: 0.95rem; }
.zr-search__box input {
    flex: 1;
    min-width: 0;
    height: 100%;
    background: none;
    border: 0;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
}
.zr-search__box input::placeholder { color: #8a8a93; }
.zr-search__box input::-webkit-search-cancel-button { display: none; }
.zr-search__close { display: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; }
.zr-search__results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    min-width: 360px;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    border-radius: 18px;
    background: #121214;
    border: 1px solid #26262b;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65);
}
.zr-search__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.zr-search__item:hover, .zr-search__item:focus { background: rgba(255, 255, 255, 0.05); outline: none; }
.zr-search__item img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--tile); padding: 4px; flex: 0 0 auto; }
.zr-search__item span { flex: 1; min-width: 0; font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.zr-search__item strong { font-size: 0.9rem; white-space: nowrap; }
.zr-search__all { display: block; padding: 0.9rem; text-align: center; font-weight: 700; font-size: 0.88rem; color: var(--accent-hover); text-decoration: none; }
.zr-search__all:hover { background: rgba(255, 255, 255, 0.04); }
.zr-search__empty { padding: 1.4rem; text-align: center; color: var(--text-secondary); font-size: 0.9rem; }

.zr-actions { display: flex; align-items: center; gap: 0.2rem; flex: 0 0 auto; }
.zr-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 0;
    background: none;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}
.zr-icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
.zr-count {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    border: 2px solid #0a0a0b;
    box-sizing: content-box;
}
.zr-count--alert { background: var(--danger); }
.zr-search-toggle, .zr-menu-btn { display: none; }

/* Aviso de pedidos pausados (Admin → Ajustes) */
.zr-alert-bar { background: var(--warning); color: #111; text-align: center; padding: 0.55rem 1rem; font-size: 0.88rem; font-weight: 700; }

@media (max-width: 1279px) {
    .zr-search-toggle { display: inline-flex; }
    .zr-search {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-width: none;
        margin: 0;
        padding: 0.75rem var(--zr-gutter) 1rem;
        background: rgba(10, 10, 11, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
    }
    .zr-search.is-open { display: block; }
    .zr-search__close { display: inline-flex; align-items: center; justify-content: center; }
    .zr-search__results { position: static; margin-top: 0.75rem; min-width: 0; box-shadow: none; }
    .zr-actions { margin-left: auto; }
}
@media (max-width: 1023px) {
    .zr-nav { display: none; }
    .zr-menu-btn { display: inline-flex; margin-left: -8px; }
}
@media (max-width: 767px) {
    .zr-header__inner { gap: 0.4rem; }
    .zr-logo { font-size: 1.2rem; }
    .zr-hide-sm { display: none; }
    .zr-promo__msg { font-size: 0.74rem; }
}

/* Menú lateral (móvil y tablet) */
.zr-drawer { position: fixed; inset: 0; z-index: 1100; visibility: hidden; }
.zr-drawer.active { visibility: visible; }
.zr-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); opacity: 0; transition: opacity 0.3s; }
.zr-drawer.active .zr-drawer__backdrop { opacity: 1; }
.zr-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(88vw, 380px);
    background: #0f0f11;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s var(--zr-ease);
}
.zr-drawer.active .zr-drawer__panel { transform: none; }
.zr-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #1f1f23; }
.zr-drawer__links { display: flex; flex-direction: column; padding: 0.75rem 0.75rem 0; }
.zr-drawer__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0.6rem;
    border-bottom: 1px solid #1c1c20;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
}
.zr-drawer__links a i { font-size: 0.8rem; color: var(--text-muted); }
.zr-drawer__links a.is-hot { color: #ff6b81; }
.zr-drawer__label { padding: 1.4rem 1.35rem 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.zr-drawer__brands { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0 1.25rem; }
.zr-drawer__brands a { padding: 0.45rem 0.8rem; border-radius: 999px; border: 1px solid #2a2a30; color: #e4e4e7; text-decoration: none; font-size: 0.85rem; font-weight: 600; }
.zr-drawer__account { display: flex; flex-direction: column; gap: 0.2rem; padding: 0 0.75rem; }
.zr-drawer__account a { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.6rem; color: #d4d4d8; text-decoration: none; font-weight: 600; border-radius: 10px; }
.zr-drawer__account a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.zr-drawer__account i { width: 20px; text-align: center; color: var(--text-muted); }
.zr-drawer__foot { margin-top: auto; padding: 1.25rem; border-top: 1px solid #1f1f23; display: grid; gap: 0.55rem; font-size: 0.82rem; color: var(--text-secondary); }
.zr-drawer__foot i { width: 18px; color: var(--success); }

/* =============================================================================
   TÍTULOS DE SECCIÓN
   ============================================================================= */
.zr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(18px, 2.5vw, 28px); }
.zr-kicker { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-hover); margin-bottom: 0.5rem; }
.zr-title { font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2.3rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.zr-sub { color: var(--text-secondary); margin-top: 0.45rem; font-size: 0.98rem; }

/* =============================================================================
   TARJETA DE PRODUCTO
   ============================================================================= */
.zr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 1100px) { .zr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .zr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }

.zr-card { position: relative; display: flex; flex-direction: column; min-width: 0; transition: opacity 0.3s, transform 0.3s; }
.zr-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 45%, #f7f6f3 0%, var(--tile) 70%);
}
.zr-card__link { position: absolute; inset: 0; display: block; }
.zr-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9%;
    transition: transform 0.5s var(--zr-ease);
}
.zr-card.is-out .zr-card__media img { opacity: 0.45; filter: grayscale(0.5); }

.zr-card__tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; }
.zr-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    background: #0a0a0b;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}
.zr-tag--sale { background: var(--sale); }
.zr-tag--new { background: var(--accent); }
.zr-tag--low { background: #f59e0b; color: #1a1200; }
.zr-tag--out { background: #3f3f46; }

.zr-card__fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #0a0a0b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}
.zr-card__fav:hover { transform: scale(1.08); }
.zr-card__fav.active { color: var(--sale); }

.zr-quick { position: absolute; left: 0; right: 0; bottom: 0; }
.zr-quick__open {
    position: absolute;
    right: 10px;
    bottom: 10px;
    height: 40px;
    min-width: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 0;
    background: #0a0a0b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: gap 0.25s, background 0.2s;
}
.zr-quick__open span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.3s var(--zr-ease); }
.zr-quick__open:hover { background: var(--accent); }
.zr-quick__panel {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    animation: zrPop 0.25s var(--zr-ease);
}
@keyframes zrPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.zr-quick__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 0.78rem; font-weight: 700; color: #e4e4e7; }
.zr-quick__close { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; font-size: 0.8rem; }
.zr-quick__sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 5px; max-height: 118px; overflow-y: auto; }
.zr-quick__sizes button {
    height: 34px;
    border-radius: 8px;
    border: 1px solid #3a3a42;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.zr-quick__sizes button:hover, .zr-quick__sizes button:focus-visible { background: #fff; color: #0a0a0b; border-color: #fff; }

.zr-card__body { padding: 12px 2px 0; }
.zr-card__brand { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.zr-card__name { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.zr-card__name a {
    color: var(--text-primary);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zr-card__name a::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 1 / 1; } /* toda la foto enlaza a la ficha */
.zr-card__price { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.zr-card__price strong { font-size: 1.05rem; font-weight: 800; }
.zr-card__price strong.is-sale { color: var(--sale); }
.zr-card__price s { color: var(--text-muted); font-size: 0.85rem; }

/* El enlace invisible de la foto no debe tapar los botones */
.zr-card__fav, .zr-quick { z-index: 2; }
.zr-card__tags { z-index: 2; }

@media (hover: hover) and (pointer: fine) {
    .zr-card:hover .zr-card__media img { transform: scale(1.06); }
    .zr-card:hover .zr-quick__open { gap: 6px; }
    .zr-card:hover .zr-quick__open span { max-width: 80px; }
}

/* Carril horizontal (relacionados, reseñas, marcas en móvil) */
.zr-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--zr-gutter);
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #33333a transparent;
}
.zr-rail > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .zr-rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 767px) {
    .zr-rail { grid-auto-columns: 44%; gap: 12px; margin-inline: calc(-1 * var(--zr-gutter)); padding-inline: var(--zr-gutter); }
}

/* =============================================================================
   PORTADA
   ============================================================================= */
.zr-hero { position: relative; overflow: hidden; }
.zr-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 120%;
    background: radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent 70%);
    pointer-events: none;
}
.zr-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 72px);
}
.zr-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    font-weight: 600;
    color: #e4e4e7;
}
.zr-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.zr-hero h1 {
    margin: 1.2rem 0 1.1rem;
    font-size: clamp(2.5rem, 4.7vw, 4.4rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.035em;
}
.zr-hero h1 span { display: block; color: #8b8b95; }
.zr-hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #c4b5fd, #a78bfa 40%, #f0abfc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.zr-hero__lead { max-width: 34rem; color: #c4c4cc; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; }
.zr-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.zr-hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem; margin-top: 2rem; color: var(--text-secondary); font-size: 0.88rem; }
.zr-hero__proof > span { display: inline-flex; align-items: center; gap: 0.5rem; }
.zr-hero__proof .zr-stars { color: var(--warning); letter-spacing: 1px; font-size: 0.85rem; }
.zr-hero__proof strong { color: #fff; }

/* Escaparate: lo más visto de la tienda, rotando */
.zr-stage {
    position: relative;
    aspect-ratio: 1 / 0.92;
    border-radius: 28px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 42%, #ffffff 0%, var(--tile) 62%, #dcdad5 100%);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.zr-stage__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s, visibility 0.6s;
    text-decoration: none;
}
.zr-stage__slide.active { opacity: 1; visibility: visible; }
.zr-stage__rank {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #0a0a0b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}
.zr-stage__img {
    position: absolute;
    left: 3%;
    top: 4%;
    height: 76%;
    width: 94%;
    object-fit: contain;
    filter: drop-shadow(0 28px 24px rgba(0, 0, 0, 0.22));
    transform: rotate(-8deg);
    animation: zrFloat 5s ease-in-out infinite;
}
@keyframes zrFloat { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-10px); } }
.zr-stage__info {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0.9rem 0.9rem 1.1rem;
    border-radius: 18px;
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}
.zr-stage__txt { flex: 1; min-width: 0; }
.zr-stage__txt small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.zr-stage__txt b { display: block; font-size: 0.98rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zr-stage__price { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.zr-stage__go { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0a0a0b; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.zr-thumbs { display: flex; gap: 10px; margin-top: 14px; justify-content: center; }
.zr-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 2px solid transparent;
    background: var(--tile);
    padding: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.zr-thumb img { width: 100%; height: 100%; object-fit: contain; }
.zr-thumb:hover { opacity: 1; transform: translateY(-2px); }
.zr-thumb.active { opacity: 1; border-color: #fff; }

@media (max-width: 900px) {
    .zr-hero__grid { grid-template-columns: 1fr; }
    .zr-stage { aspect-ratio: 4 / 3; max-height: 60vh; width: 100%; margin-inline: auto; }
}
@media (max-width: 767px) {
    .zr-hero__grid { padding-block: 16px 36px; gap: 22px; }
    .zr-hero h1 { margin-top: 1rem; }
    .zr-hero__ctas .zr-btn { flex: 1 1 auto; }
    .zr-thumb { width: 52px; height: 52px; border-radius: 12px; }
    .zr-stage { border-radius: 22px; }
}

/* Ventajas */
.zr-perks-band { border-block: 1px solid #1f1f23; background: #0e0e10; }
.zr-perks { display: grid; grid-template-columns: repeat(4, 1fr); }
.zr-perk { display: flex; align-items: center; gap: 0.9rem; padding: 1.4rem 1rem; }
.zr-perk + .zr-perk { border-left: 1px solid #1f1f23; }
.zr-perk__ico { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: rgba(139, 92, 246, 0.14); color: var(--accent-hover); font-size: 1.05rem; }
.zr-perk b { display: block; font-size: 0.95rem; }
/* Solo el texto de debajo: si se apunta a todos los <span>, el del icono
   también se volvía gris y pequeño (y no se veía sobre el fondo oscuro). */
.zr-perk > div span { display: block; font-size: 0.82rem; color: var(--text-secondary); line-height: 1.4; }
@media (max-width: 1023px) {
    .zr-perks { grid-template-columns: 1fr 1fr; }
    .zr-perk:nth-child(3) { border-left: 0; }
    .zr-perk:nth-child(n+3) { border-top: 1px solid #1f1f23; }
}
@media (max-width: 767px) {
    .zr-perk { padding: 1rem 0.5rem; gap: 0.65rem; }
    .zr-perk + .zr-perk { border-left: 0; }
    .zr-perk:nth-child(even) { border-left: 1px solid #1f1f23; padding-left: 0.85rem; }
    .zr-perk__ico { width: 38px; height: 38px; font-size: 0.95rem; }
    .zr-perk b { font-size: 0.86rem; }
    .zr-perk > div span { font-size: 0.75rem; }
}

/* Marcas */
.zr-brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.zr-brand {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #141416;
    border: 1px solid #222226;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s var(--zr-ease), border-color 0.3s;
}
.zr-brand:hover { transform: translateY(-4px); border-color: #3a3a42; }
.zr-brand__img { aspect-ratio: 4 / 3; background: var(--tile); display: flex; align-items: center; justify-content: center; }
.zr-brand__img img { width: 88%; height: 88%; object-fit: contain; transform: rotate(-8deg); transition: transform 0.4s var(--zr-ease); }
.zr-brand:hover .zr-brand__img img { transform: rotate(-4deg) scale(1.05); }
.zr-brand__txt { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.8rem 0.95rem; }
.zr-brand__txt b { font-family: var(--font-display); font-size: 1rem; font-weight: 800; }
.zr-brand__txt small { display: block; color: var(--text-muted); font-size: 0.78rem; }
.zr-brand__txt i { color: var(--text-muted); font-size: 0.8rem; }
@media (max-width: 1100px) { .zr-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .zr-brands { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--zr-gutter)); padding: 0 var(--zr-gutter) 10px; gap: 12px; scrollbar-width: none; }
    .zr-brand { scroll-snap-align: start; }
}

/* Ofertas de la semana */
.zr-offers { background: linear-gradient(180deg, rgba(255, 59, 92, 0.1), rgba(255, 59, 92, 0) 70%); border-top: 1px solid rgba(255, 59, 92, 0.25); }
.zr-offers .zr-kicker { color: #ff6b81; }
.zr-countdown { display: flex; gap: 8px; }
.zr-countdown > div { min-width: 62px; padding: 0.55rem 0.4rem; border-radius: 12px; background: #151517; border: 1px solid #2a2a30; text-align: center; }
.zr-countdown b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.zr-countdown small { display: block; margin-top: 4px; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 767px) {
    .zr-offers .zr-head { flex-direction: column; align-items: flex-start; }
    .zr-countdown > div { min-width: 54px; }
    .zr-countdown b { font-size: 1.25rem; }
}

/* Reseñas */
.zr-rating-big { display: flex; align-items: center; gap: 1rem; }
.zr-rating-big b { font-family: var(--font-display); font-size: 3rem; font-weight: 900; line-height: 1; }
.zr-rating-big .zr-stars { color: var(--warning); font-size: 1rem; letter-spacing: 2px; }
.zr-rating-big small { display: block; color: var(--text-secondary); font-size: 0.85rem; }
.zr-review {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.4rem;
    border-radius: 18px;
    background: #141416;
    border: 1px solid #222226;
}
.zr-review .zr-stars { color: var(--warning); font-size: 0.85rem; letter-spacing: 2px; }
.zr-review h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.zr-review p { color: #c4c4cc; font-size: 0.92rem; line-height: 1.55; }
.zr-review__photo { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.zr-review__photo img { width: 100%; height: 100%; object-fit: cover; }
.zr-review__who { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; padding-top: 0.4rem; font-weight: 600; font-size: 0.88rem; }
.zr-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #27272a; color: #fff; font-weight: 800; font-size: 0.85rem; flex: 0 0 auto; }
/* Carrusel de reseñas: se mueve solo, como en la web de antes. Las tarjetas se
   pintan dos veces (la segunda tanda es una copia oculta a los lectores de
   pantalla) para que al llegar al final empalme sin salto. Se para al pasar el
   ratón o al llegar con el tabulador, para poder leerlas. */
.zr-marquee {
    position: relative;
    overflow: hidden;
    padding-bottom: 4px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.zr-marquee__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: zr-marquee var(--zr-marquee-dur, 60s) linear infinite;
}
.zr-marquee:hover .zr-marquee__track,
.zr-marquee:focus-within .zr-marquee__track { animation-play-state: paused; }
.zr-marquee .zr-review { flex: 0 0 clamp(250px, 24vw, 310px); }
@keyframes zr-marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(-50% - 10px), 0, 0); }
}
@media (max-width: 767px) {
    .zr-marquee { -webkit-mask-image: none; mask-image: none; }
    .zr-marquee .zr-review { flex: 0 0 78vw; }
    .zr-reviews .zr-head { flex-direction: column; align-items: flex-start; }
}
/* Si el sistema pide menos animaciones, se queda quieto y se pasa a mano. */
@media (prefers-reduced-motion: reduce) {
    .zr-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .zr-marquee__track { animation: none; }
}
.zr-reviews__cta { margin-top: 1.2rem; text-align: center; color: var(--text-secondary); font-size: 0.92rem; }
.zr-reviews__cta a { color: #fff; font-weight: 700; text-decoration: none; margin-left: 0.35rem; }
.zr-reviews__cta a i { font-size: 0.8em; transition: transform 0.2s; display: inline-block; }
.zr-reviews__cta a:hover { color: var(--accent-hover); }
.zr-reviews__cta a:hover i { transform: translateX(3px); }

/* Banner Sneaker Hunter */
.zr-banner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 28px;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(236, 72, 153, 0.25), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(139, 92, 246, 0.35), transparent 60%),
        #121015;
    border: 1px solid rgba(139, 92, 246, 0.3);
}
.zr-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; }
.zr-banner p { color: #d4d4d8; margin-top: 0.9rem; max-width: 36rem; }
.zr-banner__steps { list-style: none; display: grid; gap: 0.7rem; }
.zr-banner__steps li { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font-weight: 600; font-size: 0.92rem; }
.zr-banner__steps b { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: #fff; color: #0a0a0b; font-size: 0.85rem; }
@media (max-width: 900px) { .zr-banner { grid-template-columns: 1fr; } }

/* =============================================================================
   TIENDA (listado)
   ============================================================================= */
.zr-shop-head { padding-top: clamp(20px, 3vw, 36px); }
.zr-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.9rem; }
.zr-crumbs a { color: var(--text-secondary); text-decoration: none; }
.zr-crumbs a:hover { color: #fff; }
.zr-crumbs i { font-size: 0.6rem; }
.zr-shop-title { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.zr-shop-title small { font-family: var(--font-body); font-size: 0.4em; font-weight: 600; letter-spacing: 0; color: var(--text-muted); vertical-align: middle; margin-left: 0.4rem; }
.zr-shop-lead { color: var(--text-secondary); margin-top: 0.7rem; max-width: 46rem; }

.zr-brand-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(700px 300px at 0% 0%, color-mix(in srgb, var(--brand-acc, #8b5cf6) 30%, transparent), transparent 65%), #131315;
    border: 1px solid #242428;
}
.zr-brand-banner__slogan { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-acc, var(--accent-hover)); }
.zr-brand-banner h1 { margin-top: 0.5rem; font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 0.95; text-transform: uppercase; overflow-wrap: anywhere; }
.zr-brand-banner p { margin-top: 0.8rem; color: #c4c4cc; max-width: 40rem; }
.zr-brand-banner__media { width: clamp(160px, 26vw, 300px); aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: var(--tile); display: flex; align-items: center; justify-content: center; }
.zr-brand-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.zr-brand-banner__media.is-product img { object-fit: contain; padding: 8%; transform: rotate(-8deg); }
@media (max-width: 767px) {
    .zr-brand-banner { grid-template-columns: 1fr; gap: 1.2rem; }
    .zr-brand-banner__media { order: -1; width: 100%; aspect-ratio: 16 / 9; }
    .zr-brand-banner__media.is-product img { padding: 4%; }
}

.zr-toolbar {
    position: sticky;
    top: var(--zr-head-h);
    z-index: 20;
    margin-top: 1.4rem;
    padding: 0.75rem 0;
    background: rgba(10, 10, 11, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #1c1c20;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.zr-chips { display: flex; gap: 0.45rem; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; padding: 2px; }
.zr-chips::-webkit-scrollbar { display: none; }
.zr-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 38px;
    padding: 0 0.95rem;
    border-radius: 999px;
    border: 1px solid #2a2a30;
    background: #121214;
    color: #e4e4e7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.86rem;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.zr-chip small { color: var(--text-muted); font-weight: 500; }
.zr-chip:hover { border-color: #52525b; color: #fff; }
.zr-chip.is-on { background: #fff; border-color: #fff; color: #0a0a0b; }
.zr-chip.is-on small { color: #52525b; }
.zr-select {
    height: 38px;
    padding: 0 2.2rem 0 0.95rem;
    border-radius: 999px;
    border: 1px solid #2a2a30;
    background: #121214 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a1a1aa' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
    color: #fff;
    font-weight: 600;
    font-size: 0.86rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    flex: 0 0 auto;
}
.zr-select:focus { outline: none; border-color: var(--accent); }
.zr-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.85rem; color: var(--text-secondary); }
.zr-active-filters a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: #1c1c20; color: #fff; text-decoration: none; font-weight: 600; }
.zr-active-filters a:hover { background: #27272a; }
.zr-results { padding-top: 1.6rem; padding-bottom: clamp(48px, 7vw, 90px); }
@media (max-width: 767px) {
    .zr-toolbar { flex-wrap: wrap; top: var(--zr-head-h); }
    .zr-chips { flex: 1 1 100%; order: 2; margin-inline: calc(-1 * var(--zr-gutter)); padding-inline: var(--zr-gutter); }
    .zr-toolbar .zr-count-label { flex: 1; }
}
.zr-count-label { color: var(--text-secondary); font-size: 0.86rem; white-space: nowrap; }

.zr-empty { text-align: center; padding: clamp(40px, 8vw, 90px) 1rem; }
.zr-empty i { font-size: 2.6rem; color: #3f3f46; margin-bottom: 1rem; }
.zr-empty h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.zr-empty p { color: var(--text-secondary); margin-bottom: 1.6rem; }

.pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; align-items: center; margin: 3rem auto 0; }
.pagination a, .pagination .pg-now, .pagination .pg-off {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid #2a2a30;
    transition: background 0.2s, border-color 0.2s;
}
.pagination a { color: #fff; background: #121214; }
.pagination a:hover { border-color: #fff; }
.pagination .pg-now { background: #fff; color: #0a0a0b; border-color: #fff; }
.pagination .pg-off { color: #3f3f46; cursor: not-allowed; }
.pagination .pg-dots { color: var(--text-muted); padding: 0 0.2rem; }
.pg-count { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 1rem 0 0; }

/* =============================================================================
   FICHA DE PRODUCTO
   ============================================================================= */
.zr-pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-top: clamp(16px, 2.5vw, 28px); }
.zr-gallery { position: sticky; top: calc(var(--zr-head-h) + 20px); }
.zr-gallery__main {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 45%, #ffffff 0%, var(--tile) 65%, #dddbd6 100%);
}
.zr-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform 0.4s var(--zr-ease), opacity 0.25s; }
.zr-gallery__main .zr-card__tags { top: 16px; left: 16px; }
.zr-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.zr-gallery__thumbs button { flex: 0 0 76px; height: 76px; border-radius: 14px; border: 2px solid transparent; background: var(--tile); padding: 6px; cursor: pointer; }
.zr-gallery__thumbs button.active { border-color: #fff; }
.zr-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.zr-pdp__brand { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-hover); text-decoration: none; }
.zr-pdp__title { margin: 0.5rem 0 0.9rem; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.zr-pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 0.8rem; }
.zr-pdp__price strong { font-family: var(--font-display); font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; }
.zr-pdp__price strong.is-sale { color: var(--sale); }
.zr-pdp__price s { color: var(--text-muted); font-size: 1.1rem; }
.zr-pdp__price .zr-tag { align-self: center; }
.zr-pdp__tax { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; }

.zr-stockline { display: flex; align-items: center; gap: 0.55rem; margin-top: 1.1rem; font-size: 0.9rem; font-weight: 600; color: #86efac; }
.zr-stockline.is-low { color: #fbbf24; }
.zr-stockline.is-out { color: var(--text-secondary); }

.zr-block-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1.6rem 0 0.7rem; font-size: 0.9rem; font-weight: 700; }
.zr-block-label span { color: var(--text-secondary); font-weight: 500; }

.zr-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.zr-colors a, .zr-colors button, .zr-colors span { width: 64px; height: 64px; border-radius: 12px; background: var(--tile); border: 2px solid transparent; padding: 4px; display: block; cursor: pointer; transition: border-color 0.2s; }
.zr-colors .is-current, .zr-colors a:hover, .zr-colors button:hover { border-color: #fff; }
.zr-colors img { width: 100%; height: 100%; object-fit: contain; }

.zr-sizes { border: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; min-inline-size: 0; }
.zr-size { position: relative; }
.zr-size input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.zr-size span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #2f2f35;
    background: #121214;
    font-weight: 700;
    font-size: 0.95rem;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.zr-size input:hover + span { border-color: #71717a; }
.zr-size input:checked + span { background: #fff; color: #0a0a0b; border-color: #fff; }
.zr-size input:focus-visible + span { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
.zr-size-hint { display: none; margin-top: 0.6rem; color: #fca5a5; font-size: 0.88rem; font-weight: 700; }
.zr-size-hint.is-on { display: block; }
.zr-shake { animation: zrShake 0.4s; }
@keyframes zrShake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.zr-buy { display: flex; gap: 10px; margin-top: 1.4rem; }
.zr-qty { display: flex; align-items: center; height: 56px; border-radius: 999px; border: 1px solid #2f2f35; background: #121214; flex: 0 0 auto; }
.zr-qty button { width: 42px; height: 100%; border: 0; background: none; color: #fff; cursor: pointer; font-size: 0.9rem; }
.zr-qty input { width: 34px; height: 100%; border: 0; background: none; text-align: center; font-weight: 700; color: #fff; -moz-appearance: textfield; }
.zr-qty input::-webkit-outer-spin-button, .zr-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zr-buy .zr-btn { flex: 1; min-height: 56px; font-size: 1.02rem; }
.zr-buy .zr-fav-lg {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1px solid #2f2f35;
    background: #121214;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.zr-buy .zr-fav-lg:hover { border-color: #fff; }
.zr-buy .zr-fav-lg.active { color: var(--sale); border-color: var(--sale); }

.zr-delivery { display: flex; gap: 0.8rem; align-items: flex-start; margin-top: 1.1rem; padding: 0.95rem 1rem; border-radius: 14px; background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.25); font-size: 0.9rem; }
.zr-delivery i { color: var(--success); margin-top: 3px; }
.zr-delivery b { color: #fff; }
.zr-delivery span { color: #c4c4cc; }

.zr-perk-list { list-style: none; display: grid; gap: 0.7rem; margin-top: 1.1rem; padding: 1.1rem; border-radius: 16px; background: #121214; border: 1px solid #222226; }
.zr-perk-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; color: #c4c4cc; line-height: 1.45; }
.zr-perk-list i { width: 20px; text-align: center; color: var(--accent-hover); margin-top: 3px; }
.zr-perk-list b { color: #fff; }

.zr-gift { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.1rem; padding: 0.9rem 1rem; border-radius: 14px; text-decoration: none; color: #fff; border: 1px solid rgba(241, 191, 0, 0.4); background: linear-gradient(90deg, rgba(241, 191, 0, 0.14), rgba(198, 11, 30, 0.14)); }
.zr-gift__ico { flex: 0 0 38px; height: 38px; border-radius: 50%; background: #f1bf00; color: #111; display: flex; align-items: center; justify-content: center; }
.zr-gift small { color: #fde68a; }

.zr-acc { margin-top: 1.4rem; border-top: 1px solid #222226; }
.zr-acc details { border-bottom: 1px solid #222226; }
.zr-acc summary { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0.2rem; font-weight: 700; cursor: pointer; list-style: none; }
.zr-acc summary::-webkit-details-marker { display: none; }
.zr-acc summary i { transition: transform 0.25s; color: var(--text-muted); font-size: 0.85rem; }
.zr-acc details[open] summary i { transform: rotate(45deg); }
.zr-acc__body { padding: 0 0.2rem 1.2rem; color: #c4c4cc; font-size: 0.95rem; line-height: 1.7; }
.zr-acc__body p + p { margin-top: 0.7rem; }

.zr-pay-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.zr-pay-icons span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 28px;
    min-width: 44px;
    padding: 0 0.5rem;
    border-radius: 6px;
    background: #fff;
    color: #0a0a0b;
    font-size: 0.72rem;
    font-weight: 800;
}
.zr-pay-icons span i { font-size: 1.15rem; }
.zr-pay-icons .is-bizum { background: #05c3c3; color: #fff; letter-spacing: 0.02em; }

@media (max-width: 900px) {
    .zr-pdp { grid-template-columns: minmax(0, 1fr); }
    .zr-gallery { position: static; margin-inline: calc(-1 * var(--zr-gutter)); }
    .zr-gallery__main { border-radius: 0; }
    .zr-gallery__thumbs { padding-inline: var(--zr-gutter); }
}

/* Barra de compra fija en móvil */
.zr-sticky-buy { display: none; }
@media (max-width: 900px) {
    .zr-sticky-buy {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.7rem var(--zr-gutter) calc(0.7rem + env(safe-area-inset-bottom));
        background: rgba(10, 10, 11, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid #222226;
        transform: translateY(110%);
        transition: transform 0.35s var(--zr-ease);
    }
    .zr-sticky-buy.visible { transform: none; }
    .zr-sticky-buy img { width: 48px; height: 48px; border-radius: 10px; background: var(--tile); object-fit: contain; padding: 3px; flex: 0 0 auto; }
    .zr-sticky-buy__txt { flex: 1; min-width: 0; }
    .zr-sticky-buy__txt b { display: block; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .zr-sticky-buy__txt span { font-weight: 800; }
    .zr-sticky-buy .zr-btn { min-height: 46px; padding: 0 1.3rem; }
}

/* =============================================================================
   CESTA
   ============================================================================= */
.zr-cart-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: clamp(20px, 3vw, 36px); margin-bottom: 1.5rem; }
.zr-cart-title h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.03em; }
.zr-cart-title h1 small { font-family: var(--font-body); font-size: 0.45em; color: var(--text-muted); font-weight: 600; letter-spacing: 0; }
.zr-cart { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 3vw, 48px); align-items: start; padding-bottom: clamp(48px, 7vw, 90px); }
.zr-cart-notes { display: grid; gap: 0.8rem; margin-bottom: 1.2rem; }
.zr-note { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; padding: 0.95rem 1.1rem; border-radius: 16px; background: #121214; border: 1px solid #242428; font-size: 0.92rem; }
.zr-note__ico { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: rgba(139, 92, 246, 0.15); color: var(--accent-hover); }
.zr-note__txt { flex: 1; min-width: 200px; }
.zr-note__txt b { display: block; color: #fff; }
.zr-note__txt span { color: var(--text-secondary); font-size: 0.86rem; }
.zr-note--ok { border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.07); }
.zr-note--ok .zr-note__ico { background: rgba(34, 197, 94, 0.18); color: #4ade80; }
.zr-note--warn { border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.07); color: #fcd34d; }
.zr-note--gold .zr-note__ico { background: rgba(251, 191, 36, 0.18); color: #fbbf24; }
.zr-progress { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 0.55rem; max-width: 420px; }
.zr-progress span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #c60b1e, #f1bf00); }

.zr-lines { border-top: 1px solid #222226; }
.zr-line { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 1.1rem; padding: 1.2rem 0; border-bottom: 1px solid #222226; align-items: start; }
.zr-line__img { width: 120px; height: 120px; border-radius: 14px; background: var(--tile); display: block; overflow: hidden; }
.zr-line__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.zr-line__name { font-size: 1rem; font-weight: 700; line-height: 1.35; color: #fff; text-decoration: none; }
.zr-line__meta { color: var(--text-secondary); font-size: 0.86rem; margin-top: 0.3rem; }
.zr-line__unit { color: var(--text-muted); font-size: 0.84rem; margin-top: 0.2rem; }
.zr-line__controls { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.8rem; flex-wrap: wrap; }
.zr-line__controls .zr-qty { height: 40px; }
.zr-line__controls .zr-qty button { width: 34px; }
.zr-line__remove { background: none; border: 0; color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.zr-line__remove:hover { color: var(--danger); }
.zr-line__total { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
@media (max-width: 600px) {
    .zr-line { grid-template-columns: 92px minmax(0, 1fr); }
    .zr-line__img { width: 92px; height: 92px; }
    .zr-line__total { grid-column: 2; }
}

.zr-summary { position: sticky; top: calc(var(--zr-head-h) + 20px); padding: 1.6rem; border-radius: 22px; background: #121214; border: 1px solid #242428; }
.zr-summary h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.1rem; }
.zr-sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; font-size: 0.95rem; color: #d4d4d8; }
.zr-sum-row.is-discount { color: #4ade80; font-weight: 600; }
.zr-sum-row .is-free { color: #4ade80; font-weight: 700; }
.zr-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0.9rem 0 1.2rem; padding-top: 1rem; border-top: 1px solid #26262b; }
.zr-sum-total span { font-weight: 700; }
.zr-sum-total strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; }
.zr-sum-total small { display: block; color: var(--text-muted); font-size: 0.75rem; font-weight: 500; text-align: right; }
.zr-coupon summary { cursor: pointer; font-size: 0.9rem; font-weight: 600; color: #d4d4d8; padding: 0.4rem 0; list-style: none; }
.zr-coupon summary::-webkit-details-marker { display: none; }
.zr-coupon summary i { font-size: 0.75rem; margin-left: 0.3rem; }
.zr-coupon form { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.zr-coupon .form-control { height: 44px; padding: 0 1rem; }
.zr-coupon .zr-btn { min-height: 44px; }
.zr-msg-ok { color: #4ade80; font-size: 0.85rem; font-weight: 600; margin-top: 0.5rem; }
.zr-msg-err { color: #f87171; font-size: 0.85rem; font-weight: 600; margin-top: 0.5rem; }
.zr-wallet { margin: 0.8rem 0; padding: 0.85rem 1rem; border-radius: 12px; border: 1px dashed rgba(74, 222, 128, 0.35); background: rgba(74, 222, 128, 0.05); display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; font-size: 0.88rem; color: #4ade80; font-weight: 700; }
.zr-wallet button { padding: 0.4rem 0.8rem; border-radius: 999px; border: 0; font-weight: 700; font-size: 0.8rem; cursor: pointer; background: #4ade80; color: #052e16; }
.zr-wallet button.is-off { background: #27272a; color: #fff; }
.zr-safe { display: flex; align-items: center; justify-content: center; gap: 0.45rem; margin-top: 0.8rem; color: var(--text-muted); font-size: 0.8rem; }
.zr-summary .zr-pay-icons { justify-content: center; margin-top: 0.9rem; }
.zr-summary .zr-perk-list { background: transparent; border: 0; padding: 1.1rem 0 0; margin-top: 1rem; border-top: 1px solid #26262b; border-radius: 0; }

@media (max-width: 1000px) {
    .zr-cart { grid-template-columns: minmax(0, 1fr); }
    .zr-summary { position: static; }
}

/* =============================================================================
   PIE
   ============================================================================= */
.zr-footer { margin-top: clamp(40px, 6vw, 80px); background: #070708; border-top: 1px solid #1c1c20; }
.zr-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-block: clamp(40px, 6vw, 72px) 2.5rem; }
.zr-footer .zr-logo { font-size: 1.6rem; }
.zr-footer__about { color: var(--text-secondary); margin-top: 1rem; max-width: 22rem; font-size: 0.92rem; }
.zr-social { display: flex; gap: 0.5rem; margin-top: 1.3rem; }
.zr-social a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid #2a2a30; color: #fff; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.zr-social a:hover { background: #fff; color: #0a0a0b; border-color: #fff; }
.zr-footer h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.zr-footer ul { list-style: none; display: grid; gap: 0.65rem; }
.zr-footer ul a { color: #d4d4d8; text-decoration: none; font-size: 0.93rem; }
.zr-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.zr-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid #1c1c20; color: var(--text-muted); font-size: 0.84rem; }
.zr-footer__legal { padding-bottom: 1.6rem; color: #5b5b63; font-size: 0.76rem; display: flex; align-items: center; gap: 0.5rem; }
@media (max-width: 900px) { .zr-footer__grid { grid-template-columns: 1fr 1fr; } .zr-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .zr-footer__grid { gap: 2rem 1.5rem; } }
