/* One text style across the site (loaded after every other stylesheet; see functions.php).
   Every declaration is !important on purpose: this file is the final say on text size, weight and colour,
   over the older per-page rules.

   Text:      16px, regular (400), ink (--ink). Descriptions, stock, counts, labels, meta, notes, links in text.
   Controls:  16px, 650, ink. Text that is clicked or opens something and isn't a filled button: back links,
              "Les mer", filter and fold-out headings, option names, nav items.
   Prices:    weight 700, ink (bigger only where the price is the point: product page, totals).

   Deliberate exceptions, each with a reason:
   - Headings, the hero and filled buttons have their own sizes (hierarchy and calls to action).
   - Checkout: the short line under a delivery or payment option ("Sendes fra lageret vårt i Moss", "Sendes på e-post eller som EHF")
     is 14px, so each option reads as one unit with its name.
   - The green bar at the top is 14px on phones, so it stays on one line.
   - Asterisk notes (*Gjelder ikke Svalbard, the footer's fine print) and the copyright/org.nr. line are 14px: legal fine print. So is the checkout's "Ved å betale godtar du salgsbetingelsene." under the order button, in a muted grey (#6a7a8c).
   - White or light text on dark or photo backgrounds (footer, hero) keeps its colour for contrast.
   - Promo badges on product images (e.g. "3 for 199 kr") stay small, as they sit on the image. */

/* ---------- Header ---------- */
html body .primary-nav > a {font-size:16px !important;}
html body .announcement {font-size:16px !important;font-weight:400 !important;}
/* Phones: the bar must stay on one line. */
@media (max-width:700px) {html body .announcement {font-size:14px !important;}}

