.vhpc-product-card {
    background: #060912;
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 0;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vhpc-product-card:hover {
    border-color: rgba(255, 46, 196, 0.58);
    box-shadow: 0 24px 42px -24px rgba(255, 46, 196, 0.45);
    transform: translateY(-8px);
}

.vhpc-spec-strip {
    position: relative;
    z-index: 12;
    display: flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.5rem 2.9rem 0.5rem 0.95rem;
    background: linear-gradient(90deg, #a855f7 0%, #b84df4 52%, #7c3aed 100%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.vhpc-spec-strip span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vhpc-wishlist-slot {
    position: absolute;
    top: 0.35rem;
    right: 0.45rem;
    z-index: 30;
}

.vhpc-heart-placeholder,
.vhpc-wishlist-slot .yith-wcwl-add-to-wishlist a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(11, 15, 26, 0.72);
    color: #fff;
    backdrop-filter: blur(10px);
}

.vhpc-wishlist-slot .yith-wcwl-add-to-wishlist {
    margin: 0;
}

.vhpc-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 8%, rgba(255, 46, 196, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.7));
}

.vhpc-card-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1.6rem;
}

.vhpc-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.55));
    transition: transform 0.6s ease;
}

.vhpc-product-card:hover .vhpc-card-image {
    transform: scale(1.1) rotate(2deg);
}

.vhpc-card-image--clean {
    mix-blend-mode: normal;
}

.vhpc-image-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent 38%),
        #05070d;
}

.vhpc-placeholder-grid {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 46, 196, 0.12) 1px, transparent 1px);
    background-size: 22px 22px;
}

.vhpc-placeholder-mark {
    position: relative;
    color: rgba(255, 255, 255, 0.18);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 900;
}

.vhpc-corner-badge {
    position: absolute;
    z-index: 18;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: calc(100% - 1.4rem);
    padding: 0.38rem 0.65rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(5, 7, 13, 0.72);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.56rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    white-space: nowrap;
}

.vhpc-corner-badge--top-left {
    top: 0.72rem;
    left: 0.72rem;
}

.vhpc-corner-badge--top-right {
    top: 0.72rem;
    right: 0.72rem;
}

.vhpc-corner-badge--bottom-left {
    left: 0.8rem;
    bottom: 0.8rem;
}

.vhpc-corner-badge--in,
.vhpc-corner-badge--new,
.vhpc-corner-badge--featured {
    color: #22c55e;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.24);
}

.vhpc-corner-badge--low,
.vhpc-corner-badge--soon,
.vhpc-corner-badge--limited {
    color: #f97316;
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.28);
}

.vhpc-corner-badge--out {
    color: #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.28);
}

.vhpc-corner-badge--sale {
    color: var(--vh-pink, #ff2ec4);
    box-shadow: 0 0 18px rgba(255, 46, 196, 0.34);
}

.vhpc-card-info {
    padding: 1.05rem;
    background: #080d18;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vhpc-card-title-link {
    display: block;
    min-height: 3.2rem;
    margin-bottom: 0.7rem;
    text-decoration: none;
}

.vhpc-card-title {
    margin: 0;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.18;
    text-transform: uppercase;
    word-break: break-word;
}

.vhpc-card-series {
    display: block;
    margin-top: 0.35rem;
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.72rem;
}

.vhpc-stock-line {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 1.2rem;
    margin-bottom: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.vhpc-stock-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 9px currentColor;
}

.vhpc-stock-line--in {
    color: #22c55e;
}

.vhpc-stock-line--low,
.vhpc-stock-line--soon {
    color: #f97316;
}

.vhpc-stock-line--out {
    color: #ef4444;
}

.vhpc-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    min-height: 1.8rem;
    margin: 0 0 0.9rem;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    text-shadow: none;
}

.vhpc-card-price del,
.vhpc-card-price ins {
    text-decoration-thickness: 2px;
    text-underline-offset: 0.08em;
}

.vhpc-card-price del {
    color: rgba(255, 255, 255, 0.72);
}

.vhpc-card-price ins {
    color: #fff;
    text-decoration: none;
}

.vhpc-card-price .woocommerce-Price-amount {
    white-space: nowrap;
}

.vhpc-currency-symbol {
    margin-left: 0.22rem;
    font-family: Inter, sans-serif;
    font-size: 0.78em;
    font-weight: 900;
}

.vhpc-card-actions,
.vhpc-cart-form {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    min-height: 2.5rem;
}

.vhpc-cart-form {
    width: 100%;
}

.vhpc-qty-control {
    display: grid;
    grid-template-columns: 2rem 2.3rem 2rem;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    background: #0f172a;
}

.vhpc-qty-btn,
.vhpc-qty-control--disabled button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}

.vhpc-qty-input,
.vhpc-qty-control--disabled span {
    width: 100% !important;
    min-width: 0 !important;
    border-width: 0 1px !important;
    border-style: solid !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    background: #080d18 !important;
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.78rem !important;
    text-align: center;
    appearance: textfield;
}

.vhpc-qty-input::-webkit-outer-spin-button,
.vhpc-qty-input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.vhpc-cart-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.5rem;
    border: 0 !important;
    border-radius: 0.25rem !important;
    background: #fff !important;
    color: #05070d !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center;
    text-transform: uppercase !important;
    white-space: nowrap;
}

.vhpc-cart-button:hover {
    background: var(--vh-cyan, #00f3ff) !important;
    box-shadow: 0 0 18px rgba(0, 243, 255, 0.35);
}

.vhpc-cart-button--disabled {
    background: #334155 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

@media (max-width: 420px) {
    .vhpc-card-actions,
    .vhpc-cart-form {
        flex-direction: column;
    }

    .vhpc-qty-control {
        width: 100%;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .vhpc-cart-button {
        width: 100%;
    }
}
