/* =====================================================================
   wp-bridge.css – glue between the mockup stylesheet (hr.css) and the
   WordPress/Elementor/JetMenu/WooCommerce markup. Keep this file small:
   anything that is design lives in hr.css.
   ===================================================================== */

/* Elementor containers carry the mockup classes; neutralise container defaults. */
body.hr .e-con.e-con { --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0; --margin-top: 0; --margin-bottom: 0; }   /* beats the kit's mobile default (10px) */
body.hr .e-con.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
body.hr .e-con.e-flex { --flex-direction: column; --gap: 0; }
body.hr .e-con.header-inner, body.hr .e-con.header-actions { --flex-direction: row; --align-items: center; }
/* Elementor gives every container/widget width:100%; in the header row they must size to content (mockup: logo · nav · actions). */
body.hr .e-con.header-inner > .elementor-widget, body.hr .e-con.header-inner > .e-con.header-actions { width: auto; --width: auto; max-width: 100%; }
body.hr .e-con.header-inner > .e-con.header-actions { flex: none; margin-left: auto; --gap: 4px; gap: 4px; }
body.hr .e-con.header-actions > .elementor-widget { width: auto; }
body.hr .elementor-widget { margin-bottom: 0; }

/* The Theme Builder header wrapper must not break position: sticky on .site-header. */
body.hr .elementor-location-header { position: sticky; top: -36px; z-index: 100; }
body.hr .elementor-location-header .site-header { position: static; }

/* Site logo widget → .logo */
body.hr .elementor-widget-theme-site-logo.logo { margin-right: auto; }
body.hr .elementor-widget-theme-site-logo.logo img { width: 128px; height: auto; }
@media (min-width: 1080px) { body.hr .elementor-widget-theme-site-logo.logo { margin-right: 0; } body.hr .elementor-widget-theme-site-logo.logo img { width: 150px; } }

/* JetMenu mega menu → mockup .nav-main look */
body.hr .nav-jet { display: none; margin-right: auto; }
@media (min-width: 1080px) { body.hr .nav-jet { display: block; } }
body.hr .nav-jet .jet-mega-menu { --jmm-top-level-item-padding: 0 12px; --jmm-top-level-items-gap: 4px; }
body.hr .nav-jet .jet-mega-menu-item__inner { min-height: 44px; font-family: var(--f-display); font-weight: 600; font-size: .9375rem; color: var(--ink); border-radius: var(--radius); background: none; }
body.hr .nav-jet .jet-mega-menu-item__inner:hover, body.hr .nav-jet .jet-mega-menu-item--hover > .jet-mega-menu-item__inner,
body.hr .nav-jet .jet-mega-menu-item--active > .jet-mega-menu-item__inner { color: var(--red); background: none; }
body.hr .nav-jet .jet-mega-menu-item--active > .jet-mega-menu-item__inner { background: url("../img/stitch-red.svg") repeat-x left 12px bottom 4px / 10px 6px; }
body.hr .nav-jet .jet-mega-menu-item__dropdown { display: none; }
/* JetMenu sizes the mega panel to the menu items; the mockup panel is min(760px, 80vw). */
body.hr .nav-jet .jet-mega-menu-mega-container { width: min(760px, 80vw) !important; background: var(--white); border: 0; border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 24px; }
body.hr .e-con.mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }

/* Header actions */
body.hr .elementor-widget.b2bw { display: none; }
@media (min-width: 1080px) { body.hr .elementor-widget.b2bw { display: block; } }
body.hr .elementor-widget.menu-togglew { display: block; }
@media (min-width: 1080px) { body.hr .elementor-widget.menu-togglew { display: none; } }

/* Elementor Pro Menu Cart → .icon-btn + .cart-count */
body.hr .cartw .elementor-menu-cart__toggle .elementor-button { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); border-radius: var(--radius); display: inline-grid; place-items: center; }
body.hr .cartw .elementor-menu-cart__toggle .elementor-button:hover { background: var(--paper-2); }
body.hr .cartw .elementor-menu-cart__toggle .elementor-button-text { display: none; }
body.hr .cartw .elementor-menu-cart__toggle .elementor-button-icon { font-size: 22px; }
body.hr .cartw .elementor-button-icon [data-counter]::before { background: var(--red); color: var(--white); font: 500 .6875rem/18px var(--f-display); min-width: 18px; height: 18px; border-radius: 9px; top: -8px; right: -10px; }
body.hr .elementor-menu-cart__container { --side-cart-width: min(420px, 100vw); }
body.hr .elementor-menu-cart__main { background: var(--paper); color: var(--ink); font-family: var(--f-text); }
body.hr .elementor-menu-cart__footer-buttons .elementor-button { font-family: var(--f-display); border-radius: var(--radius); }
body.hr .elementor-menu-cart__footer-buttons .elementor-button--checkout { background: var(--red); color: var(--white); }

/* The mockup's mini-cart drawer is .cart (position:fixed, hidden). WooCommerce's add-to-cart form also has class «cart» – reset it. */
body.hr form.cart { position: static; inset: auto; z-index: auto; visibility: visible; overflow: visible; }
body.hr form.cart .variations.visually-hidden { position: absolute; }

/* Footer: nav-menu widgets inside .footer-cols */
body.hr .footer-cols .elementor-widget-shortcode ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
body.hr .footer-cols .elementor-widget-shortcode a { text-decoration: none; }
body.hr .footer-cols .elementor-widget-shortcode a:hover { color: var(--paper); text-decoration: underline; }
body.hr .e-con.footer-top, body.hr .e-con.footer-cols, body.hr .e-con.newsletter { display: grid; }
body.hr .e-con.footer-bottom { display: flex; --flex-direction: row; }
body.hr .e-con.footer-brand .elementor-widget-image img { width: 170px; margin-bottom: 20px; }

/* Hello Elementor: Theme Builder owns header/footer */
body.hr .site-header.elementor-location-header + .site-header, body.hr header.site-header:not(.elementor-location-header):not(.e-con) { display: none; }
body.hr .page-header .entry-title { display: none; }

/* ===== Product page (JetWooBuilder single) ===== */
/* Woo variation form: stock/price/qty are shown by the size chips (js/woo.js) */
body.hr form.cart .woocommerce-variation-availability, body.hr form.cart .woocommerce-variation-price, body.hr form.cart .quantity, body.hr form.cart .woocommerce-variation-description { display: none; }
body.hr form.cart .woocommerce-variation-add-to-cart, body.hr form.cart .single_variation_wrap { display: grid; gap: 12px; }
body.hr form.cart .single_add_to_cart_button, body.hr .pcard__add a.button, body.hr .cart-totals .checkout-button, body.hr .cart-return a.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 20px; border: 1.5px solid var(--red); border-radius: var(--radius);
  background: var(--red); color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease);
}
body.hr form.cart .single_add_to_cart_button:hover, body.hr .cart-totals .checkout-button:hover { background: var(--red-deep); border-color: var(--red-deep); }
body.hr form.cart .single_add_to_cart_button.disabled, body.hr form.cart .single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; }
body.hr .pcard__add a.button { min-height: 44px; background: none; color: var(--ink); border-color: var(--ink); font-size: .875rem; margin-top: 12px; }
body.hr .pcard__add a.button:hover { background: var(--ink); color: var(--paper); }
body.hr .pcard__add a.button.added, body.hr .pcard__add a.added_to_cart { display: none; }
body.hr .size-stock.is-error { color: var(--red); font-weight: 600; }
body.hr .hr-preorder-note { color: var(--grey); font-size: .875rem; margin: 0; }
/* Price colour: Woo/Jet print their own; the mockup uses ink */
body.hr .price, body.hr .woocommerce-Price-amount, body.hr .price ins, body.hr .elementor-jet-single-price, body.hr .jet-woo-builder-archive-product-price { color: var(--ink); text-decoration: none; }
body.hr .price del, body.hr .price del .woocommerce-Price-amount { color: var(--grey); font-weight: 400; }
body.hr .colourw .jet-listing-dynamic-terms { display: inline; }
/* Details list */
body.hr .e-con.detail { display: grid; grid-template-columns: 110px 1fr; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--hair); }
body.hr .e-con.detail dt { font-family: var(--f-display); font-weight: 600; margin: 0; }
body.hr .e-con.detail dd, body.hr .e-con.detail .ddw { margin: 0; color: var(--grey); }
/* Mockup grid classes on widget wrappers would turn the widget's single child into one grid cell – the inner Jet/Woo lists carry the grid instead */
body.hr .elementor-widget.reviews, body.hr .elementor-widget.grid-products, body.hr .elementor-widget.faq, body.hr .elementor-widget.sets { display: block; }
body.hr .reviews .jet-listing-grid__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 899px) { body.hr .reviews .jet-listing-grid__items { grid-template-columns: 1fr; } }
body.hr .jet-listing-grid__item > .e-con { width: 100%; }
body.hr .e-con.review { display: grid; gap: 12px; }
body.hr .review__by { font-size: .875rem; color: var(--grey); }
/* Woo product lists (upsells, cross-sells, cart cross-sells) as the mockup card grid */
body.hr .grid-products ul.products, body.hr .hr-cross-sells ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 12px; list-style: none; margin: 0; padding: 0; }
body.hr .grid-products--2 ul.products { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 899px) { body.hr .grid-products ul.products, body.hr .hr-cross-sells ul.products, body.hr .grid-products--2 ul.products { grid-template-columns: repeat(2, 1fr); } }
body.hr ul.products li.product { width: auto; margin: 0; float: none; list-style: none; }
body.hr .up-sells > h2, body.hr .related > h2, body.hr .cross-sells > h2 { display: none; }
body.hr .pcard .card { display: block; text-decoration: none; color: inherit; }
body.hr .pcard .card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-card); background: var(--paper-2); }
body.hr .pcard .card__media > .elementor-widget-jet-woo-builder-archive-product-thumbnail, body.hr .pcard .card__media > .elementor-widget-jet-woo-builder-archive-product-thumbnail .elementor-widget-container, body.hr .pcard .card__media .jet-woo-builder-archive-product-thumbnail { position: absolute; inset: 0; }
body.hr .pcard .card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.hr .pcard .card__title a, body.hr .pcard .card__title { text-decoration: none; color: inherit; }
body.hr .pcard .card__meta .jet-woo-builder-archive-cats a { text-decoration: none; color: inherit; }
body.hr .pcard .e-con.card__meta { display: flex; flex-wrap: wrap; --flex-direction: row; }
/* FAQ listing (JetEngine): same look as the mockup <details>/<summary> */
body.hr .faq .faq__item { border-bottom: 1px solid var(--hair); }
body.hr .faq .faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; background: none; border: 0; text-align: left; color: var(--ink); font-family: var(--f-display); font-weight: 500; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); letter-spacing: -.015em; line-height: 1.25; }
body.hr .faq .faq__q .faq__icon { flex: none; width: 28px; height: 28px; border-radius: var(--radius); background: linear-gradient(var(--red), var(--red)) center / 12px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 12px no-repeat, var(--white); transition: transform .25s var(--ease); }
body.hr .faq .faq__item.is-open .faq__icon { transform: rotate(45deg); }
body.hr .faq .faq__a { display: none; }
body.hr .faq .faq__item.is-open .faq__a { display: block; }
/* Upsell cards in the «sets» band keep the mockup set-card look */
body.hr .sets ul.products { grid-template-columns: repeat(2, 1fr); gap: 24px; }
/* JetEngine listing items: the listing document wrapper must fill the grid cell */
body.hr .jet-listing-grid__item > .elementor, body.hr .jet-listing-grid__item { width: 100%; max-width: 100%; }
/* Card tags: two tag widgets side by side */
body.hr .pcard .e-con.card__tags { --flex-direction: row; --gap: 6px; gap: 6px; flex-wrap: wrap; }
body.hr .pcard .card__tags .elementor-widget { width: auto; }
body.hr .pcard .pcard__add .jet-woo-builder-archive-add-to-cart a.button { display: inline-flex; align-items: center; justify-content: center; }

