/*
Theme Name: SaunaPro
Template: generatepress
Description: SaunaPro child theme. Norwegian builders'-merchant grammar: search first, departments with counts, prices as "6 800,-", one dark timber block. Design source: ovanap-site-os apps/saunapro-site DESIGN.md (2026-10-06).
Author: Ovanap
Version: 1.0.0
Text Domain: saunapro
*/
/**
 * SaunaPro (saunapro2): a Norwegian builders'-merchant counter.
 * Grammar from Byggmakker, Montér and Jernia (researched 2026-10-06): search
 * first, departments with counts, price per piece in heavy "70,-" numerals,
 * Førpris, a freight line. Brand: the logo's cocoa and linen. One inverted
 * block only: the timber. Schibsted Grotesk (OFL; the Norwegian media grotesk).
 *
 * Contrast (measured): ink on white 17+, ink-2 on white 7.6, linen on timber
 * 13.1, sand on timber 9.2, linen on cocoa-dark 7.0, sale red on white 7.4.
 * Brand cocoa #8e7163 is decoration on dark (3.4) and never small text.
 */

@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('assets/fonts/schibsted-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('assets/fonts/schibsted-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('assets/fonts/schibsted-grotesk-700.woff2') format('woff2');
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('assets/fonts/schibsted-grotesk-800.woff2') format('woff2');
  font-weight: 800 900;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Fallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 101%;
}

:root {
  --white: #ffffff;
  --field: #f4efe8;
  --linen: #f6eee4;
  --rule: #e4dacd;
  --rule-strong: #cbbcab;
  --ink: #1d1a17;
  --ink-2: #5c524b;
  --cocoa: #8e7163;
  --cocoa-dark: #624b3e;
  --timber: #2f241e;
  --timber-2: #3b2e26;
  --sand: #d8c7b5;
  --sale: #a61f17;

  --f: 'Schibsted Grotesk', 'Schibsted Fallback', system-ui, sans-serif;
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 5rem);
  --fs-h2: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --fs-price: clamp(1.75rem, 1.55rem + 0.6vw, 2.125rem);
  --fs-small: 0.875rem;

  --gutter: max(16px, min(4vw, 40px), env(safe-area-inset-left), env(safe-area-inset-right));
  --maxw: 1320px;
  --sec: 72px;
  --r: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t: 160ms;

  /* platform tokens read by @ovanap/core base.css */
  --surface-page: var(--white);
  --surface-footer: var(--field);
  --text-strong: var(--ink);
  --font-body: var(--f);
  --font-display: var(--f);
  --font-heading: var(--f);
  --focus-ring: var(--cocoa-dark);
  --r-btn: var(--r);
  --color-primary: var(--cocoa-dark);
  --text-on-primary: var(--white);
  --header-h: 72px;
}
@media (max-width: 899px) {
  :root {
    --sec: 48px;
  }
}

html {
  -webkit-tap-highlight-color: rgb(98 75 62 / 0.2);
  accent-color: var(--cocoa-dark);
}
::selection {
  background: var(--cocoa-dark);
  color: var(--white);
}
a,
button,
input,
select,
summary {
  touch-action: manipulation;
}
body {
  font-family: var(--f);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  font-variant-numeric: lining-nums;
}
html.sheet-open body {
  overflow: hidden;
}
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}
ul {
  list-style: none;
  padding: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--cocoa-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}
h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--r);
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}
.small {
  font-size: var(--fs-small);
  color: var(--ink-2);
}

/* ---- buttons: square, heavy, the merchant's ---------------------------------- */
/* a.btn outranks the platform's a[href^=tel:] / a[href^=mailto:] 24 px rule */
.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-width: 2px;
  border-style: solid;
  border-color: transparent;
  border-radius: var(--r);
  font: 700 1rem/1.1 var(--f);
  text-decoration: none;
  text-align: center;
  transition:
    background-color var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.btn-dark,
a.btn-dark {
  background: var(--cocoa-dark);
  color: var(--white);
}
.btn-dark:hover,
a.btn-dark:hover {
  background: var(--timber);
  color: var(--white);
  text-decoration: none;
}
.btn-line,
a.btn-line {
  border-color: var(--cocoa-dark);
  color: var(--cocoa-dark);
  background: var(--white);
}
.btn-line:hover,
a.btn-line:hover {
  background: var(--linen);
  color: var(--ink);
  text-decoration: none;
}
.btn-light,
a.btn-light {
  background: var(--linen);
  color: var(--timber);
}
.btn-light:hover,
a.btn-light:hover {
  background: var(--white);
  color: var(--timber);
  text-decoration: none;
}
.btn-ghost,
a.btn-ghost {
  border-color: var(--sand);
  color: var(--linen);
}
.btn-ghost:hover,
a.btn-ghost:hover {
  border-color: var(--linen);
  background: var(--timber-2);
  color: var(--white);
  text-decoration: none;
}
.btn-block {
  width: 100%;
}

/* ---- header ------------------------------------------------------------------ */
.strip {
  background: var(--cocoa-dark);
  color: var(--linen);
  font-size: 0.8125rem;
  font-weight: 500;
}
.strip ul {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 34px;
}
.strip li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.strip svg {
  flex: none;
  opacity: 0.85;
}
.strip-phone {
  margin-left: auto;
}
.strip a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  color: var(--linen);
  text-decoration: none;
  font-weight: 700;
}
.strip a:hover {
  color: var(--white);
  text-decoration: underline;
}
.bar {
  background: var(--linen);
  border-bottom: 1px solid var(--rule);
}
.bar-in {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  flex: none;
  color: var(--cocoa-dark);
  text-decoration: none;
}
.logo-word {
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
}
.logo:hover {
  color: var(--timber);
  text-decoration: none;
}
.search {
  flex: 1;
  display: flex;
  max-width: 680px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--cocoa-dark);
  border-radius: var(--r);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  background: transparent;
  font: 400 1.0625rem var(--f);
  color: var(--ink);
  caret-color: var(--cocoa-dark);
}
.search input::placeholder {
  color: var(--ink-2);
  opacity: 1;
}
.search input:focus {
  outline: none;
}
.search:focus-within {
  outline: 3px solid rgb(98 75 62 / 0.25);
}
.search button {
  display: grid;
  place-items: center;
  width: 56px;
  border: 0;
  background: var(--cocoa-dark);
  color: var(--white);
  cursor: pointer;
}
.search button:hover {
  background: var(--timber);
}
.tools {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.tool {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 64px;
  min-height: 52px;
  padding: 0 6px;
  border: 0;
  background: none;
  border-radius: var(--r);
  color: var(--ink);
  font: 500 0.8125rem var(--f);
  text-decoration: none;
  cursor: pointer;
}
.tool:hover {
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.tool-menu .i-close,
.hdr.is-open .tool-menu .i-open {
  display: none;
}
.hdr.is-open .tool-menu .i-close {
  display: block;
}

.depline {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  scrollbar-width: none;
}
.depline::-webkit-scrollbar {
  display: none;
}
.depline ul {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(4px, 1.4vw, 24px);
}
.depline li {
  flex: none;
}
.depline a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 50px;
  padding: 15px 2px 0;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1.0625rem);
  text-decoration: none;
  white-space: nowrap;
}
.depline a:hover {
  border-bottom-color: var(--cocoa);
}
.depline .is-timber a {
  color: var(--cocoa-dark);
}
.depline li:nth-child(3) {
  padding-right: clamp(8px, 1.6vw, 28px);
  border-right: 1px solid var(--rule);
}
.n {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-2);
}

.sheet {
  border-bottom: 1px solid var(--rule);
  background: var(--white);
  padding: 8px 0 24px;
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
}
.sheet[hidden] {
  display: none;
}
.sheet-h {
  margin: 14px 0 2px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink-2);
}
.sheet ul {
  margin-bottom: 12px;
}
.sheet li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .tool-menu,
  .sheet {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .strip .strip-2,
  .strip .strip-3 {
    display: none;
  }
  .bar-in {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    padding-block: 8px 12px;
  }
  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    height: 48px;
  }
  .tool {
    min-width: 52px;
  }
  .tool-contact {
    display: none;
  }
}
@media (max-width: 479px) {
  .tool span:not(.sr-only) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .tool {
    min-width: 48px;
    min-height: 48px;
  }
  .logo-word {
    font-size: 1.25rem;
  }
}

