/* =====================================
   POS UI OVERRIDE (Óptica Grisol)
===================================== */

/* CONTENEDOR POS */
.pos-container {
    padding: 10px;
}

/* PRODUCTOS */
.pos-product-card {
    border-radius: 16px;
    transition: 0.2s ease;
}

.pos-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* BOTÓN AGREGAR */
.pos-btn-add {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    padding: 8px;
}

.pos-btn-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13,110,253,0.3);
}

/* CARRITO */
.pos-cart-item {
    border-radius: 14px;
    border: 1px solid #eee;
    background: #fff;
    padding: 10px;
}

/* INPUTS */
.pos-input {
    border-radius: 20px;
    text-align: center;
}

/* TOTAL */
.pos-total {
    font-size: 22px;
    font-weight: bold;
    color: #0d6efd;
}

/* BOTÓN FINALIZAR */
.pos-btn-finalizar {
    border-radius: 30px;
    font-weight: bold;
    padding: 12px;
}

/* HEADER ACCIONES */
.pos-action-btn {
    background: #ffc107;
    border-radius: 10px;
    padding: 6px 12px;
    font-weight: 600;
}
/* ================= BOTÓN AGREGAR ================= */

.btn-agregar {
    background: linear-gradient(135deg, #0d6efd, #0056d2);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-agregar:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ================= PRODUCTOS ================= */

.producto-card {
    border-radius: 15px;
    transition: all 0.2s ease;
}

.producto-card:hover {
    transform: translateY(-5px);
}

/* ================= CARRITO ================= */

.cart-item-modern {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}

/* DELETE BUTTON */

.btn-delete {
    background: #f8d7da;
    border: none;
    border-radius: 8px;
    padding: 5px 8px;
}

.btn-delete:hover {
    background: #dc3545;
    color: white;
}

/* TOTAL */

.item-total {
    font-weight: bold;
    min-width: 80px;
    text-align: right;
}

/* PRECIO */

.precio-producto {
    font-weight: bold;
    color: #0d6efd;
}

/*receta*/
@media print {
    .btn,
    .modal-header,
    .modal-footer {
        display: none !important;
    }

    body * {
        visibility: hidden;
    }

    #contenedorReceta, #contenedorReceta * {
        visibility: visible;
    }

    #contenedorReceta {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

}