.cookie-switch__track::after {
    display: none !important;
}

.cookie-switch__thumb {
    position: absolute;
    z-index: 2;
    top: .18rem;
    left: .18rem;
    width: 1.3rem;
    height: 1.3rem;
    display: block;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    border: 1px solid rgba(77,100,124,.08);
    border-radius: 50%;
    box-shadow:
        0 .18rem .46rem rgba(10,27,45,.22),
        0 .03rem .09rem rgba(10,27,45,.14);
    transform: translate3d(0,0,0) scale(1);
    transform-origin: center;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transition:
        transform 680ms cubic-bezier(.16,1,.3,1),
        box-shadow 420ms cubic-bezier(.22,1,.36,1),
        background-color 420ms ease;
}

.cookie-switch input:checked + .cookie-switch__track .cookie-switch__thumb {
    transform: translate3d(1.37rem,0,0) scale(1.025);
    box-shadow:
        0 .2rem .58rem rgba(0,49,105,.28),
        0 0 0 .18rem rgba(255,255,255,.2);
}

.cookie-switch:hover .cookie-switch__thumb {
    box-shadow:
        0 .24rem .66rem rgba(10,27,45,.25),
        0 0 0 .2rem rgba(255,255,255,.26);
}

.cookie-switch:active .cookie-switch__thumb {
    transform: translate3d(0,0,0) scale(.92);
    transition-duration: 120ms;
}

.cookie-switch:active input:checked + .cookie-switch__track .cookie-switch__thumb {
    transform: translate3d(1.37rem,0,0) scale(.92);
}

.cookie-switch__track,
.cookie-switch__track::before {
    transition-duration: 520ms;
    transition-timing-function: cubic-bezier(.22,1,.36,1);
}

@media (max-width: 34rem) {
    .cookie-switch__thumb {
        top: .17rem;
        left: .17rem;
        width: 1.21rem;
        height: 1.21rem;
    }

    .cookie-switch input:checked + .cookie-switch__track .cookie-switch__thumb {
        transform: translate3d(1.2rem,0,0) scale(1.025);
    }

    .cookie-switch:active input:checked + .cookie-switch__track .cookie-switch__thumb {
        transform: translate3d(1.2rem,0,0) scale(.92);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-switch__thumb,
    .cookie-switch__track,
    .cookie-switch__track::before {
        transition: none !important;
    }
}
