/* Kun for loggede brugere */
/* Default H1 – ca. 36px */

.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;
}
.hide-exprices .price-excluding-tax,
.hide-exprices .final-price-excl-tax,
.hide-exprices .price-excl-taxinline-block {
    display: none !important;
}
.estimate-shipping-form {
    display: none !important;
}

.checkout-onepage .section-title h2 {
    color: var(--color-primary) !important;
}

.checkout-onepage .area-right .text-slate-800,
.checkout-onepage .area-right .text-slate-700,
.checkout-onepage .area-right .text-slate-600 {
    color: #fff;
}
.checkout-onepage .area-right .text-blue-900 {
    color: #fff !important;
}