/* ---- timber: the one inverted block --------------------------------------- */
.timber {
  background: var(--timber);
  color: var(--linen);
  padding-bottom: var(--sec);
}
/* the hero: a full-bleed löyly film behind the timber headline */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(460px, 72vh, 760px);
  overflow: hidden;
  isolation: isolate;
}
.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  z-index: -2;
}
.hero-video {
  opacity: 0;
  transition: opacity 900ms var(--ease);
}
.hero.is-playing .hero-video {
  opacity: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgb(47 36 30 / 0.92) 0%,
      rgb(47 36 30 / 0.55) 55%,
      rgb(47 36 30 / 0.2) 100%
    ),
    linear-gradient(0deg, var(--timber) 0%, rgb(47 36 30 / 0) 40%);
}
.hero-in {
  display: grid;
  gap: 22px;
  padding-block: clamp(48px, 8vw, 112px) clamp(32px, 4vw, 56px);
}
.timber h1 {
  font-size: clamp(2.75rem, 1.4rem + 5.6vw, 6rem);
  color: var(--linen);
  letter-spacing: -0.04em;
  line-height: 0.92;
  max-width: 8.5em;
}
.timber-lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  color: var(--sand);
  max-width: 34em;
}
.timber-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(246 238 228 / 0.5);
  border-radius: var(--r);
  background: rgb(47 36 30 / 0.6);
  color: var(--linen);
  cursor: pointer;
}
.hero-toggle:hover {
  background: var(--timber);
}
.hero-toggle .i-play,
.hero-toggle[aria-pressed='true'] .i-pause {
  display: none;
}
.hero-toggle[aria-pressed='true'] .i-play {
  display: block;
}
.woods-row {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
  gap: 24px;
  align-items: end;
  padding-top: 8px;
}
.profile {
  display: grid;
  gap: 8px;
}
.profile img {
  width: 100%;
  background: var(--linen);
  padding: 10px 14px;
  border-radius: var(--r);
}
.profile figcaption {
  font-size: var(--fs-small);
  color: var(--sand);
}
.planks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.plank {
  display: flex;
  flex-direction: column;
  height: 240px;
  border-radius: var(--r);
  overflow: hidden;
  color: var(--linen);
  text-decoration: none;
}
.plank-img {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.plank img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.plank:hover img {
  transform: scale(1.03);
}
.plank-label {
  display: grid;
  gap: 2px;
  padding: 12px 14px 14px;
  background: var(--timber-2);
  border-top: 3px solid var(--cocoa);
}
.plank-name {
  font-weight: 800;
  font-size: 1.125rem;
}
.plank-price {
  font-size: var(--fs-small);
  color: var(--sand);
}
.plank-price b {
  color: var(--linen);
  font-weight: 800;
}
.plank:hover .plank-name {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
@media (max-width: 959px) {
  .woods-row {
    grid-template-columns: 1fr;
  }
  .profile {
    display: none;
  }
  .hero::after {
    background: linear-gradient(
      0deg,
      var(--timber) 0%,
      rgb(47 36 30 / 0.75) 45%,
      rgb(47 36 30 / 0.35) 100%
    );
  }
}
@media (max-width: 479px) {
  .hero {
    min-height: 520px;
  }
  .timber-cta .btn {
    flex: 1 1 100%;
  }
  .plank {
    height: 180px;
  }
  .plank-label {
    padding: 10px;
  }
  .plank-name {
    font-size: 1rem;
  }
  .plank-price {
    font-size: 0.8125rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* ---- the shop's own category icons (owner wish, 2026-10-06) ------------------ */
.cats {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding-block: 28px;
}
.cat-icons {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}
.cat-icons a {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 2px;
  padding: 8px 4px 10px;
  border-radius: var(--r);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}
.cat-ico {
  display: grid;
  place-items: center;
  width: clamp(64px, 6vw, 80px);
  aspect-ratio: 1;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--linen);
  color: var(--cocoa-dark);
  transition:
    background-color var(--t) var(--ease),
    color var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.cat-icons a:hover .cat-ico {
  background: var(--cocoa-dark);
  color: var(--linen);
  transform: translateY(-2px);
}
.cat-icons a:hover .cat-name {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.cat-name {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  hyphens: auto;
  overflow-wrap: anywhere;
}
@media (max-width: 899px) {
  .cat-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 12px;
  }
  .cat-ico {
    width: 60px;
  }
  .cat-name {
    font-size: 0.8125rem;
  }
  .cat-icons a {
    padding-inline: 0;
  }
}

/* ---- rows and retail items -------------------------------------------------- */
.tone-field {
  background: var(--field);
}
.tone-white {
  background: var(--white);
}
.shelf + .shelf.tone-white,
.picks + .shelf.tone-white {
  border-top: 1px solid var(--rule);
}
.row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 20px;
}
.row-head p {
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.count {
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
  vertical-align: 0.35em;
  margin-left: 4px;
}
.row-more {
  margin-top: 20px;
}
.row-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1099px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-shelf {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 759px) {
  .grid-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .grid-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .grid-shelf .item-body {
    padding: 10px 12px 14px;
    gap: 6px;
  }
  .grid-shelf .item-name {
    font-size: 0.9375rem;
  }
  .grid-shelf .price-now {
    font-size: 1.375rem;
  }
  .grid-shelf .price-row {
    flex-wrap: nowrap;
  }
  .picks .item-media {
    aspect-ratio: 16 / 9;
  }
}
.item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}

.item-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-ware .item-media {
  aspect-ratio: 1;
  padding: 8%;
}
.item-ware .item-media img {
  object-fit: contain;
}
.item-ware .item-media:hover img {
  transform: scale(1.03);
}
.item-media img {
  transition: transform 300ms var(--ease);
}
.item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 16px;
}
.item-name {
  hyphens: auto;
  overflow-wrap: anywhere;
}
.item-name a {
  display: block;
  padding-block: 10px;
  margin-block: -10px;
  color: var(--ink);
  text-decoration: none;
}
.item-name a:hover {
  text-decoration: underline;
}
.item-spec .seg {
  white-space: nowrap;
}
.item-spec {
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.item-pick {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
}
.item-pick[hidden] {
  display: none;
}
.item-pick select {
  min-height: 44px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23624b3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  appearance: none;
  font: 500 1rem var(--f);
  color: var(--ink);
}
.item-pick select:hover {
  border-color: var(--cocoa-dark);
}
.price {
  margin-top: auto;
  padding-top: 8px;
}
.price-label {
  font-size: 0.8125rem;
  color: var(--ink-2);
}
[data-from][hidden] {
  display: none;
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.price-now {
  font-size: var(--fs-price);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.price-now.sale {
  color: var(--sale);
}
.price-before {
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.price-before[hidden] {
  display: none;
}
.grid-shelf .price-before,
.grid-shelf .price-basis {
  min-height: 1.4em;
}
.price-basis {
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.item-freight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 8px 4px;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
  font-weight: 500;
}
.item-freight svg {
  flex: none;
  color: var(--cocoa-dark);
}

/* ---- bands ---------------------------------------------------------------- */
.band {
  padding-block: var(--sec);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.chips a:hover {
  border-color: var(--cocoa-dark);
  background: var(--white);
}
.chips span {
  font-size: 0.75rem;
  color: var(--ink-2);
}
/* ---- service: pickup, freight, help ----------------------------------------- */
.service {
  background: var(--linen);
  border-block: 1px solid var(--rule);
  padding-block: calc(var(--sec) * 0.8);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.service h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.service p {
  color: var(--ink-2);
}
.hours,
.freight-table {
  margin-top: 12px;
  border-top: 1px solid var(--rule-strong);
}
.hours li,
.freight-table li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  border-bottom: 1px solid var(--rule-strong);
}
.freight-table b {
  font-weight: 800;
}
.freight-table + .small {
  margin-top: 12px;
}
.service-cta {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 899px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- faq -------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px;
}
.qa {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  border-top: 2px solid var(--ink);
}
.qa div {
  padding-block: 16px 20px;
  border-bottom: 1px solid var(--rule);
}
.qa dt {
  font-weight: 800;
  font-size: 1.0625rem;
  margin-bottom: 6px;
}
.qa dd {
  margin: 0;
  color: var(--ink-2);
  max-width: 62ch;
}
@media (max-width: 767px) {
  .qa {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 899px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- footer: light, so the timber block stays the only dark one --------------- */
.ftr {
  background: var(--field);
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  padding-top: 48px;
  font-size: 0.9375rem;
}
.ftr a {
  color: var(--ink);
}
.ftr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 36px;
}
.ftr-seller {
  display: grid;
  gap: 6px;
  align-content: start;
}
.ftr-seller img {
  width: 36px;
  height: 48px;
  margin-bottom: 4px;
}
.ftr-name {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink);
}
.ftr address {
  font-style: normal;
}
.ftr-h {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.ftr ul li a,
.ftr-seller > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.ftr-hours {
  display: grid;
  margin-top: 8px;
}
.ftr-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 28px;
  border-top: 1px solid var(--rule-strong);
  font-size: var(--fs-small);
}
@media (max-width: 899px) {
  .ftr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .ftr-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.cat-ico svg {
  width: 46%;
  height: 46%;
}

/* ============================================================================
   WordPress / WooCommerce layer (saunapro child theme)
   ========================================================================== */

/* GeneratePress plumbing: full width, block flow (GP lays .site-content out as a flex row). */
.sp .site,
.sp .grid-container {
  max-width: none;
  padding: 0;
}
.sp .site-content {
  display: block !important;
  padding: 0 !important;
}
.sp .content-area,
.sp #primary {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}
.sp .inside-article {
  padding: 0;
  background: none;
}
.sp .site-main {
  margin: 0 !important;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sp ul.products,
.sp .grid {
  margin: 0;
  padding: 0;
}
.sp img {
  max-width: 100%;
  height: auto;
}

/* ---- header: cart count, account ---------------------------------------- */
.tool {
  position: relative;
}
.sp-cart-count {
  position: absolute;
  top: 2px;
  right: 8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--sale);
  color: var(--white);
  font: 800 0.75rem/20px var(--f);
  text-align: center;
}
.sp-cart-count[hidden] {
  display: none;
}
.vipps-mark {
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
}
.strip .vipps-mark {
  margin-right: 2px;
}
@media (max-width: 1279px) {
  .strip .strip-4 {
    display: none;
  }
}

/* ---- live search -------------------------------------------------------- */
.search {
  position: relative;
}
.search-pop {
  position: absolute;
  top: calc(100% + 4px);
  left: -2px;
  right: -2px;
  z-index: 60;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  box-shadow: 0 12px 32px rgb(29 26 23 / 0.16);
  max-height: 70vh;
  overflow: auto;
}
.search-pop[hidden] {
  display: none;
}
.search-pop a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.search-pop a:hover,
.search-pop a[aria-selected='true'] {
  background: var(--field);
}
.search-pop img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
}
.search-pop b {
  font-weight: 800;
  white-space: nowrap;
}
.search-pop .all {
  display: block;
  font-weight: 700;
  color: var(--cocoa-dark);
}

/* ---- mega menu ------------------------------------------------------------ */
.mega {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  z-index: 40;
}
.mega-top {
  display: flex;
  align-items: stretch;
  gap: clamp(2px, 1vw, 12px);
  list-style: none;
}
.mega-btn,
.mega-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 0 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--ink);
  font: 700 1rem var(--f);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.mega-item:first-child .mega-btn {
  padding-left: 0;
}
.mega-item.is-timber .mega-btn {
  color: var(--cocoa-dark);
}
.mega-btn > .i {
  transition: transform var(--t) var(--ease);
}
.mega-btn[aria-expanded='true'] {
  border-bottom-color: var(--cocoa);
}
.mega-btn[aria-expanded='true'] > .i {
  transform: rotate(180deg);
}
.mega-btn:hover,
.mega-link a:hover {
  border-bottom-color: var(--cocoa);
  color: var(--ink);
  text-decoration: none;
}
.mega-link {
  display: flex;
}
.mega-config {
  margin-left: auto;
}
.mega-config a {
  color: var(--cocoa-dark);
}
.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-strong);
  box-shadow: 0 24px 48px rgb(29 26 23 / 0.12);
  padding-block: 28px 32px;
}
.mega-panel[hidden] {
  display: none;
}
.mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
}
.mega-cols {
  columns: 4 180px;
  column-gap: 28px;
}
.mega-all {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  break-inside: avoid;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.0625rem;
  text-decoration: none;
}
.mega-ico {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--linen);
  color: var(--cocoa-dark);
}
.mega-col {
  break-inside: avoid;
  margin-bottom: 18px;
}
.mega-h {
  display: block;
  padding-block: 4px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.mega-col ul {
  list-style: none;
  margin: 2px 0 0;
}
.mega-col li a {
  display: block;
  padding-block: 3px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  text-decoration: none;
}
.mega-h:hover,
.mega-col li a:hover,
.mega-all:hover {
  color: var(--cocoa-dark);
  text-decoration: underline;
}
.mega-feature {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 16px;
  background: var(--field);
  border-radius: var(--r);
  color: var(--ink);
  text-decoration: none;
}
.mega-feature img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  padding: 10%;
  border-radius: var(--r);
}
.mega-feature-name {
  font-weight: 700;
}
.mega-feature-price {
  font-weight: 800;
  font-size: 1.25rem;
}
.mega-feature:hover .mega-feature-name {
  text-decoration: underline;
}

/* ---- drawer (phones, tablets) ----------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: min(420px, 92vw);
  background: var(--white);
  box-shadow: 0 0 48px rgb(29 26 23 / 0.25);
}
.drawer[hidden] {
  display: none;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px var(--gutter) 24px;
}
.drawer-list,
.drawer-small,
.drawer-list ul {
  list-style: none;
  margin: 0;
}
.drawer-list > li {
  border-bottom: 1px solid var(--rule);
}
.drawer-list summary,
.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.0625rem;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.drawer-list summary::-webkit-details-marker {
  display: none;
}
.drawer-list summary > .i:last-child {
  margin-left: auto;
  transition: transform var(--t) var(--ease);
}
.drawer-list details[open] summary > .i:last-child {
  transform: rotate(180deg);
}
.drawer-list ul {
  padding: 0 0 12px 56px;
}
.drawer-list ul a {
  display: flex;
  justify-content: space-between;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.drawer-small {
  display: grid;
  margin: 16px 0;
}
.drawer-small a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
}
.scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgb(29 26 23 / 0.45);
}
.scrim[hidden] {
  display: none;
}
html.drawer-open body {
  overflow: hidden;
}
@media (max-width: 1023px) {
  .mega {
    display: none;
  }
  .tool-account {
    display: none;
  }
}

/* ---- crumbs --------------------------------------------------------------- */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  list-style: none;
  margin: 0 0 12px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.crumbs li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--rule-strong);
}
.crumbs a {
  color: var(--ink-2);
}