/* ---------- Breadcrumb and back link ---------- */
html body .woocommerce-breadcrumb, html body .woocommerce-breadcrumb a {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body a.rt-back {font-size:16px !important;font-weight:650 !important;color:var(--ink) !important;}

/* ---------- Product cards (front page, categories, search, related) ---------- */
html body .product-card .stock, html body .product-card .catalog-summary {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .product-card .catalog-summary {line-height:1.5 !important;}
/* Card name: 16px like the text under it, set apart by weight only (it was 14px on phones, smaller than the description). */
html body .product-card h4 {font-size:16px !important;font-weight:650 !important;}

/* ---------- Front page ---------- */
html body p.eyebrow {font-size:16px !important;font-weight:400 !important;letter-spacing:0 !important;text-transform:none !important;color:var(--ink) !important;}
html body .guide p {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body span.text-link {font-size:16px !important;font-weight:650 !important;color:var(--ink) !important;}

/* ---------- Category and search pages ---------- */
html body .category-count, html body .category-results .woocommerce-result-count, html body .price-fields label,
html body .price-actions a, html body .sort-caption {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .category-description, html body .category-description p {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .category-description .description-toggle, html body .catalogue-disclosure > summary, html body .catalogue-disclosure legend {font-size:16px !important;font-weight:650 !important;color:var(--ink) !important;}
html body .catalogue-disclosure summary span, html body .sort-popover, html body .sort-popover * {font-size:16px !important;}
html body .price-actions button.button {font-size:16px !important;font-weight:650 !important;}

/* ---------- Product page ---------- */
html body .pp-fold-body, html body .pp-fold-body p {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .pp-about .pp-more {font-size:16px !important;font-weight:650 !important;}
html body .pp-family-label, html body .pp-family-name, html body .product-page .variations .label label {font-size:16px !important;font-weight:650 !important;color:var(--ink) !important;}
/* Pack option prices are regular, so they don't run together with the option names (design B). */
html body .pp-family-price {font-size:16px !important;font-weight:400 !important;}
html body .pp-family-option small {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .product-page .variation-choices button {font-size:16px !important;font-weight:650 !important;}
html body .pp-sticky-name {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}

/* ---------- Cart drawer ---------- */
/* The cart drawer is a compact list: 14px for the lines, delivery note and suggestions (exception, the user's call);
   the Sum row and the buttons keep their sizes. */
html body a.rt-mini-name, html body span.rt-mini-name {font-size:14px !important;font-weight:650 !important;}
html body .rt-mini-line {font-size:14px !important;font-weight:700 !important;}
html body .rt-mini-note {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
/* "Fjern" in the cart lines is a small link (14px), as in Allbirds' cart. */
html body .rt-mini-remove {font-size:14px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .rt-drawer-count {font-weight:400 !important;color:var(--ink) !important;}
html body .rt-drawer .rt-delivery strong {font-size:14px !important;font-weight:400 !important;}
html body .rt-cart-page .rt-delivery strong {font-size:16px !important;font-weight:400 !important;}
html body .rt-mini-foot a.rt-mini-secondary {font-size:16px !important;font-weight:650 !important;}
html body .rt-delivery small {font-size:14px !important;color:var(--ink) !important;}

/* ---------- Cart page ---------- */
html body .rt-cart-page .rt-unit-price, html body .rt-cart-page .rt-unit-price * {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .rt-cart-page a.rt-continue, html body .rt-cart-page .rt-summary-coupon > summary {font-size:16px !important;font-weight:650 !important;color:var(--ink) !important;}
html body .rt-cart-page .cart_totals :is(.cart-subtotal,.woocommerce-shipping-totals) :is(th,td,bdi) {font-size:16px !important;font-weight:400 !important;}
html body .rt-cart-page small.includes_tax, html body .rt-cart-page small.includes_tax * {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .rt-cart-page small:not(.includes_tax) {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .rt-cart-page a.remove {font-size:16px !important;font-weight:400 !important;}

/* ---------- Checkout ---------- */
html body .rt-checkout-options > summary, html body .rt-discount > summary {font-size:16px !important;font-weight:650 !important;color:var(--ink) !important;}
html body .woocommerce-checkout .woocommerce-form__label > span {font-size:16px !important;font-weight:400 !important;}
html body .woocommerce-checkout .woocommerce-checkout-review-order-table :is(th,td,bdi) {font-size:16px !important;}
html body .woocommerce-checkout .woocommerce-checkout-review-order-table :is(.cart-subtotal,.woocommerce-shipping-totals) :is(th,td,bdi) {font-weight:400 !important;}
html body .woocommerce-checkout .woocommerce-checkout-review-order-table thead th {font-weight:650 !important;}
html body .woocommerce-checkout small.includes_tax, html body .woocommerce-checkout small.includes_tax * {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}

/* ---------- Login, password reset ---------- */
html body .rt-auth-lead, html body .rt-auth-or span, html body .rt-auth-guest, html body a.rt-auth-forgot {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}

/* ---------- Min konto, order pages ---------- */
html body .rt-acct-nav a, html body .rt-acct-nav a span {font-size:16px !important;font-weight:650 !important;color:var(--ink) !important;}
html body .rt-acct-lead, html body p.rt-acct-muted, html body .rt-acct-muted a {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body a.rt-acct-link, html body .rt-acct-section-head a, html body a.rt-acct-back {font-size:16px !important;font-weight:650 !important;color:var(--ink) !important;}
html body .rt-order-meta, html body .rt-order-meta time, html body .rt-order-total small, html body .rt-order-items span,
html body .rt-order-line-name small {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}
html body .rt-order-items, html body .rt-order-line-name a {font-weight:650 !important;}
html body .rt-order-total .amount, html body .rt-order-line-total .amount {font-size:16px !important;font-weight:700 !important;}
html body .rt-status {font-size:16px !important;font-weight:650 !important;}
html body .rt-order-totals dt, html body .rt-order-totals dd {color:var(--ink) !important;}
html body .rt-order-totals small.includes_tax, html body .rt-order-totals small.includes_tax * {font-size:16px !important;font-weight:400 !important;color:var(--ink) !important;}

/* ---------- Footer (on dark: colours kept) ---------- */
html body .site-footer a, html body footer p:not(.fine), html body .footer-payments span {font-size:16px !important;font-weight:400 !important;}
html body footer .fine, html body footer .wrap > span {font-size:14px !important;}
