.custom-attribute-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.custom-attribute-radio label {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #dadada;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    -webkit-border-radius:;
    -moz-border-radius:;
    -ms-border-radius:;
    -o-border-radius:;
}

.custom-attribute-radio label input {
    display: none;
}

.custom-attribute-radio label:hover,
.custom-attribute-radio label input:checked + span {
    box-shadow: 0 0 0 1px #dadada, 0 0 0 2px #fff inset;
}

.custom-attribute-radio label .option-tooltip {
    position: relative;
    display: none; /* Initially hide the tooltip */
    width: 100px;
    background-color: #000 !important;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    text-align: center;
    border-radius: 5px;
    padding: 8px;
    line-height: 1.4;
    z-index: 1; /* Ensure tooltip is above other elements */
}

.custom-attribute-radio label .option-tooltip::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    border-width: 10px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
    -webkit-transform: translateX(-50%) rotate(0deg);
    -moz-transform: translateX(-50%) rotate(0deg);
    -ms-transform: translateX(-50%) rotate(0deg);
    -o-transform: translateX(-50%) rotate(0deg);
}

.custom-attribute-radio label {
    display: inline-block;
    padding: 15px;
    cursor: pointer;
    box-shadow: 0 0 0 2px #fff inset;

}

.custom-attribute-radio label.selected {
    border: 2px solid #333;
}


.label {
    position: relative;
   
}
.valik{
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4em;
    position: absolute;
    margin-top: -10px;
    margin-left: -14px;
    width: 100%;
    text-align: center;
}


.label:hover .selected-option-name {
    display: block;
    position: absolute;
    top: -20px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

.custom-attribute-radio label .option-tooltip {
    display: none;
    position: absolute;
    top: -40px; /* Adjust tooltip position as needed */
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.custom-attribute-radio label:hover .option-tooltip {
    display: block;
}
.woocommerce-variation-description{
    border-top: 1px solid rgb(209, 218, 229);
    padding-top: 20px;
}