/* ---- archive ------------------------------------------------------------ */
.arch-head {
  padding-block: 24px 20px;
  border-bottom: 1px solid var(--rule);
  background: var(--field);
}
.arch-head h1 {
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 3rem);
  letter-spacing: -0.03em;
}
.arch-head h1 .count {
  font-size: 0.4em;
}
.arch-subs {
  margin-top: 16px;
}
.arch-subs a {
  background: var(--white);
}
.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  padding-block: 28px var(--sec);
}
.fcol-h {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.fgroup {
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--rule);
}
.fgroup legend {
  float: left;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 800;
  font-size: 0.9375rem;
}
.fgroup legend + * {
  clear: both;
}
.fopts,
.fcats {
  list-style: none;
  margin: 0;
}
.fopts li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fopts.is-long:not(.is-open) li.more {
  display: none;
}
.fopts input[type='checkbox'] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--cocoa-dark);
  flex: none;
}
.fopts label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  min-height: 36px;
  align-items: center;
  font-size: 0.9375rem;
  cursor: pointer;
}
.fcats a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  align-items: center;
  color: var(--ink);
  font-size: 0.9375rem;
  text-decoration: none;
}
.fcats a[aria-current] {
  font-weight: 800;
  color: var(--cocoa-dark);
}
.fcats a:hover {
  color: var(--cocoa-dark);
  text-decoration: underline;
}
.fmore {
  margin-top: 4px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--cocoa-dark);
  font: 700 0.875rem var(--f);
  text-decoration: underline;
  cursor: pointer;
}
.fprice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fprice label {
  display: grid;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.fprice input,
.sp input:not([type]),
.sp input[type='search']:not(#sp-q),
.sp input[type='text'],
.sp input[type='email'],
.sp input[type='tel'],
.sp input[type='number'],
.sp input[type='password'],
.sp select,
.sp textarea {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  background: var(--white);
  font: 400 1rem var(--f);
  color: var(--ink);
  width: 100%;
}
.sp input:focus,
.sp select:focus,
.sp textarea:focus {
  outline: 2px solid var(--cocoa-dark);
  outline-offset: 0;
  border-color: var(--cocoa-dark);
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 16px;
}
.toolbar .res {
  color: var(--ink-2);
  font-size: var(--fs-small);
  margin-right: auto;
}
.toolbar .woocommerce-ordering {
  margin: 0;
}
.toolbar .woocommerce-ordering select {
  width: auto;
  min-width: 200px;
}
.fbtn {
  display: none;
}
.fcount {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  background: var(--cocoa-dark);
  color: var(--white);
  font-size: 0.75rem;
}
.achips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
}
.achips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--r);
  background: var(--linen);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.achips a:hover {
  background: var(--linen-2, #eee3d5);
}
.achips .achips-clear {
  background: none;
  text-decoration: underline;
}
.grid-shop {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 1280px) {
  .grid-shop {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.no-hits {
  padding: 32px;
  background: var(--field);
  border-radius: var(--r);
}
.arch-about {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  max-width: 72ch;
  color: var(--ink-2);
}
.woocommerce-pagination {
  margin-top: 28px;
}
.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  border: 0 !important;
}
.woocommerce-pagination ul.page-numbers li {
  border: 0 !important;
}
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  display: inline-grid !important;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px !important;
  border: 1px solid var(--rule) !important;
  border-radius: var(--r);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.woocommerce-pagination .page-numbers .current {
  background: var(--cocoa-dark) !important;
  border-color: var(--cocoa-dark) !important;
  color: var(--white) !important;
}
@media (max-width: 1023px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .fcol {
    display: none;
  }
  .fbtn {
    display: inline-flex;
  }
  .grid-shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 759px) {
  .grid-shop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toolbar .res {
    flex-basis: 100%;
    order: 3;
  }
  .toolbar .woocommerce-ordering {
    margin-left: auto;
  }
  .toolbar .woocommerce-ordering select {
    min-width: 0;
  }
}
.fsheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  max-height: 88dvh;
  background: var(--white);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -12px 48px rgb(29 26 23 / 0.25);
}
.fsheet[hidden] {
  display: none;
}
.fsheet-head,
.fsheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.fsheet-foot {
  border-top: 1px solid var(--rule);
  border-bottom: 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.fsheet-foot .btn {
  flex: 1;
}
.fsheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--gutter) 16px;
}

