.product-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-2px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 8rem;
    overflow: hidden;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius) var(--radius) 0 0;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-200%) skewX(12deg);
    pointer-events: none;
    z-index: 10;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image::before {
    animation: shine 2s ease-in-out infinite;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 0.75rem;
}

.product-name {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: hsl(var(--primary));
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-stars {
    display: flex;
    gap: 0.125rem;
}

.star {
    width: 0.75rem;
    height: 0.75rem;
}

.star-filled {
    color: #fbbf24;
    fill: currentColor;
}

.star-empty {
    color: hsl(var(--muted-foreground));
}

.rating-value {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-left: 0.25rem;
}

.product-description {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-details {
    margin-bottom: 0.75rem;
}

.product-detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-detail-label {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    min-width: 2.5rem;
}

.product-sizes {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow: hidden;
}

.size-badge, .badge-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    padding: 0.125rem 0.25rem;
    border-radius: calc(var(--radius) - 4px);
    font-size: 0.75rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.size-badge.selected {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.badge-outline {
    border: 1px solid hsl(var(--border));
    background: transparent;
    padding: 0.125rem 0.25rem;
    border-radius: calc(var(--radius) - 4px);
    font-size: 0.75rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.product-pricing {
    margin-bottom: 0.75rem;
}

.pricing-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
}

.price-mrp {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    text-decoration: line-through;
    flex-shrink: 0;
}

.price-selling {
    font-size: 0.75rem;
    font-weight: 700;
    color: hsl(var(--primary));
    flex-shrink: 0;
}

.price-filter {
    font-size: 0.625rem;
    font-weight: 700;
    color: hsl(var(--accent));
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .price-filter {
        font-size: 0.75rem;
    }
}

.stock-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: calc(var(--radius) - 4px);
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.in-stock {
    background: hsl(var(--success) / 0.1);
    color: hsl(var(--success));
}

.status-badge.low-stock {
    background: hsl(var(--warning) / 0.1);
    color: hsl(var(--warning));
}

.status-badge.out-of-stock {
    background: hsl(var(--destructive) / 0.1);
    color: hsl(var(--destructive));
}

.stock-info {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    font-size: 0.75rem;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.product-btn-edit {
    background: var(--gradient-primary);
    color: white;
}

.product-btn-edit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.product-btn-delete {
    background: linear-gradient(135deg, hsl(var(--destructive)), hsl(var(--destructive) / 0.9));
    color: white;
}

.product-btn-delete:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}