/* Product Card */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

/* Card Image */
.product-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.03);
}

.product-card__badge {
    position: absolute;
    top: var(--gap-sm);
    left: var(--gap-sm);
    z-index: 2;
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85));
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--gap-md);
    gap: var(--gap-sm);
}

.product-card:hover .product-card__overlay { opacity: 1; }

.product-card__overlay .btn {
    font-size: var(--fs-xs);
    padding: 5px 10px;
    backdrop-filter: blur(4px);
}

/* Card Content */
.product-card__content {
    padding: var(--gap-sm) var(--gap-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__category {
    font-size: var(--fs-xs);
    color: var(--neon-green);
    font-weight: var(--fw-medium);
    margin-bottom: var(--gap-xs);
    font-family: var(--font-mono);
}

.product-card__title {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--gap-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--neon-green); }

.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-xs);
    margin-bottom: var(--gap-sm);
}

.product-card__meta .badge {
    font-size: 10px;
    padding: 1px 6px;
}

/* Card Footer */
.product-card__footer {
    padding: var(--gap-sm) var(--gap-md);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-card__price {
    font-family: var(--font-mono);
    font-weight: var(--fw-bold);
}

.product-card__price .price-current,
.product-card__price .price-sale {
    color: var(--neon-green);
    font-size: var(--fs-md);
}

.product-card__price .price-original {
    color: var(--price-old);
    font-size: var(--fs-xs);
    text-decoration: line-through;
    margin-left: var(--gap-xs);
}

.product-card__stats {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.product-card__stats span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.product-card__stats .fa-star {
    color: var(--neon-yellow);
    font-size: 10px;
}
.product-card__stats .fa-download { font-size: 10px; }

/* Horizontal Card */
.product-card-h {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.product-card-h:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

.product-card-h__image {
    width: 100px;
    min-height: 75px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-card-h__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-h__content {
    flex: 1;
    padding: var(--gap-sm);
    min-width: 0;
}

.product-card-h__title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.product-card-h__title a { color: inherit; }
.product-card-h__title a:hover { color: var(--neon-green); }

.product-card-h__price {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    color: var(--neon-green);
    font-weight: var(--fw-semibold);
}

/* Product Card Placeholder */
.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: var(--fs-3xl);
}