/* ===== JetFormBuilder forms → mockup .field / .btn look ===== */
body.hr .jet-form-builder { display: grid; gap: 14px; }
body.hr .jet-form-builder__row { margin: 0; }
body.hr .jet-form-builder__label-text { font-family: var(--f-display); font-weight: 600; font-size: .875rem; }
body.hr .jet-form-builder__field.text-field, body.hr .jet-form-builder__field.textarea-field, body.hr .jet-form-builder__field.select-field, body.hr .jet-form-builder__field.date-field, body.hr .jet-form-builder__field.number-field {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--hair); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
body.hr .jet-form-builder__field:focus { outline: 3px solid var(--red); outline-offset: 2px; border-color: var(--ink); }
body.hr .jet-form-builder__desc { font-size: .8125rem; color: var(--grey); margin-top: 4px; }
body.hr .jet-form-builder__required { color: var(--red); }
body.hr .jet-form-builder__action-button, body.hr .jet-form-builder__submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1.5px solid var(--red); border-radius: var(--radius); background: var(--red); color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: 1rem; cursor: pointer; }
body.hr .jet-form-builder__submit:hover { background: var(--red-deep); border-color: var(--red-deep); }
body.hr .jet-form-builder__field-wrap.checkboxes-field, body.hr .jet-form-builder__field-wrap.radio-field { display: grid; gap: 8px; }
body.hr .jet-form-builder__field-wrap.checkboxes-field .jet-form-builder__field-label, body.hr .jet-form-builder__field-wrap.radio-field .jet-form-builder__field-label { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
body.hr .jet-form-builder-message { margin-top: 10px; padding: 12px 14px; border-radius: var(--radius); background: var(--white); color: var(--ink); font-weight: 600; }
body.hr .jet-form-builder-message--error { background: #fde8e8; color: var(--red-deep); }
/* B2B form: two-column rows on desktop (firma/org.nr, kontakt/e-post, antall/dato, sizes 6-up) */
@media (min-width: 900px) { body.hr .qformw .jet-form-builder { grid-template-columns: 1fr 1fr; } body.hr .qformw .jet-form-builder > .jet-form-builder__row:has(.textarea-field), body.hr .qformw .jet-form-builder > .jet-form-builder__row:has(.checkboxes-field), body.hr .qformw .jet-form-builder > .jet-form-builder__row:has(.radio-field), body.hr .qformw .jet-form-builder > .jet-form-builder__row:has(.jet-form-builder__heading), body.hr .qformw .jet-form-builder > .jet-form-builder__row:has(.jet-form-builder__submit) { grid-column: 1 / -1; } }
body.hr .qformw .jet-form-builder__row:has(.size) { display: inline-block; }
/* Newsletter (footer + exit popup): one row, label hidden, paper button */
body.hr .nl-formw .jet-form-builder { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
body.hr .nl-formw .jet-form-builder__row { flex: 1 1 220px; margin: 0; }
body.hr .nl-formw .jet-form-builder__row:has(.jet-form-builder__submit) { flex: 0 0 auto; }
body.hr .nl-formw .jet-form-builder__label-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.hr .nl-formw .jet-form-builder__field.text-field { min-height: 52px; background: transparent; color: var(--paper); border: 1.5px solid rgba(243,236,224,.6); }
body.hr .nl-formw .jet-form-builder__field.text-field::placeholder { color: rgba(243,236,224,.7); }
body.hr .nl-formw .jet-form-builder__submit { background: var(--paper); color: var(--ink); border-color: var(--paper); }
body.hr .nl-formw .jet-form-builder-message { background: transparent; color: var(--camel); padding: 0; }
/* Notify form on the product page: inline row */
body.hr .notifyformw .jet-form-builder { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
body.hr .notifyformw .jet-form-builder__row { flex: 1 1 200px; margin: 0; }
body.hr .notifyformw .jet-form-builder__row:has(.jet-form-builder__submit) { flex: 0 0 auto; }
/* FAQ listing must never exceed its column on mobile */
body.hr .faq .jet-listing-grid__items, body.hr .faq .faq__item, body.hr .faq .faq__q { min-width: 0; max-width: 100%; }
body.hr .faq .faq__q { width: 100%; box-sizing: border-box; }
/* WooCommerce empty cart (Woo's own template) */
body.hr.woocommerce-cart .wc-empty-cart-message, body.hr .cart-empty { margin: 48px auto 16px; max-width: var(--maxw); padding-inline: var(--gutter); }
body.hr.woocommerce-cart .return-to-shop { max-width: var(--maxw); margin: 0 auto 64px; padding-inline: var(--gutter); }
body.hr.woocommerce-cart .return-to-shop a.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--red); color: var(--white); border-radius: var(--radius); font-family: var(--f-display); font-weight: 600; text-decoration: none; }
body.hr .woocommerce-info { border-top-color: var(--red); background: var(--paper-2); color: var(--ink); max-width: var(--maxw); margin: 24px auto 0; }
body.hr .woocommerce-info::before { color: var(--red); }
/* The mockup's mini-cart drawer rule (.cart {position:fixed; visibility:hidden}) is dead in WP: WooCommerce's cart table and
   add-to-cart form carry class «cart» too. Neutralise it everywhere. */
body.hr .cart { position: static; inset: auto; z-index: auto; visibility: visible; overflow: visible; }
body.hr .cart-page .jet-cart-empty-message:has(+ .cart-return) { }
body.hr .trust-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
body.hr .trust-list li { display: flex; align-items: center; gap: 10px; }
body.hr .trust-list svg, body.hr .ship-list svg, body.hr .buy__notes svg, body.hr .shop-usps svg, body.hr .trust-row svg { width: 18px; height: 18px; flex: none; }
body.hr .jet-form-builder__row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.hr .jet-form-builder__row .jet-form-builder__field-wrap { width: 100%; min-width: 0; }
body.hr .e-con.qform { padding: 24px; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); min-width: 0; }
body.hr .e-con.cart__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { body.hr .e-con.cart__grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
body.hr.woocommerce-cart .shop_table { width: 100%; border-collapse: collapse; }
body.hr.woocommerce-cart .shop_table th, body.hr.woocommerce-cart .shop_table td { padding: 12px 8px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: middle; }
body.hr.woocommerce-cart .shop_table img { width: 72px; height: auto; border-radius: var(--radius); }
body.hr.woocommerce-cart .shop_table .product-remove a { color: var(--red); text-decoration: none; font-size: 1.25rem; }
body.hr.woocommerce-cart .coupon { display: none; }
body.hr.woocommerce-cart .shop_table .button { display: inline-flex; min-height: 40px; align-items: center; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: none; color: var(--ink); font-family: var(--f-display); font-weight: 600; }
/* JetWooBuilder cart: the empty-message / return-to-shop widgets print even when the cart has items */
body.hr .cart-page:has(tr.cart_item) .cart-empty, body.hr .cart-page:has(tr.cart_item) .cart-return { display: none; }
body.hr .cart-page:not(:has(tr.cart_item)) .cart__grid, body.hr .cart-page:not(:has(tr.cart_item)) .cart__cross { display: none; }
body.hr .cart-return a.button { width: auto; margin-top: 8px; }
/* Standard WooCommerce checkout (used until Kustom has credentials; Kustom replaces the form with its iframe) */
body.hr form.checkout { max-width: var(--maxw); margin: 32px auto; padding-inline: var(--gutter); display: grid; gap: 32px; }
@media (min-width: 1024px) { body.hr form.checkout { grid-template-columns: 1.3fr 1fr; align-items: start; } body.hr form.checkout .woocommerce-checkout-review-order { position: sticky; top: 100px; } }
body.hr form.checkout .form-row input.input-text, body.hr form.checkout .form-row textarea, body.hr form.checkout .select2-selection { min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--hair); border-radius: var(--radius); background: var(--white); width: 100%; box-sizing: border-box; }
body.hr form.checkout .form-row label { font-family: var(--f-display); font-weight: 600; font-size: .875rem; }
body.hr form.checkout #place_order { display: inline-flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; background: var(--red); color: var(--white); border: 0; border-radius: var(--radius); font-family: var(--f-display); font-weight: 600; font-size: 1rem; cursor: pointer; }
body.hr .woocommerce-form-coupon-toggle, body.hr.woocommerce-checkout .woocommerce-info { max-width: var(--maxw); margin: 24px auto 0; padding-inline: var(--gutter); }
body.hr.woocommerce-checkout h3, body.hr.woocommerce-checkout h1.entry-title { font-size: 1.5rem; }
body.hr.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
body.hr.woocommerce-checkout-review-order-table th, body.hr.woocommerce-checkout-review-order-table td { padding: 10px 8px; border-bottom: 1px solid var(--hair); text-align: left; }
body.hr.woocommerce-checkout #payment { background: var(--white); border-radius: var(--radius-card); padding: 16px; }
/* Hero on phones: the mockup stacks a 9:16 video block over the copy; with Elementor's background video (absolute, full
   container) the band must get its own height and the copy sits at the bottom over a gradient. */
@media (max-width: 1023.98px) {
  /* mockup < 1024: picture block on top (hero__media), copy on solid ink below; the Elementor video/fallback background is desktop-only */
  body.hr .e-con.hero, body.hr .e-con.hero.e-con { background-image: none !important; background-color: var(--ink) !important; }
  body.hr .e-con.hero .elementor-background-video-container { display: none; }
  body.hr .elementor-widget.mediaw { position: static; width: 100%; }
  body.hr .hero .hero__media--mobile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
}
/* Stacking inside the hero: video (Elementor) < shade < copy */
body.hr .e-con.hero .elementor-background-video-container { z-index: 0; }
body.hr .e-con.hero .shadew, body.hr .e-con.hero .hero__shade { z-index: 1; }
body.hr .e-con.hero .hero__inner, body.hr .e-con.hero .knitw { position: relative; z-index: 2; }
body.hr .e-con.hero .shadew { position: absolute; inset: 0; pointer-events: none; }

/* ===== Parity pass 2026-11-09 (bin/parity.py): type rhythm, header, shop grid, filters, prices ===== */
/* Elementor's heading widget zeroes margin and sets line-height 1; the mockup h1–h4 rule is margin 0 0 .4em / line-height 1.04 */
.elementor-heading-title { margin: 0 0 .4em; line-height: 1.04; }
h3.elementor-heading-title, h4.elementor-heading-title { line-height: 1.2; }   /* hr.css h3/h4 rhythm; the footer h3 is 12px/1.2 */
body.hr .elementor-widget.hw { width: 100%; }
body.hr .e-con.newsletter { padding-top: clamp(48px, 7vw, 88px); }
/* Woo product lists: the li must fill its grid cell (Woo sets width: 30.75% + float) */
body.hr .woocommerce ul.products[class*="columns-"] li.product, body.hr ul.products[class*="columns-"] li.product, body.hr ul.products li.product { width: 100%; margin: 0; float: none; clear: none; }
body.hr .woocommerce ul.products::before, body.hr .woocommerce ul.products::after { display: none; }
body.hr .shop-grid ul.products { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
@media (min-width: 900px) { body.hr .shop-grid ul.products { grid-template-columns: repeat(3, 1fr); } }
/* Prices: Woo/Jet colour + weight → mockup .price */
body.hr .pcard .price, body.hr .pcard .price .woocommerce-Price-amount, body.hr .jet-woo-builder-archive-product-price .price { color: var(--ink); font-family: var(--f-display); font-weight: 500; font-size: 1.125rem; line-height: 1.6; margin: 0; }
body.hr .pcard .price del { color: var(--grey); font-weight: 400; }
body.hr .buy__price .price, body.hr .buy__price .price .woocommerce-Price-amount, body.hr .buy__price .elementor-jet-single-price .price { color: var(--ink); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
body.hr .e-con.buy__price { display: flex; --flex-direction: row; align-items: baseline; gap: 10px; }
body.hr .e-con.buy__price .elementor-widget { width: auto; }
/* Product page: motif list stays visible on desktop (the homepage hides .hs-chips ≥ 1024) */
@media (min-width: 1024px) { body.hr.single-product .motif-list { display: flex; } }
/* Product page reviews: one column list in the right-hand column (mockup .rev__list) */
body.hr .rev .reviews .jet-listing-grid__items { grid-template-columns: 1fr; }
body.hr .faq .faq__q { border-radius: 0; }
/* JetSmartFilters → mockup .fgroup / .fopt / .size-chips / .swatches / .sort / .achips */
body.hr .e-con.filters__body { display: block; }
body.hr .filterw { padding: 16px 0 18px; border-top: 1px solid var(--hair); }
body.hr .filterw:first-child { border-top: 0; }
body.hr .filterw .jet-filter-label { font-family: var(--f-display); font-weight: 500; font-size: 1rem; letter-spacing: -.01em; margin: 0 0 10px; }
body.hr .filterw .jet-checkboxes-list__row, body.hr .filterw .jet-radio-list__row { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; font-size: .9375rem; cursor: pointer; margin: 0; }
body.hr .filterw .jet-checkboxes-list__input, body.hr .filterw .jet-radio-list__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body.hr .filterw .jet-checkboxes-list__decorator { width: 20px; height: 20px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--white); flex: none; position: relative; }
body.hr .filterw .jet-checkboxes-list__input:checked ~ .jet-checkboxes-list__button .jet-checkboxes-list__decorator { background: var(--red); border-color: var(--red); }
body.hr .filterw .jet-checkboxes-list__decorator .jet-checkboxes-list__checked-icon { color: var(--white); font-size: 12px; position: absolute; inset: 0; display: grid; place-items: center; }
body.hr .filterw .jet-checkboxes-list__label { flex: 1 1 auto; }
body.hr .filterw .jet-filters-counter { margin-left: auto; font-size: .8125rem; font-weight: 600; color: var(--grey); font-variant-numeric: tabular-nums; }
body.hr .filterw .jet-filters-counter::before, body.hr .filterw .jet-filters-counter::after { content: none; }
/* Størrelse as chips */
body.hr .size-chips-filter .jet-checkboxes-list-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
body.hr .size-chips-filter .jet-checkboxes-list__row { min-width: 48px; height: 48px; padding: 0 12px; border: 1.5px solid var(--hair); border-radius: var(--radius); background: var(--white); font-family: var(--f-display); font-weight: 500; font-size: .875rem; justify-content: center; gap: 0; min-height: 0; }
body.hr .size-chips-filter .jet-checkboxes-list__decorator, body.hr .size-chips-filter .jet-filters-counter { display: none; }
body.hr .size-chips-filter .jet-checkboxes-list__row:has(:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* Farge swatches */
body.hr .filterw .jet-color-image-list-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
body.hr .filterw .jet-color-image-list__row { margin: 0; }
body.hr .filterw .jet-color-image-list__button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px 0 8px; border: 1.5px solid var(--hair); border-radius: var(--radius); background: var(--white); font-family: var(--f-display); font-weight: 500; font-size: .875rem; cursor: pointer; }
body.hr .filterw .jet-color-image-list__decorator { width: 30px; height: 30px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(30,30,28,.18); flex: none; }
body.hr .filterw .jet-color-image-list__row:has(:checked) .jet-color-image-list__button { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* Pris range */
body.hr .filterw .jet-range__slider { margin: 18px 10px 10px; }
body.hr .filterw .jet-range__slider__track { background: var(--hair); height: 4px; border-radius: 2px; }
body.hr .filterw .jet-range__slider__track__range { background: var(--red); }
body.hr .filterw .jet-range__slider__input { width: 26px; height: 26px; border-radius: var(--radius); background: var(--white); border: 3px solid var(--red); box-shadow: var(--shadow-soft); }
body.hr .filterw .jet-range__values { font-family: var(--f-display); font-weight: 600; font-size: .875rem; margin-top: 6px; }
body.hr .filterw .jet-range__inputs input { min-height: 44px; border: 1.5px solid var(--hair); border-radius: var(--radius); padding: 0 12px; background: var(--white); }
/* Sortering / active tags / reset */
body.hr .sort .jet-select__control { min-height: 44px; padding: 0 38px 0 12px; border: 1.5px solid #CFC6B8; border-radius: var(--radius); font-family: var(--f-text); font-weight: 600; font-size: .9375rem; background: var(--white); }
body.hr .sort .jet-sorting-label { font-family: var(--f-display); font-weight: 600; font-size: .875rem; margin-right: 10px; }
body.hr .active-filters .jet-active-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 14px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); font-family: var(--f-display); font-weight: 500; font-size: .875rem; }
body.hr .active-filters .jet-active-tag__remove { color: var(--red); }
body.hr .resetw .jet-remove-all-filters__button { background: none; border: 0; padding: 0; font-family: var(--f-display); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; color: var(--ink); }
body.hr .e-con.filters__foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
/* Pagination */
body.hr .pagination .jet-filters-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
body.hr .pagination .jet-filters-pagination__item { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--hair); border-radius: var(--radius); background: var(--white); font-family: var(--f-display); font-weight: 600; cursor: pointer; }
body.hr .pagination .jet-filters-pagination__current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===== Parity pass 2 ===== */
body.hr ul.products::before, body.hr ul.products::after { content: none; display: none; }
body.hr .woocommerce ul.products li.product .price, body.hr .woocommerce ul.products li.product .price .amount, body.hr ul.products li.product .price { color: var(--ink); font-family: var(--f-display); font-weight: 500; font-size: 1.125rem; line-height: 1.6; margin: 0; }
body.hr ul.products li.product .price del, body.hr ul.products li.product .price del .amount { color: var(--grey); font-weight: 400; font-size: .9375rem; }
body.hr .filterw .jet-checkboxes-list__item { display: flex; align-items: center; gap: 12px; width: 100%; cursor: pointer; }
body.hr .filterw .jet-checkboxes-list__button { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; }
body.hr .size-chips-filter .jet-checkboxes-list__item, body.hr .size-chips-filter .jet-checkboxes-list__button { gap: 0; justify-content: center; }
/* Category chips (JetSmartFilters radio) as the mockup's chip row */
body.hr .cat-chips .jet-radio-list-wrapper { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
body.hr .cat-chips .jet-radio-list__row { margin: 0; }
body.hr .cat-chips .jet-radio-list__item { display: inline-flex; cursor: pointer; }
body.hr .cat-chips .jet-radio-list__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body.hr .cat-chips .jet-radio-list__button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--hair); border-radius: var(--radius); background: var(--white); font-family: var(--f-display); font-weight: 600; font-size: .9375rem; }
body.hr .cat-chips .jet-radio-list__decorator { display: none; }
body.hr .cat-chips .jet-radio-list__input:checked ~ .jet-radio-list__button { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* Toolbar grid areas (the mockup puts grid-area on the elements; here they are widget wrappers) */
body.hr .e-con.toolbar__row { display: grid; }
body.hr .toolbar__row .filterbtnw { grid-area: filter; }
body.hr .toolbar__row .result-count { grid-area: count; }
body.hr .toolbar__row .sort { grid-area: sort; justify-self: end; }
@media (min-width: 1024px) { body.hr .e-con.toolbar__row { grid-template-columns: 1fr auto; grid-template-areas: "count sort"; } body.hr .toolbar__row .filterbtnw { display: none; } }
body.hr .sort .jet-smart-filters-sorting, body.hr .sort .jet-sorting { display: flex; align-items: center; gap: 10px; }
body.hr .sort .jet-filter-label { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: .875rem; }
body.hr .sort .jet-select__control { min-width: 170px; }
body.hr .result-count .woocommerce-result-count { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 1rem; letter-spacing: -.01em; }
/* Filters head: eyebrow left, close button right, no close on desktop */
body.hr .e-con.filters__head { display: flex; --flex-direction: row; align-items: center; justify-content: space-between; }
body.hr .e-con.filters__head .elementor-widget { width: auto; }
@media (min-width: 1024px) { body.hr .filters__head .closew { display: none; } }
/* Shop hero title (JetWooBuilder page-title widget wraps the h1) */
body.hr .shop-hero__title h1, body.hr .shop-hero__title .jet-woo-builder-products-page-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 5.5rem); line-height: .92; letter-spacing: -.02em; margin: 0 0 .3em; }
body.hr .shop-hero__title h1::after { content: "."; color: var(--red); }
body.hr .shop-hero__intro.introw { display: none; }
body.hr .e-con.shop-hero__copy:has(.shop-hero__intro:not(.introw):empty) .introw, body.hr .e-con.shop-hero__copy:not(:has(.jet-woo-builder-products-description p)) .introw { display: block; }
/* B2B strip on the shop page */
body.hr .e-con.b2b-strip { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin-top: 40px; }
body.hr .e-con.b2b-strip .elementor-widget { width: auto; }
/* Newsletter block as the mockup (h2 margin 0, note 14px above) */
body.hr .newsletter h2 { margin: 0; }

