.header-middle {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
}

#alert-cart-success, #alert-wishlist-success {
    position: fixed; /* Posizione fissa rispetto alla viewport */
    bottom: 20px;   /* Distanza dal fondo */
    right: 20px;    /* Distanza dalla destra */
    display: none;  /* Inizialmente nascosto */
    z-index: 9999;  /* Alto z-index per sovrapporsi agli altri elementi */
    width: auto;    /* Larghezza automatica in base al contenuto */
}

.disabled {
    border-color: #eee;
    background-color: #eee;
    color: #666;
    cursor: not-allowed;
}

.product-name {
    white-space: normal!important;
}


.d-mobile-only {
    display: none;
}

.d-desktop-only {
    display: block;
}

@media (max-width: 992px) {
    .d-mobile-only {
        display: block;
    }

    .d-desktop-only {
        display: none;
    }
}

/* Stili di base per la modale */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    width: 80%;
    max-width: 1000px;
    top: 50%;
    transform: translateY(-50%);
}
span.closeProdModal {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 36px;
    cursor: pointer;
}
.modal-footer {
    text-align: right;
}

.btn-danger-custom {
    color: #dc3545!important; /* Rosso per il testo */
    border: 2px solid #dc3545!important; /* Rosso per il bordo */
    background-color: transparent; /* Sfondo trasparente */
    padding: 10px 20px; /* Spaziatura interna */
    font-weight: bold; /* Testo in grassetto */
    border-radius: 0; /* Bordo arrotondato */
    display: inline-flex;
    align-items: center;
}

.btn-danger-custom:hover {
    background-color: #dc3545!important;; /* Sfondo rosso al passaggio del mouse */
    border: 2px solid #b91913!important; /* Rosso per il bordo */
    color: white!important; /* Colore del testo bianco */
}

.btn-xs-custom {
    font-size: 1rem; /* Dimensione del font più piccola */
    padding: 0.8rem 0.8rem; /* Padding ridotto per adattarsi al formato più piccolo */
}

.text-danger-custom {
    color: #dc3545!important; /* Colore rosso per il testo */
}

.text-danger-custom:hover {
    color: #b52a3a!important; /* Colore leggermente più scuro al passaggio del mouse */
}

.active-link {
    font-weight: bold;
}



.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    color: #fff;
    width: 95%;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-secondary {
    background-color: #6c757d;
}




.lw-ac-list {

    display: none;
    z-index: 99999;
    position: absolute;
    top: 0;
    background-color: white;
    max-height: 600px;
    width: 110%;
    overflow-y: auto;

    -webkit-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 15px rgba(0,0,0,0.1);


}

.lw-ac-list > p {

    padding: 15px 15px 15px 20px;
    margin: 0!important;

}

.lw-ac-list > p:hover {

    background-color: #f6f7f8;
    cursor: pointer;

}

.lw-ac-list > p[disabled] {

    color: #aaa;
    font-weight: 300;
    cursor: no-drop;

}

.lw-ac-list > p[disabled]:hover {

    color: #aaa;
    background: #fff;
    font-weight: 300;
    cursor: no-drop;

}