/* ---- cards in WooCommerce contexts -------------------------------------------- */
.item-media {
  position: relative;
}
.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: var(--r);
  background: var(--sale);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8125rem;
}
.item-stock.out {
  font-size: var(--fs-small);
  color: var(--sale);
  font-weight: 600;
}
.item-ware .btn {
  margin-top: 6px;
  min-height: 44px;
  font-size: 0.9375rem;
}
.item-ware .btn.loading {
  opacity: 0.6;
}
.item-ware .added_to_cart {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-small);
  font-weight: 700;
}
.item-ware .btn.added::after {
  content: ' ✓';
}
.item-ware .price {
  margin-top: auto;
}
.item-ware .price-before,
.item-timber .price-before {
  min-height: 1.4em;
}
@media (max-width: 599px) {
  .item-ware .btn {
    font-size: 0.875rem;
    padding: 0 8px;
  }
  .item-ware .btn .i {
    display: none;
  }
}

/* ---- configurator teaser ------------------------------------------------- */
.configs {
  background: var(--white);
  padding-block: calc(var(--sec) * 0.6);
}
.cfg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cfg-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--linen);
  background: var(--cocoa-dark);
}
.cfg-tub {
  background: var(--timber);
}
.cfg-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgb(246 238 228 / 0.12);
  margin-bottom: 8px;
}
.cfg-kicker {
  font-size: var(--fs-small);
  color: var(--sand);
}
.cfg-title {
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.cfg-text {
  color: var(--sand);
  max-width: 46ch;
}
.cfg-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 800;
}
.cfg-card:hover {
  color: var(--white);
}
.cfg-card:hover .cfg-go {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
@media (max-width: 759px) {
  .cfg-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- product page ----------------------------------------------------------- */
.sp.single-product .site-main {
  padding-block: 20px var(--sec);
}
.sp.single-product div.product {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 48px;
  align-items: start;
}
.sp.single-product .crumbs {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin: 0 auto;
}
.sp.single-product div.product > .woocommerce-product-gallery,
.sp.single-product div.product > .summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sp.single-product div.product > .woocommerce-product-gallery {
  position: sticky !important;
  top: 16px;
}
.sp .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.sp .woocommerce-product-gallery__image {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
}
.sp .woocommerce-product-gallery__image img {
  aspect-ratio: 1;
  object-fit: contain;
  padding: 4%;
}
.sp .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 0 !important;
  padding: 0;
  list-style: none;
}
.sp .flex-control-thumbs li {
  width: auto !important;
  float: none !important;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
}
.sp .flex-control-thumbs img {
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  opacity: 0.6;
}
.sp .flex-control-thumbs img.flex-active,
.sp .flex-control-thumbs img:hover {
  opacity: 1;
}
.sp .woocommerce-product-gallery__trigger {
  z-index: 5;
}
.pdp-meta {
  font-size: var(--fs-small);
  color: var(--ink-2);
  margin-bottom: 6px;
}
.sp .product_title {
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.375rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.pdp-price-label {
  margin-bottom: 2px;
}
.sp .summary > .price,
.sp .woocommerce-variation-price .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2rem, 1.7rem + 1vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sp .price ins {
  text-decoration: none;
  color: var(--sale);
}
.sp .price .before {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
}
.sp .price del {
  color: var(--ink-2);
}
.sp .woocommerce-product-details__short-description {
  color: var(--ink-2);
  margin-bottom: 18px;
}
.sp .summary .variations {
  width: 100%;
  margin-bottom: 8px;
  border: 0;
}
.sp .summary .variations tr {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}
.sp .summary .variations th,
.sp .summary .variations td {
  padding: 0;
  text-align: left;
  border: 0;
  background: none;
}
.sp .summary .variations label {
  font-weight: 800;
  font-size: 0.9375rem;
}
.sp .reset_variations {
  display: inline-block;
  margin-top: 4px;
  font-size: var(--fs-small);
}
.sp .woocommerce-variation-availability .stock,
.sp .summary .stock {
  font-weight: 700;
  color: var(--green, #2e7d32);
}
.sp .summary .stock.out-of-stock {
  color: var(--sale);
}
.sp form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 16px;
}
.sp form.variations_form {
  display: block;
}
.sp .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sp .quantity .qty {
  width: 84px;
  min-height: 52px;
  text-align: center;
  font-weight: 700;
}
.sp .single_add_to_cart_button.button {
  flex: 1;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--r);
  background: var(--cocoa-dark) !important;
  color: var(--white) !important;
  font: 800 1.0625rem var(--f);
  cursor: pointer;
}
.sp .single_add_to_cart_button.button:hover {
  background: var(--timber) !important;
}
.sp .single_add_to_cart_button.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.vipps-buy {
  flex-basis: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 5px;
}
.vipps-buy img {
  display: block;
  width: 100%;
  height: 52px;
  object-fit: cover;
  border-radius: 5px;
}
.vipps-buy:hover img {
  filter: brightness(0.94);
}
.pdp-trust {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 8px 0 16px;
  padding: 14px 0;
  border-block: 1px solid var(--rule);
}
.pdp-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}
.pdp-trust .i {
  color: var(--cocoa-dark);
  flex: none;
}
.pdp-help {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--field);
  border-radius: var(--r);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.pdp-help .i {
  flex: none;
  color: var(--cocoa-dark);
}
.pdp-sections {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.pdp-sec h2 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
.pdp-side {
  display: grid;
  gap: 32px;
  align-content: start;
}
.spec {
  margin: 0;
  border-top: 2px solid var(--ink);
}
.spec div {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 12px;
  padding-block: 9px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.spec dt {
  font-weight: 700;
}
.spec dd {
  margin: 0;
  color: var(--ink-2);
}
.prose {
  max-width: 70ch;
  color: var(--ink-2);
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1em;
}
.prose ul {
  list-style: disc;
  padding-left: 1.2em;
}
.prose h2,
.prose h3,
.prose h4 {
  color: var(--ink);
  margin: 1.4em 0 0.4em;
  font-size: 1.125rem;
}
.prose img {
  border-radius: var(--r);
}
.pdp-related {
  grid-column: 1 / -1;
  margin-top: 48px;
}
.pdp-related h2 {
  font-size: var(--fs-h2);
  margin-bottom: 20px;
}
@media (max-width: 959px) {
  .sp.single-product div.product,
  .pdp-sections {
    /* minmax(0, …): a plain 1fr grows to its widest child (imported spec
       tables, 700+ px) and pushed product pages sideways on phones. */
    grid-template-columns: minmax(0, 1fr);
  }
  .sp.single-product div.product > .woocommerce-product-gallery {
    position: static !important;
  }
  .pdp-sections {
    gap: 32px;
  }
}

/* ---- notices --------------------------------------------------------------- */
.sp .woocommerce-message,
.sp .woocommerce-info,
.sp .woocommerce-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 16px 0;
  padding: 14px 16px;
  border: 0;
  border-left: 0;
  border-radius: var(--r);
  background: var(--linen);
  color: var(--ink);
  list-style: none;
}
.sp .woocommerce-error {
  background: #fbe9e7;
  color: var(--sale);
}
.sp .woocommerce-message::before,
.sp .woocommerce-info::before,
.sp .woocommerce-error::before {
  display: none;
}
.sp .woocommerce-message .button,
.sp .woocommerce-info .button {
  order: 2;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: var(--r);
  background: var(--cocoa-dark);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

/* ---- pages: cart, checkout, account, content ------------------------------- */
.sp-page {
  padding-block: 32px var(--sec);
}
.sp-page > .wrap > h1,
.sp-page .entry-title {
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.sp .woocommerce table.shop_table {
  border: 0;
  border-collapse: collapse;
  border-radius: 0;
  margin: 0 0 24px;
}
.sp .woocommerce table.shop_table th {
  font-weight: 800;
  font-size: 0.875rem;
  background: none;
  border-bottom: 2px solid var(--ink);
}
.sp .woocommerce table.shop_table td {
  border-top: 1px solid var(--rule);
  padding: 14px 10px;
  vertical-align: middle;
}
.sp .woocommerce-cart-form .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}
.sp .woocommerce-cart-form .product-name a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.sp .woocommerce a.remove {
  color: var(--ink-2) !important;
  font-size: 1.5rem;
}
.sp .woocommerce a.remove:hover {
  background: var(--sale);
  color: var(--white) !important;
}
.sp .woocommerce .button,
.sp .woocommerce button.button,
.sp .woocommerce input.button,
.sp .woocommerce a.button {
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--cocoa-dark);
  border-radius: var(--r);
  background: var(--white);
  color: var(--cocoa-dark);
  font: 700 1rem var(--f);
  line-height: 44px;
}
.sp .woocommerce .button.alt,
.sp .woocommerce a.checkout-button,
.sp .woocommerce #place_order {
  background: var(--cocoa-dark);
  color: var(--white);
}
.sp .woocommerce a.checkout-button,
.sp .woocommerce #place_order {
  width: 100%;
  min-height: 56px;
  font-size: 1.125rem;
  font-weight: 800;
}
.sp .woocommerce .button:hover {
  background: var(--timber);
  border-color: var(--timber);
  color: var(--white);
}
.sp .cart-collaterals .cart_totals {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  padding: 24px;
  background: var(--field);
  border-radius: var(--r);
}
.sp .cart_totals h2 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
.sp .cart_totals .order-total .amount {
  font-size: 1.5rem;
  font-weight: 800;
}
.sp ul#shipping_method {
  list-style: none;
  margin: 0;
}
.sp ul#shipping_method li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 6px;
}
.sp form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: 'customer heading' 'customer review';
  gap: 0 40px;
  align-items: start;
}
.sp form.checkout #customer_details {
  grid-area: customer;
}
.sp form.checkout #order_review_heading {
  grid-area: heading;
  font-size: 1.375rem;
  margin-bottom: 12px;
}
.sp form.checkout #order_review {
  grid-area: review;
  padding: 24px;
  background: var(--field);
  border-radius: var(--r);
}
.sp form.checkout .col2-set .col-1,
.sp form.checkout .col2-set .col-2 {
  float: none;
  width: 100%;
}
.sp .woocommerce form .form-row {
  margin: 0 0 14px;
}
.sp .woocommerce form .form-row label {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 4px;
}
.sp #payment {
  background: none !important;
  border-radius: 0;
}
.sp #payment ul.payment_methods {
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--rule) !important;
}
.sp #payment ul.payment_methods li {
  padding: 12px;
  margin-bottom: 8px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  list-style: none;
}
.sp #payment ul.payment_methods li img {
  float: none;
  height: 24px;
  margin: 0 0 0 8px;
  vertical-align: middle;
}
.sp #payment div.payment_box {
  background: var(--field) !important;
  color: var(--ink-2) !important;
  margin: 8px 0 0 !important;
}
.sp #payment div.payment_box::before {
  display: none;
}
@media (max-width: 959px) {
  .sp form.checkout {
    grid-template-columns: 1fr;
    grid-template-areas: 'customer' 'heading' 'review';
  }
}
@media (max-width: 768px) {
  .sp .woocommerce table.shop_table_responsive tr td {
    padding: 8px 0;
  }
}
.entry-content.prose {
  max-width: 72ch;
}