/* ===== Parity pass 3 (2026-11-09): widget colour inheritance, product page buy box/gallery/motifs, shop chips/cards ===== */
/* Elementor's text-editor/heading widgets print the kit text colour; the mockup inherits from the band (.bg-navy/.bg-red → paper) */
body.hr .elementor-widget-text-editor { color: inherit; }
/* Product page: Woo's variation form inside the JetWooBuilder add-to-cart widget → mockup buy area (chips drive the hidden select) */
body.hr.single-product .atcw .woocommerce-variation, body.hr.single-product .atcw .quantity, body.hr.single-product .atcw .hr-preorder-note, body.hr.single-product .atcw .reset_variations { display: none !important; }
body.hr.single-product .atcw .woocommerce-variation-add-to-cart { display: block; }
body.hr.single-product .atcw .single_add_to_cart_button { display: block; width: 100%; }
body.hr.single-product .buy__head .product_title::after { content: "."; color: var(--ink); }
body.hr.single-product .e-con.colour { --flex-direction: row; flex-direction: row; align-items: center; gap: 10px; }
body.hr.single-product .e-con.colour .elementor-widget { width: auto; }
body.hr.single-product .colour .colour__sw { display: inline-block; vertical-align: middle; }
body.hr.single-product .preorder .jet-listing-dynamic-field__content p { margin: 0 0 .55em; }
body.hr.single-product .preorder .jet-listing-dynamic-field__content p:last-child { margin: 0; }
body.hr.single-product .desc__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); margin-bottom: 18px; }
/* «Seks ting å se etter»: the shortcode prints frame + list in one block; let them take the mockup's grid areas */
body.hr.single-product .read-single .motifsw, body.hr.single-product .read-single .motifsw > .elementor-widget-container, body.hr.single-product .read-single .motifsw .elementor-shortcode, body.hr.single-product .read-single .motifsw .sweater { display: contents; }
body.hr.single-product .read-single .sweater__frame { grid-area: media; position: relative; }
body.hr.single-product .read-single .motif-list { grid-area: list; }
/* Shop: category chips in a row, card title without Woo's padding, sale price order «kr 899 <del>kr 998</del>» */
body.hr .cat-chips .jet-radio-list { display: flex; flex-wrap: wrap; gap: 8px; }
body.hr .cat-chips .jet-radio-list__row { margin: 0; }
body.hr ul.products li.product .card__title .woocommerce-loop-product__title, body.hr .card__title .jet-woo-builder-archive-product-title, body.hr .card__title h3 { padding: 0; margin: 0 0 4px; line-height: 1.2; }
body.hr .pcard .price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
body.hr .pcard .price del { order: 2; }
/* hero controls (scene label + pause) and decorative bands are absolute to the section, not to their widget box */
body.hr .elementor-widget.ctrlw, body.hr .elementor-widget.shadew, body.hr .elementor-widget.knitw, body.hr .elementor-widget.flakew { position: static; }
body.hr.single-product .e-con.buy__tags { --flex-direction: row; flex-direction: row; flex-wrap: wrap; gap: 6px; }
body.hr.single-product .e-con.buy__tags .elementor-widget { width: auto; }
body.hr.single-product .atcw .single_add_to_cart_button.disabled, body.hr.single-product .atcw .single_add_to_cart_button.wc-variation-selection-needed, body.hr.single-product .atcw .single_add_to_cart_button:disabled { background: var(--grey); border-color: var(--grey); color: var(--white); opacity: 1; cursor: not-allowed; }
/* Woo's «ul.products li.product h3 { padding: .5em 0 }» outranks the class selectors */
body.hr .pcard .card__title h3 { padding: 0 !important; margin: 0 0 4px !important; line-height: 1.2 !important; }
/* Historien: the figure floats right of the verbatim text (prototype/historien.html .lr-fig); Elementor's widget width must yield */
body.hr .elementor-widget.lr-fig { width: auto; }
@media (min-width: 640px) { body.hr .elementor-widget.lr-fig { width: 82%; } }
@media (min-width: 1024px) { body.hr .elementor-widget.lr-fig { float: right; clear: right; width: calc(40% + var(--bleed)); } }
/* ===== Parity pass 4: mobile toolbar, chips row, hist figure ===== */
@media (min-width: 1024px) { body.hr .elementor-widget.mediaw { display: none; } }
body.hr .e-con.toolbar__row { grid-template-columns: auto 1fr; grid-template-areas: "filter sort" "count count"; align-items: center; gap: 12px; }
@media (max-width: 1023.98px) { body.hr .sort .jet-sorting-label { display: none; } }
body.hr .cat-chips .jet-radio-list-wrapper, body.hr .cat-chips .jet-radio-list fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
@media (max-width: 767.98px) { body.hr .cat-chips .jet-radio-list fieldset { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } body.hr .cat-chips .jet-radio-list__row { flex: none; } }
@media (min-width: 640px) { body.hr .elementor-widget.lr-fig { width: 82% !important; } }
@media (min-width: 1024px) { body.hr .elementor-widget.lr-fig { width: calc(40% + var(--bleed, 0px)) !important; max-width: none; } }
/* the mockup wraps Historien in <main class="lr"> which defines --bleed; WP has no such wrapper */
body.hr.page-historien-om-happy-rebels-as { --bleed: calc(var(--gutter) + max(0px, (100vw - var(--maxw)) / 2)); }

