

.placing__checker {
    grid-area: 1/2/2/3;
    width: min-content;
    justify-self: end;
    align-self: start;
    cursor: pointer;
}

.placing__box {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    position: relative;
    background: var(--temno-belyy);
}

.placing__box::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--firmennyy);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s;
}

.placing__radio:checked + .placing__box {
    border: 1.54px solid var(--firmennyy);
}

.placing__radio:checked + .placing__box::after {
    transform: translate(-50%, -50%) scale(1);
}

.placing__radio {
    position: absolute;
    opacity: 0;
}


.placing__checkbox:checked + .placing__checkbox-box {
    background-color: var(--chernyy);
}

.placing__checkbox:checked + .placing__checkbox-box::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 1px;
    width: 4px;
    height: 6px;
    border: solid var(--belyy);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.placing__checkbox-box {
    border: 1.54px solid var(--chernyy);
    border-radius: 4px;
    width: 14px;
    height: 14px;
    position: relative;
}

.placing__checkbox {
    position: absolute;
    opacity: 0;
}

.placing__checkbox-label {
    font-weight: 500;
    font-size: clamp(15px, 13.286px + 0.536vw, 18px);
    line-height: 140%;
    color: var(--chernyy);
}


.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 23px;
}

.switch__checkbox {
    display: none;
}

.switch__slider {
    position: absolute;
    inset: 0;
    background: var(--temno-belyy);
    border-radius: 999px;
    cursor: pointer;
    transition: 0.3s;
}

.switch__slider::before {
    content: "";
    position: absolute;
    top: 2.3px;
    left: 2.3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.switch__checkbox:checked + .switch__slider::before {
    transform: translateX(17px);
}

.switch__checkbox:checked + .switch__slider {
    background: var(--chernyy);
}

@media (min-width: 1200px) {
    .placing__box {
        width: 20px;
        height: 20px;
    }

    .placing__box::after {
        width: 14px;
        height: 14px;
    }

    .placing__checkbox-box {
        width: 20px;
        height: 20px;
    }

    .placing__checkbox:checked + .placing__checkbox-box::after {
        left: 5px;
        width: 6px;
        height: 10px;
    }

    .switch {
        width: 50px;
        height: 28px;
    }
    .switch__slider::before {
        top: 3px;
        left: 3px;
        width: 22px;
        height: 22px;
    }
    .switch__checkbox:checked + .switch__slider::before {
        transform: translateX(21px);
    }
}

@media (min-width: 1900px) {
    .placing__box {
        width: 35px;
        height: 35px;
    }

    .placing__box::after {
        width: 23px;
        height: 23px;
    }
    .placing__checkbox-box {
        width: 30px;
        height: 30px;
    }

    .placing__checkbox:checked + .placing__checkbox-box::after {
        left: 8px;
        width: 8px;
        height: 18px;
    }

    .switch {
        width: 60px;
        height: 35px;
    }
    .switch__slider::before {
        width: 28px;
        height: 28px;
    }
    .switch__checkbox:checked + .switch__slider::before {
        transform: translateX(25px);
    }
}
