/* Privat / Erhverv switch and the VAT lines under prices. */

.pmenergi-customer-type {
    --pmenergi-accent: var(--e-global-color-b93299c, var(--e-global-color-accent, #0047ff));
    --pmf-pill-radius: 999px;
    --pmf-bg: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 20px;
    font-size: 15px;
}

.pmenergi-customer-type__label {
    font-weight: 600;
}

.pmenergi-customer-type__options {
    display: inline-flex;
    border: 1px solid var(--pmenergi-accent);
    border-radius: var(--pmf-pill-radius);
    padding: 3px;
    background: var(--pmf-bg);
}

.pmenergi-customer-type__option {
    padding: 6px 16px;
    border-radius: var(--pmf-pill-radius);
    color: var(--pmenergi-accent);
    text-decoration: none;
    line-height: 1.2;
    transition: background-color .15s, color .15s;
}

.pmenergi-customer-type__option:hover,
.pmenergi-customer-type__option:focus-visible {
    background: rgba(0, 71, 255, .08);
    color: var(--pmenergi-accent);
}

.pmenergi-customer-type__option.is-active {
    background: var(--pmenergi-accent);
    color: #fff;
}

.pmenergi-customer-type__hint {
    font-size: .85em;
    opacity: .75;
}

.pmenergi-vat-label {
    font-size: 13px;
    font-weight: 400;
    margin-left: 4px;
}

.pmenergi-vat-other {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
    opacity: .8;
    margin-top: 2px;
}

.pmenergi-vat-other .woocommerce-Price-amount {
    font-weight: 400;
}

/* Cart and checkout tables: keep the second line quiet. */
.woocommerce-cart-form .pmenergi-vat-other,
.woocommerce-checkout-review-order .pmenergi-vat-other,
.widget_shopping_cart .pmenergi-vat-other,
.elementor-menu-cart__product-price .pmenergi-vat-other {
    display: none;
}