/* ===== Parity pass 5 (client review 2026-11-09): hero bottom-aligned, header cart = mockup bag + side cart escapes the header, side cart styled as the mockup drawer ===== */
/* mockup .hero: display flex + align-items flex-end (copy sits at the bottom, padding-block 96px 120px); Elementor's column flex needs justify-content */
@media (min-width: 1024px) { body.hr .e-con.hero { --justify-content: flex-end; justify-content: flex-end; } }
/* backdrop-filter on the header makes it the containing block for Elementor's position: fixed side cart (clipped to 80 px). Keep the blur on a pseudo layer instead. */
body.hr .e-con.header-bar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: transparent; position: relative; isolation: isolate; }
body.hr .e-con.header-bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(243,236,224,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
/* cart toggle = mockup .icon-btn with the bag glyph (site.css) and .cart-count bubble */
body.hr .cartw .elementor-menu-cart__toggle .elementor-button { position: relative; display: inline-grid; place-items: center; }
body.hr .cartw .elementor-menu-cart__toggle .elementor-button-icon { position: static; font-size: 0; width: 22px; height: 22px; display: block; }
body.hr .cartw .elementor-menu-cart__toggle .elementor-button-icon .elementor-icon, body.hr .cartw .elementor-menu-cart__toggle .elementor-button-icon svg, body.hr .cartw .elementor-menu-cart__toggle .elementor-button-icon i { display: none; }
body.hr .cartw .elementor-menu-cart__toggle .elementor-button-icon::before { content: ""; display: block; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2L5 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / 22px 22px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2L5 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / 22px 22px no-repeat; }
body.hr .cartw .elementor-menu-cart__toggle .elementor-button-icon-qty { position: absolute; top: 5px; right: 3px; left: auto; bottom: auto; transform: none; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: var(--white); font: 500 .6875rem/18px var(--f-display); text-align: center; display: block; }
/* side cart = mockup .cart__panel (site.css): paper panel 440 px, «Handlekurv» head, item rows, footer with subtotal + buttons */
body.hr .elementor-menu-cart__container { background: rgba(30,30,28,.45); }
body.hr .elementor-menu-cart__main { width: min(440px, 100%); max-width: 100%; padding: 0; display: flex; flex-direction: column; font-family: var(--f-text); color: var(--ink); background: var(--paper); box-shadow: none; }
body.hr .elementor-menu-cart__main::before { content: "Handlekurv"; display: block; flex: none; padding: 14px 64px 14px 20px; border-bottom: 1px solid var(--hair); font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; }
body.hr .elementor-menu-cart__close-button { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; }
body.hr .elementor-menu-cart__close-button:hover { background: var(--paper-2); }
body.hr .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
body.hr .elementor-menu-cart__products { flex: 1 1 auto; overflow-y: auto; padding: 8px 20px; margin: 0; }
body.hr .elementor-menu-cart__product { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hair); align-items: start; }
body.hr .elementor-menu-cart__product-image { width: 72px; }
body.hr .elementor-menu-cart__product-image img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); display: block; }
body.hr .elementor-menu-cart__product-name { font-family: var(--f-display); font-weight: 500; font-size: 1rem; padding: 0; }
body.hr .elementor-menu-cart__product-name a { color: var(--ink); text-decoration: none; }
body.hr .elementor-menu-cart__product-name .variation, body.hr .elementor-menu-cart__product-name dl { margin: 2px 0 0; font-size: .8125rem; color: var(--grey); font-family: var(--f-text); font-weight: 400; }
body.hr .elementor-menu-cart__product-name .variation dt, body.hr .elementor-menu-cart__product-name .variation dd { display: inline; margin: 0; }
body.hr .elementor-menu-cart__product-price { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0; font-size: .9375rem; }
body.hr .elementor-menu-cart__product-price .product-quantity { color: var(--grey); font-weight: 400; }
body.hr .elementor-menu-cart__product-remove { grid-column: 2; justify-self: start; margin-top: 4px; width: auto; height: auto; border: 0; background: none; color: var(--grey); font-size: .8125rem; text-decoration: underline; min-height: 32px; display: inline-flex; align-items: center; }
body.hr .elementor-menu-cart__product-remove::before, body.hr .elementor-menu-cart__product-remove::after { content: none; }
body.hr .elementor-menu-cart__product-remove .eicon-close::before, body.hr .elementor-menu-cart__product-remove i, body.hr .elementor-menu-cart__product-remove svg { display: none; }
body.hr .elementor-menu-cart__product-remove::after { content: "Fjern"; display: inline; }
body.hr .elementor-menu-cart__footer-buttons { flex: none; border-top: 1px solid var(--hair); padding: 16px 20px 20px; display: grid; gap: 10px; background: var(--white); margin: 0; }
body.hr .elementor-menu-cart__subtotal { display: flex; justify-content: space-between; gap: 12px; font-size: 1.125rem; font-weight: 500; padding: 0 0 6px; margin: 0; border: 0; text-align: left; }
body.hr .elementor-menu-cart__subtotal strong::after { content: ""; }
body.hr .elementor-menu-cart__footer-buttons .elementor-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; width: 100%; border-radius: var(--radius); font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
body.hr .elementor-menu-cart__footer-buttons .elementor-button--checkout { background: var(--red); color: var(--white); border: 1.5px solid var(--red); }
body.hr .elementor-menu-cart__footer-buttons .elementor-button--view-cart { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
body.hr .woocommerce-mini-cart__empty-message { padding: 40px 20px; font-size: 1rem; }
/* side cart footer = mockup .cart__foot: Delsum / Frakt / note / Totalt, then «Gå til kassen» (red) above «Se handlekurven» (ghost) */
body.hr .widget_shopping_cart_content .elementor-menu-cart__subtotal { order: 1; background: var(--white); border-top: 1px solid var(--hair); padding: 16px 20px 0; font-size: .9375rem; font-weight: 400; }
body.hr .widget_shopping_cart_content .elementor-menu-cart__subtotal strong { font-weight: 400; }
body.hr .widget_shopping_cart_content .hr-minicart-foot { order: 2; background: var(--white); padding: 10px 20px 0; display: grid; gap: 10px; }
body.hr .widget_shopping_cart_content .elementor-menu-cart__footer-buttons { order: 3; border-top: 0; padding-top: 10px; grid-template-columns: 1fr; }
body.hr .hr-minicart-foot .cart__row { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
body.hr .hr-minicart-foot .cart__row--total { font-size: 1.125rem; font-weight: 500; padding-top: 6px; border-top: 1px dashed var(--hair); }
body.hr .hr-minicart-foot .cart__ship { font-size: .8125rem; color: var(--grey); margin: 0; }
body.hr .elementor-menu-cart__footer-buttons .elementor-button--checkout { order: 1; }
body.hr .elementor-menu-cart__footer-buttons .elementor-button--view-cart { order: 2; }
body.hr .elementor-menu-cart__product-name { grid-column: 2; }
body.hr .elementor-menu-cart__product-price { grid-column: 3; grid-row: 1; }
body.hr .elementor-menu-cart__product-remove { grid-column: 2; grid-row: 2; }
body.hr .elementor-menu-cart__product-remove a { color: var(--grey); font-size: .8125rem; text-decoration: underline; min-height: 32px; display: inline-flex; align-items: center; width: auto; height: auto; }
body.hr .elementor-menu-cart__product-remove a.elementor_remove_from_cart_button { display: none; }
body.hr .elementor-menu-cart__product-remove a::before, body.hr .elementor-menu-cart__product-remove a::after { content: none !important; }
body.hr .elementor-menu-cart__product-remove a.remove_from_cart_button::after { content: "Fjern" !important; display: inline; }
body.hr .elementor-menu-cart__product-remove::after { content: none; }
body.hr .elementor-menu-cart__product-name dl.variation { display: grid; gap: 2px; margin: 2px 0 0; }
body.hr .elementor-menu-cart__product-name dl.variation dt { display: none; }
body.hr .elementor-menu-cart__product-name dl.variation dd, body.hr .elementor-menu-cart__product-name dl.variation dd p { display: block; margin: 0; font-size: .8125rem; color: var(--grey); }
/* product page: the side cart is the «added» feedback (mockup); WooCommerce's green success notice is not shown. Errors stay. */
body.hr.single-product .woocommerce-notices-wrapper .woocommerce-message, body.hr.single-product .woocommerce-message { display: none; }

/* ===== Parity pass 6 (2026-11-09): footer logo, buy-box rhythm, checkout shell ===== */
/* footer logo sits left as in the mockup (Elementor's image widget centres) */
body.hr .e-con.footer-brand .footlogow, body.hr .e-con.footer-brand .footlogow .elementor-widget-container { text-align: left; }
/* the «Velg størrelse» hint moves into the form at load; its emptied widget must not keep a grid gap */
body.hr.single-product .e-con.buy > .hintw:not(:has(#buy-hint)) { display: none; }
body.hr.single-product .details .ddw .textlink { margin-top: 2px; }
/* decorative knit band above the footer only on the front page (mockup: index.html only) */
body.hr:not(.home) .elementor-location-footer .knitw { display: none; }
/* Checkout = mockup kasse.html: page padding, steps, title, white boxes 1.3fr/.9fr from 960 px */
body.hr .e-con.co .cow, body.hr .e-con.co .cow .elementor-widget-container { width: 100%; }
body.hr .co .co__title { font-size: var(--fs-h2); margin: 0; }
body.hr .co form.checkout, body.hr .co .woocommerce-notices-wrapper, body.hr .co .woocommerce-form-coupon-toggle, body.hr .co .woocommerce-info { max-width: none; padding-inline: 0; }
body.hr .co form.checkout { margin: 28px 0 0; gap: 28px; }
@media (min-width: 960px) { body.hr .co form.checkout { grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; } body.hr .co form.checkout .woocommerce-checkout-review-order { position: sticky; top: 100px; } }
@media (min-width: 960px) and (max-width: 1023.98px) { body.hr .co form.checkout { display: grid; } }
body.hr .co .woocommerce-form-coupon-toggle { display: none; }
body.hr .co #customer_details, body.hr .co .woocommerce-checkout-review-order { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius-card); padding: clamp(18px, 3vw, 28px); }
body.hr .co #customer_details .col-1, body.hr .co #customer_details .col-2 { width: 100%; float: none; }
body.hr .co #customer_details .col-2 { margin-top: 24px; }
body.hr .co h3, body.hr .co #order_review_heading { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); letter-spacing: -.01em; margin: 0 0 14px; }
body.hr .co #ship-to-different-address { font-family: var(--f-text); font-size: 1rem; display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; }
body.hr .co #ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
body.hr .co #ship-to-different-address input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
body.hr .co #order_review_heading { position: absolute; left: -9999px; }
body.hr .co .woocommerce-checkout-review-order::before { content: "Din bestilling"; display: block; font-family: var(--f-serif); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); letter-spacing: -.01em; margin: 0 0 14px; }
body.hr .co .shop_table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
body.hr .co .shop_table thead { display: none; }
body.hr .co .shop_table td, body.hr .co .shop_table th { padding: 10px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
body.hr .co .shop_table tfoot th { font-weight: 400; }
body.hr .co .shop_table td.product-total, body.hr .co .shop_table tfoot td { text-align: right; white-space: nowrap; }
body.hr .co .shop_table .order-total th, body.hr .co .shop_table .order-total td { font-size: 1.25rem; font-weight: 500; padding-top: 14px; border-bottom: 0; }
body.hr .co .shop_table .order-total .includes_tax { display: block; font-size: .8125rem; font-weight: 400; color: var(--grey); }
body.hr .co .shop_table .product-quantity { color: var(--grey); font-weight: 400; }
body.hr .co #shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.hr .co #shipping_method li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
body.hr .co #shipping_method input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
body.hr .co #shipping_method label { font-weight: 500; }
body.hr .co .woocommerce-checkout-payment { background: transparent; border-top: 1px solid var(--hair); margin-top: 14px; padding-top: 14px; }
body.hr .co .woocommerce-checkout-payment .woocommerce-notice, body.hr .co .woocommerce-checkout-payment .woocommerce-info { background: var(--paper); border: 1px dashed var(--hair); border-radius: var(--radius); padding: 14px 16px; font-size: .9375rem; }
body.hr .co .woocommerce-privacy-policy-text p { font-size: .8125rem; color: var(--grey); }
body.hr .co .form-row { margin: 0 0 14px; }
body.hr .co .form-row-first, body.hr .co .form-row-last { width: 48%; display: inline-block; vertical-align: top; }
body.hr .co .form-row-last { float: right; }
body.hr .co .form-row.notes textarea { min-height: 96px; }
/* empty cart on the checkout: lede + red button, as the mockup */
body.hr .co .cart-empty, body.hr .co .wc-empty-cart-message { margin: 28px 0 16px; padding: 0; max-width: none; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); }
body.hr .co .return-to-shop { margin: 0; padding: 0; max-width: none; }
body.hr .co .return-to-shop a.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--red); color: var(--white); border-radius: var(--radius); font-family: var(--f-display); font-weight: 600; text-decoration: none; }
body.hr .co .woocommerce-notices-wrapper:not(:empty) { margin: 24px 0 0; }
body.hr .co .woocommerce-notices-wrapper .woocommerce-message, body.hr .co .woocommerce-notices-wrapper .woocommerce-info, body.hr .co .woocommerce-notices-wrapper .woocommerce-error { position: static; max-width: none; }
body.hr .co .shop_table tfoot td { white-space: normal; }
body.hr .co .shop_table .cart-subtotal td, body.hr .co .shop_table .order-total td { white-space: nowrap; }
body.hr .co .shop_table .woocommerce-shipping-totals td { text-align: left; }
body.hr .co #shipping_method li { display: flex; align-items: flex-start; gap: 10px; }
body.hr .co #shipping_method input { flex: none; }
/* empty cart (Woo's own output, no Elementor template) in the mockup's empty-checkout look */
body.hr.woocommerce-cart .woocommerce > .wc-empty-cart-message { max-width: var(--maxw); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter) 16px; }
body.hr.woocommerce-cart .wc-empty-cart-message .cart-empty { background: none; border: 0; padding: 0; margin: 0; color: var(--ink); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; }
body.hr.woocommerce-cart .wc-empty-cart-message .cart-empty::before, body.hr.woocommerce-cart .wc-empty-cart-message .cart-empty::after { display: none; content: none; }
body.hr.woocommerce-cart .woocommerce > .return-to-shop { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 9vw, 120px); }
/* Forside «Historien»: the map list rows are flex (name left, town right) – also with the older <div> wrapper markup */
body.hr .brand__map li > div { display: flex; justify-content: space-between; gap: 12px; flex: 1 1 auto; }
body.hr .brand__map li strong { font-family: var(--f-display); font-weight: 700; }
/* the navy knit band is a 32 px block between the brand and bedrift sections (mockup); older pages keep it inside .brand → push it below */
body.hr .e-con.knit-row { padding: 0; }
body.hr .e-con.brand { overflow: visible; }
body.hr .e-con.brand .knitw { display: none; }
body.hr .e-con.brand:has(.knitw) { margin-bottom: 32px; }
body.hr .e-con.brand:has(.knitw)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -32px; height: 32px; background: url("../img/knit-zigzag-navy.svg") repeat-x center / auto 32px; opacity: .95; pointer-events: none; }

