
#tablaProductos{
    min-width: 720px;
    margin-bottom: 0;
}
.tablaProductos__wrapper{
    border: 1px solid rgba(56, 56, 56, 0.35);
    border-top: 3px solid #B22B3E;
    background-color: #B1B3B5;
}
.tablaProductos__toolbar{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.tablaProductos__toolbarTitulo{
    margin: 0;
    color: #383838;
    font-family: 'Roboto-Medium';
    font-size: 26px;
    font-weight: 500;
}
.tablaProductos__toolbarCuenta{
    padding: 0.3rem 0.7rem;
    color: #383838;
    font-family: 'Roboto-Regular';
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(56, 56, 56, 0.45);
}
#tablaProductos th{
    color: #383838;
    font-family:'Roboto-Regular';
    font-size:15px;
    font-weight:700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background-color: #A6A8AA !important;
    border-bottom: 1px solid #383838;
    padding: 1rem 0.75rem;
    text-align: center;
    vertical-align: middle;
}
#tablaProductos .tablaProductos__thDetalle{
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
}
#tablaProductos tr td{
    color: #151515;
    font-family: 'Roboto-Regular';
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    background-color: #B1B3B5 !important;
    border-bottom: 1px solid #383838;
    padding: 1rem 0.75rem;
    text-align: center;
    vertical-align: middle;
}
#tablaProductos tbody tr:last-child td{
    border-bottom: 0;
}
#tablaProductos tbody tr{
    transition: background-color 160ms ease;
}
#tablaProductos tbody tr:hover td{
    background-color: #A9ABAD !important;
}
.tablaProductos__foto{
    width: 150px;
}
.tablaProductos__imagen{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}
.tablaProductos__imagen img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tablaProductos__codigo{
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.tablaProductos__descripcion{
    max-width: 420px;
}
.tablaProductos__packaging{
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.tablaProductos__cantidad{
    width: 150px;
}
.tablaProductos__acciones{
    width: 76px;
}
#tablaProductos .tablaProductos__vacio td{
    padding: 3rem 1rem;
    color: #383838;
    font-size: 18px;
    border-bottom: 0;
}
#tablaProductos .tablaProductos__vacio a{
    color: #B22B3E;
    font-weight: 700;
    text-decoration: none;
}
#tablaProductos .tablaProductos__vacio a:hover{
    text-decoration: underline;
}
.inputCantCarrito{
    width: 110px;
    height: 44px;
    margin: 0 auto;
    padding: 0.25rem 0.5rem;
    background-color: #FFFFFF;
    color: #151515;
    font-family: 'Roboto-Regular';
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border: 1px solid #383838;
    border-radius: 0;
    box-shadow: none;
}
.inputCantCarrito:focus{
    background-color: #FFFFFF;
    color: #151515;
    border-color: #B22B3E;
    box-shadow: 0 0 0 0.18rem rgba(178, 43, 62, 0.22);
}
@media (max-width: 767.98px){
    .tablaProductos__toolbar{
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .tablaProductos__toolbarTitulo{
        font-size: 22px;
    }
    .tablaProductos__toolbarCuenta{
        padding: 0.25rem 0.55rem;
        font-size: 12px;
    }
    .tablaProductos__wrapper{
        overflow: visible !important;
        border: 0;
        border-top: 0;
        background-color: transparent;
    }
    #tablaProductos{
        display: block;
        min-width: 0;
        width: 100%;
    }
    #tablaProductos thead{
        display: none;
    }
    #tablaProductos tbody{
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    #tablaProductos tbody tr{
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr) 40px;
        grid-template-areas:
            "foto codigo acciones"
            "foto desc desc"
            "foto pack pack"
            "foto cant cant";
        column-gap: 0.8rem;
        row-gap: 0.35rem;
        padding: 1rem 0.85rem;
        background-color: #B1B3B5;
        border: 1px solid rgba(56, 56, 56, 0.35);
        border-left: 3px solid #B22B3E;
    }
    #tablaProductos tbody tr:hover td{
        background-color: transparent !important;
    }
    #tablaProductos tr td{
        display: block;
        width: auto;
        padding: 0;
        background-color: transparent !important;
        border: 0;
        text-align: left;
    }
    .tablaProductos__foto{
        grid-area: foto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tablaProductos__imagen{
        width: 88px;
        height: 88px;
        margin: 0;
    }
    .tablaProductos__codigo{
        grid-area: codigo;
        align-self: center;
        font-size: 15px;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .tablaProductos__descripcion{
        grid-area: desc;
        max-width: none;
        font-size: 14px;
        line-height: 1.35;
    }
    .tablaProductos__packaging{
        grid-area: pack;
        color: #4A4A4A;
        font-size: 13px;
    }
    .tablaProductos__packaging::before{
        content: "Packaging: ";
        font-weight: 400;
    }
    .tablaProductos__cantidad{
        grid-area: cant;
        margin-top: 0.3rem;
    }
    .tablaProductos__cantidad::before{
        content: "Cantidad de bultos";
        display: block;
        margin-bottom: 0.3rem;
        color: #4A4A4A;
        font-size: 12px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
    .tablaProductos__acciones{
        grid-area: acciones;
        align-self: start;
        justify-self: end;
        width: auto;
    }
    .borrar-producto{
        width: 40px;
        height: 40px;
    }
    .inputCantCarrito{
        width: 96px;
        height: 40px;
        margin: 0;
        font-size: 15px;
    }
    #tablaProductos tbody tr.tablaProductos__vacio{
        display: block;
        padding: 2rem 1rem;
        border-left: 1px solid rgba(56, 56, 56, 0.35);
        text-align: center;
    }
    #tablaProductos .tablaProductos__vacio td{
        display: block;
        padding: 0;
        font-size: 16px;
        text-align: center;
    }
}
@media (min-width: 768px) and (max-width: 991.98px){
    #tablaProductos{
        min-width: 0;
        width: 100%;
    }
    #tablaProductos th,
    #tablaProductos tr td{
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .tablaProductos__foto{
        width: 112px;
    }
    .tablaProductos__imagen{
        width: 88px;
        height: 88px;
    }
    .tablaProductos__descripcion{
        max-width: none;
    }
    .tablaProductos__cantidad{
        width: 116px;
    }
    .tablaProductos__acciones{
        width: 60px;
    }
}
.btnAgregar{
    color: white;
    font-family:'Roboto-Regular';
    font-size:16px;
    font-weight:400;
    background-color: #008037;
    border-radius: 0px;
}
.btnAgregar:hover{
    background-color: #008037;
    color: white;
}
.borrar-producto{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #B22B3E;
    font-family:'Roboto-Regular';
    font-size:16px;
    font-weight:400;
    background-color: transparent;
    border: 1px solid #B22B3E;
    border-radius: 0px;
    transition: background-color 160ms ease, color 160ms ease;
}
.borrar-producto:hover,
.borrar-producto:focus-visible{
    background-color: #B22B3E;
    color: white;
    border: 1px solid #B22B3E;
}
.borrar-producto:focus-visible{
    outline: 2px solid #383838;
    outline-offset: 2px;
}
.cardInfo{
    border: 1px solid #383838;
    border-radius: 0px;
    background-color: #B1B3B5;
}
.cardInfo .card-header{
    font-family:'Roboto-Regular';
    font-size:22px;
    font-weight:600;
    background-color: #B1B3B5;
}
.cardInfo .card-body{
    font-family:'Roboto-Regular';
    font-size:16px;
    font-weight:400;
    color: #151515;
    background-color: #B1B3B5;
}
.form__textarea--placeholder{
    color: #383838;
    font-size: 14px;
    font-family: 'Roboto-Regular';
}
.inputCant{
    background-color: #B1B3B5;
    color: #383838;
    border: 1px solid #383838;
}
.form-check-input:checked {
    background-color: #008037;
    border-color: #008037; /* Optional for a red border */
  }
