/* ========================================
   PREMIUM PRODUCT CARDS - TABLE STYLE
   ======================================== */

/* Product Row */
.product-row {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--stock-border);
}

.product-row:hover {
    background: rgba(197, 160, 89, 0.03);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Reference Badge */
.product-ref-cell {
    padding: 1rem 0.75rem;
}

.ref-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--stock-bg);
    border: 1px solid var(--stock-border);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--stock-text-secondary);
    letter-spacing: 0.05em;
}

/* Product Info Card */
.product-info-cell {
    padding: 0.75rem;
}

.product-card-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-image-wrapper {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--stock-bg);
    border: 1px solid var(--stock-border);
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-row:hover .product-thumbnail {
    transform: scale(1.1);
}

.product-image-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--stock-bg);
    border: 1px solid var(--stock-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stock-text-secondary);
}

.product-image-placeholder svg {
    width: 24px;
    height: 24px;
}

.product-details {
    flex: 1;
    min-width: 0;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--stock-text);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-barcode {
    font-size: 0.75rem;
    color: var(--stock-text-secondary);
    font-family: 'Courier New', monospace;
}

/* Category Badge */
.category-cell {
    padding: 1rem 0.75rem;
}

.category-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--luxury-gold-glow);
    color: var(--luxury-gold);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

/* Stock Info */
.stock-cell {
    padding: 1rem 0.75rem;
}

.stock-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.stock-total {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--stock-text);
    font-variant-numeric: tabular-nums;
}

.stock-unit {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--stock-text-secondary);
    margin-left: 0.25rem;
}

/* Price Info */
.price-cell {
    padding: 1rem 0.75rem;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-main {
    font-size: 1rem;
    font-weight: 700;
    color: var(--stock-text);
}

.price-wholesale {
    font-size: 0.75rem;
    color: var(--stock-text-secondary);
}

/* Action Buttons */
.actions-cell {
    padding: 1rem 0.75rem;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--stock-border);
    background: var(--stock-card-bg);
    color: var(--stock-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn-print:hover {
    background: var(--premium-info);
    color: white;
    border-color: var(--premium-info);
}

.action-btn-transfer:hover {
    background: var(--luxury-gold);
    color: white;
    border-color: var(--luxury-gold);
}

.action-btn-edit:hover {
    background: var(--premium-success);
    color: white;
    border-color: var(--premium-success);
}

.action-btn-delete:hover {
    background: var(--premium-danger);
    color: white;
    border-color: var(--premium-danger);
}

/* Responsive */
@media (max-width: 768px) {
    .product-card-inline {
        gap: 0.75rem;
    }

    .product-image-wrapper,
    .product-image-placeholder {
        width: 48px;
        height: 48px;
    }

    .action-buttons {
        flex-wrap: wrap;
    }
}