.hos-select-VAT{
    border: 1px solid #B9B9B9;
    border-radius: 10px;
    height: 35px;
    padding: 5px;
    background-image: none;
}

.products-grid .product-add-cart{
    margin: 0px!important;
}

.hos-vat-container{
    padding-left: 0px;
    padding-right: 0px;
}

.hos-addtocart-container{
    padding-right: 0px;
    padding-left: 0px;
}

.hos-addtocart-container .add-to-cart{
    width: 145px;
}

@media(max-width: 767px) {
    .hos-addtocart-container .add-to-cart{
        width: 130px;
    }
}



.hos-none{
    display: none;
}

.product-quantity .add-to-cart:disabled{
    opacity: 0.6!important;
}

.hos-vat-product-container {
    background: #F4F6F8;
    padding-left: 21px;
    padding-top: 14px;
    padding-right: 21px;
    padding-bottom: 14px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.hos-vat-product-title{
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
    color: #282E33;
}

.hos-vat-product-desc{
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
    color: #282E33;
}

.hos-vat-product-container .hos-select-VAT{
    width: 100%;
    margin: 10px 0;
}

@media all and (max-width: 767px) {
    .hos-vat-product-container{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hos-vat-product-container .hos-select-VAT {
        width: 70%;
        margin: 0;
    }

    #product .product-add-to-cart.js-product-add-to-cart {
        border-radius: 20px 20px 1px 1px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }

    .hos-vat-container {
        background-color: #fff;
    }

    .hos-vat-container .hos-vat-product-title {
        font-size: 10px;
    }

    .hos-vat-container .hos_vat_div {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-top: 10px;
        gap: 5px;
    }

    .hos-vat-container .hos_current_price_div {
        padding-top: 10px;
    }
}

/* ----- Card prodotto staging (Bootstrap 5) -----
   Selettore IVA (col-6) e blocco qty+bottone (col-6) AFFIANCATI. La sovrapposizione
   nasceva dal bottone a width:145px fisso che debordava dalla col-6 nella card stretta.
   Azzeriamo la gutter (in BS5 la row tiene margine negativo) e rendiamo qty+bottone
   restringibili, cosi' restano dentro la propria col-6 senza invadere il selettore.
   Ancorato a .product-add-cart -> vale su categoria, home, carosello Elementor. */
.product-add-cart {
    --bs-gutter-x: 0;
}
.product-add-cart .hos-vat-container .hos-select-VAT {
    width: 100%;
}
.product-add-cart .hos-addtocart-container form {
    float: none;
    width: 100%;
}
.product-add-cart .input-group-add-cart {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    gap: 4px;
}
.product-add-cart .input-qty {
    flex: 0 0 48px;
    width: 48px;
    min-width: 0;
    padding-left: 4px;
    padding-right: 4px;
}
.product-add-cart .add-to-cart {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
    padding-left: 6px;
    padding-right: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 5px tra selettore IVA e blocco qty+bottone: 2.5px di padding sulle facce contigue
   dei due col-6. Specificita' (0,3,0) per battere la regola card che azzera i padding
   di .row>*. I col restano 50%/50% -> nessun overflow, stessa riga. */
.product-miniature-layout-2 .product-add-cart .hos-vat-container {
    padding-right: 2.5px !important;
}
.product-miniature-layout-2 .product-add-cart .hos-addtocart-container {
    padding-left: 2.5px !important;
}

/* BS5 rende grigio/trasparente il .btn:disabled; il selettore IVA "Selezione IVA"
   resta leggibile in arancione. */
.btn-product-list:disabled,
.btn-product-list.disabled {
    color: #FFFFFF;
    background-color: #F28419;
    border-color: #F28419;
    opacity: 0.65;
}