/* ---- fixes after first render --------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* WooCommerce's grey .button outranks .btn on cards: restate at higher specificity. */
.sp .item a.btn.button,
.sp .item a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 12px;
  border: 2px solid var(--cocoa-dark);
  border-radius: var(--r);
  background: var(--white);
  color: var(--cocoa-dark);
  font: 700 0.9375rem/1.1 var(--f);
  text-decoration: none;
}
.sp .item a.btn.btn-dark {
  background: var(--cocoa-dark);
  color: var(--white);
}
.sp .item a.btn.button:hover,
.sp .item a.btn:hover {
  background: var(--cocoa-dark);
  color: var(--white);
}
.ftr-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule-strong);
}
.ftr-trust > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}
.ftr-trust .i,
.ftr-trust .vipps-mark {
  grid-row: 1 / 3;
  color: var(--cocoa-dark);
}
.ftr-trust b {
  color: var(--ink);
  font-weight: 800;
}
.ftr-trust span {
  font-size: var(--fs-small);
}
.ftr-pay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 899px) {
  .ftr-trust {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 479px) {
  .ftr-trust {
    grid-template-columns: 1fr;
  }
}
.fprice input {
  min-width: 0;
}

/* ---- configurators ---------------------------------------------------------- */
.sp-config-page .entry-content.prose {
  max-width: none;
  color: var(--ink);
}
.calc-lead {
  max-width: 70ch;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.calc-grid,
.tub-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: start;
}
.calc-form,
.tub-form {
  display: grid;
  gap: 16px;
}
.calc-form fieldset,
.tub-form fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--white);
}
.calc-form legend,
.tub-form legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  font-weight: 800;
  font-size: 1.125rem;
}
.calc-form legend span,
.tub-form legend span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cocoa-dark);
  color: var(--white);
  font-size: 0.875rem;
}
.calc-form label,
.tub-enquiry label {
  display: grid;
  gap: 4px;
  font-weight: 700;
  font-size: 0.875rem;
}
.calc-row3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.calc-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.calc-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--cocoa-dark);
}
.calc-out,
.tub-out {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--field);
  border-radius: var(--r);
}
.calc-out h2,
.tub-out h2 {
  font-size: 1.375rem;
}
.calc-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rule-strong);
}
.calc-line-what {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--ink-2);
  font-weight: 700;
}
.calc-line-name {
  font-weight: 700;
}
.calc-line-name span {
  font-weight: 400;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.calc-line-sub {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.calc-line-sum {
  grid-row: 2;
  grid-column: 2;
  font-weight: 800;
}
.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}
.calc-total b {
  font-size: 1.75rem;
  font-weight: 800;
}
.calc-heaters {
  margin-top: 48px;
}
.calc-heaters h2 {
  font-size: var(--fs-h2);
  margin-bottom: 6px;
}
.calc-heaters .grid {
  margin-top: 16px;
}
.calc-more {
  margin-top: 16px;
  font-weight: 700;
}
.demo-flag {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #fff4d6;
  border: 1px solid #e8c766;
  border-radius: var(--r);
  color: var(--ink);
}
.tub-opts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.tub-opt {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 14px 14px 44px;
  border: 2px solid var(--rule);
  border-radius: var(--r);
  cursor: pointer;
  background: var(--white);
}
.tub-opt input {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 20px;
  height: 20px;
  accent-color: var(--cocoa-dark);
}
.tub-opt:has(input:checked) {
  border-color: var(--cocoa-dark);
  background: var(--linen);
}
.tub-opt-name {
  font-weight: 800;
}
.tub-opt-note {
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.tub-opt-price {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--cocoa-dark);
}
.tub-visual svg {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
.tub-sum {
  list-style: none;
  margin: 0;
  border-top: 1px solid var(--rule-strong);
}
.tub-sum li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.tub-enquiry {
  display: grid;
  gap: 10px;
}
@media (max-width: 959px) {
  .calc-grid,
  .tub-grid {
    grid-template-columns: 1fr;
  }
  .calc-out,
  .tub-out {
    position: static;
  }
}
@media (max-width: 479px) {
  .calc-row3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- fixes after PDP/checkout review ------------------------------------- */
.sp.woocommerce div.product p.price,
.sp.woocommerce div.product span.price,
.sp .woocommerce-variation-price .price {
  color: var(--ink);
}
.crumbs ol {
  padding: 0;
}
.sp #payment ul.payment_methods li > label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.sp #payment ul.payment_methods li img {
  margin: 0;
}
.sp #order_review .woocommerce-shipping-totals th,
.sp #order_review .woocommerce-shipping-totals td,
.sp .cart_totals .woocommerce-shipping-totals th,
.sp .cart_totals .woocommerce-shipping-totals td {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
}
.sp #order_review .woocommerce-shipping-totals td,
.sp .cart_totals .woocommerce-shipping-totals td {
  padding-top: 0;
}
.sp ul#shipping_method li label {
  font-weight: 600;
}
.sp ul#shipping_method li input {
  margin-top: 4px;
  accent-color: var(--cocoa-dark);
}
.sp .single_add_to_cart_button.disabled {
  background: var(--cocoa-dark) !important;
  opacity: 0.5;
}

