#noProdCarr{
    display:none;
}

.mainCont{
    display:flex;
    justify-content: space-between;
    align-items: self-start;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 20px;
    margin-bottom:5%;
}
.btnAcq{
    border:none;
    border-radius:var(--bs-border-radius-xl);
    padding:10px 50px 10px 50px;
    background:var(--first-color);
    color:white;
    width:100%;
    text-transform: uppercase;
    transition:all 1s ease-in-out;
}
.btnAcq:hover{
    background-color:var(--bs-success);
}

@media(min-width:992px){
    .prodotti{
        width:60%;
    }
    .acquista{
        width:35%;
    }
}
@media(max-width:992px){
    .prodotti{
        width:100%;
    }
    .acquista{
        width:100%;
    }
}
.pagamenti{
    border-radius:var(--bs-border-radius-xl);
    padding:2%;
    flex-direction: row;
}
.corriere, .sconto, .totale, .pagamenti{
    border-radius:var(--bs-border-radius-xl);
    border: 1px solid var(--bs-border-color);
    background:var(--bs-body-bg);
}
.loghiPagamenti img{
    width:50px;
    height:auto;
    object-fit: cover;
}
.loghiPagamenti{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:5px;
    flex-wrap:wrap;
}
#codErr, #codSucc,#rSconto{
    display:none;
}

.contQuant{
    display: flex;
    flex-direction:row;
    justify-content: space-between;
    gap:5px;
    align-items: center;
}
.contQuant button{
    width:24px;
    height:24px;
    border-radius:100%;
    border:none;
    font-size:12px;
}
#modalBody iframe{
    width:100%;
    min-height:70vh;
    height:100%;
}
/*
.infoProd img{
    width:100px;
    height:100px;
    object-fit: cover;
}



body table{
    background:none !important;
}

 
}

.bollinoSconto{
    padding:5px;
    border-radius:var(--bs-border-radius-xl);
    background:var(--third-color);
    color:white;
}
.prezzoProd{
    font-size:18px;
    font-weight: bold;
    color:var(--second-color);
}

.prodCarr{
    display:flex;
    flex-direction: column;
    border-radius:var(--bs-border-radius-xl);
    padding:2%;
    background:var(--bs-body-bg);
}
.prodottiCarrello{
    display:flex;
    flex-direction: column;
    gap:25px;
}
.rImgName{
    display:flex;
    flex-direction: row;
    flex-wrap:balance;
    gap:15px;
}
.rImgName h3{
    text-wrap: wrap;
}
.prodCarr img{
    width:auto;
    max-height:200px;
    border-radius:25px;
}
.titolo_prezzo{
    width:100%;
    display:flex;
    justify-content: center;
    align-items: space-between;
    flex-direction: column;
    gap:10px;
}
.rControls{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap:10px;
    margin-top:1.5%;
}
.rControls .input-group{
    max-width:200px;
}
.rControls .input-group input{
    text-align:center;
}

#totale{
    color:var(--second-color);
}

.prodCarr {
    display: flex;
    flex-direction: column;
    background: var(--bs-body-bg);
    border-radius: var(--bs-border-radius-xl);
    padding: 2%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    gap: 15px;
}

.rImgName {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.rImgName img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--bs-border-radius-xl);
}

.titolo_prezzo h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.titolo_prezzo .prezzoProd {
    font-size: 1.1rem;
    color: var(--second-color);
    font-weight: 600;
}

.bollinoSconto {
    background: var(--third-color);
    padding: 4px 8px;
    font-size: 0.85rem;
}

.rControls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rControls .input-group {
    flex-shrink: 0;
    max-width: 160px;
}

.rControls i.fa-trash {
    font-size: 1.1rem;
}
*/

.prodottiCarrello {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
  
/*prodotto*/
.prodCarr {
    display: flex;
    flex-direction: column;
    background: var(--bs-body-bg);
    border-radius: var(--bs-border-radius-xl);
    padding: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}
  
.prodCarr:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
  
.prodCarr img {
    width: 100%;
    max-height: 10rem;
    object-fit: cover;
    border-radius: var(--bs-border-radius-xl);
}
  

.prodCarr h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--bs-body-color);
}
  
#prezzo_scontato {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--second-color);
}
  
#iva {
    font-size: 0.9rem;
    color: #666;
}
  
/* Prezzi (vecchio + badge sconto) */
#prezzi_ span.text-muted {
    font-size: 0.9rem;
}
.badge.bg-danger {
    font-size: 0.8rem;
    padding: 0.35em 0.6em;
}
  

.input-group.input-group-sm {
    max-width: 140px;
}
  
.input-group.input-group-sm input {
    text-align: center;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
}
  
.input-group.input-group-sm button {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.rControls .btn-link {
    font-size: 0.9rem;
}


@media (max-width: 767.98px) {
    .prodCarr {
      padding: 1rem;
    }
  
    .prodCarr img {
        max-width: 100%;
        max-height: 10rem;
        object-fit:cover;
    }
  
    .input-group.input-group-sm {
        width: 100%;
    }
  
    .rControls {
        flex-direction: column;
        align-items: stretch;
    }
  
    .rControls .btn-link {
      align-self: flex-end;
    }
}
  

.bollinoSconto {
    background: var(--third-color);
    color: white;
    padding: 4px 8px;
    font-size: 0.85rem;
    border-radius: var(--bs-border-radius-xl);
}

.prezzoProd {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--second-color);
}

/* Pulsante preventivo nel carrello */
#btnPreventivo {
    border-radius: var(--bs-border-radius-xl);
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

#btnPreventivo:hover {
    background-color: var(--bs-secondary);
    color: white;
    border-color: var(--bs-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

#btnPreventivo:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#btnPreventivo i {
    margin-right: 8px;
}