/* =========================
   Muebles Lounge JN
   Cotización
========================= */

.mljn-cotizacion{
    max-width:1200px;
    margin:30px auto;
    padding:25px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 4px 20px rgba(0,0,0,.08);
}

.mljn-cotizacion h2{
    margin:0 0 25px;
    font-size:28px;
    font-weight:700;
    text-align:center;
}

/* =========================
   Datos cliente
========================= */

.mljn-cotizacion__cliente{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.mljn-cotizacion__cliente label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
    font-size:14px;
}

.mljn-cotizacion__cliente input{
    width:100%;
    padding:12px;
    border:1px solid #dcdcdc;
    border-radius:8px;
    font-size:14px;
    box-sizing:border-box;
}

.mljn-cotizacion__cliente input:focus{
    outline:none;
    border-color:#25D366;
}

/* =========================
   Tabla productos
========================= */

.mljn-cotizacion__productos{
    overflow-x:auto;
    margin-bottom:25px;
}

.mljn-cotizacion__tabla{
    width:100%;
    border-collapse:collapse;
}

.mljn-cotizacion__tabla th{
    background:#f5f5f5;
    padding:12px;
    text-align:center;
    font-size:14px;
    font-weight:700;
    border:1px solid #e5e5e5;
}

.mljn-cotizacion__tabla td{
    padding:10px;
    border:1px solid #e5e5e5;
}

.mljn-cotizacion__tabla select,
.mljn-cotizacion__tabla input{
    width:100%;
    padding:10px;
    border:1px solid #dcdcdc;
    border-radius:6px;
    box-sizing:border-box;
}

.mljn-cotizacion__tabla input[type="number"]{
    text-align:center;
}

/* =========================
   Botones
========================= */

.mljn-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 20px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.mljn-btn-agregar{
    background:#25D366;
    color:#fff;
}

.mljn-btn-agregar:hover{
    transform:translateY(-2px);
}

.mljn-btn-pdf{
    background:#111;
    color:#fff;
}

.mljn-btn-pdf:hover{
    transform:translateY(-2px);
}

.mljn-btn-eliminar{
    background:#dc3545;
    color:#fff;
    padding:8px 12px;
}

/* =========================
   Totales
========================= */

.mljn-cotizacion__totales{
    max-width:400px;
    margin-left:auto;
    margin-top:30px;
}

.mljn-cotizacion__fila-total{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.mljn-cotizacion__fila-total strong{
    font-size:16px;
}

.mljn-cotizacion__total-final{
    font-size:22px;
    font-weight:700;
    color:#25D366;
}

/* =========================
   Acciones
========================= */

.mljn-cotizacion__acciones{
    margin-top:30px;
    display:flex;
    gap:15px;
    justify-content:flex-end;
    flex-wrap:wrap;
}

/* =========================
   Responsive
========================= */

@media (max-width:768px){

    .mljn-cotizacion{
        padding:15px;
    }

    .mljn-cotizacion h2{
        font-size:22px;
    }

    .mljn-cotizacion__tabla th,
    .mljn-cotizacion__tabla td{
        padding:8px;
        font-size:13px;
    }

    .mljn-cotizacion__totales{
        max-width:100%;
    }

}
        