.pixel-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line, rgba(23, 32, 51, .10));
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 249, 255, .88));
    box-shadow: var(--shadow-card, 0 18px 44px rgba(31, 59, 101, .10));
    backdrop-filter: blur(18px);
    content-visibility: auto;
    contain-intrinsic-size: 520px;
}

.pixel-card:hover {
    box-shadow: 0 24px 64px rgba(15, 23, 42, .12);
}

.pixel-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,.42), transparent 30%);
    opacity: .72;
}

.pixel-card > * {
    position: relative;
    z-index: 1;
}

.product-visual {
    position: relative;
    isolation: isolate;
    height: 285px;
    margin: 0;
    overflow: hidden;
}

.product-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-size: cover;
    filter: blur(1.4px) saturate(1.08) contrast(1.06);
    opacity: 1;
    transform: scale(1.025);
}

.product-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 44%, rgba(255,255,255,.02), rgba(255,255,255,.10) 36%, rgba(255,255,255,.34) 61%, rgba(255,255,255,.78) 82%, rgba(255,255,255,.98) 100%),
        linear-gradient(180deg, rgba(15,23,42,.10), rgba(255,255,255,.02) 40%, rgba(255,255,255,.98) 100%);
}

.product-visual::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 48%;
    z-index: 1;
    width: 250px;
    height: 250px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, .70) 0 20%, rgba(47, 111, 255, .20) 44%, rgba(15, 23, 42, .08) 58%, transparent 72%);
    filter: blur(4px);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.product-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 152px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.44) 42%, rgba(255,255,255,.88) 72%, #fff 100%);
    pointer-events: none;
}

.product-visual > :not(.product-bg) {
    z-index: 3;
}

.product-copy {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-top: -34px;
    padding: 1rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.94) 34%, rgba(255,255,255,.88));
}

.product-copy::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.70), transparent);
    opacity: .55;
}

.product-description {
    color: var(--muted, #64748b);
}

.product-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

[data-card-buy],
[data-shop-card-buy],
[data-related-add] {
    line-height: 1;
}

[data-card-buy].is-added,
[data-shop-card-buy].is-added,
[data-related-add].is-added,
#productAddToCart.is-added {
    background: linear-gradient(180deg, #3ad46f 0%, #22c55e 58%, #16a34a 100%) !important;
    border-color: #159447 !important;
    color: #fff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .25),
        0 1px 1px rgba(15, 23, 42, .10),
        0 7px 14px rgba(22, 163, 74, .20) !important;
}

.cape-mini {
    perspective: none;
}

.cape-mini-model {
    --depth: 7px;
    position: relative;
    width: 104px;
    height: 166px;
    border-radius: 0;
    transform-style: preserve-3d;
    transform: none;
    transition: transform .25s ease, filter .25s ease;
    filter: drop-shadow(0 12px 16px rgba(18, 40, 84, .22));
    overflow: visible;
    user-select: none;
}

.group:hover .cape-mini-model:not(.is-cape-three-active):not(.is-cape-rendered) {
    transform: translateY(-4px);
    filter: drop-shadow(0 18px 24px rgba(18, 40, 84, .30));
}

.has-js .group:hover .cape-mini-model,
.group:hover .cape-mini-model.is-cape-three-active,
.group:hover .cape-mini-model.is-cape-rendered {
    transform: none;
    filter: drop-shadow(0 12px 16px rgba(18, 40, 84, .22));
}

.cape-mini-model canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}
