/* Kun for loggede brugere */
body {
    font-size: 14px;
    color: #374151;
}
.text-base {
    font-size: 14px !important;
}

/* Default H1 – ca. 36px */
h1 {
    font-size: 2.25rem; /* ≈ 36px ved 16px root */
    line-height: 1.3;
    font-weight: 600;
}

/* Page Builder override – samme som H1 */
@media (min-width: 640px) {
    .liveview-content h1 {
        font-size: 2.25rem; /* ≈ 36px */
        line-height: 1.3;
        font-weight: 600;
    }

    .liveview-content h2 {
        font-size: 1.875rem; /* ≈ 30px */
        line-height: 1.35;
        font-weight: 600;
    }

    .liveview-content h3 {
        font-size: 1.5rem; /* ≈ 24px */
        line-height: 1.4;
        font-weight: 600;
    }

    .liveview-content h4 {
        font-size: 1.125rem; /* ≈ 18px */
        line-height: 1.4;
        font-weight: 600;
    }

    .liveview-content h5 {
        font-size: 1rem; /* 16px */
        line-height: 1.4;
        font-weight: 600;
    }

    .liveview-content h6 {
        font-size: 0.875rem; /* 14px */
        line-height: 1.4;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }
}

.catalog-product-view {
    h1 {
        font-size: 20px;
        text-align: left;
    }
}
/* H2 – ca. 30px */
h2 {
    font-size: 1.875rem; /* ≈ 30px */
    line-height: 1.35;
    font-weight: 600;
}

/* H3 – ca. 24px */
h3 {
    font-size: 1.5rem; /* ≈ 24px */
    line-height: 1.4;
    font-weight: 600;
}

/* H4 – ca. 18px */
h4 {
    font-size: 1.125rem; /* ≈ 18px */
    line-height: 1.4;
    font-weight: 600;
}

/* H5 – ca. 16px (lidt større end brødtekst) */
h5 {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    font-weight: 600;
}

/* H6 – ca. 14px, men visuelt fremhævet */
h6 {
    font-size: 0.875rem; /* 14px */
    line-height: 1.4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ex-first-prices .price-box {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.ex-first-prices .price-box.price-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.ex-first-prices .price-box .price-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
/* Vis ekskl. moms først */
.ex-first-prices .price-excluding-tax {
    order: 1;
}
.ex-first-prices .price-including-tax {
    order: 2;
}

.ex-first-prices .final-price-excl-tax {
    order: 1;
}
.ex-first-prices .final-price {
    order: 2;
}

.ex-first-prices .minimal-price-link {
    order: 3;
}

/* Skjul selve "Ekskl. moms:"-labelteksten */
.ex-first-prices .price-excluding-tax .label,
.ex-first-prices .price-excluding-tax .price-label,
.ex-first-prices .price-excluding-tax .tax-label,
.ex-first-prices .price-excluding-tax::before,
.ex-first-prices .final-price-excl-tax .label,
.ex-first-prices .final-price-excl-tax span span:nth-child(1) {
    display: none !important;
}
.ex-first-prices .final-price .price-label {
    display: none !important;
}

/* Gør inkl.-linjen mindre og i parentes: "(inkl. moms: 167,50 kr)" */
.ex-first-prices .price-including-tax .price {
    font-size: 0.9em;
    opacity: 0.85;
}
.ex-first-prices .final-price .price {
    font-size: 0.6em;
    opacity: 0.85;
}

.ex-first-prices .final-price-excl-tax .price {
    font-size: 1.2em;
    opacity: 1;
    font-weight: 600;
}
/* Indsæt label via pseudo-elementer */
.ex-first-prices .price-including-tax .price::before,
.ex-first-prices .final-price .price::before {
    content: "(inkl. moms: ";
}
.ex-first-prices .price-including-tax .price::after,
.ex-first-prices .final-price .price::after {
    content: ")";
}

/* Indsæt label via pseudo-elementer */
.ex-first-prices .cart-form .price-including-tax .price::before {
    content: "" !important;
}
.ex-first-prices .cart-form .price-including-tax .price::after {
    content: "" !important;
}

/* Sørg for at hver linje står for sig selv */
.ex-first-prices .price-excluding-tax,
.ex-first-prices .price-including-tax {
    display: block !important;
}

.catalog-category-view .price-excluding-tax {
    display: none;
}

.ex-first-prices.catalog-category-view .price-excluding-tax {
    display: block !important;
}
.ex-first-prices.cms-page-view .price-including-tax,
.ex-first-prices.catalog-category-view .price-including-tax,
.ex-first-prices.page-products .price-including-tax {
    display: none !important;
}

.cms-page-view .price-box .special-price,
.catalogsearch-result-index .price-box .special-price,
.catalog-category-view .price-box .special-price,
.page-products .price-box .special-price {
    order: 2;
}

.cms-page-view .price-box .old-price,
.catalogsearch-result-index .price-box .old-price,
.catalog-category-view .price-box .old-price,
.page-products .price-box .old-price {
    order: 1;
}

.cms-page-view .price-box .old-price .price-label,
.catalog-category-view .price-box .old-price .price-label,
.page-products .price-box .old-price .price-label {
    display: none;
}

.cms-page-view .price-box .old-price .price,
.catalog-category-view .price-box .old-price .price,
.page-products .price-box .old-price .price {
    text-decoration: line-through;
}

.cms-page-view .old-price,
.catalogsearch-result-index .old-price {
    display: none;
}
.ex-first-prices .cms-page-view .price-excluding-tax,
.ex-first-prices .catalogsearch-result-index .price-excluding-tax {
    display: block !important;
}

.cms-page-view
    .price-excluding-tax
    .catalogsearch-result-index
    .price-excluding-tax {
    display: none;
}

.upsell-product-slider .price-excluding-tax {
    display: none;
}
.ex-first-prices .upsell-product-slider .price-including-tax {
    display: none;
}
.ex-first-prices .upsell-product-slider .price-excluding-tax {
    display: block;
}

.ex-first-prices #cart-drawer .price-including-tax {
    display: none;
}
.ex-first-prices.checkout-cart-index .cart .price-including-tax {
    display: none;
}
