/* Port of ui_sketches/css/t-hero.css — store hero stage */

.main-content:has(.store-page--hero) {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.store-page--hero {
    background: var(--va-bg, #07080c);
}

.store-page--hero .hero-stage {
    position: relative;
    height: calc(100vh - 72px);
    min-height: clamp(320px, 60vh, 520px);
    overflow: visible;
    background: var(--va-bg, #07080c);
}

.store-page--hero .hero-glow {
    position: absolute;
    inset: 8% 18% 18%;
    background: radial-gradient(circle at 50% 42%, var(--va-glow), transparent 62%);
    filter: blur(8px);
    pointer-events: none;
    transition: background 0.6s ease;
    z-index: 0;
}

.store-page--hero .hero-watermark {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    font-family: var(--va-display, Syne, Inter, sans-serif);
    font-size: clamp(4rem, 18vw, 14rem);
    font-weight: 800;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.045);
    white-space: nowrap;
    pointer-events: none;
    -webkit-user-select: none;
            user-select: none;
    z-index: var(--z-base);
}

.store-page--hero .hero-ring {
    position: absolute;
    left: 50%;
    top: 58%;
    width: min(42vw, 520px);
    height: 70px;
    transform: translate(-50%, 0);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--va-accent) 45%, transparent);
    box-shadow: 0 0 40px var(--va-glow), inset 0 0 30px var(--va-glow);
    opacity: 0.7;
    pointer-events: none;
    z-index: var(--z-base);
}

.store-page--hero .hero-product-wrap {
    position: absolute;
    left: 50%;
    top: 44%;
    width: min(58vw, 760px);
    aspect-ratio: 16 / 10;
    transform: translate(-50%, -52%);
    perspective: 1100px;
    perspective-origin: 50% 45%;
    z-index: 2;
    /* персонаж может вылезать за рамку */
    overflow: visible;
}

.store-page--hero .hero-product {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background-size: cover;
    background-position: center;
    background-color: #12141c;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 80px var(--va-glow);
    transition: box-shadow var(--transition-base);
    isolation: isolate;
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform;
    overflow: visible;
}

.store-page--hero .hero-product.is-px-active {
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.55),
        0 0 90px var(--va-glow),
        0 0 0 1px color-mix(in srgb, var(--va-accent) 35%, transparent);
}

.store-page--hero .hero-product::after {
    content: none;
}

.store-page--hero .hero-px-frame {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    background: #12141c;
    transform: translateZ(0);
    border: 1px solid var(--va-border-strong, rgba(255, 255, 255, 0.16));
}

.store-page--hero .hero-px-layer {
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.12s ease-out;
    pointer-events: none;
}

.store-page--hero .hero-px-bg {
    inset: -12%;
    filter: saturate(1.06) contrast(1.04);
}

.store-page--hero .hero-px-glow {
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 70% 35%, color-mix(in srgb, var(--va-accent) 35%, transparent), transparent 60%),
        linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.5) 100%);
    mix-blend-mode: soft-light;
}

.store-page--hero .hero-px-vignette {
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.42) 100%);
}

.store-page--hero .hero-px-char {
    position: absolute;
    left: 50%;
    bottom: -16%;
    width: 38%;
    max-width: 280px;
    transform: translateX(-50%) translateZ(48px);
    transform-origin: 50% 100%;
    will-change: transform;
    transition: transform 0.12s ease-out;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.75));
}

.store-page--hero .hero-px-char img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: lighten;
}

.store-page--hero .hero-px-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 76px;
    height: 76px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: var(--z-raised);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.45),
        0 0 0 2px rgba(255, 255, 255, 0.18);
    transform: translateZ(60px);
    will-change: transform;
    transition: transform 0.12s ease-out;
    background: #0b1220;
    pointer-events: none;
}

.store-page--hero .hero-px-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .store-page--hero .hero-product-wrap {
        perspective: none;
    }
    .store-page--hero .hero-product,
    .store-page--hero .hero-px-layer,
    .store-page--hero .hero-px-char,
    .store-page--hero .hero-px-logo {
        transition: none !important;
        transform: none !important;
    }
    .store-page--hero .hero-px-char {
        transform: translateX(-50%) !important;
    }
}

.store-page--hero .hero-copy {
    position: absolute;
    left: clamp(24px, 4vw, 72px);
    top: 22%;
    max-width: 360px;
    z-index: var(--z-raised);
}

.store-page--hero .hero-copy .eyebrow {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--va-text-muted, #8b93a7);
    font-weight: 600;
}

.store-page--hero .hero-copy h1 {
    font-family: var(--va-display, Syne, Inter, sans-serif);
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 10px 0 14px;
    text-transform: uppercase;
    color: var(--va-text, #eef1f6) !important;
}

.store-page--hero .hero-copy p {
    color: color-mix(in srgb, var(--va-text) 82%, var(--va-text-muted));
    line-height: 1.55;
    font-size: 0.92rem;
    margin-bottom: 22px;
    max-width: 32ch;
}

.store-page--hero .hero-cta-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.store-page--hero .hero-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-2);
}