/* The gallery must not stick: its containing block is the whole product grid,
   so a sticky gallery slid over the description and related products (owner report). */
.sp.single-product div.product > .woocommerce-product-gallery {
  position: relative !important;
  top: auto;
}

/* hot-tub option pictograms and wood swatches */
.tub-opt-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--linen);
  color: var(--cocoa-dark);
}
.tub-opt:has(input:checked) .tub-opt-ico {
  background: var(--cocoa-dark);
  color: var(--linen);
}
.tub-opt-swatch {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15);
}
.kustom-mark {
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
}
.tub-visual svg {
  max-width: 100%;
}
.tub-visual {
  margin: -8px -8px 0;
}

/* configurators in the hero, under the planks (owner, 2026-10-06) */
.cfg-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.cfg-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgb(216 199 181 / 0.35);
  border-radius: var(--r);
  background: rgb(246 238 228 / 0.06);
  color: var(--linen);
  text-decoration: none;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.cfg-row:hover {
  background: rgb(246 238 228 / 0.12);
  border-color: var(--sand);
  color: var(--white);
}
.cfg-row .cfg-ico {
  width: 48px;
  height: 48px;
  margin: 0;
  background: var(--linen);
  color: var(--cocoa-dark);
}
.cfg-row-text {
  display: grid;
  gap: 2px;
}
.cfg-row-text b {
  font-weight: 800;
  font-size: 1.125rem;
}
.cfg-row-text span {
  font-size: var(--fs-small);
  color: var(--sand);
}
.cfg-row > .i:last-child {
  transition: transform var(--t) var(--ease);
}
.cfg-row:hover > .i:last-child {
  transform: translateX(4px);
}
@media (max-width: 759px) {
  .cfg-hero {
    grid-template-columns: 1fr;
  }
  .cfg-row {
    padding: 14px;
  }
}
@media (max-width: 759px) {
  .hero-toggle {
    top: 16px;
    bottom: auto;
  }
}

/* Vipps buy button: compact (owner: "not so big"), Klarna line */
.vipps-buy {
  flex-basis: auto;
  align-self: center;
}
.vipps-buy img {
  width: 210px;
  height: 40px;
  object-fit: contain;
}
.pdp-klarna {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: 0.9375rem;
}
.klarna-mark {
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
}
.strip .klarna-mark {
  margin-right: 4px;
}
.sp div.product .summary p.price,
.sp div.product .summary p.price .amount,
.sp .woocommerce-variation-price .price .amount {
  font-size: clamp(2rem, 1.7rem + 1vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.sp div.product .summary p.price ins .amount {
  color: var(--sale);
}
.sp div.product .summary .price .before .amount {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
}
.vipps-buy {
  flex-basis: 100%;
  align-self: flex-start;
  text-align: left;
}
.vipps-buy img {
  width: 220px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}
.sp .single_add_to_cart_button.button {
  white-space: nowrap;
}

/* ---- cart (own template) ----------------------------------------------- */
.sp-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
}
.cart-list {
  list-style: none;
  margin: 0;
  border-top: 2px solid var(--ink);
}
.cart-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto 40px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.cart-thumb img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}
.cart-name {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.cart-name:hover {
  text-decoration: underline;
}
.cart-attrs,
.cart-unit {
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
}
.cart-qty .qty {
  width: 52px !important;
  min-height: 44px !important;
  border: 0 !important;
  text-align: center;
  font-weight: 700;
  padding: 0 !important;
  -moz-appearance: textfield;
}
.cart-qty .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.qty-step {
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--cocoa-dark);
  cursor: pointer;
}
.qty-step:hover {
  background: var(--linen);
}
.cart-sum {
  min-width: 90px;
  text-align: right;
  font-weight: 800;
  font-size: 1.125rem;
}
.sp .woocommerce a.cart-remove {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink-2) !important;
  font-size: 1rem;
}
.sp .woocommerce a.cart-remove:hover {
  background: var(--linen);
  color: var(--sale) !important;
}
.cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-top: 16px;
}
.js .cart-actions [data-update] {
  display: none;
}
.cart-coupon summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--cocoa-dark);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.cart-coupon > div {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.cart-coupon input {
  max-width: 220px;
}
.cart-continue {
  margin-top: 16px;
}
.cart-continue a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.cart-continue .i {
  transform: rotate(180deg);
}
.sp-cart-sum {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--field);
  border-radius: var(--r);
}
.sp-cart-sum h2 {
  font-size: 1.375rem;
}
.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}
.sum-total > span {
  font-weight: 800;
}
.sum-total b {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: right;
}
.sum-total small,
.sp .includes_tax {
  display: block;
  font-size: 0.8125rem !important;
  font-weight: 500;
  color: var(--ink-2);
}
.sp .includes_tax .amount {
  font-size: inherit !important;
  font-weight: 500 !important;
}
.sp .woocommerce a.checkout-cta {
  min-height: 56px;
  font-size: 1.125rem;
  color: var(--white);
}
.sum-pay {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
@media (max-width: 959px) {
  .sp-cart {
    grid-template-columns: 1fr;
  }
  .sp-cart-sum {
    position: static;
  }
}
@media (max-width: 599px) {
  .cart-line {
    grid-template-columns: 72px minmax(0, 1fr) 40px;
    grid-template-areas: 'thumb info remove' 'thumb qty sum';
    gap: 8px 12px;
  }
  .cart-thumb { grid-area: thumb; align-self: start; }
  .cart-thumb img { width: 72px; height: 72px; }
  .cart-info { grid-area: info; }
  .cart-qty { grid-area: qty; justify-self: start; }
  .cart-sum { grid-area: sum; min-width: 0; }
  .cart-remove { grid-area: remove; align-self: start; }
}

/* ---- account forms: a sensible measure, not the full page -------------- */
.sp .woocommerce-form-login,
.sp .woocommerce-form-register,
.sp .woocommerce-ResetPassword,
.sp .woocommerce-account .u-columns {
  max-width: 460px;
}
.sp .woocommerce form.login,
.sp .woocommerce form.register {
  padding: 24px;
  margin: 0 0 24px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--white);
}
.sp .woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
}
.sp .woocommerce-form-login .button {
  width: 100%;
  background: var(--cocoa-dark);
  color: var(--white);
}
.sp .lost_password {
  margin-top: 12px;
}
@media (max-width: 599px) {
  .cart-line {
    grid-template-columns: 72px minmax(0, 1fr) auto;
  }
}
.sp .woocommerce .woocommerce-form-login button.button {
  width: 100%;
  background: var(--cocoa-dark);
  border-color: var(--cocoa-dark);
  color: var(--white);
}

