/* Contenitore principale degli swatch */
.etvps-swatches-container {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

/* Contenitore per un singolo attributo (es. Colore o Taglia) */
.etvps-attribute-selector {
    margin-bottom: 15px;
}

.etvps-attribute-selector:last-child {
    margin-bottom: 0;
}

/* Etichetta dell'attributo (es. "Colore:") */
.etvps-attribute-label {
    font-size: 16px;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.etvps-selected-term {
    font-weight: normal;
}

/* Contenitore che raggruppa gli swatch */
.etvps-swatches-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Stile base per tutti gli swatch */
.etvps-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
    font-weight: bold;
    user-select: none; /* Impedisce la selezione del testo */
}

/* Stile al passaggio del mouse */
.etvps-swatch:not(.active):not(.disabled):hover {
    border-color: #333;
    transform: scale(1.05);
}

/* Stile per lo swatch attualmente selezionato */
.etvps-swatch.active {
    border-color: #0073e6;
    background-color: #f0f8ff;
    cursor: default;
    box-shadow: 0 0 5px rgba(0, 115, 230, 0.5);
}

/* Stile per swatch non disponibili (prodotto non esistente) */
.etvps-swatch.disabled {
    cursor: not-allowed;
    opacity: 0.4;
    background-color: #f0f0f0;
    text-decoration: line-through;
}

/* Stile specifico per i selettori di colore (se vuoi nascondere il testo) */
.etvps-color-swatch {
    /* Esempio per nascondere il testo e usare solo il colore, se preferisci */
    /* text-indent: -9999px; */
}