#btnCompra{
    width: 232px;
    height: 48px;
    padding: 0 2rem;
    color: white;
    font-size: 16px;
    font-family: 'Roboto-Regular';
    font-weight: 400;
    text-transform: capitalize;
    background-color: #B22B3E;
    border: 1px solid #B22B3E;
    border-radius: 0px;
    transition: background-color 160ms ease, color 160ms ease;
}
#btnCompra:hover{
    color: white;
    background-color: #8E2231;
}
#btnCompra:focus-visible{
    outline: 2px solid #383838;
    outline-offset: 2px;
}
#btnCompra:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}
#modalCompra .modal-body h5{
    font-size: 35px;
    font-family: 'Roboto-Regular';
    font-weight: 400;
    color: #B22B3E;
   
}
#modalCompra .modal-body p{
    font-size: 18px;
    font-family: 'Roboto-Regular';
    font-weight: 400;
    color: black;
   
}
.form__label{
    display: block;
    margin-bottom: 0.4rem;
    font-family: 'Roboto-Regular';
    color: #383838;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.form__title{
    margin: 0 0 0.5rem;
    font-family: 'Roboto-Medium';
    color: #383838;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.25;
}
.formCarrito{
    margin-top: 2.5rem;
    padding: 1.75rem 1.5rem;
    background-color: #B1B3B5;
    border: 1px solid rgba(56, 56, 56, 0.35);
    border-top: 3px solid #B22B3E;
}
.formCarrito .form-control{
    height: 48px;
    padding: 0.6rem 0.85rem;
    background-color: #FFFFFF;
    color: #151515;
    font-family: 'Roboto-Regular';
    font-size: 16px;
    border: 1px solid #383838;
    border-radius: 0;
    box-shadow: none;
}
.formCarrito textarea.form-control{
    height: auto;
    min-height: 132px;
    resize: vertical;
}
.formCarrito .form-control:focus{
    background-color: #FFFFFF;
    color: #151515;
    border-color: #B22B3E;
    box-shadow: 0 0 0 0.18rem rgba(178, 43, 62, 0.22);
}
.formCarrito .form-control::placeholder{
    color: #767676;
}
.formCarrito__acciones{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}
.formCarrito__nota{
    color: #383838;
    font-family: 'Roboto-Regular';
    font-size: 15px;
}
@media (max-width: 575.98px){
    .formCarrito{
        padding: 1.25rem 1rem;
    }
    .form__title{
        font-size: 22px;
    }
    .formCarrito__acciones{
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 0.75rem;
    }
    .formCarrito__nota{
        text-align: center;
    }
    #btnCompra{
        width: 100%;
    }
}