/* ---- services, galleries, contact -------------------------------------- */
.sp-wide-page .entry-content.prose {
  max-width: none;
}
.sp-wide-page .svc-text,
.contact-info {
  max-width: 72ch;
}
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0 0 40px !important;
  padding: 0 !important;
}
.svc-card {
  display: grid;
  height: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.svc-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.svc-img {
  overflow: hidden;
}
.svc-card:hover .svc-img img {
  transform: scale(1.03);
}
.svc-body {
  display: grid;
  gap: 6px;
  padding: 18px;
}
.svc-title {
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.svc-body .svc-text {
  color: var(--ink-2);
}
.svc-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--cocoa-dark);
  margin-top: 6px;
}
.gallery-sec {
  margin-top: 40px;
}
.gallery-sec h2 {
  font-size: var(--fs-h2);
  margin-bottom: 16px;
  color: var(--ink);
}
.sp-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sp-gallery li {
  margin: 0 !important;
}
.sp-gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--r);
}
.sp-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.sp-gallery a:hover img {
  transform: scale(1.04);
}
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(20 16 14 / 0.96);
}
.lightbox[open] {
  display: grid;
  place-items: center;
}
.lightbox::backdrop {
  background: rgb(20 16 14 / 0.9);
}
.lightbox img {
  max-width: calc(100vw - 140px);
  max-height: calc(100dvh - 100px);
  object-fit: contain;
  border-radius: var(--r);
}
.lightbox-count {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--sand);
  font-size: var(--fs-small);
}
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgb(246 238 228 / 0.12);
  color: var(--linen);
  cursor: pointer;
}
.lb-btn:hover {
  background: rgb(246 238 228 / 0.24);
}
.lb-close {
  top: 16px;
  right: 16px;
}
.lb-prev {
  left: 16px;
  top: 50%;
}
.lb-prev .i {
  transform: rotate(180deg);
}
.lb-next {
  right: 16px;
  top: 50%;
}
.svc-cta {
  margin-top: 40px;
  padding: 28px;
  background: var(--field);
  border-radius: var(--r);
  max-width: none;
}
.svc-cta h2 {
  margin: 0 0 8px;
  color: var(--ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--field);
  border-radius: var(--r);
  color: var(--ink);
}
.contact-form h2 {
  margin: 0 0 4px;
  color: var(--ink);
}
.contact-form label {
  display: grid;
  gap: 4px;
  font-weight: 700;
  font-size: 0.875rem;
}
.contact-form .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form .cf-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}
.contact-form .cf-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--cocoa-dark);
}
.contact-form .hp {
  position: absolute;
  left: -9999px;
}
.cf-err {
  color: var(--sale);
  font-weight: 600;
  font-size: 0.8125rem;
}
.contact-form [aria-invalid='true'] {
  border-color: var(--sale) !important;
}
.cf-msg.ok {
  padding: 12px 14px;
  background: #e6f4ea;
  border-radius: var(--r);
  color: #1e5a2d;
  font-weight: 600;
}
.cf-msg.err {
  color: var(--sale);
  font-weight: 600;
}
@media (max-width: 959px) {
  .svc-cards {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .sp-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .sp-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-form .cf-row {
    grid-template-columns: 1fr;
  }
  .lightbox img {
    max-width: 100vw;
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 12px;
  }
}

/* Links on dark surfaces keep their own colour on hover; the global a:hover
   (ink) would turn them black on timber (owner report: hero planks, 2026-10-06). */
.plank:hover,
.plank:focus-visible {
  color: var(--linen);
}
/* GeneratePress paints button:hover/:focus with its own dark background on
   some templates (search); our text buttons stay transparent. */
.sp .mega-btn:hover,
.sp .mega-btn:focus,
.sp .mega-btn[aria-expanded='true'],
.sp .drawer summary:hover,
.sp .lb-btn:focus,
.sp .qty-step:hover,
.sp .qty-step:focus {
  background-color: transparent;
}
.sp .lb-btn:hover {
  background: rgb(246 238 228 / 0.24);
}
/* Tub option photo: pops up above the option on hover/keyboard focus (desktop),
   shown inline when the option is chosen on touch screens. */
.tub-opt-photo {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 8px);
  width: 260px;
  translate: -50% 6px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: 0 12px 30px rgb(47 36 30 / 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms var(--ease), translate 180ms var(--ease), visibility 180ms;
}
.tub-opt-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--r) - 2px);
}
.tub-opt::after {
  content: none;
}
@media (hover: hover) {
  .tub-opt:hover .tub-opt-photo,
  .tub-opt:focus-within .tub-opt-photo {
    opacity: 1;
    visibility: visible;
    translate: -50% 0;
  }
}
@media (hover: none) {
  .tub-opt:has(input:checked) .tub-opt-photo {
    position: static;
    width: 100%;
    translate: none;
    margin-top: 8px;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }
}
.sp .svc-cards li {
  list-style: none;
  margin: 0;
}
.svc-card {
  grid-template-rows: auto 1fr;
}
.svc-body {
  align-content: start;
}
.contact-form .cf-consent {
  flex-wrap: wrap;
}
.contact-form .cf-consent span {
  flex: 1 1 0;
}
.contact-form .cf-consent .cf-err {
  flex: 1 0 100%;
  padding-left: 30px;
}
.svc-lead {
  max-width: 60ch;
  margin-bottom: 24px !important;
  font-size: 1.125rem;
}

/* PDP key facts with our own line icons (replace the old icon screenshots). */
.pdp-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin: 16px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.pdp-facts li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 !important;
  padding: 10px 12px;
  background: var(--field);
  border-radius: var(--r);
  font-weight: 700;
  line-height: 1.25;
}
.pdp-facts .i {
  flex: none;
  color: var(--cocoa-dark);
}
.pdp-facts span {
  display: grid;
  min-width: 0;
  overflow-wrap: anywhere;
}
.pdp-facts small {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--ink-2);
}
@media (max-width: 599px) {
  .pdp-facts {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  }
  .pdp-facts li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ---- cookie consent ------------------------------------------------------ */
.consent {
  position: fixed;
  z-index: 90;
  left: 16px;
  bottom: 16px;
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--cocoa);
  border-radius: var(--r);
  box-shadow: 0 18px 50px rgb(47 36 30 / 0.25);
  color: var(--ink);
}
.consent[hidden] {
  display: none;
}
.consent-in {
  display: grid;
  gap: 12px;
  padding: 20px;
}
.consent h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--ink);
}
.consent p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.consent-choices {
  display: grid;
  gap: 8px;
}
.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  background: var(--field);
  border-radius: var(--r);
  font-size: 0.875rem;
  line-height: 1.45;
  cursor: pointer;
}
.consent-row b {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
}
.consent-row input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--cocoa-dark);
}
.consent-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.consent-btns .btn {
  justify-content: center;
  min-height: 46px;
  width: 100%;
}
.consent-btns [data-consent-pick],
.consent-btns [data-consent-save] {
  grid-column: 1 / -1;
}
@media (max-width: 599px) {
  .consent {
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 85dvh;
    border-radius: var(--r) var(--r) 0 0;
    border-left: 0;
    border-right: 0;
  }
  .consent-in {
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  }
}
.cookie-list {
  margin-top: 40px;
}
.cookie-list .btn {
  margin-left: 8px;
}
.table-scroll {
  overflow-x: auto;
  margin-top: 16px;
}
.cookie-list table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.cookie-list th,
.cookie-list td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.cookie-list th {
  background: var(--field);
}
.consent {
  z-index: 9990;
}
.consent [hidden] {
  display: none !important;
}
.consent-btns .btn {
  padding: 0 10px;
}
@media (max-width: 599px) {
  .cookie-list table {
    min-width: 0;
  }
  .cookie-list thead {
    display: none;
  }
  .cookie-list tr {
    display: grid;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
  }
  .cookie-list td {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
    padding: 3px 0;
    border: 0;
  }
  .cookie-list td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--ink-2);
  }
  .cookie-list code {
    overflow-wrap: anywhere;
  }
  .cookie-list .btn {
    margin: 8px 0 0;
  }
}