.store-page--hero .hero-old-price {
    text-decoration: line-through;
    opacity: 0.65;
    font-weight: 600;
    font-size: 0.85em;
}

.store-page--hero .hero-price {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.store-page--hero .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-full) !important;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    background: var(--va-accent) !important;
    color: var(--va-btn-text, #061016) !important;
    border: none !important;
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--va-accent) 40%, transparent),
        0 10px 30px var(--va-glow);
    cursor: pointer;
}

.store-page--hero .hero-video {
    margin-top: 22px;
    width: 148px;
    height: 84px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--va-border);
    cursor: pointer;
    display: block;
    padding: 0;
}

.store-page--hero .hero-video span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.25);
}

.store-page--hero .hero-video i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    display: grid;
    place-items: center;
    font-style: normal;
}

.store-page--hero .hero-side {
    position: absolute;
    right: clamp(24px, 4vw, 64px);
    top: 24%;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    z-index: var(--z-raised);
}

.store-page--hero .hero-tile {
    width: 128px;
    height: 128px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    background-color: #161b26;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--va-border);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 0;
}

.store-page--hero .hero-tile::after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 8px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-page--hero .hero-tile.glass {
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
}

.store-page--hero .hero-vert {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    color: var(--va-text-muted);
    align-self: flex-end;
    margin-top: var(--space-2);
}

.store-page--hero .hero-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    padding: 0 32px;
    z-index: var(--z-raised);
}

.store-page--hero .hero-nav {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.store-page--hero .hero-dots {
    width: 88px;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.store-page--hero .hero-dots i {
    display: block;
    height: 100%;
    width: 33%;
    background: var(--va-accent);
    border-radius: inherit;
    transition: margin-left 0.35s ease, background 0.35s ease;
}

.store-page--hero .hero-arrows {
    display: flex;
    gap: var(--space-2);
}

.store-page--hero .hero-arrows button {
    width: 42px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 1px solid var(--va-border-strong, rgba(255, 255, 255, 0.16));
    background: rgba(0, 0, 0, 0.25);
    color: var(--va-text);
    cursor: pointer;
}

.store-page--hero .hero-specs {
    display: flex;
    gap: 10px;
    justify-self: end;
}

.store-page--hero .hero-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    min-width: 150px;
    background: color-mix(in srgb, var(--va-bg-card) 55%, transparent);
    border: 1px solid var(--va-border);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
}

.store-page--hero .hero-spec strong {
    display: block;
    font-size: 0.82rem;
    color: var(--va-text);
}

.store-page--hero .hero-spec small {
    color: var(--va-text-muted);
    font-size: 0.7rem;
}

.store-page--hero .hero-spec .dot {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--va-accent) 18%, transparent);
    color: var(--va-accent);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.store-page--hero .store-page-body {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px clamp(12px, 2vw, 24px) 40px;
}

.store-page--hero .store-sticky-bar,
.store-page--hero .store-sticky-bar--top {
    margin-bottom: 0;
    padding: 10px clamp(12px, 2vw, 24px);
    border-radius: 0;
    background: color-mix(in srgb, var(--va-bg-card, #171a21) 72%, transparent);
    border: none;
    border-bottom: 1px solid var(--va-border);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 80;
}

/* @bp-hero — 980px */
@media (max-width: 980px) {
    .store-page--hero .hero-stage {
        height: auto;
        min-height: clamp(320px, 60vh, 520px);
        padding-bottom: max(100px, calc(var(--voltark-bottom-nav-h, 64px) + 24px));
    }
    .store-page--hero .hero-copy {
        top: auto;
        bottom: max(100px, calc(var(--voltark-bottom-nav-h, 64px) + 24px));
        max-width: 90%;
        left: 16px;
        right: 16px;
    }
    .store-page--hero .hero-side,
    .store-page--hero .hero-specs,
    .store-page--hero .hero-vert,
    .store-page--hero .hero-video {
        display: none;
    }
    .store-page--hero .hero-product-wrap {
        width: 78vw;
        top: 36%;
    }
    .store-page--hero .hero-px-char {
        width: 44%;
        bottom: -12%;
    }
    .store-page--hero .hero-px-logo {
        width: 58px;
        height: 58px;
    }
}

body.mobile-layout .store-page--hero .hero-stage {
    height: auto;
    min-height: clamp(320px, 60vh, 520px);
    padding-bottom: calc(var(--voltark-bottom-nav-h, 64px) + 24px);
}

/* Store sales banner */
.store-sale-banner{display:flex;gap:12px;flex-wrap:wrap;padding:10px 16px;margin:8px 0 0;background:linear-gradient(90deg,rgba(220,80,40,.22),rgba(20,20,24,.6));border-bottom:1px solid rgba(255,255,255,.08)}
.store-sale-banner__item{display:flex;gap:10px;align-items:center;padding:8px 12px;border-radius:10px;background:rgba(0,0,0,.25)}
.store-sale-banner__item strong{font-size:1rem}

