/* =============================================
   POS Verdulería — Productos
   ============================================= */

.productos-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-base);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.productos-toolbar-left {
    display: flex;
    align-items: center;
    gap: var(--space-base);
    flex-wrap: wrap;
    flex: 1;
}

.productos-filters {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Product image upload */
.img-upload-area {
    width: 100%;
    height: 160px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-text-muted);
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.img-upload-area:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(45, 90, 61, 0.03);
}

.img-upload-area img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-upload-area input[type="file"] {
    display: none;
}

.img-upload-icon {
    width: 32px;
    height: 32px;
}

.img-upload-text {
    font-size: var(--font-xs);
}

/* Product table specific */
.product-name-cell {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.product-thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: var(--color-bg);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: var(--font-lg);
}

.product-name-info {
    min-width: 0;
}

.product-name-info strong {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-sm);
    display: block;
}

.product-name-info small {
    font-size: var(--font-xs);
    color: var(--color-text-muted);
}