/* ===== Typography parity (bin/typo-audit.py, 2026-11-10) ===== */
/* buttons rendered by Woo / JetFormBuilder / Elementor = mockup .btn: display font 500, 1rem, line-height 1.6, -.005em */
body.hr form.cart .single_add_to_cart_button, body.hr .pcard__add a.button, body.hr .cart-totals .checkout-button, body.hr .cart-return a.button, body.hr .return-to-shop a.button,
body.hr .jet-form-builder__action-button, body.hr .jet-form-builder__submit, body.hr .co #place_order, body.hr .elementor-menu-cart__footer-buttons .elementor-button { font-family: var(--f-display); font-weight: 500; font-size: 1rem; line-height: 1.6; letter-spacing: -.005em; }
body.hr .pcard__add a.button { font-size: .9375rem; }
/* breadcrumbs (Rank Math prints <p> + .separator, the mockup an <ol>) */
body.hr .crumbs .rank-math-breadcrumb p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: .8125rem; color: var(--grey); }
body.hr .crumbs .rank-math-breadcrumb a, body.hr .crumbs .rank-math-breadcrumb .last { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; }
body.hr .crumbs .rank-math-breadcrumb a:hover { color: var(--red); text-decoration: underline; }
body.hr .crumbs .rank-math-breadcrumb .separator { color: var(--red); font-weight: 500; }
body.hr.post-type-archive-product .crumbs .rank-math-breadcrumb .separator, body.hr.tax-product_cat .crumbs .rank-math-breadcrumb .separator { color: var(--grey); font-weight: 400; }
body.hr.page-bedrift .crumbs .rank-math-breadcrumb p { color: rgba(243,236,224,.82); font-weight: 600; }
body.hr.page-bedrift .crumbs .rank-math-breadcrumb a { color: inherit; }
body.hr.page-bedrift .crumbs .rank-math-breadcrumb .last { color: var(--paper); }
body.hr.page-bedrift .crumbs .rank-math-breadcrumb .separator { color: rgba(243,236,224,.5); font-weight: 400; }
/* product cards: title tracking -.015em on the link too */
body.hr .card__title h3, body.hr .card__title h3 a, body.hr .pcard .card__title a { letter-spacing: -.015em; font-weight: 500; }
/* category chips = mockup .schips button: 1rem / 500 / -.01em */
body.hr .cat-chips .jet-radio-list__button { font-size: 1rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.6; }
/* product page: Detaljer rows = mockup .specs (15px, dt 500, dd ink), colour line 15px, Julemarked band */
body.hr.single-product .details .detail { font-size: .9375rem; line-height: 1.5; }
body.hr.single-product .details dt { font-family: var(--f-display); font-weight: 500; }
body.hr.single-product .details dd, body.hr.single-product .details .ddw, body.hr.single-product .details .jet-listing-dynamic-field__content, body.hr.single-product .details .jet-listing-dynamic-terms { color: var(--ink); font-size: .9375rem; line-height: 1.5; }
body.hr.single-product .colour, body.hr.single-product .colour strong { font-size: .9375rem; }
body.hr.single-product .sizes legend { font-family: var(--f-display); font-weight: 500; font-size: .9375rem; line-height: 1.6; }
body.hr .bg-red .lede, body.hr .market .lede { color: var(--white); }
body.hr.single-product .market p.small { font-size: .9375rem; font-weight: 600; line-height: 1.6; padding-top: 16px; border-top: 1px solid rgba(243,236,224,.3); margin-bottom: 28px; }
body.hr.single-product .rev h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 3rem); }
/* eyebrow--gold stays gold on dark bands (the band rule set it to paper) */
body.hr .bg-navy .eyebrow.eyebrow--gold { color: var(--gold); }   /* site.css: gold only on .bg-navy; the newsletter keeps the red eyebrow */
body.hr .contact-card .eyebrow { color: rgba(243,236,224,.86); }
/* shop SEO text = .lede (300 weight) */
body.hr .shop-seo .elementor-widget-text-editor p:first-child:not(.eyebrow), body.hr .shop-seo p.lede { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; font-weight: 300; }
/* JetFormBuilder = mockup .field label / .hint / option chips (.opt) */
body.hr .jet-form-builder__label-text { font-weight: 600; font-size: .875rem; }
body.hr .jet-form-builder__desc, body.hr .jet-form-builder__desc small { font-size: .8125rem; line-height: 1.6; color: var(--grey); }
body.hr .jet-form-builder__field-wrap.checkboxes-field .jet-form-builder__field-label, body.hr .jet-form-builder__field-wrap.radio-field .jet-form-builder__field-label { font-family: var(--f-display); font-weight: 500; font-size: .9375rem; line-height: 1.2; }
body.hr .jet-form-builder__field-wrap.checkboxes-field .jet-form-builder__field-label span, body.hr .jet-form-builder__field-wrap.radio-field .jet-form-builder__field-label span { font-size: inherit; font-weight: inherit; line-height: inherit; }
/* bedrift: price table ins = red (site.css .price ins), del weight 600 (mockup .tiers .small/.price) */
body.hr .tiers ins, body.hr .price ins { color: var(--red); text-decoration: none; }
body.hr .tiers del { font-weight: 600; }
body.hr .tl__rule p { color: var(--grey); }
body.hr .contact-card ul.team li > div { display: flex; justify-content: space-between; gap: 12px; flex: 1 1 auto; }
body.hr .contact-card ul.team strong { font-family: var(--f-display); font-weight: 700; }
/* bedrift prisguide option chips (.opt) – the rule was dropped by the pages.css generator (name clash), copied from prototype/bedrift.html */
body.hr .opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; cursor: pointer; background: var(--white); border: 1.5px solid #CFC6B8; border-radius: var(--radius); font-family: var(--f-display); font-weight: 500; font-size: .9375rem; line-height: 1.2; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
body.hr .opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: none; }
body.hr .opt small { display: block; font-family: var(--f-text); font-weight: 600; font-size: .8125rem; color: var(--grey); }
body.hr .opt:hover { border-color: var(--ink); }
body.hr .opt:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--red); }
body.hr .opt:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }

/* --- typography parity, round 2 --- */
body.hr .bg-navy .lede, body.hr .on-dark .lede { color: var(--paper); }
/* reviews: heading = clamp(1.75rem,1.3rem+2vw,3rem) (mockup inline style), quotes in serif 1.25rem/1.4 */
body.hr #rev-title, body.hr .rev-title h2, body.hr .elementor-widget-heading:has(+ .reviews) h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 3rem); }
body.hr .review .review__q p, body.hr .review .review__q .jet-listing-dynamic-field__content { font-family: var(--f-serif); font-size: 1.25rem; line-height: 1.4; margin: 0; }
/* front-page buy card: «Velg størrelse» 700, pre-order tag .625rem (mockup inline styles) */
body.hr .buy__card .price .tag, body.hr .tag--xs { font-size: .625rem; }
body.hr .buy__card .sizesw p.small:first-child, body.hr .buy__card .sizes__label { font-weight: 700; margin: 0; }
/* product page sets (upsell cards substitute the mockup's .set-card): h3 size + 1.375rem price + 1rem button */
body.hr .sets .card__title h3, body.hr .sets .card__title h3 a { font-size: var(--fs-h3); letter-spacing: -.01em; }
body.hr .sets .pcard .price { font-size: 1.375rem; }
body.hr.single-product .pcard__add a.button { font-size: 1rem; }
/* JetFormBuilder bedrift form = mockup .qform: option chips (.opt) + group legends 1.1875rem/500/-.015em */
body.hr .jet-form-builder__field-label.for-checkbox, body.hr .jet-form-builder__field-label.for-radio { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; cursor: pointer; background: var(--white); border: 1.5px solid #CFC6B8; border-radius: var(--radius); font-family: var(--f-display); font-weight: 500; font-size: .9375rem; line-height: 1.2; margin: 0; }
body.hr .jet-form-builder__field-label.for-checkbox span, body.hr .jet-form-builder__field-label.for-radio span { font: inherit; line-height: inherit; }
body.hr .jet-form-builder__field-label.for-checkbox input, body.hr .jet-form-builder__field-label.for-radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: none; }
body.hr .jet-form-builder__field-label.for-checkbox:hover, body.hr .jet-form-builder__field-label.for-radio:hover { border-color: var(--ink); }
body.hr .jet-form-builder__field-label.for-checkbox:has(input:checked), body.hr .jet-form-builder__field-label.for-radio:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--red); }
body.hr .jet-form-builder__fields-group.checkradio-wrap { display: grid; gap: 8px; }
body.hr .jet-form-builder-row.field-type-checkbox-field > .jet-form-builder__label .jet-form-builder__label-text, body.hr .jet-form-builder-row.field-type-radio-field > .jet-form-builder__label .jet-form-builder__label-text { font-family: var(--f-display); font-size: 1.1875rem; font-weight: 500; letter-spacing: -.015em; margin-bottom: 14px; display: block; }
body.hr.woocommerce-cart .return-to-shop a.button { font-weight: 500; }
/* Forside «Forsiden hilser»: the sticky frames – the image widget must fill the frame (object-fit: cover inside 100svh−140px) and the
   label widget must not be its own positioning context, so .frame-label sits 16 px from the frame's bottom-left as in the mockup */
