.customer-type-select-popup {
    position: fixed;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.customer-type-select-popup,
.customer-type-select-popup .overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.customer-type-select-popup .overlay {
    position: absolute;
    background: rgba(0,0,0,.5);
}

.customer-type-select-popup .frame {
    background: #fff;
    /* padding: 1em 1.2em; */
    width: 25em;
    border-radius: .3em;
    display: flex;
    flex-direction: column;
    /* gap: .8em; */
    box-shadow: 0 0 10px rgba(0,0,0,.2);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

body:not(.modal-open) .customer-type-select-popup {
    visibility: hidden;
}

body.modal-open {
    overflow: hidden;
}

.customer-type-select-popup button {
    cursor: pointer;
}

.customer-type-select-popup button.close-popup {
    width: 1.5em;
    height: 1.5em;
    background: none;
    border: none;
    padding: 0;
    position: absolute;
    right: 1em;
    top: 1em;
    color: inherit;
}

.customer-type-select-popup button.close-popup::before,
.customer-type-select-popup button.close-popup::after {
    content: '';
    left: 0;
    top: 50%;
    border-top: .2em solid;
    right: 0;
    position: absolute;
    transform: rotate(45deg);
}

.customer-type-select-popup button.close-popup::after {
    transform: rotate(-45deg);
}

.customer-type-select-popup .frame .title {
    padding: 1em;
    text-align: center;
    font-weight: 600;
}

.customer-type-select-popup .frame .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.customer-type-select-popup .frame .buttons button {
    border: none;
    background: #01313d;
    color: #fff;
    padding: 1.5em;
    font-size: 14px;
}


.customer-type-switcher {
    display: grid;
    border-bottom: 1px solid #d6d6d6;
    grid-template-columns: 1fr 1fr;
}


.tax-status-display {
    margin-left: .8em;
    font-size: .8em;
    font-style: italic;
    color: #767676;
    font-weight: 400;
}

.price .tax-status-display {
    display: block;
    margin-left: 0;
}

.related .price .tax-status-display {
    font-size: .6em;
}



.woocommerce .includes_tax, 
.woocommerce .tax_label {
    display: none;
}



@media (min-width: 700px) {
    .cts-wrap {
        max-width: 65%;
        padding-right: 4.5283018868%;
        box-sizing: border-box;
    }
}

.customer-type-switcher button.switch {
    background: none;
    border: none;
    font-size: 1rem;
    position: relative;
    height: 2.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    cursor: pointer;
}

.customer-type-switcher .switch-wrap {
    display: flex;
}

.customer-type-switcher button.switch.selected::after {
    content: '';
    position: absolute;
    bottom: 0;
    border-top: 1px solid;
    left: 0;
    right: 0;
}

.customer-type-switcher button.switch.selected {
    pointer-events: none;
}




.bts-tax-switcher .btn-toggle {
    --circle-size: 1.4em;
    --circle-gap: 1px;
    --track-color-state-on: var(--color-accent-1);
    --track-color-state-off: #d9d9ea;
    --circle-color-state-on: #fff;
    --circle-color-state-off:var(--color-accent-1); 

    border-radius: 2em;
    border: none;
    padding: 0;
    height: calc(var(--circle-size) + var(--circle-gap)*2);
    width: 2.6em;
    background: var(--track-color-state-off);
    position: relative;
    cursor: pointer;
}

.bts-tax-switcher .btn-toggle::after {
    content: '';
    position: absolute;
    top: var(--circle-gap);
    left: var(--circle-gap);
    width: var(--circle-size);
    height: var(--circle-size);
    background: var(--circle-color-state-off);
    border-radius: 50%;
}

.bts-tax-switcher .btn-toggle.state-on {
    background: var(--track-color-state-on);
}

.bts-tax-switcher .btn-toggle.state-on::after {
    background: var(--circle-color-state-on);
    left: auto;
    right: var(--circle-gap);
}



.woocommerce-cart-form .tax-status-display,
.cart_totals .order-total .tax-status-display {
    display: block;
    margin-left: 0;
    line-height: 1;
}