/* ---- PDP fixes (owner report: mobile product page) ------------------------- */
.sp .woocommerce-product-gallery .onsale,
.sp div.product .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  z-index: 6;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 5px 9px;
  border-radius: var(--r);
  background: var(--sale);
  color: var(--white);
  font-weight: 800;
  font-size: 0.875rem;
  line-height: 1.2;
}
.sp div.product {
  position: relative;
}
.sp .reset_variations[style*="hidden"] {
  display: none !important;
}
.sp .single_variation_wrap .woocommerce-variation:empty {
  display: none;
}
.sp .prose table,
.pdp-desc table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 0.9375rem;
  border: 0 !important;
}
.sp .prose table tbody,
.pdp-desc table tbody {
  display: table;
  width: 100%;
}
.sp .prose td,
.sp .prose th,
.pdp-desc td,
.pdp-desc th {
  padding: 8px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rule) !important;
  text-align: left;
  vertical-align: top;
}
.pdp-desc img,
.pdp-desc iframe,
.pdp-desc video,
.sp .prose img {
  max-width: 100%;
  height: auto;
}
.pdp-sec {
  min-width: 0;
}
.pdp-desc {
  min-width: 0;
  overflow-wrap: break-word;
}
.pdp-desc tr:nth-child(even) td {
  background: var(--field);
}
.pdp-desc tr:first-child td {
  font-weight: 800;
}
.pdp-desc td:first-child {
  color: var(--ink-2);
}

/* ---- cookie consent: green, friendly, clearly on top of the page ----------- */
:root {
  --consent-bg: #2f5e43;
  --consent-ink: #f4f8f1;
  --consent-soft: #e3efe5;
}
.consent {
  left: auto;
  right: 16px;
  bottom: 16px;
  width: min(400px, calc(100vw - 32px));
  background: var(--consent-bg);
  color: var(--consent-ink);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgb(20 40 28 / 0.35);
  animation: consent-in 320ms var(--ease) both;
}
@keyframes consent-in {
  from { opacity: 0; transform: translateY(16px); }
}
@media (prefers-reduced-motion: reduce) {
  .consent { animation: none; }
}
.consent-in {
  gap: 10px;
  padding: 18px 18px 16px;
}
.consent-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.consent-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
}
.consent h2 {
  color: var(--consent-ink);
  font-size: 1.125rem;
}
.consent p {
  color: rgb(244 248 241 / 0.88);
  font-size: 0.9375rem;
}
.consent p a {
  color: var(--consent-ink);
}
.consent-row {
  background: rgb(255 255 255 / 0.1);
  color: var(--consent-ink);
}
.consent-row b {
  color: var(--consent-ink);
}
.consent-row input {
  accent-color: #9fd3a9;
}
.consent-btns {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.consent-btn {
  min-height: 46px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--consent-ink);
  color: var(--consent-bg);
  font: 800 0.9375rem var(--f);
  cursor: pointer;
}
.consent-btn:hover {
  background: #fff;
}
.consent-btn:focus-visible,
.consent-link:focus-visible {
  outline: 3px solid #9fd3a9;
  outline-offset: 2px;
}
.consent-link {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--consent-ink);
  font: 600 0.875rem var(--f);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.consent-save {
  grid-column: 1 / -1;
}
@media (max-width: 599px) {
  .consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-height: 70dvh;
    border-radius: 14px;
  }
  .consent-in {
    padding: 14px 14px calc(12px + env(safe-area-inset-bottom));
  }
  .consent p {
    font-size: 0.875rem;
  }
}

/* ---- PDP: repeated facts folded into quiet rows (owner, 2026-10-07) -------- */
.pdp-info {
  margin: 18px 0 8px;
  border-top: 1px solid var(--rule);
}
.pdp-row {
  border-bottom: 1px solid var(--rule);
}
.pdp-row > summary,
.pdp-row-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 2px;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
}
.pdp-row > summary::-webkit-details-marker {
  display: none;
}
.pdp-row > summary > .i:first-child,
.pdp-row-link > .i:first-child {
  flex: none;
  color: var(--cocoa-dark);
}
.pdp-row-marks {
  display: inline-flex;
  flex: none;
  gap: 4px;
  align-items: center;
}
.pdp-row-t {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}
.pdp-row-t b {
  font-weight: 700;
  font-size: 0.9375rem;
}
.pdp-row-t small {
  color: var(--ink-2);
  font-size: 0.8125rem;
}
.pdp-row > summary > .i:last-child,
.pdp-row-link > .i:last-child {
  flex: none;
  color: var(--ink-2);
  transition: transform var(--t) var(--ease);
}
.pdp-row[open] > summary > .i:last-child {
  transform: rotate(180deg);
}
.pdp-row > summary:hover .pdp-row-t b,
.pdp-row-link:hover .pdp-row-t b {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.pdp-row-b {
  padding: 0 2px 14px 34px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.pdp-row-b p {
  margin: 8px 0 0;
}
.pdp-row-b .spec div {
  padding: 5px 0;
}
.pdp-row-link {
  border-bottom: 1px solid var(--rule);
}
.pdp-info {
  margin-top: 4px;
}
.pdp-row-t b .pdp-row-marks {
  margin-left: 6px;
  vertical-align: -3px;
}
.pdp-row-t b .pdp-row-marks img,
.pdp-row-t b .pdp-row-marks svg {
  height: 16px;
  width: auto;
}
.sp.single-product form.cart + .vipps-buy,
.sp.single-product .vipps-buy {
  margin-bottom: 4px;
}
.sp.single-product .summary form.cart {
  margin-bottom: 6px;
}

/* ---- product-page quantity: − / + around the field, like the cart -------- */
.sp .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
}
.sp .quantity .qty {
  width: 52px;
  min-height: 50px;
  border: 0 !important;
  padding: 0 !important;
  -moz-appearance: textfield;
}
.sp .quantity .qty::-webkit-inner-spin-button,
.sp .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sp .quantity .qty-step {
  height: 50px;
}
.sp .quantity:has(input[type="hidden"]) {
  display: none;
}

/* ---- account page: equal columns, headings clear of the boxes ------------ */
.sp.woocommerce-account .u-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
  max-width: 980px;
}
.sp.woocommerce-account .u-columns > .col-1,
.sp.woocommerce-account .u-columns > .col-2 {
  float: none;
  width: auto;
  max-width: none;
  display: flex;
  flex-direction: column;
}
.sp.woocommerce-account .u-columns h2 {
  margin: 0 0 16px;
}
.sp.woocommerce-account .u-columns form {
  flex: 1;
  max-width: none;
}
.sp.woocommerce-account form .form-row {
  padding: 0;
  margin: 0 0 18px;
}
.sp.woocommerce-account form .form-row label {
  display: block;
  margin: 0 0 8px;
}
.sp .woocommerce .woocommerce-form-register button.button {
  width: 100%;
  background: var(--cocoa-dark);
  border-color: var(--cocoa-dark);
  color: var(--white);
}
.sp.woocommerce-account main h1 {
  margin-bottom: 28px;
}
.sp.woocommerce-account .u-columns::before,
.sp.woocommerce-account .u-columns::after {
  display: none;
}
.sp.woocommerce-account .woocommerce-form-register p:not(.form-row) {
  margin: 0 0 16px;
}

/* ---- department icons in the desktop bar (same icons as the mobile menu) -- */
.mega-btn-ico {
  display: inline-flex;
  color: var(--cocoa);
}
/* The bar must fit from 1024 px up (the drawer takes over below): tighten in steps, never cut a link off. */
.mega-top { gap: 0; }
.mega-btn,
.mega-link a { padding: 0 8px; }
@media (max-width: 1399px) {
  .mega-btn-ico { display: none; }
}
@media (max-width: 1279px) {
  .mega-btn,
  .mega-link a { padding: 0 6px; gap: 4px; font-size: 0.9375rem; }
  .mega-link .i { display: none; }
}
@media (max-width: 1149px) {
  .mega-config { display: none; } /* Tjenester: also in the footer and the menu drawer */
  .mega-config + .mega-link { margin-left: auto; }
}
