#insurance-toggle input {
    height: 25px;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 25px;
}

.toggle-wrapper {
    /* flex: 1 1 calc(100% / 3);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center; */
    overflow: hidden;
    position: relative;
}

.name {
    position: absolute;
    font: 500 14px "Rubik", sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
    bottom: 25px;
    left: 100px;
    text-align: right;
}

.toggle {
    position: relative;
    display: inline-block;
}

label.toggle-item {
    width: 6em;
    background: #2e394d;
    height: 2em;
    display: inline-block;
    border-radius: 50px;
    position: relative;
    transition: all 0.3s ease;
    transform-origin: 20% center;
    cursor: pointer;
}
label.toggle-item:before {
    display: block;
    transition: all 0.2s ease;
    width: 2.3em;
    height: 2.3em;
    top: 0.25em;
    left: 0.25em;
    border-radius: 2em;
    border: 2px solid #88cf8f;
    transition: 0.3s ease;
}
.checkcross label:before {
    content: none;
}
.checkcross .check {
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    background: red;
    transition: 0.4s ease;
    top: 4px;
    left: 4px;
}
.checkcross .check:before,
.checkcross .check:after {
    height: 4px;
    border-radius: 10px;
    background: #fff;
    transition: 0.4s ease;
}

.checkcross .check:before {
    width: 25px;
    transform: rotate(-45deg) translate(-6px, 20px);
}
.checkcross .check:after {
    width: 10px;
    transform: rotate(45deg) translate(20px, 11px);
}

#add_insurance:checked + label .check {
    left: 58px;
    transform: rotate(360deg);
    background: green;
}
#add_insurance:checked + label .check:before {
    width: 27px;
    transform: rotate(-45deg) translate(-8px, 18px);
}
#add_insurance:checked + label .check:after {
    width: 27px;
    transform: rotate(45deg) translate(18px, 8px);
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 812px)
  and (-webkit-min-device-pixel-ratio: 2) {

    .woocommerce form #insurance-toggle.form-row {
        padding: 3px 0 10px;
    }
    .name {
        bottom: 0px;
        left: 0px;
        text-align: right;
    }
}