.cmp-add-to-compare {
    padding: 10px 15px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

.cmp-add-to-compare:hover {
    background-color: #006799;
}


.skeleton-loader {
    display: grid;
    gap: 10px;
    padding: 10px;
}

.skeleton-row {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.cmp-table th, .cmp-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.cmp-table th {
    background-color: #f9f9f9;
    font-weight: bold;
}




/* Stile per la modale */
.cmp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Sfondo semitrasparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Assicurati che la modale sia sopra gli altri contenuti */
}

.cmp-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cmp-modal-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.cmp-close-modal {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.cmp-close-modal:hover {
    background-color: #0056b3;
}





/* Esegui un reset per migliorare la visualizzazione */
#descrizione {
    font-family: inherit!important;
    font-size: inherit!important;
    line-height: 1.5!important;
    padding: 0!important;
    margin: 0!important;
}

/* Stili per i titoli */
#descrizione h2, #descrizione h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Stili per i paragrafi */
#descrizione p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Stili per le liste */
#descrizione ul {
    list-style: square;
    margin-left: 1.5rem;
}

#descrizione li {
    margin-bottom: 0.75rem;
}

/* Stili per il testo in grassetto */
#descrizione strong {
    font-weight: bold;
}

/* Ulteriore personalizzazione per migliorare il layout */
#descrizione ul li strong {
    font-weight: normal;  /* Evita di rendere il testo troppo pesante */
}