body.hr .story__media [data-frame] > .framew, body.hr .story__media [data-frame] > .framew .elementor-widget-container { height: 100%; }
body.hr .story__media [data-frame] > .framew img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.hr .story__media [data-frame] > .elementor-widget:not(.framew) { position: static; }

/* header: the «Bedrift? Få tilbud» link lives in a <p> – no paragraph margin, so it centres with the icons */
body.hr .header-actions .b2bw p { margin: 0; }
/* checkout shipping = mockup .ship cards (prototype/kasse.html): radio + title/detail + price */
body.hr .co #shipping_method { display: grid; gap: 10px; }
body.hr .co #shipping_method li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--paper); cursor: pointer; }
body.hr .co #shipping_method li:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--white); }
body.hr .co #shipping_method input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--red); }
body.hr .co #shipping_method label { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-weight: 500; cursor: pointer; }
body.hr .co #shipping_method label strong { font-weight: 500; }
body.hr .co #shipping_method label small { grid-column: 1; color: var(--grey); font-size: .8125rem; font-weight: 400; display: block; margin-top: 2px; }
body.hr .co #shipping_method label .num { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; font-variant-numeric: tabular-nums; }
body.hr .co #shipping_method label .num .amount { font-weight: 500; }
/* one method only (mixed cart): Woo prints the label without a radio */
body.hr .co .woocommerce-shipping-totals td > label, body.hr .co .woocommerce-shipping-totals td > strong { display: block; }
body.hr .co .woocommerce-shipping-totals th { vertical-align: top; padding-top: 24px; }
body.hr .co .woocommerce-shipping-totals td small { display: block; color: var(--grey); font-size: .8125rem; font-weight: 400; }
body.hr .co .woocommerce-shipping-totals td .num { float: right; }
body.hr .co .woocommerce-shipping-totals .hr-pickup-note, body.hr .co .woocommerce-shipping-destination { font-size: .8125rem; color: var(--grey); margin: 8px 0 0; }

/* checkout: the Levering row spans the box so the cards get full width (mockup's own «Levering» box) */

body.hr .co .woocommerce-shipping-totals th { font-family: var(--f-display); font-weight: 500; padding-top: 18px; }
body.hr .co .woocommerce-shipping-totals td { padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
body.hr .co .shop_table .woocommerce-shipping-totals td { text-align: left; }
/* thank-you (order-received): step 3 current, Woo's duplicate line hidden, JWB order widgets in the house type */
body.hr.woocommerce-order-received .co__steps li:nth-child(2) { color: var(--grey); font-weight: 400; }
body.hr.woocommerce-order-received .co__steps li:nth-child(3) { color: var(--ink); font-weight: 600; }
body.hr .woocommerce-thankyou-order-received { display: none; }
body.hr .thanks__order .jet-thankyou-order-item__key, body.hr .thanks__order li strong:first-child { text-transform: none; letter-spacing: 0; font-size: .8125rem; color: var(--grey); font-weight: 600; }
body.hr .thanks__order .jet-thankyou-order-item__value { font-family: var(--f-display); font-weight: 500; }
body.hr .thanks__details h2, body.hr .thanks__address h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); margin: 28px 0 14px; }
body.hr .thanks__details .shop_table { width: 100%; border-collapse: collapse; font-size: .9375rem; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }
body.hr .thanks__details .shop_table th, body.hr .thanks__details .shop_table td { padding: 12px 16px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
body.hr .thanks__details .shop_table thead th { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); background: var(--paper); }
body.hr .thanks__details .shop_table tfoot th { font-weight: 400; }
body.hr .thanks__details .shop_table td:last-child, body.hr .thanks__details .shop_table tfoot td { text-align: right; white-space: nowrap; }
body.hr .thanks__details .shop_table .order-total th, body.hr .thanks__details .shop_table .order-total td { font-weight: 500; font-size: 1.125rem; }
body.hr .thanks__details .wc-item-meta { list-style: none; margin: 4px 0 0; padding: 0; font-size: .8125rem; color: var(--grey); }
body.hr .thanks__details .wc-item-meta li { display: block; }
body.hr .thanks__details .wc-item-meta li strong, body.hr .thanks__details .wc-item-meta li p { display: inline; margin: 0; }
/* «Levering» box (woo.js moves Woo's shipping row here) */
body.hr .co .co__ship { margin-top: 16px; }
body.hr .co .co__ship h3 { margin-bottom: 14px; }
body.hr .co .co__ship .co__ship-note { margin: 12px 0 0; }
body.hr .co .co__ship .woocommerce-shipping-destination, body.hr .co .co__ship .hr-pickup-note { font-size: .8125rem; color: var(--grey); margin: 8px 0 0; }
body.hr .co .co__ship > .co__ship-body > label, body.hr .co .co__ship > .co__ship-body > strong { display: block; }
body.hr .co .co__ship .num { float: right; }
/* checkout «Din bestilling» + cart «Totalt i handlekurven»: Woo draws a 1 px box around the table, so text sat on the border.
   Mockup .sum__item/.sum__row: no table border, rows separated by hairlines, 12 px air inside the box. */
