/* ---------------------- ADHESIVAGE OPTION SWITCH ---------------------- */

/* Switch pour produits simples et variables podologie */
.adhesivage-switch {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

.adhesivage-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.adhesivage-slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 26px;
    transition: background-color 0.3s ease-in-out;
}

.adhesivage-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.adhesivage-option{
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.adhesivage-option label{
    width: fit-content;
}

.adhesivage-switch input[type="checkbox"]:checked ~ .adhesivage-slider {
    background-color: #00616B;
}

.adhesivage-switch input[type="checkbox"]:checked ~ .adhesivage-slider::before {
    transform: translateX(24px);
}

.adhesivage-label {
    font-size: 1rem;
    line-height: 1.2;
}

.adhesivage-price {
    color: #00616B;
    font-weight: 600;
}

/* Switch pour tableau variations Orthopédie */
.product-variations table .adhesivage-col {
    text-align: center;
}

.product-variations table .adhesivage-col .tooltip {
    background: url('../img/icon/icon-tooltip-white.svg') no-repeat center/contain;
    bottom: .2rem;
}

.adhesivage-switch-table {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.adhesivage-switch-table input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.adhesivage-slider-table {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    transition: background-color 0.3s ease-in-out;
}

.adhesivage-slider-table::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.adhesivage-switch-table input[type="checkbox"]:checked ~ .adhesivage-slider-table {
    background-color: #00616B;
}

.adhesivage-switch-table input[type="checkbox"]:checked ~ .adhesivage-slider-table::before {
    transform: translateX(20px);
}
