/* MASQUER les inputs radio (cercles vides) */
.product-variants .input-container input.input-color,
.product-variants .input-container input[type="radio"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* STYLISER span.color en cercle */
.product-variants .input-container span.color {
    display: inline-block !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 2px solid #e0e0e0 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
}

/* État sélectionné */
.product-variants .input-container input:checked ~ span.color,
.product-variants .input-container input:checked + span.color {
    border: 3px solid #333 !important;
    box-shadow: 0 0 8px rgba(0,0,0,0.3) !important;
    transform: scale(1.08) !important;
}

/* Survol */
.product-variants .input-container:hover span.color {
    transform: scale(1.1) !important;
    border-color: #666 !important;
}

/* Container */
.product-variants .input-container {
    margin: 0 8px 8px 0 !important;
}

.product-variants ul#group_1 {
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Menu */
.menu-container .container .top-menu li#lnk-vos-chouchous a {
    color: #F470BD;
    text-transform: uppercase;
}


/* CSS PERSONNALISÉ POUR AFFICHAGE ATTRIBUTS BIBS - VERSION CORRIGÉE */
/* CSS BIBS - SANS BORDURE SUR CERCLES */

/* === TITRES DES GROUPES === */
.product-variants .product-variants-item .control-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.product-variants .product-variants-item .control-label::before {
    content: "Choisir ";
}

/* === CERCLES SANS BORDURE === */
.product-variants .color {
    position: relative;
    display: inline-block;
    margin: 8px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none !important; /* PAS DE BORDURE */
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: none !important;
}

/* === AGRANDIR UNIQUEMENT TYPE DE TÉTINE (group_4) === */
#group_4 .color,
#group_4 span.color {
    width: 65px !important;
    height: 65px !important;
    border: none !important; /* PAS DE BORDURE */
    box-shadow: none !important;
}

/* === AFFICHER LE NOM SOUS TYPE DE TÉTINE === */
#group_4 .input-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 15px;
    min-width: 80px;
}

#group_4 .input-container label {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#group_4 .input-container label::after {
    content: attr(aria-label);
    display: block;
    text-align: center;
    font-size: 12px;
    margin-top: 8px;
    color: #666;
    font-weight: normal;
    white-space: nowrap;
}

/* Nom en GRAS quand sélectionné */
#group_4 .input-container:has(input:checked) label::after {
    font-weight: bold;
    color: #000;
}

/* Cacher l'input radio */
.product-variants input[type="radio"] {
    position: absolute;
    opacity: 0;
}

/* === EFFET DE SÉLECTION : ASSOMBRIR L'ICÔNE === */

/* Icône sélectionnée - ASSOMBRIE */
.product-variants .input-container input[type="radio"]:checked + span.color {
    filter: brightness(0.7);
    border: none !important;
    box-shadow: none !important;
}

/* Type de tétine sélectionné - PLUS ASSOMBRI */
#group_4 input[type="radio"]:checked + span.color {
    filter: brightness(0.6) !important;
    border: none !important;
    box-shadow: none !important;
}

/* Couleur sélectionnée - ASSOMBRIE */
.product-variants .input-container input[type="radio"]:checked + span.color.texture {
    filter: brightness(0.7);
    border: none !important;
    box-shadow: none !important;
}

/* Hover sur les cercles - LÉGÈRE OPACITÉ */
.product-variants .color:hover {
    transform: scale(1.05);
    opacity: 0.8;
    border: none !important;
    box-shadow: none !important;
}

/* === BOUTONS TAILLE - FOND BLANC TOUJOURS === */
.product-variants-item:last-child .input-container label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border: 2px solid #ccc; /* BORDURE GRISE PAR DÉFAUT */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white !important; /* FOND BLANC TOUJOURS */
    font-weight: normal;
    min-width: 130px;
    text-align: center;
    margin: 5px;
    color: #999; /* TEXTE GRIS CLAIR PAR DÉFAUT */
}

/* Cacher les cercles des boutons Taille */
.product-variants-item:last-child .color {
    display: none;
}

/* Taille sélectionnée - TEXTE ET BORDURE NOIRS, FOND BLANC */
.product-variants-item:last-child input[type="radio"]:checked + label,
.product-variants-item:last-child label:has(input[type="radio"]:checked) {
    border-color: #000 !important; /* BORDURE NOIRE */
    background: white !important; /* FOND BLANC */
    color: #000 !important; /* TEXTE NOIR */
    font-weight: bold;
}

/* Hover Taille - BORDURE NOIRE */
.product-variants-item:last-child label:hover {
    border-color: #000;
    color: #000;
    transform: translateY(-2px);
}

/* Espacement entre groupes */
.product-variants .product-variants-item {
    margin-bottom: 30px;
}

/* Liste des options */
.product-variants ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-variants .input-container {
    display: inline-block;
}

/* Nom sélectionné en bleu dans le titre */
.selected-value {
    font-weight: bold !important;
    color: #00aff0 !important;
    margin-left: 5px;
}