body.hr .co .woocommerce-checkout-review-order-table, body.hr.woocommerce-cart .cart-totals table.shop_table, body.hr.woocommerce-cart .cart_totals table.shop_table { border: 0; border-radius: 0; margin: 0; }
body.hr .co .woocommerce-checkout-review-order-table td, body.hr .co .woocommerce-checkout-review-order-table th { padding: 12px 4px; }
body.hr .co .woocommerce-checkout-review-order-table tbody td.product-name { padding-right: 16px; }
body.hr .co .woocommerce-checkout-review-order-table .order-total th, body.hr .co .woocommerce-checkout-review-order-table .order-total td { padding-top: 16px; padding-bottom: 8px; }
body.hr.woocommerce-cart .cart-totals, body.hr.woocommerce-cart .cart_totals { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius-card); padding: clamp(18px, 3vw, 28px); }
body.hr.woocommerce-cart .cart-totals table.shop_table th, body.hr.woocommerce-cart .cart-totals table.shop_table td, body.hr.woocommerce-cart .cart_totals table.shop_table th, body.hr.woocommerce-cart .cart_totals table.shop_table td { padding: 12px 4px; border-bottom: 1px solid var(--hair); vertical-align: top; text-align: left; font-size: .9375rem; }
body.hr.woocommerce-cart .cart-totals table.shop_table th { font-weight: 400; width: 30%; }
body.hr.woocommerce-cart .cart-totals table.shop_table .order-total th, body.hr.woocommerce-cart .cart-totals table.shop_table .order-total td { font-size: 1.25rem; font-weight: 500; padding-top: 16px; border-bottom: 0; }
body.hr.woocommerce-cart .cart-totals .order-total .includes_tax { display: block; font-size: .8125rem; font-weight: 400; color: var(--grey); }
body.hr.woocommerce-cart .cart-totals h2, body.hr.woocommerce-cart .cart-totals .jet-cart-totals__heading { margin: 0 0 14px; }
body.hr.woocommerce-cart .cart-totals .checkout-button { margin-top: 16px; }
/* cart shipping radios as the checkout's «Levering» cards */
body.hr.woocommerce-cart .cart-totals #shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.hr.woocommerce-cart .cart-totals #shipping_method li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--paper); }
body.hr.woocommerce-cart .cart-totals #shipping_method li:has(input:checked) { border-color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
body.hr.woocommerce-cart .cart-totals #shipping_method input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
body.hr.woocommerce-cart .cart-totals #shipping_method label { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-weight: 500; cursor: pointer; }
body.hr.woocommerce-cart .cart-totals #shipping_method label strong { font-weight: 500; }
body.hr.woocommerce-cart .cart-totals #shipping_method label small { grid-column: 1; display: block; color: var(--grey); font-size: .8125rem; font-weight: 400; }
body.hr.woocommerce-cart .cart-totals #shipping_method label .num { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; }
body.hr.woocommerce-cart .cart-totals .woocommerce-shipping-destination { font-size: .8125rem; color: var(--grey); margin: 8px 0 0; }
/* cart table: no coupon row (mockup has none), air in the cells */
body.hr.woocommerce-cart .cart-table .coupon, body.hr.woocommerce-cart td.actions .coupon, body.hr.woocommerce-cart .jet-cart-table .coupon { display: none !important; }
body.hr.woocommerce-cart td.actions { padding: 12px 0 0; text-align: left; }
/* cart totals: the Levering row stacks (label above the cards) and the useless Update-cart button goes (qty updates itself) */
body.hr.woocommerce-cart .cart-totals table.shop_table, body.hr.woocommerce-cart .cart-totals table.shop_table tbody, body.hr.woocommerce-cart .cart-totals table.shop_table tr, body.hr.woocommerce-cart .cart-totals table.shop_table th, body.hr.woocommerce-cart .cart-totals table.shop_table td { display: block; width: 100%; box-sizing: border-box; }
body.hr.woocommerce-cart .cart-totals table.shop_table tr { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border-bottom: 1px solid var(--hair); padding: 12px 0; }
body.hr.woocommerce-cart .cart-totals table.shop_table th, body.hr.woocommerce-cart .cart-totals table.shop_table td { width: auto; padding: 0; border: 0; }
body.hr.woocommerce-cart .cart-totals table.shop_table tr.woocommerce-shipping-totals th, body.hr.woocommerce-cart .cart-totals table.shop_table tr.woocommerce-shipping-totals td { width: 100%; }
body.hr.woocommerce-cart .cart-totals table.shop_table tr.woocommerce-shipping-totals th { font-family: var(--f-display); font-weight: 500; }
body.hr.woocommerce-cart .cart-totals table.shop_table tr.order-total { border-bottom: 0; }
body.hr.woocommerce-cart .cart-totals .order-total .includes_tax { text-align: right; }
body.hr.woocommerce-cart button[name="update_cart"], body.hr.woocommerce-cart .jet-cart-table button[name="update_cart"] { display: none !important; }
/* a11y (Lighthouse): the newsletter note was grey-on-ink at 2.1:1 – paper at 72 % gives 7:1 and reads the same */
body.hr .newsletter .muted, body.hr .newsletter .small.muted, body.hr .newsletter .jet-form-builder__desc { color: rgba(243,236,224,.72); }

/* ===== Cart totals (2026-11-11, prod review) ===== */
/* One box: the Elementor wrapper .cart-totals carries it; Woo's inner .cart_totals got the same box too (box in a box) */
body.hr.woocommerce-cart .cart-totals .cart_totals { background: none; border: 0; border-radius: 0; padding: 0; width: 100%; float: none; }
/* «Totalt i handlekurven» = mockup .co__box h2 (kasse.html), not the page-level h2 (--fs-h2, up to 4rem) */
body.hr.woocommerce-cart .cart-totals h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); line-height: 1.15; margin: 0 0 14px; }
/* jet-cart-totals.css (.woocommerce .elementor-jet-cart-totals .cart_totals .wc-proceed-to-checkout .checkout-button { display: inline-block })
   loads after this file and outranks the shared button rule, so the label sat at the top of the 52 px button */
body.hr.woocommerce-cart .elementor-jet-cart-totals .cart_totals .wc-proceed-to-checkout { padding: 0; margin: 0; }
body.hr.woocommerce-cart .elementor-jet-cart-totals .cart_totals .wc-proceed-to-checkout a.checkout-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 12px 20px; margin: 16px 0 0; box-sizing: border-box; font-size: 1rem; line-height: 1.3; text-align: center; }
/* One shipping method = Woo prints a hidden input, not a radio, so the label landed in the 18 px radio column (one word per line) */
body.hr.woocommerce-cart .cart-totals #shipping_method li:not(:has(input[type="radio"])) { grid-template-columns: 1fr; }

/* ===== Cart on mobile (≤768 px = Woo smallscreen + Jet breakpoint, 2026-11-11) ===== */
/* Update-cart button: the Jet cart table has «Update Cart Automatically» on (bin/woo-templates.php), which hides it through --cart-update-automatically-display */
@media (max-width: 768px) {
  /* totals: Woo smallscreen prints data-title as td::before next to the visible th («Delsum  Delsum: kr …»), greys every 2nd row and right-aligns the shipping card */
  body.hr.woocommerce-cart .cart-totals table.shop_table td::before { content: none; display: none; }
  body.hr.woocommerce-cart .cart-totals table.shop_table tr, body.hr.woocommerce-cart .cart-totals table.shop_table td { background: none; }
  body.hr.woocommerce-cart .cart-totals tr.shipping td, body.hr.woocommerce-cart .cart-totals #shipping_method, body.hr.woocommerce-cart .cart-totals .woocommerce-shipping-destination { width: 100%; text-align: left !important; }
  /* cart rows: compact item (mockup drawer .cart__item) = thumbnail left, text right, instead of a full-width photo + one label row per cell */
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item { display: grid; grid-template-columns: 84px 1fr auto; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; border: 0; background: none; font-size: .9375rem; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td::before { float: none; font-weight: 400; color: var(--grey); }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-thumbnail { display: block; grid-column: 1; grid-row: 1 / span 4; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-thumbnail img { width: 84px; height: 105px; max-width: none; object-fit: cover; border-radius: var(--radius); }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-remove { grid-column: 3; grid-row: 1; align-items: flex-start; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-name { display: block; grid-column: 2; grid-row: 1; text-align: left !important; font-weight: 500; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-name::before { content: none; display: none; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-name dl.variation { margin: 4px 0 0; font-size: .8125rem; font-weight: 400; color: var(--grey); }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-name dl.variation dt, body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-name dl.variation dd { display: inline; float: none; margin: 0; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-name dl.variation dd p { display: inline; margin: 0; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-name dl.variation dd::after { content: ""; display: block; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-price { grid-column: 2 / span 2; grid-row: 2; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-quantity { grid-column: 2 / span 2; grid-row: 3; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-subtotal { grid-column: 2 / span 2; grid-row: 4; font-weight: 500; }
  body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-quantity .quantity, body.hr.woocommerce-cart .elementor-jet-cart-table table.shop_table_responsive tr.cart_item td.product-quantity input.qty { width: 72px; }
  /* «Passer godt med» sat right under the trust list once the grid stacks */
  body.hr.woocommerce-cart .cart__cross { margin-top: 48px; }
}

/* Kustom Checkout layout: KCO replaces the form content with #kco-wrapper > #kco-order-review + #kco-iframe (floated, ~40/60 of the first grid column).
   The wrapper owns the 2-column layout instead: payment iframe left, order summary card right (same ratio as the classic form). */
body.hr .co form.checkout.kco-checkout { display: block; }
body.hr .co #kco-wrapper { display: grid; gap: 28px; padding: 0; }
body.hr .co #kco-wrapper::after { content: none; }
body.hr .co #kco-wrapper > #kco-order-review, body.hr .co #kco-wrapper > #kco-iframe { float: none; width: auto; max-width: none; min-width: 0; margin: 0; }
body.hr .co #kco-wrapper > #kco-iframe { padding: 0; }
body.hr .co #kco-wrapper > #kco-order-review { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius-card); padding: clamp(18px, 3vw, 28px); }
body.hr .co #kco-order-review::before { content: "Din bestilling"; display: block; font-family: var(--f-serif); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); letter-spacing: -.01em; margin: 0 0 14px; }
body.hr .co #kco-order-review .woocommerce-checkout-review-order-table { width: 100%; }
body.hr .co #kco-iframe .hr-pickup-mixed { margin: 0 0 16px; }
@media (min-width: 960px) {
	body.hr .co #kco-wrapper { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 40px; align-items: start; }
	body.hr .co #kco-iframe { grid-column: 1; grid-row: 1; }
	body.hr .co #kco-order-review { grid-column: 2; grid-row: 1; }   /* no sticky: an overflow ancestor turns top:100px into a fixed 100px drop */
}

/* Elementor editor (D60): Elementor re-renders elements after hr.js has tagged them, so .reveal blocks (opacity 0 until
   scrolled into view) stayed invisible in the editor. In the editor everything is shown, and the «Forsiden hilser» steps are
   full strength (on the site they dim until active). The live site keeps the scroll effect. */
body.elementor-editor-active .reveal, .elementor-editor-active .reveal { opacity: 1 !important; transform: none !important; }
body.elementor-editor-active .story__step { opacity: 1 !important; }
