/* hide/show prices depending on toggle choice */
.amount-inc-vat {
    display: none;
}
.amount-ex-vat {
    display: flex;
}
body.show-incl-vat .amount-ex-vat {
    display: none;
}
body.show-incl-vat .amount-inc-vat {
    display: flex;
}

/* hide label when a str_replace hasn't occured */
.class-placeholder small {
    display: none;
}

/* toggle styling */
.vat_toggle {
    position: absolute;
    opacity: 0;
    height: 0px;
    width: 0px;
    cursor: pointer;
}
.vat_toggle + label {
    cursor: pointer;
    text-indent: -9999px;
    width: 40px;
    height: 20px;
    border-radius: 20px;
    position: relative;
    display: block;
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    margin-bottom: 0px;
}
.vat_toggle + label:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 16px;
}
.vat_toggle + label:active:after {
    width: 22px;
}
.vat_toggle:checked + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

/* add accessibility outline on focus */
.show-focus-outlines .vat_toggle:focus + label {
    outline: 2px solid red;
}