.ec-product-selector {
    margin: 20px 0;
}

.ec-product-selector label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

/* Container des swatches */
.ec-color-swatches {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Chaque swatch = colonne (cercle + nom) */
.ec-color-swatch {
    display: flex;                 /* 🔥 colonne propre */
    flex-direction: column;        /* 🔥 cercle en haut, nom en bas */
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    border: none;
    background: none;
    padding: 4px;
    gap: 6px;                      /* 🔥 espace entre cercle et nom */
}

/* Cercle de couleur */
.ec-color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ccc;
}

/* Swatch actif */
.ec-color-swatch.active .ec-color-circle {
    border-color: #000;
}

/* Nom du swatch */
.ec-color-name {
    font-size: 15px;
    text-transform: capitalize !important; /* 🔥 override canvas.css */
    color: #000 !important;                /* 🔥 visible */
    line-height: 1.2;
    text-align: center;
    display: block;
    width: 100%;
}

/* Désactive le carré noir de focus sur les swatchs */
.ec-color-swatch:focus,
.ec-color-swatch:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
